open-api-framework 0.4.0__tar.gz → 0.4.2__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 (19) hide show
  1. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/CHANGELOG.rst +15 -0
  2. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/LICENSE +1 -1
  3. {open_api_framework-0.4.0/open_api_framework.egg-info → open_api_framework-0.4.2}/PKG-INFO +15 -7
  4. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/README.rst +13 -5
  5. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework/conf/base.py +7 -0
  6. {open_api_framework-0.4.0 → open_api_framework-0.4.2/open_api_framework.egg-info}/PKG-INFO +15 -7
  7. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/pyproject.toml +2 -2
  8. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/MANIFEST.in +0 -0
  9. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework/__init__.py +0 -0
  10. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework/apps.py +0 -0
  11. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework/conf/__init__.py +0 -0
  12. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework/conf/utils.py +0 -0
  13. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework/py.typed +0 -0
  14. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework.egg-info/SOURCES.txt +0 -0
  15. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework.egg-info/dependency_links.txt +0 -0
  16. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework.egg-info/requires.txt +0 -0
  17. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/open_api_framework.egg-info/top_level.txt +0 -0
  18. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/setup.cfg +0 -0
  19. {open_api_framework-0.4.0 → open_api_framework-0.4.2}/tests/test_config_helpers.py +0 -0
@@ -1,6 +1,21 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.4.2 (2024-06-20)
5
+ ------------------
6
+
7
+ **Bugfixes**
8
+
9
+ * Add missing settings for ``TWO_FACTOR_WEBAUTHN``
10
+
11
+ 0.4.1 (2024-06-13)
12
+ ------------------
13
+
14
+ **Bugfixes**
15
+
16
+ * Add ``ordered_model`` to ``INSTALLED_APPS`` (required for ``django-admin-index``)
17
+ * Add ``two_factor.plugins.webauthn`` to ``INSTALLED_APPS`` (required for ``maykin_2fa``)
18
+
4
19
  0.4.0 (2024-06-06)
5
20
  ------------------
6
21
 
@@ -1,4 +1,4 @@
1
- Copyright 2024 Maykin Media
1
+ Copyright © Maykin 2024
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: open_api_framework
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings
5
5
  Author-email: Maykin Media <support@maykinmedia.nl>
6
- License: Copyright 2024 Maykin Media
6
+ License: Copyright © Maykin 2024
7
7
 
8
8
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
9
 
@@ -74,12 +74,10 @@ Provides-Extra: release
74
74
  Requires-Dist: bump-my-version; extra == "release"
75
75
  Requires-Dist: twine; extra == "release"
76
76
 
77
+ Open API Framework
78
+ ==================
77
79
 
78
-
79
- Welcome to open-api-framework's documentation!
80
- =================================================
81
-
82
- :Version: 0.4.0
80
+ :Version: 0.4.2
83
81
  :Source: https://github.com/maykinmedia/open-api-framework
84
82
  :Keywords: metapackage, dependencies
85
83
 
@@ -134,6 +132,16 @@ directory to the python path (or use ``python -m django <command>``):
134
132
  # or other commands like:
135
133
  # django-admin makemessages -l nl
136
134
 
135
+ License
136
+ =======
137
+
138
+ Copyright © Maykin 2024
139
+
140
+ Licensed under the `MIT license`.
141
+
142
+
143
+ .. _`MIT license`: LICENSE
144
+
137
145
 
138
146
  .. |build-status| image:: https://github.com/maykinmedia/open-api-framework/workflows/Run%20CI/badge.svg
139
147
  :alt: Build status
@@ -1,9 +1,7 @@
1
+ Open API Framework
2
+ ==================
1
3
 
2
-
3
- Welcome to open-api-framework's documentation!
4
- =================================================
5
-
6
- :Version: 0.4.0
4
+ :Version: 0.4.2
7
5
  :Source: https://github.com/maykinmedia/open-api-framework
8
6
  :Keywords: metapackage, dependencies
9
7
 
@@ -58,6 +56,16 @@ directory to the python path (or use ``python -m django <command>``):
58
56
  # or other commands like:
59
57
  # django-admin makemessages -l nl
60
58
 
59
+ License
60
+ =======
61
+
62
+ Copyright © Maykin 2024
63
+
64
+ Licensed under the `MIT license`.
65
+
66
+
67
+ .. _`MIT license`: LICENSE
68
+
61
69
 
62
70
  .. |build-status| image:: https://github.com/maykinmedia/open-api-framework/workflows/Run%20CI/badge.svg
63
71
  :alt: Build status
@@ -118,6 +118,7 @@ INSTALLED_APPS = [
118
118
  "django.contrib.staticfiles",
119
119
  # Optional applications.
120
120
  "django_admin_index",
121
+ "ordered_model",
121
122
  "django.contrib.admin",
122
123
  # External applications.
123
124
  "axes",
@@ -134,6 +135,7 @@ INSTALLED_APPS = [
134
135
  "django_otp.plugins.otp_static",
135
136
  "django_otp.plugins.otp_totp",
136
137
  "two_factor",
138
+ "two_factor.plugins.webauthn",
137
139
  "maykin_2fa",
138
140
  "privates",
139
141
  "django_jsonform",
@@ -630,6 +632,11 @@ else:
630
632
 
631
633
  # we run the admin site monkeypatch instead.
632
634
  TWO_FACTOR_PATCH_ADMIN = False
635
+ # Relying Party name for WebAuthn (hardware tokens)
636
+ TWO_FACTOR_WEBAUTHN_RP_NAME = f"{PROJECT_DIRNAME} - admin"
637
+ # use platform for fingerprint readers etc., or remove the setting to allow any.
638
+ # cross-platform would limit the options to devices like phones/yubikeys
639
+ TWO_FACTOR_WEBAUTHN_AUTHENTICATOR_ATTACHMENT = "cross-platform"
633
640
  # add entries from AUTHENTICATION_BACKENDS that already enforce their own two-factor
634
641
  # auth, avoiding having some set up MFA again in the project.
635
642
  MAYKIN_2FA_ALLOW_MFA_BYPASS_BACKENDS = [
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: open_api_framework
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings
5
5
  Author-email: Maykin Media <support@maykinmedia.nl>
6
- License: Copyright 2024 Maykin Media
6
+ License: Copyright © Maykin 2024
7
7
 
8
8
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
9
 
@@ -74,12 +74,10 @@ Provides-Extra: release
74
74
  Requires-Dist: bump-my-version; extra == "release"
75
75
  Requires-Dist: twine; extra == "release"
76
76
 
77
+ Open API Framework
78
+ ==================
77
79
 
78
-
79
- Welcome to open-api-framework's documentation!
80
- =================================================
81
-
82
- :Version: 0.4.0
80
+ :Version: 0.4.2
83
81
  :Source: https://github.com/maykinmedia/open-api-framework
84
82
  :Keywords: metapackage, dependencies
85
83
 
@@ -134,6 +132,16 @@ directory to the python path (or use ``python -m django <command>``):
134
132
  # or other commands like:
135
133
  # django-admin makemessages -l nl
136
134
 
135
+ License
136
+ =======
137
+
138
+ Copyright © Maykin 2024
139
+
140
+ Licensed under the `MIT license`.
141
+
142
+
143
+ .. _`MIT license`: LICENSE
144
+
137
145
 
138
146
  .. |build-status| image:: https://github.com/maykinmedia/open-api-framework/workflows/Run%20CI/badge.svg
139
147
  :alt: Build status
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "open_api_framework"
7
- version = "0.4.0"
7
+ version = "0.4.2"
8
8
  description = "A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings"
9
9
  authors = [
10
10
  {name = "Maykin Media", email = "support@maykinmedia.nl"}
@@ -100,7 +100,7 @@ testpaths = ["tests"]
100
100
  DJANGO_SETTINGS_MODULE = "testapp.settings"
101
101
 
102
102
  [tool.bumpversion]
103
- current_version = "0.4.0"
103
+ current_version = "0.4.2"
104
104
  files = [
105
105
  {filename = "pyproject.toml"},
106
106
  {filename = "README.rst"},