open-api-framework 0.9.4__tar.gz → 0.9.6__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 (36) hide show
  1. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/CHANGELOG.rst +17 -1
  2. {open_api_framework-0.9.4/open_api_framework.egg-info → open_api_framework-0.9.6}/PKG-INFO +9 -8
  3. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/README.rst +1 -1
  4. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/conf/base.py +6 -1
  5. {open_api_framework-0.9.4 → open_api_framework-0.9.6/open_api_framework.egg-info}/PKG-INFO +9 -8
  6. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework.egg-info/requires.txt +1 -1
  7. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/pyproject.toml +9 -8
  8. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/tests/test_generate_envvar_docs.py +2 -1
  9. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/LICENSE +0 -0
  10. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/MANIFEST.in +0 -0
  11. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/__init__.py +0 -0
  12. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/admin.py +0 -0
  13. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/apps.py +0 -0
  14. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/conf/__init__.py +0 -0
  15. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/conf/utils.py +0 -0
  16. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/context_processors.py +0 -0
  17. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/management/__init__.py +0 -0
  18. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/management/commands/__init__.py +0 -0
  19. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/management/commands/generate_envvar_docs.py +0 -0
  20. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/py.typed +0 -0
  21. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/static/open_api_framework/css/admin.css +0 -0
  22. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/templates/open_api_framework/admin/base_site.html +0 -0
  23. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/templates/open_api_framework/components/environment.html +0 -0
  24. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/templates/open_api_framework/components/version.html +0 -0
  25. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/templates/open_api_framework/env_config.rst +0 -0
  26. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/templatetags/__init__.py +0 -0
  27. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/templatetags/doc_tags.py +0 -0
  28. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/templatetags/open_api_framework.py +0 -0
  29. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework/utils.py +0 -0
  30. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework.egg-info/SOURCES.txt +0 -0
  31. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework.egg-info/dependency_links.txt +0 -0
  32. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/open_api_framework.egg-info/top_level.txt +0 -0
  33. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/setup.cfg +0 -0
  34. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/tests/test_admin.py +0 -0
  35. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/tests/test_config_helpers.py +0 -0
  36. {open_api_framework-0.9.4 → open_api_framework-0.9.6}/tests/test_settings.py +0 -0
@@ -1,7 +1,23 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- 0.9.4 (2024-03-20)
4
+ 0.9.6 (2025-03-28)
5
+ ------------------
6
+
7
+ **Maintenance**
8
+
9
+ * [#59] Set ``SITE_DOMAIN`` default to an empty string and add ``SITE_ID``
10
+
11
+
12
+ 0.9.5 (2025-03-24)
13
+ ------------------
14
+
15
+ **Maintenance**
16
+
17
+ * [#open-zaak/open-zaak#1856] Allow Django 5 as a dependency.
18
+
19
+
20
+ 0.9.4 (2025-03-20)
5
21
  ------------------
6
22
 
7
23
  **Maintenance**
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
- Name: open_api_framework
3
- Version: 0.9.4
2
+ Name: open-api-framework
3
+ Version: 0.9.6
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
6
  License: Copyright © Maykin 2024
@@ -11,14 +11,15 @@ License: Copyright © Maykin 2024
11
11
 
12
12
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
13
 
14
- Project-URL: Homepage, https://github.com/maykinmedia/open_api_framework
15
- Project-URL: Documentation, http://open_api_framework.readthedocs.io/en/latest/
16
- Project-URL: Bug Tracker, https://github.com/maykinmedia/open_api_framework/issues
17
- Project-URL: Source Code, https://github.com/maykinmedia/open_api_framework
14
+ Project-URL: Homepage, https://github.com/maykinmedia/open-api-framework
15
+ Project-URL: Documentation, http://open-api-framework.readthedocs.io/en/latest/
16
+ Project-URL: Bug Tracker, https://github.com/maykinmedia/open-api-framework/issues
17
+ Project-URL: Source Code, https://github.com/maykinmedia/open-api-framework
18
18
  Keywords: metapackage,dependencies,settings
19
19
  Classifier: Development Status :: 3 - Alpha
20
20
  Classifier: Framework :: Django
21
21
  Classifier: Framework :: Django :: 4.2
22
+ Classifier: Framework :: Django :: 5.1
22
23
  Classifier: Intended Audience :: Developers
23
24
  Classifier: Operating System :: Unix
24
25
  Classifier: Operating System :: MacOS
@@ -30,7 +31,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
31
  Requires-Python: >=3.9
31
32
  Description-Content-Type: text/x-rst
32
33
  License-File: LICENSE
33
- Requires-Dist: django<5.0.0,>=4.2.17
34
+ Requires-Dist: django>=4.2.17
34
35
  Requires-Dist: django-axes>=6.5.1
35
36
  Requires-Dist: django-cors-headers>=4.4.0
36
37
  Requires-Dist: django-markup>=1.8.1
@@ -81,7 +82,7 @@ Dynamic: license-file
81
82
  Open API Framework
82
83
  ==================
83
84
 
84
- :Version: 0.9.4
85
+ :Version: 0.9.6
85
86
  :Source: https://github.com/maykinmedia/open-api-framework
86
87
  :Keywords: metapackage, dependencies
87
88
 
@@ -1,7 +1,7 @@
1
1
  Open API Framework
2
2
  ==================
3
3
 
4
- :Version: 0.9.4
4
+ :Version: 0.9.6
5
5
  :Source: https://github.com/maykinmedia/open-api-framework
6
6
  :Keywords: metapackage, dependencies
7
7
 
@@ -29,6 +29,11 @@ BASE_DIR = Path(DJANGO_PROJECT_DIR).resolve().parents[1]
29
29
  #
30
30
  # Core Django settings
31
31
  #
32
+ SITE_ID = config(
33
+ "SITE_ID",
34
+ default=1,
35
+ help_text="The database ID of the site object. You usually won't have to touch this.",
36
+ )
32
37
 
33
38
  # SECURITY WARNING: keep the secret key used in production secret!
34
39
  SECRET_KEY = config(
@@ -799,7 +804,7 @@ NOTIFICATIONS_DISABLED = config(
799
804
  )
800
805
  SITE_DOMAIN = config(
801
806
  "SITE_DOMAIN",
802
- default="example.com",
807
+ default="",
803
808
  help_text=("Defines the primary domain where the application is hosted."),
804
809
  )
805
810
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
- Name: open_api_framework
3
- Version: 0.9.4
2
+ Name: open-api-framework
3
+ Version: 0.9.6
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
6
  License: Copyright © Maykin 2024
@@ -11,14 +11,15 @@ License: Copyright © Maykin 2024
11
11
 
12
12
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
13
 
14
- Project-URL: Homepage, https://github.com/maykinmedia/open_api_framework
15
- Project-URL: Documentation, http://open_api_framework.readthedocs.io/en/latest/
16
- Project-URL: Bug Tracker, https://github.com/maykinmedia/open_api_framework/issues
17
- Project-URL: Source Code, https://github.com/maykinmedia/open_api_framework
14
+ Project-URL: Homepage, https://github.com/maykinmedia/open-api-framework
15
+ Project-URL: Documentation, http://open-api-framework.readthedocs.io/en/latest/
16
+ Project-URL: Bug Tracker, https://github.com/maykinmedia/open-api-framework/issues
17
+ Project-URL: Source Code, https://github.com/maykinmedia/open-api-framework
18
18
  Keywords: metapackage,dependencies,settings
19
19
  Classifier: Development Status :: 3 - Alpha
20
20
  Classifier: Framework :: Django
21
21
  Classifier: Framework :: Django :: 4.2
22
+ Classifier: Framework :: Django :: 5.1
22
23
  Classifier: Intended Audience :: Developers
23
24
  Classifier: Operating System :: Unix
24
25
  Classifier: Operating System :: MacOS
@@ -30,7 +31,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
31
  Requires-Python: >=3.9
31
32
  Description-Content-Type: text/x-rst
32
33
  License-File: LICENSE
33
- Requires-Dist: django<5.0.0,>=4.2.17
34
+ Requires-Dist: django>=4.2.17
34
35
  Requires-Dist: django-axes>=6.5.1
35
36
  Requires-Dist: django-cors-headers>=4.4.0
36
37
  Requires-Dist: django-markup>=1.8.1
@@ -81,7 +82,7 @@ Dynamic: license-file
81
82
  Open API Framework
82
83
  ==================
83
84
 
84
- :Version: 0.9.4
85
+ :Version: 0.9.6
85
86
  :Source: https://github.com/maykinmedia/open-api-framework
86
87
  :Keywords: metapackage, dependencies
87
88
 
@@ -1,4 +1,4 @@
1
- django<5.0.0,>=4.2.17
1
+ django>=4.2.17
2
2
  django-axes>=6.5.1
3
3
  django-cors-headers>=4.4.0
4
4
  django-markup>=1.8.1
@@ -3,8 +3,8 @@ requires = ["setuptools>=61.0.0"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
- name = "open_api_framework"
7
- version = "0.9.4"
6
+ name = "open-api-framework"
7
+ version = "0.9.6"
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"}
@@ -16,6 +16,7 @@ classifiers = [
16
16
  "Development Status :: 3 - Alpha",
17
17
  "Framework :: Django",
18
18
  "Framework :: Django :: 4.2",
19
+ "Framework :: Django :: 5.1",
19
20
  "Intended Audience :: Developers",
20
21
  "Operating System :: Unix",
21
22
  "Operating System :: MacOS",
@@ -27,7 +28,7 @@ classifiers = [
27
28
  ]
28
29
  requires-python = ">=3.9"
29
30
  dependencies = [
30
- "django>=4.2.17,<5.0.0",
31
+ "django>=4.2.17",
31
32
  "django-axes>=6.5.1",
32
33
  "django-cors-headers>=4.4.0",
33
34
  "django-markup>=1.8.1",
@@ -59,10 +60,10 @@ dependencies = [
59
60
  ]
60
61
 
61
62
  [project.urls]
62
- Homepage = "https://github.com/maykinmedia/open_api_framework"
63
- Documentation = "http://open_api_framework.readthedocs.io/en/latest/"
64
- "Bug Tracker" = "https://github.com/maykinmedia/open_api_framework/issues"
65
- "Source Code" = "https://github.com/maykinmedia/open_api_framework"
63
+ Homepage = "https://github.com/maykinmedia/open-api-framework"
64
+ Documentation = "http://open-api-framework.readthedocs.io/en/latest/"
65
+ "Bug Tracker" = "https://github.com/maykinmedia/open-api-framework/issues"
66
+ "Source Code" = "https://github.com/maykinmedia/open-api-framework"
66
67
 
67
68
  [project.optional-dependencies]
68
69
  tests = [
@@ -108,7 +109,7 @@ env = [
108
109
  ]
109
110
 
110
111
  [tool.bumpversion]
111
- current_version = "0.9.4"
112
+ current_version = "0.9.6"
112
113
  files = [
113
114
  {filename = "pyproject.toml"},
114
115
  {filename = "README.rst"},
@@ -74,6 +74,7 @@ Content Security Policy
74
74
  Optional
75
75
  --------
76
76
 
77
+ * ``SITE_ID``: The database ID of the site object. You usually won't have to touch this. Defaults to: ``1``.
77
78
  * ``DEBUG``: Only set this to ``True`` on a local development environment. Various other security settings are derived from this setting!. Defaults to: ``False``.
78
79
  * ``USE_X_FORWARDED_HOST``: whether to grab the domain/host from the X-Forwarded-Host header or not. This header is typically set by reverse proxies (such as nginx, traefik, Apache...). Note: this is a header that can be spoofed and you need to ensure you control it before enabling this. Defaults to: ``False``.
79
80
  * ``IS_HTTPS``: Used to construct absolute URLs and controls a variety of security settings. Defaults to the inverse of ``DEBUG``.
@@ -96,7 +97,7 @@ Optional
96
97
  * ``NUM_PROXIES``: the number of reverse proxies in front of the application, as an integer. This is used to determine the actual client IP adres. On Kubernetes with an ingress you typically want to set this to 2. Defaults to: ``1``.
97
98
  * ``CSRF_TRUSTED_ORIGINS``: A list of trusted origins for unsafe requests (e.g. POST). Defaults to: ``[]``.
98
99
  * ``NOTIFICATIONS_DISABLED``: indicates whether or not notifications should be sent to the Notificaties API for operations on the API endpoints. Defaults to ``True`` for the ``dev`` environment, otherwise defaults to ``False``.
99
- * ``SITE_DOMAIN``: Defines the primary domain where the application is hosted. Defaults to: ``example.com``.
100
+ * ``SITE_DOMAIN``: Defines the primary domain where the application is hosted. Defaults to: ``(empty string)``.
100
101
  * ``SENTRY_DSN``: URL of the sentry project to send error reports to. Default empty, i.e. -> no monitoring set up. Highly recommended to configure this.
101
102
  * ``DISABLE_2FA``: Whether or not two factor authentication should be disabled. Defaults to: ``False``.
102
103
  * ``LOG_OUTGOING_REQUESTS_EMIT_BODY``: Whether or not outgoing request bodies should be logged. Defaults to: ``True``.