apis-acdhch-default-settings 2.10.0__tar.gz → 2.11.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.10.0 → apis_acdhch_default_settings-2.11.0}/CHANGELOG.md +8 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/PKG-INFO +3 -1
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/querysets.py +1 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/settings.py +2 -0
- apis_acdhch_default_settings-2.11.0/apis_acdhch_default_settings/templates/e53_place_from_typesense_autocomplete_result.html +13 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/urls.py +3 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/pyproject.toml +6 -2
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/.github/dependabot.yml +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/.github/workflows/add-to-project.yml +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/.github/workflows/linters.yml +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/.github/workflows/publish.yml +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/.github/workflows/release-please.yml +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/.gitignore +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/LICENSE +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/README.md +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/__init__.py +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/ldapauth.py +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.mo +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.po +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/templates/base.html +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/templates/imprint.html +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.0}/apis_acdhch_default_settings/views.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.11.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.10.0...v2.11.0) (2025-06-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **autocomplete:** add a template for the typesense place results ([9d2b0b9](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/9d2b0b92d6a1eecabeff6b48a0219a302e983f02))
|
|
9
|
+
* **settings:** add auditlog apps to INSTALLED_APPS ([ff34ecf](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/ff34ecf59b23540441987c2e4d5ce874ee69be87))
|
|
10
|
+
|
|
3
11
|
## [2.10.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.9.0...v2.10.0) (2025-06-10)
|
|
4
12
|
|
|
5
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apis-acdhch-default-settings
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.11.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
|
|
@@ -9,9 +9,11 @@ Author-email: Birger Schacht <birger.schacht@oeaw.ac.at>
|
|
|
9
9
|
License-Expression: MIT
|
|
10
10
|
License-File: LICENSE
|
|
11
11
|
Requires-Python: >=3.11
|
|
12
|
+
Requires-Dist: apis-acdhch-django-auditlog>=0.2.1
|
|
12
13
|
Requires-Dist: apis-core-rdf>=0.40.0
|
|
13
14
|
Requires-Dist: dj-database-url<4.0,>=2.0.0
|
|
14
15
|
Requires-Dist: django-allow-cidr<0.8,>=0.6
|
|
16
|
+
Requires-Dist: django-auditlog>=3.1.2
|
|
15
17
|
Requires-Dist: django-auth-ldap<6.0,>=4.6.0
|
|
16
18
|
Requires-Dist: django-csp<4.0,>=3.7
|
|
17
19
|
Requires-Dist: django-removals<=2.0,>=1.0.5
|
|
@@ -14,6 +14,7 @@ class E53_PlaceExternalAutocomplete(ExternalAutocomplete):
|
|
|
14
14
|
"prosnet-wikidata-place-index",
|
|
15
15
|
"prosnet-geonames-place-index",
|
|
16
16
|
],
|
|
17
|
+
template="e53_place_from_typesense_autocomplete_result.html",
|
|
17
18
|
token=os.getenv("TYPESENSE_TOKEN", None),
|
|
18
19
|
server=os.getenv("TYPESENSE_SERVER", None),
|
|
19
20
|
),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{% if result.document.coordinates %}
|
|
2
|
+
<a data-latitude="{{ result.document.coordinates.0|floatformat:"4u" }}"
|
|
3
|
+
data-longitude="{{ result.document.coordinates.1|floatformat:"4u" }}"
|
|
4
|
+
title="Map"
|
|
5
|
+
onmouseenter="showMap(this);"
|
|
6
|
+
onmouseout="delMap(this);"><span class="material-symbols-outlined material-symbols-align">location_on</span></a>
|
|
7
|
+
{% endif %}
|
|
8
|
+
{% if result.highlight.label.snippet %}
|
|
9
|
+
{{ result.highlight.label.snippet|safe }}
|
|
10
|
+
{% else %}
|
|
11
|
+
{{ result.document.label }}
|
|
12
|
+
{% endif %}
|
|
13
|
+
{% if result.document.id %}{{ result.document.id|urlize }}{% endif %}
|
|
@@ -24,3 +24,6 @@ if "apis_bibsonomy" in settings.INSTALLED_APPS:
|
|
|
24
24
|
|
|
25
25
|
urlpatterns.append(path("", TemplateView.as_view(template_name="base.html")))
|
|
26
26
|
urlpatterns.append(path("imprint", Imprint.as_view(), name="imprint"))
|
|
27
|
+
urlpatterns += [
|
|
28
|
+
path("", include("apis_acdhch_django_auditlog.urls")),
|
|
29
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "apis-acdhch-default-settings"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.11.0"
|
|
4
4
|
description = "Default settings for APIS instances at the ACDH-CH"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -23,6 +23,8 @@ dependencies = [
|
|
|
23
23
|
"django>=5",
|
|
24
24
|
"apis-core-rdf>=0.40.0",
|
|
25
25
|
"requests>=2",
|
|
26
|
+
"django-auditlog>=3.1.2",
|
|
27
|
+
"apis-acdhch-django-auditlog>=0.2.1",
|
|
26
28
|
]
|
|
27
29
|
[project.urls]
|
|
28
30
|
source = "https://github.com/acdh-oeaw/apis-acdhch-default-settings"
|
|
@@ -58,7 +60,9 @@ DEP002 = [
|
|
|
58
60
|
"opentelemetry-instrumentation-logging",
|
|
59
61
|
"opentelemetry-instrumentation-psycopg2",
|
|
60
62
|
"opentelemetry-exporter-otlp",
|
|
61
|
-
"opentelemetry-distro"
|
|
63
|
+
"opentelemetry-distro",
|
|
64
|
+
"django-auditlog",
|
|
65
|
+
"apis-acdhch-django-auditlog"
|
|
62
66
|
]
|
|
63
67
|
|
|
64
68
|
[tool.deptry.package_module_name_map]
|
{apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.11.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
|
|
File without changes
|