apis-acdhch-default-settings 2.12.2__tar.gz → 2.13.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.
Files changed (23) hide show
  1. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/.github/workflows/add-to-project.yml +1 -1
  2. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/.github/workflows/linters.yml +5 -5
  3. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/.github/workflows/publish.yml +2 -2
  4. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/.github/workflows/release-please.yml +1 -1
  5. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/CHANGELOG.md +14 -0
  6. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/PKG-INFO +1 -1
  7. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/querysets.py +11 -0
  8. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/settings.py +1 -0
  9. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/templates/partials/footer.html +2 -2
  10. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/urls.py +2 -2
  11. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/pyproject.toml +1 -1
  12. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/.github/dependabot.yml +0 -0
  13. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/.gitignore +0 -0
  14. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/LICENSE +0 -0
  15. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/README.md +0 -0
  16. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/__init__.py +0 -0
  17. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/ldapauth.py +0 -0
  18. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.mo +0 -0
  19. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.po +0 -0
  20. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/templates/base.html +0 -0
  21. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/templates/e53_place_from_typesense_autocomplete_result.html +0 -0
  22. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.0}/apis_acdhch_default_settings/templates/imprint.html +0 -0
  23. {apis_acdhch_default_settings-2.12.2 → apis_acdhch_default_settings-2.13.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.5.0
16
+ uses: acdh-oeaw/prosnet-workflows/.github/workflows/add-to-project.yml@v0.5.2
17
17
  secrets:
18
18
  ADD_TO_PROJECT_TOKEN: ${{ secrets.ADD_TO_PROJECT_TOKEN }}
19
19
  with:
@@ -10,7 +10,7 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
 
12
12
  steps:
13
- - uses: actions/checkout@v4
13
+ - uses: actions/checkout@v5
14
14
 
15
15
  - name: Install uv
16
16
  uses: astral-sh/setup-uv@v6
@@ -22,7 +22,7 @@ jobs:
22
22
  runs-on: ubuntu-latest
23
23
 
24
24
  steps:
25
- - uses: actions/checkout@v4
25
+ - uses: actions/checkout@v5
26
26
 
27
27
  - name: Install uv
28
28
  uses: astral-sh/setup-uv@v6
@@ -34,7 +34,7 @@ jobs:
34
34
  runs-on: ubuntu-latest
35
35
 
36
36
  steps:
37
- - uses: actions/checkout@v4
37
+ - uses: actions/checkout@v5
38
38
 
39
39
  - name: Install uv
40
40
  uses: astral-sh/setup-uv@v6
@@ -46,7 +46,7 @@ jobs:
46
46
  runs-on: ubuntu-latest
47
47
 
48
48
  steps:
49
- - uses: actions/checkout@v4
49
+ - uses: actions/checkout@v5
50
50
 
51
51
  - name: Install uv
52
52
  uses: astral-sh/setup-uv@v6
@@ -58,7 +58,7 @@ jobs:
58
58
  runs-on: ubuntu-latest
59
59
 
60
60
  steps:
61
- - uses: actions/checkout@v4
61
+ - uses: actions/checkout@v5
62
62
 
63
63
  - name: Install uv
64
64
  uses: astral-sh/setup-uv@v6
@@ -11,9 +11,9 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
 
13
13
  steps:
14
- - uses: actions/checkout@v4
14
+ - uses: actions/checkout@v5
15
15
  - name: Set up Python
16
- uses: actions/setup-python@v5
16
+ uses: actions/setup-python@v6
17
17
  with:
18
18
  python-version: "3.x"
19
19
  - name: Install gettext
@@ -21,7 +21,7 @@ jobs:
21
21
  with:
22
22
  release-type: python
23
23
  package-name: apis-acdhch-default-settings
24
- - uses: actions/checkout@v4
24
+ - uses: actions/checkout@v5
25
25
  - run: gh workflow run publish.yml
26
26
  env:
27
27
  GH_TOKEN: ${{ github.token }}
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.13.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.12.2...v2.13.0) (2025-09-08)
4
+
5
+
6
+ ### Features
7
+
8
+ * **querysets:** add ExternalAutocomplete for E74_Group ([3e24922](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/3e249223e91292340295ee6540cb915adce4476d)), closes [#235](https://github.com/acdh-oeaw/apis-acdhch-default-settings/issues/235)
9
+ * **settings:** replace git:// with https:// for GIT_REPOSITORY_URL ([ab577a4](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/ab577a4338341dfde9550e7c7abc6c4c3a224c5b))
10
+ * **templates:** change block override in footer.html ([8750737](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/8750737996d6a4ea9bae622223a9b2fdcc3bdf5e))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **urls:** use apps.is_installed for checking app availability ([54f47c7](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/54f47c7f2ac0efcd4b1756bce98364d139946c13)), closes [#233](https://github.com/acdh-oeaw/apis-acdhch-default-settings/issues/233)
16
+
3
17
  ## [2.12.2](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.12.1...v2.12.2) (2025-08-27)
4
18
 
5
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apis-acdhch-default-settings
3
- Version: 2.12.2
3
+ Version: 2.13.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
@@ -7,6 +7,17 @@ from apis_core.utils.autocomplete import (
7
7
  )
8
8
 
9
9
 
10
+ class E74_GroupExternalAutocomplete(ExternalAutocomplete):
11
+ adapters = [
12
+ LobidAutocompleteAdapter(
13
+ params={
14
+ "filter": "type:CorporateBody",
15
+ "format": "json:preferredName,geographicAreaCode,dateOfEstablishment,broaderTermInstantial",
16
+ }
17
+ ),
18
+ ]
19
+
20
+
10
21
  class E53_PlaceExternalAutocomplete(ExternalAutocomplete):
11
22
  adapters = [
12
23
  TypeSenseAutocompleteAdapter(
@@ -244,6 +244,7 @@ if debug := os.environ.get("DJANGO_DEBUG", False):
244
244
  # information to set the repository url in APIS
245
245
  if os.environ.get("GITLAB_ENVIRONMENT_URL"):
246
246
  GIT_REPOSITORY_URL = os.environ.get("GITLAB_ENVIRONMENT_URL")
247
+ GIT_REPOSITORY_URL = GIT_REPOSITORY_URL.replace("git://", "https://")
247
248
 
248
249
 
249
250
  # https://docs.djangoproject.com/en/stable/ref/settings/#login-url
@@ -9,9 +9,9 @@
9
9
  src="https://fundament.acdh.oeaw.ac.at/common-assets/images/acdh_logo.svg" />
10
10
  </a>
11
11
  {% endblock footer-center %}
12
- {% block imprint %}
12
+ {% block footer-right %}
13
13
  {% url "imprint" as imprint_url %}
14
14
  {% if imprint_url %}
15
15
  <a href="{{ imprint_url }}">{% translate "Imprint" %}</a>
16
16
  {% endif %}
17
- {% endblock imprint %}
17
+ {% endblock footer-right %}
@@ -1,4 +1,4 @@
1
- from django.conf import settings
1
+ from django.apps import apps
2
2
  from django.contrib.staticfiles.urls import staticfiles_urlpatterns
3
3
  from django.urls import include
4
4
  from django.contrib import admin
@@ -17,7 +17,7 @@ urlpatterns = [
17
17
  ]
18
18
  urlpatterns += staticfiles_urlpatterns()
19
19
 
20
- if "apis_bibsonomy" in settings.INSTALLED_APPS:
20
+ if apps.is_installed("apis_bibsonomy"):
21
21
  urlpatterns.append(
22
22
  path("bibsonomy/", include("apis_bibsonomy.urls", namespace="bibsonomy"))
23
23
  )
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "apis-acdhch-default-settings"
3
- version = "2.12.2"
3
+ version = "2.13.0"
4
4
  description = "Default settings for APIS instances at the ACDH-CH"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"