apis-acdhch-default-settings 2.10.0__tar.gz → 2.12.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.12.0}/.github/workflows/add-to-project.yml +1 -1
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/.github/workflows/publish.yml +1 -1
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/CHANGELOG.md +15 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/PKG-INFO +4 -2
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/apis_acdhch_default_settings/querysets.py +1 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/apis_acdhch_default_settings/settings.py +2 -0
- apis_acdhch_default_settings-2.12.0/apis_acdhch_default_settings/templates/base.html +21 -0
- apis_acdhch_default_settings-2.12.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.12.0}/apis_acdhch_default_settings/urls.py +3 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/pyproject.toml +10 -3
- apis_acdhch_default_settings-2.10.0/apis_acdhch_default_settings/templates/base.html +0 -12
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/.github/dependabot.yml +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/.github/workflows/linters.yml +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/.github/workflows/release-please.yml +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/.gitignore +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/LICENSE +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/README.md +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/apis_acdhch_default_settings/__init__.py +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/apis_acdhch_default_settings/ldapauth.py +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.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.12.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.12.0}/apis_acdhch_default_settings/templates/imprint.html +0 -0
- {apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.0}/apis_acdhch_default_settings/views.py +0 -0
|
@@ -13,7 +13,7 @@ on:
|
|
|
13
13
|
|
|
14
14
|
jobs:
|
|
15
15
|
add-to-project:
|
|
16
|
-
uses: acdh-oeaw/prosnet-workflows/.github/workflows/add-to-project.yml@v0.
|
|
16
|
+
uses: acdh-oeaw/prosnet-workflows/.github/workflows/add-to-project.yml@v0.5.0
|
|
17
17
|
secrets:
|
|
18
18
|
ADD_TO_PROJECT_TOKEN: ${{ secrets.ADD_TO_PROJECT_TOKEN }}
|
|
19
19
|
with:
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.12.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.11.0...v2.12.0) (2025-08-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **templates:** override the `footer-center` block ([ad62d8c](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/ad62d8c3edc018cb1af4c98bc46c8f0101d7c7ae))
|
|
9
|
+
|
|
10
|
+
## [2.11.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.10.0...v2.11.0) (2025-06-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **autocomplete:** add a template for the typesense place results ([9d2b0b9](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/9d2b0b92d6a1eecabeff6b48a0219a302e983f02))
|
|
16
|
+
* **settings:** add auditlog apps to INSTALLED_APPS ([ff34ecf](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/ff34ecf59b23540441987c2e4d5ce874ee69be87))
|
|
17
|
+
|
|
3
18
|
## [2.10.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.9.0...v2.10.0) (2025-06-10)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apis-acdhch-default-settings
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.12.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
|
-
Requires-Dist: django-allow-cidr<0.
|
|
15
|
+
Requires-Dist: django-allow-cidr<0.9,>=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,21 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
{% load i18n %}
|
|
3
|
+
{% block meta %}
|
|
4
|
+
{{ block.super }}
|
|
5
|
+
<meta name="monitoring" content="Icinga Check">
|
|
6
|
+
{% endblock meta %}
|
|
7
|
+
{% block footer-center %}
|
|
8
|
+
<a href="https://www.oeaw.ac.at/acdh/" target="_blank">
|
|
9
|
+
<img id="logo"
|
|
10
|
+
class="icon"
|
|
11
|
+
alt="ACDH Logo"
|
|
12
|
+
title="Austrian Centre for Digital Humanities (ACDH) of the Austrian Academy of Sciences"
|
|
13
|
+
src="https://fundament.acdh.oeaw.ac.at/common-assets/images/acdh_logo.svg" />
|
|
14
|
+
</a>
|
|
15
|
+
{% endblock footer-center %}
|
|
16
|
+
{% block imprint %}
|
|
17
|
+
{% url "imprint" as imprint_url %}
|
|
18
|
+
{% if imprint_url %}
|
|
19
|
+
<a href="{{ imprint_url }}">{% translate "Imprint" %}</a>
|
|
20
|
+
{% endif %}
|
|
21
|
+
{% endblock imprint %}
|
|
@@ -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.12.0"
|
|
4
4
|
description = "Default settings for APIS instances at the ACDH-CH"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -8,7 +8,7 @@ authors = [{ name = "Birger Schacht", email = "birger.schacht@oeaw.ac.at" }]
|
|
|
8
8
|
license = "MIT"
|
|
9
9
|
dependencies = [
|
|
10
10
|
"dj-database-url>=2.0.0,<4.0",
|
|
11
|
-
"django-allow-cidr>=0.6,<0.
|
|
11
|
+
"django-allow-cidr>=0.6,<0.9",
|
|
12
12
|
"django-csp>=3.7,<4.0",
|
|
13
13
|
"whitenoise>=5.2,<7.0",
|
|
14
14
|
"django-auth-ldap>=4.6.0,<6.0",
|
|
@@ -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"
|
|
@@ -36,6 +38,9 @@ dev-dependencies = [
|
|
|
36
38
|
"ruff==0.11.2",
|
|
37
39
|
]
|
|
38
40
|
|
|
41
|
+
[tool.djlint]
|
|
42
|
+
ignore = "H006"
|
|
43
|
+
|
|
39
44
|
[build-system]
|
|
40
45
|
requires = ["hatchling"]
|
|
41
46
|
build-backend = "hatchling.build"
|
|
@@ -58,7 +63,9 @@ DEP002 = [
|
|
|
58
63
|
"opentelemetry-instrumentation-logging",
|
|
59
64
|
"opentelemetry-instrumentation-psycopg2",
|
|
60
65
|
"opentelemetry-exporter-otlp",
|
|
61
|
-
"opentelemetry-distro"
|
|
66
|
+
"opentelemetry-distro",
|
|
67
|
+
"django-auditlog",
|
|
68
|
+
"apis-acdhch-django-auditlog"
|
|
62
69
|
]
|
|
63
70
|
|
|
64
71
|
[tool.deptry.package_module_name_map]
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{% extends "base.html" %}
|
|
2
|
-
{% load i18n %}
|
|
3
|
-
{% block meta %}
|
|
4
|
-
{{ block.super }}
|
|
5
|
-
<meta name="monitoring" content="Icinga Check">
|
|
6
|
-
{% endblock meta %}
|
|
7
|
-
{% block imprint %}
|
|
8
|
-
{% url "imprint" as imprint_url %}
|
|
9
|
-
{% if imprint_url %}
|
|
10
|
-
<a href="{{ imprint_url }}">{% translate "Imprint" %}</a>
|
|
11
|
-
{% endif %}
|
|
12
|
-
{% endblock imprint %}
|
{apis_acdhch_default_settings-2.10.0 → apis_acdhch_default_settings-2.12.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
|