apis-acdhch-default-settings 2.5.0__tar.gz → 2.7.0__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.
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/CHANGELOG.md +14 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/PKG-INFO +2 -3
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/apis_acdhch_default_settings/settings.py +2 -19
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/pyproject.toml +2 -3
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/.github/dependabot.yml +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/.github/workflows/add-to-project.yml +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/.github/workflows/publish.yml +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/.github/workflows/release-please.yml +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/.gitignore +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/LICENSE +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/README.md +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/apis_acdhch_default_settings/__init__.py +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/apis_acdhch_default_settings/ldapauth.py +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/apis_acdhch_default_settings/querysets.py +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/apis_acdhch_default_settings/templates/base.html +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/apis_acdhch_default_settings/templates/imprint.html +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/apis_acdhch_default_settings/urls.py +0 -0
- {apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/apis_acdhch_default_settings/views.py +0 -0
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.7.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.6.0...v2.7.0) (2025-05-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **settings:** drop sentry configuration ([38cfc96](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/38cfc96b5a0c53fd13066cbae3c0c84d7f749aab))
|
|
9
|
+
|
|
10
|
+
## [2.6.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.5.0...v2.6.0) (2025-04-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **settings:** add collections, history to INSTALLED_APPS ([48b01e0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/48b01e08cff206065802d21db8f7d6ac82f057f6)), closes [#197](https://github.com/acdh-oeaw/apis-acdhch-default-settings/issues/197)
|
|
16
|
+
|
|
3
17
|
## [2.5.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.4.0...v2.5.0) (2025-04-14)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apis-acdhch-default-settings
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0
|
|
4
4
|
Summary: Default settings for APIS instances at the ACDH-CH
|
|
5
5
|
Project-URL: source, https://github.com/acdh-oeaw/apis-acdhch-default-settings
|
|
6
6
|
Project-URL: changelog, https://github.com/acdh-oeaw/apis-acdhch-default-settings/blob/main/CHANGELOG.md
|
|
@@ -11,7 +11,7 @@ License-File: LICENSE
|
|
|
11
11
|
Requires-Python: >=3.11
|
|
12
12
|
Requires-Dist: dj-database-url<3.0,>=2.0.0
|
|
13
13
|
Requires-Dist: django-allow-cidr<0.8,>=0.6
|
|
14
|
-
Requires-Dist: django-auth-ldap<
|
|
14
|
+
Requires-Dist: django-auth-ldap<6.0,>=4.6.0
|
|
15
15
|
Requires-Dist: django-csp<4.0,>=3.7
|
|
16
16
|
Requires-Dist: django-removals<=2.0,>=1.0.5
|
|
17
17
|
Requires-Dist: opentelemetry-distro
|
|
@@ -21,7 +21,6 @@ Requires-Dist: opentelemetry-instrumentation-django
|
|
|
21
21
|
Requires-Dist: opentelemetry-instrumentation-logging
|
|
22
22
|
Requires-Dist: opentelemetry-instrumentation-psycopg2
|
|
23
23
|
Requires-Dist: opentelemetry-instrumentation-wsgi
|
|
24
|
-
Requires-Dist: sentry-sdk<2.0,>=1.26.0
|
|
25
24
|
Requires-Dist: whitenoise<7.0,>=5.2
|
|
26
25
|
Description-Content-Type: text/markdown
|
|
27
26
|
|
|
@@ -6,24 +6,6 @@ from pathlib import Path
|
|
|
6
6
|
from django.core.management.utils import get_random_secret_key
|
|
7
7
|
import dj_database_url
|
|
8
8
|
|
|
9
|
-
if os.environ.get("SENTRY_DSN"):
|
|
10
|
-
import sentry_sdk
|
|
11
|
-
from sentry_sdk.integrations.django import DjangoIntegration
|
|
12
|
-
|
|
13
|
-
sentry_sdk.init(
|
|
14
|
-
dsn=os.environ.get("SENTRY_DSN"),
|
|
15
|
-
integrations=[
|
|
16
|
-
DjangoIntegration(),
|
|
17
|
-
],
|
|
18
|
-
environment="production",
|
|
19
|
-
# we disable tracing by default
|
|
20
|
-
enable_tracing=False,
|
|
21
|
-
|
|
22
|
-
# If you wish to associate users to errors (assuming you are using
|
|
23
|
-
# django.contrib.auth) you may enable sending PII data.
|
|
24
|
-
send_default_pii=True,
|
|
25
|
-
)
|
|
26
|
-
|
|
27
9
|
SECRET_KEY = os.environ.get("SECRET_KEY", get_random_secret_key())
|
|
28
10
|
|
|
29
11
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
|
@@ -48,6 +30,8 @@ INSTALLED_APPS = [
|
|
|
48
30
|
"apis_ontology",
|
|
49
31
|
"apis_acdhch_default_settings",
|
|
50
32
|
"apis_core.generic",
|
|
33
|
+
"apis_core.collections",
|
|
34
|
+
"apis_core.history",
|
|
51
35
|
"apis_core.relations",
|
|
52
36
|
"apis_core.apis_entities",
|
|
53
37
|
"apis_core.apis_metainfo",
|
|
@@ -65,7 +49,6 @@ SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
|
|
65
49
|
# https://drf-spectacular.readthedocs.io/en/latest/settings.html
|
|
66
50
|
SPECTACULAR_SETTINGS: Dict[str, Any] = {
|
|
67
51
|
"TITLE": "APIS generic API",
|
|
68
|
-
"DESCRIPTIOPN": "Provides access to the main APIS data-model endpoints.",
|
|
69
52
|
"LICENSE": {"name": "MIT License", "url": "https://www.mit.edu/~amini/LICENSE.md"},
|
|
70
53
|
"VERSION": "0.13",
|
|
71
54
|
"DEFAULT_GENERATOR_CLASS": 'apis_core.generic.generators.CustomSchemaGenerator'
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "apis-acdhch-default-settings"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.7.0"
|
|
4
4
|
description = "Default settings for APIS instances at the ACDH-CH"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
7
7
|
authors = [{ name = "Birger Schacht", email = "birger.schacht@oeaw.ac.at" }]
|
|
8
8
|
license = "MIT"
|
|
9
9
|
dependencies = [
|
|
10
|
-
"sentry-sdk>=1.26.0,<2.0",
|
|
11
10
|
"dj-database-url>=2.0.0,<3.0",
|
|
12
11
|
"django-allow-cidr>=0.6,<0.8",
|
|
13
12
|
"django-csp>=3.7,<4.0",
|
|
14
13
|
"whitenoise>=5.2,<7.0",
|
|
15
|
-
"django-auth-ldap>=4.6.0,<
|
|
14
|
+
"django-auth-ldap>=4.6.0,<6.0",
|
|
16
15
|
"opentelemetry-instrumentation-asgi",
|
|
17
16
|
"opentelemetry-instrumentation-wsgi",
|
|
18
17
|
"opentelemetry-instrumentation-django",
|
{apis_acdhch_default_settings-2.5.0 → apis_acdhch_default_settings-2.7.0}/.github/dependabot.yml
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|