plain.oauth 0.8.0__tar.gz → 0.8.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/PKG-INFO +1 -1
  2. plain_oauth-0.8.0/plain/oauth/staff.py → plain_oauth-0.8.1/plain/oauth/admin.py +9 -9
  3. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/pyproject.toml +1 -1
  4. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/.gitignore +0 -0
  5. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/LICENSE +0 -0
  6. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/README.md +0 -0
  7. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/README.md +0 -0
  8. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/__init__.py +0 -0
  9. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/config.py +0 -0
  10. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/default_settings.py +0 -0
  11. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/exceptions.py +0 -0
  12. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/migrations/0001_initial.py +0 -0
  13. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/migrations/0002_alter_oauthconnection_options_and_more.py +0 -0
  14. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/migrations/0003_alter_oauthconnection_access_token_and_more.py +0 -0
  15. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/migrations/0004_alter_oauthconnection_access_token_and_more.py +0 -0
  16. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/migrations/0005_alter_oauthconnection_unique_together_and_more.py +0 -0
  17. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/migrations/__init__.py +0 -0
  18. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/models.py +0 -0
  19. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/providers.py +0 -0
  20. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/templates/oauth/error.html +0 -0
  21. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/urls.py +0 -0
  22. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/plain/oauth/views.py +0 -0
  23. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/provider_examples/__init__.py +0 -0
  24. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/provider_examples/bitbucket.py +0 -0
  25. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/provider_examples/github.py +0 -0
  26. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/provider_examples/gitlab.py +0 -0
  27. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/app/settings.py +0 -0
  28. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/app/templates/base.html +0 -0
  29. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/app/templates/index.html +0 -0
  30. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/app/templates/login.html +0 -0
  31. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/app/urls.py +0 -0
  32. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/app/users/models.py +0 -0
  33. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/provider_tests/__init__.py +0 -0
  34. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/provider_tests/test_github.py +0 -0
  35. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/providers/__init__.py +0 -0
  36. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/providers/bitbucket.py +0 -0
  37. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/providers/github.py +0 -0
  38. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/providers/gitlab.py +0 -0
  39. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/test_backends.py +0 -0
  40. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/test_checks.py +0 -0
  41. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/tests/test_providers.py +0 -0
  42. {plain_oauth-0.8.0 → plain_oauth-0.8.1}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.oauth
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: OAuth login and API access for Plain.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-Expression: BSD-3-Clause
@@ -1,11 +1,11 @@
1
- from plain.models import Count
2
- from plain.staff.cards import ChartCard
3
- from plain.staff.views import (
4
- StaffModelDetailView,
5
- StaffModelListView,
6
- StaffViewset,
1
+ from plain.admin.cards import ChartCard
2
+ from plain.admin.views import (
3
+ AdminModelDetailView,
4
+ AdminModelListView,
5
+ AdminViewset,
7
6
  register_viewset,
8
7
  )
8
+ from plain.models import Count
9
9
 
10
10
  from .models import OAuthConnection
11
11
 
@@ -34,14 +34,14 @@ class ProvidersChartCard(ChartCard):
34
34
 
35
35
 
36
36
  @register_viewset
37
- class OAuthConnectionViewset(StaffViewset):
38
- class ListView(StaffModelListView):
37
+ class OAuthConnectionViewset(AdminViewset):
38
+ class ListView(AdminModelListView):
39
39
  nav_section = "OAuth"
40
40
  model = OAuthConnection
41
41
  title = "Connections"
42
42
  fields = ["id", "user", "provider_key", "provider_user_id"]
43
43
  cards = [ProvidersChartCard]
44
44
 
45
- class DetailView(StaffModelDetailView):
45
+ class DetailView(AdminModelDetailView):
46
46
  model = OAuthConnection
47
47
  title = "OAuth connection"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "plain.oauth"
3
- version = "0.8.0"
3
+ version = "0.8.1"
4
4
  description = "OAuth login and API access for Plain."
5
5
  authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
6
6
  license = "BSD-3-Clause"
File without changes
File without changes
File without changes
File without changes