open-api-framework 0.9.3__tar.gz → 0.9.5__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.
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/CHANGELOG.rst +16 -0
- {open_api_framework-0.9.3/open_api_framework.egg-info → open_api_framework-0.9.5}/PKG-INFO +11 -9
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/README.rst +1 -1
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/conf/base.py +5 -7
- {open_api_framework-0.9.3 → open_api_framework-0.9.5/open_api_framework.egg-info}/PKG-INFO +11 -9
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework.egg-info/requires.txt +1 -1
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/pyproject.toml +9 -8
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/tests/test_generate_envvar_docs.py +1 -1
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/LICENSE +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/MANIFEST.in +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/__init__.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/admin.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/apps.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/conf/__init__.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/conf/utils.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/context_processors.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/management/__init__.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/management/commands/__init__.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/management/commands/generate_envvar_docs.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/py.typed +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/static/open_api_framework/css/admin.css +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templates/open_api_framework/admin/base_site.html +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templates/open_api_framework/components/environment.html +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templates/open_api_framework/components/version.html +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templates/open_api_framework/env_config.rst +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templatetags/__init__.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templatetags/doc_tags.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templatetags/open_api_framework.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/utils.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework.egg-info/SOURCES.txt +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework.egg-info/dependency_links.txt +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework.egg-info/top_level.txt +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/setup.cfg +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/tests/test_admin.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/tests/test_config_helpers.py +0 -0
- {open_api_framework-0.9.3 → open_api_framework-0.9.5}/tests/test_settings.py +0 -0
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
0.9.5 (2025-03-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
**Maintenance**
|
|
8
|
+
|
|
9
|
+
* [#open-zaak/open-zaak#1856] Allow Django 5 as a dependency.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
0.9.4 (2025-03-20)
|
|
13
|
+
------------------
|
|
14
|
+
|
|
15
|
+
**Maintenance**
|
|
16
|
+
|
|
17
|
+
* [#59] Remove ``django.contrib.sites`` dependency and add ``SITE_DOMAIN`` environment variable
|
|
18
|
+
|
|
19
|
+
|
|
4
20
|
0.9.3 (2025-02-24)
|
|
5
21
|
------------------
|
|
6
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name:
|
|
3
|
-
Version: 0.9.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: open-api-framework
|
|
3
|
+
Version: 0.9.5
|
|
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/
|
|
15
|
-
Project-URL: Documentation, http://
|
|
16
|
-
Project-URL: Bug Tracker, https://github.com/maykinmedia/
|
|
17
|
-
Project-URL: Source Code, https://github.com/maykinmedia/
|
|
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
|
|
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
|
|
@@ -76,11 +77,12 @@ Requires-Dist: sphinx-rtd-theme; extra == "docs"
|
|
|
76
77
|
Provides-Extra: release
|
|
77
78
|
Requires-Dist: bump-my-version; extra == "release"
|
|
78
79
|
Requires-Dist: twine; extra == "release"
|
|
80
|
+
Dynamic: license-file
|
|
79
81
|
|
|
80
82
|
Open API Framework
|
|
81
83
|
==================
|
|
82
84
|
|
|
83
|
-
:Version: 0.9.
|
|
85
|
+
:Version: 0.9.5
|
|
84
86
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
85
87
|
:Keywords: metapackage, dependencies
|
|
86
88
|
|
|
@@ -29,11 +29,6 @@ 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
|
-
)
|
|
37
32
|
|
|
38
33
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
39
34
|
SECRET_KEY = config(
|
|
@@ -193,8 +188,6 @@ INSTALLED_APPS = [
|
|
|
193
188
|
"django.contrib.contenttypes",
|
|
194
189
|
"django.contrib.auth",
|
|
195
190
|
"django.contrib.sessions",
|
|
196
|
-
# Note: If enabled, at least one Site object is required
|
|
197
|
-
"django.contrib.sites",
|
|
198
191
|
"django.contrib.messages",
|
|
199
192
|
"django.contrib.staticfiles",
|
|
200
193
|
# Optional applications.
|
|
@@ -804,6 +797,11 @@ NOTIFICATIONS_DISABLED = config(
|
|
|
804
797
|
),
|
|
805
798
|
auto_display_default=False,
|
|
806
799
|
)
|
|
800
|
+
SITE_DOMAIN = config(
|
|
801
|
+
"SITE_DOMAIN",
|
|
802
|
+
default="example.com",
|
|
803
|
+
help_text=("Defines the primary domain where the application is hosted."),
|
|
804
|
+
)
|
|
807
805
|
|
|
808
806
|
#
|
|
809
807
|
# SENTRY - error monitoring
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name:
|
|
3
|
-
Version: 0.9.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: open-api-framework
|
|
3
|
+
Version: 0.9.5
|
|
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/
|
|
15
|
-
Project-URL: Documentation, http://
|
|
16
|
-
Project-URL: Bug Tracker, https://github.com/maykinmedia/
|
|
17
|
-
Project-URL: Source Code, https://github.com/maykinmedia/
|
|
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
|
|
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
|
|
@@ -76,11 +77,12 @@ Requires-Dist: sphinx-rtd-theme; extra == "docs"
|
|
|
76
77
|
Provides-Extra: release
|
|
77
78
|
Requires-Dist: bump-my-version; extra == "release"
|
|
78
79
|
Requires-Dist: twine; extra == "release"
|
|
80
|
+
Dynamic: license-file
|
|
79
81
|
|
|
80
82
|
Open API Framework
|
|
81
83
|
==================
|
|
82
84
|
|
|
83
|
-
:Version: 0.9.
|
|
85
|
+
:Version: 0.9.5
|
|
84
86
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
85
87
|
:Keywords: metapackage, dependencies
|
|
86
88
|
|
|
@@ -3,8 +3,8 @@ requires = ["setuptools>=61.0.0"]
|
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
|
-
name = "
|
|
7
|
-
version = "0.9.
|
|
6
|
+
name = "open-api-framework"
|
|
7
|
+
version = "0.9.5"
|
|
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
|
|
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/
|
|
63
|
-
Documentation = "http://
|
|
64
|
-
"Bug Tracker" = "https://github.com/maykinmedia/
|
|
65
|
-
"Source Code" = "https://github.com/maykinmedia/
|
|
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.
|
|
112
|
+
current_version = "0.9.5"
|
|
112
113
|
files = [
|
|
113
114
|
{filename = "pyproject.toml"},
|
|
114
115
|
{filename = "README.rst"},
|
|
@@ -74,7 +74,6 @@ 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``.
|
|
78
77
|
* ``DEBUG``: Only set this to ``True`` on a local development environment. Various other security settings are derived from this setting!. Defaults to: ``False``.
|
|
79
78
|
* ``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``.
|
|
80
79
|
* ``IS_HTTPS``: Used to construct absolute URLs and controls a variety of security settings. Defaults to the inverse of ``DEBUG``.
|
|
@@ -97,6 +96,7 @@ Optional
|
|
|
97
96
|
* ``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``.
|
|
98
97
|
* ``CSRF_TRUSTED_ORIGINS``: A list of trusted origins for unsafe requests (e.g. POST). Defaults to: ``[]``.
|
|
99
98
|
* ``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
100
|
* ``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
101
|
* ``DISABLE_2FA``: Whether or not two factor authentication should be disabled. Defaults to: ``False``.
|
|
102
102
|
* ``LOG_OUTGOING_REQUESTS_EMIT_BODY``: Whether or not outgoing request bodies should be logged. Defaults to: ``True``.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/context_processors.py
RENAMED
|
File without changes
|
{open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/management/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templatetags/__init__.py
RENAMED
|
File without changes
|
{open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework/templatetags/doc_tags.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{open_api_framework-0.9.3 → open_api_framework-0.9.5}/open_api_framework.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|