open-api-framework 0.9.0__tar.gz → 0.9.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.
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/CHANGELOG.rst +16 -0
- {open_api_framework-0.9.0/open_api_framework.egg-info → open_api_framework-0.9.2}/PKG-INFO +3 -3
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/README.rst +1 -1
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/conf/base.py +26 -1
- {open_api_framework-0.9.0 → open_api_framework-0.9.2/open_api_framework.egg-info}/PKG-INFO +3 -3
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework.egg-info/requires.txt +1 -1
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/pyproject.toml +3 -3
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/LICENSE +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/MANIFEST.in +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/__init__.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/admin.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/apps.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/conf/__init__.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/conf/utils.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/context_processors.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/management/__init__.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/management/commands/__init__.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/management/commands/generate_envvar_docs.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/py.typed +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/static/open_api_framework/css/admin.css +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/templates/open_api_framework/admin/base_site.html +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/templates/open_api_framework/components/environment.html +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/templates/open_api_framework/components/version.html +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/templates/open_api_framework/env_config.rst +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/templatetags/__init__.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/templatetags/doc_tags.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/templatetags/open_api_framework.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/utils.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework.egg-info/SOURCES.txt +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework.egg-info/dependency_links.txt +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework.egg-info/top_level.txt +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/setup.cfg +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/tests/test_admin.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/tests/test_config_helpers.py +0 -0
- {open_api_framework-0.9.0 → open_api_framework-0.9.2}/tests/test_generate_envvar_docs.py +0 -0
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
0.9.2 (2025-01-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
**Security updates**
|
|
8
|
+
|
|
9
|
+
* Upgrade django to 4.2.17
|
|
10
|
+
|
|
11
|
+
0.9.1 (2024-12-16)
|
|
12
|
+
------------------
|
|
13
|
+
|
|
14
|
+
**Bugfixes/QOL**
|
|
15
|
+
|
|
16
|
+
* Change ``LOG_STDOUT`` default value to True
|
|
17
|
+
* Re-add separate ``CELERY_LOGLEVEL`` configuration setting
|
|
18
|
+
|
|
19
|
+
|
|
4
20
|
0.9.0 (2024-11-11)
|
|
5
21
|
------------------
|
|
6
22
|
**New Features**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: open_api_framework
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.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
6
|
License: Copyright © Maykin 2024
|
|
@@ -30,7 +30,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Requires-Python: >=3.9
|
|
31
31
|
Description-Content-Type: text/x-rst
|
|
32
32
|
License-File: LICENSE
|
|
33
|
-
Requires-Dist: django<5.0.0,>=4.2.
|
|
33
|
+
Requires-Dist: django<5.0.0,>=4.2.17
|
|
34
34
|
Requires-Dist: django-axes>=6.5.1
|
|
35
35
|
Requires-Dist: django-cors-headers>=4.4.0
|
|
36
36
|
Requires-Dist: django-markup>=1.8.1
|
|
@@ -80,7 +80,7 @@ Requires-Dist: twine; extra == "release"
|
|
|
80
80
|
Open API Framework
|
|
81
81
|
==================
|
|
82
82
|
|
|
83
|
-
:Version: 0.9.
|
|
83
|
+
:Version: 0.9.2
|
|
84
84
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
85
85
|
:Keywords: metapackage, dependencies
|
|
86
86
|
|
|
@@ -350,7 +350,7 @@ DEFAULT_FROM_EMAIL = config(
|
|
|
350
350
|
# LOGGING
|
|
351
351
|
#
|
|
352
352
|
LOG_STDOUT = config(
|
|
353
|
-
"LOG_STDOUT", default=
|
|
353
|
+
"LOG_STDOUT", default=True, help_text="whether to log to stdout or not"
|
|
354
354
|
)
|
|
355
355
|
LOG_LEVEL = config(
|
|
356
356
|
"LOG_LEVEL",
|
|
@@ -377,6 +377,13 @@ if LOG_QUERIES and not DEBUG:
|
|
|
377
377
|
RuntimeWarning,
|
|
378
378
|
)
|
|
379
379
|
|
|
380
|
+
CELERY_LOGLEVEL = config(
|
|
381
|
+
"CELERY_LOGLEVEL",
|
|
382
|
+
default="INFO",
|
|
383
|
+
help_text="control the verbosity of logging output for celery, independent of ``LOG_LEVEL``."
|
|
384
|
+
" Available values are ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` and ``DEBUG``",
|
|
385
|
+
)
|
|
386
|
+
|
|
380
387
|
LOGGING_DIR = Path(BASE_DIR) / "log"
|
|
381
388
|
|
|
382
389
|
logging_root_handlers = ["console"] if LOG_STDOUT else ["project"]
|
|
@@ -415,6 +422,19 @@ LOGGING = {
|
|
|
415
422
|
"class": "logging.StreamHandler",
|
|
416
423
|
"formatter": "db",
|
|
417
424
|
},
|
|
425
|
+
"celery_console": {
|
|
426
|
+
"level": CELERY_LOGLEVEL,
|
|
427
|
+
"class": "logging.StreamHandler",
|
|
428
|
+
"formatter": "timestamped",
|
|
429
|
+
},
|
|
430
|
+
"celery_file": {
|
|
431
|
+
"level": CELERY_LOGLEVEL,
|
|
432
|
+
"class": "logging.handlers.RotatingFileHandler",
|
|
433
|
+
"filename": Path(LOGGING_DIR) / "celery.log",
|
|
434
|
+
"formatter": "verbose",
|
|
435
|
+
"maxBytes": 1024 * 1024 * 10, # 10 MB
|
|
436
|
+
"backupCount": 10,
|
|
437
|
+
},
|
|
418
438
|
"django": {
|
|
419
439
|
"level": LOG_LEVEL,
|
|
420
440
|
"class": "logging.handlers.RotatingFileHandler",
|
|
@@ -507,6 +527,11 @@ LOGGING = {
|
|
|
507
527
|
"level": "DEBUG",
|
|
508
528
|
"propagate": True,
|
|
509
529
|
},
|
|
530
|
+
"celery": {
|
|
531
|
+
"handlers": ["celery_console"] if LOG_STDOUT else ["celery_file"],
|
|
532
|
+
"level": CELERY_LOGLEVEL,
|
|
533
|
+
"propagate": True,
|
|
534
|
+
},
|
|
510
535
|
},
|
|
511
536
|
}
|
|
512
537
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: open_api_framework
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.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
6
|
License: Copyright © Maykin 2024
|
|
@@ -30,7 +30,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Requires-Python: >=3.9
|
|
31
31
|
Description-Content-Type: text/x-rst
|
|
32
32
|
License-File: LICENSE
|
|
33
|
-
Requires-Dist: django<5.0.0,>=4.2.
|
|
33
|
+
Requires-Dist: django<5.0.0,>=4.2.17
|
|
34
34
|
Requires-Dist: django-axes>=6.5.1
|
|
35
35
|
Requires-Dist: django-cors-headers>=4.4.0
|
|
36
36
|
Requires-Dist: django-markup>=1.8.1
|
|
@@ -80,7 +80,7 @@ Requires-Dist: twine; extra == "release"
|
|
|
80
80
|
Open API Framework
|
|
81
81
|
==================
|
|
82
82
|
|
|
83
|
-
:Version: 0.9.
|
|
83
|
+
:Version: 0.9.2
|
|
84
84
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
85
85
|
:Keywords: metapackage, dependencies
|
|
86
86
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "open_api_framework"
|
|
7
|
-
version = "0.9.
|
|
7
|
+
version = "0.9.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"}
|
|
@@ -27,7 +27,7 @@ classifiers = [
|
|
|
27
27
|
]
|
|
28
28
|
requires-python = ">=3.9"
|
|
29
29
|
dependencies = [
|
|
30
|
-
"django>=4.2.
|
|
30
|
+
"django>=4.2.17,<5.0.0",
|
|
31
31
|
"django-axes>=6.5.1",
|
|
32
32
|
"django-cors-headers>=4.4.0",
|
|
33
33
|
"django-markup>=1.8.1",
|
|
@@ -103,7 +103,7 @@ testpaths = ["tests"]
|
|
|
103
103
|
DJANGO_SETTINGS_MODULE = "testapp.settings"
|
|
104
104
|
|
|
105
105
|
[tool.bumpversion]
|
|
106
|
-
current_version = "0.9.
|
|
106
|
+
current_version = "0.9.2"
|
|
107
107
|
files = [
|
|
108
108
|
{filename = "pyproject.toml"},
|
|
109
109
|
{filename = "README.rst"},
|
|
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.0 → open_api_framework-0.9.2}/open_api_framework/context_processors.py
RENAMED
|
File without changes
|
{open_api_framework-0.9.0 → open_api_framework-0.9.2}/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.0 → open_api_framework-0.9.2}/open_api_framework/templatetags/__init__.py
RENAMED
|
File without changes
|
{open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework/templatetags/doc_tags.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{open_api_framework-0.9.0 → open_api_framework-0.9.2}/open_api_framework.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|