apis-acdhch-default-settings 2.15.0__tar.gz → 2.16.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.15.0 → apis_acdhch_default_settings-2.16.0}/.github/workflows/linters.yml +5 -5
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/.github/workflows/publish.yml +3 -3
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/.github/workflows/release-please.yml +1 -1
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/CHANGELOG.md +7 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/PKG-INFO +2 -2
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/querysets.py +8 -3
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/pyproject.toml +2 -2
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/.github/dependabot.yml +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/.github/workflows/add-to-project.yml +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/.gitignore +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/LICENSE +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/README.md +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/__init__.py +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/ldapauth.py +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.mo +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.po +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/settings.py +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/templates/base.html +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/templates/e53_place_from_typesense_autocomplete_result.html +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/templates/imprint.html +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/templates/partials/footer.html +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/urls.py +0 -0
- {apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.0}/apis_acdhch_default_settings/views.py +0 -0
|
@@ -10,7 +10,7 @@ jobs:
|
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@v6
|
|
14
14
|
|
|
15
15
|
- name: Install uv
|
|
16
16
|
uses: astral-sh/setup-uv@v7
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
runs-on: ubuntu-latest
|
|
23
23
|
|
|
24
24
|
steps:
|
|
25
|
-
- uses: actions/checkout@
|
|
25
|
+
- uses: actions/checkout@v6
|
|
26
26
|
|
|
27
27
|
- name: Install uv
|
|
28
28
|
uses: astral-sh/setup-uv@v7
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
runs-on: ubuntu-latest
|
|
35
35
|
|
|
36
36
|
steps:
|
|
37
|
-
- uses: actions/checkout@
|
|
37
|
+
- uses: actions/checkout@v6
|
|
38
38
|
|
|
39
39
|
- name: Install uv
|
|
40
40
|
uses: astral-sh/setup-uv@v7
|
|
@@ -46,7 +46,7 @@ jobs:
|
|
|
46
46
|
runs-on: ubuntu-latest
|
|
47
47
|
|
|
48
48
|
steps:
|
|
49
|
-
- uses: actions/checkout@
|
|
49
|
+
- uses: actions/checkout@v6
|
|
50
50
|
|
|
51
51
|
- name: Install uv
|
|
52
52
|
uses: astral-sh/setup-uv@v7
|
|
@@ -58,7 +58,7 @@ jobs:
|
|
|
58
58
|
runs-on: ubuntu-latest
|
|
59
59
|
|
|
60
60
|
steps:
|
|
61
|
-
- uses: actions/checkout@
|
|
61
|
+
- uses: actions/checkout@v6
|
|
62
62
|
|
|
63
63
|
- name: Install uv
|
|
64
64
|
uses: astral-sh/setup-uv@v7
|
|
@@ -11,7 +11,7 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v6
|
|
15
15
|
- name: Set up Python
|
|
16
16
|
uses: actions/setup-python@v6
|
|
17
17
|
with:
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
- name: Build a binary wheel and a source tarball
|
|
32
32
|
run: python3 -m build
|
|
33
33
|
- name: Store the distribution packages
|
|
34
|
-
uses: actions/upload-artifact@
|
|
34
|
+
uses: actions/upload-artifact@v5
|
|
35
35
|
with:
|
|
36
36
|
name: python-package-distributions
|
|
37
37
|
path: dist/
|
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
|
|
49
49
|
steps:
|
|
50
50
|
- name: Download all the dists
|
|
51
|
-
uses: actions/download-artifact@
|
|
51
|
+
uses: actions/download-artifact@v6
|
|
52
52
|
with:
|
|
53
53
|
name: python-package-distributions
|
|
54
54
|
path: dist/
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.16.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.15.0...v2.16.0) (2025-12-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **querysets:** add data-mapping to autocompletes ([d39ce20](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/d39ce20ddbab95b225d75dc7f16d20b61c54751b))
|
|
9
|
+
|
|
3
10
|
## [2.15.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.14.0...v2.15.0) (2025-10-10)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apis-acdhch-default-settings
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.16.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
|
|
@@ -10,7 +10,7 @@ License-Expression: MIT
|
|
|
10
10
|
License-File: LICENSE
|
|
11
11
|
Requires-Python: >=3.13
|
|
12
12
|
Requires-Dist: apis-acdhch-django-auditlog>=0.2.1
|
|
13
|
-
Requires-Dist: apis-core-rdf>=0.
|
|
13
|
+
Requires-Dist: apis-core-rdf>=0.58.0
|
|
14
14
|
Requires-Dist: dj-database-url<4.0,>=2.0.0
|
|
15
15
|
Requires-Dist: django-allow-cidr<0.9,>=0.6
|
|
16
16
|
Requires-Dist: django-auditlog>=3.1.2
|
|
@@ -13,7 +13,8 @@ class E74_GroupExternalAutocomplete(ExternalAutocomplete):
|
|
|
13
13
|
params={
|
|
14
14
|
"filter": "type:CorporateBody",
|
|
15
15
|
"format": "json:preferredName,geographicAreaCode,dateOfEstablishment,broaderTermInstantial",
|
|
16
|
-
}
|
|
16
|
+
},
|
|
17
|
+
data_mapping={"label": "label"},
|
|
17
18
|
),
|
|
18
19
|
]
|
|
19
20
|
|
|
@@ -28,12 +29,14 @@ class E53_PlaceExternalAutocomplete(ExternalAutocomplete):
|
|
|
28
29
|
template="e53_place_from_typesense_autocomplete_result.html",
|
|
29
30
|
token=os.getenv("TYPESENSE_TOKEN", None),
|
|
30
31
|
server=os.getenv("TYPESENSE_SERVER", None),
|
|
32
|
+
data_mapping={"label": ["document", "label"]},
|
|
31
33
|
),
|
|
32
34
|
LobidAutocompleteAdapter(
|
|
33
35
|
params={
|
|
34
36
|
"filter": "type:PlaceOrGeographicName",
|
|
35
37
|
"format": "json:preferredName",
|
|
36
|
-
}
|
|
38
|
+
},
|
|
39
|
+
data_mapping={"label": "label"},
|
|
37
40
|
),
|
|
38
41
|
]
|
|
39
42
|
|
|
@@ -44,11 +47,13 @@ class E21_PersonExternalAutocomplete(ExternalAutocomplete):
|
|
|
44
47
|
collections="prosnet-wikidata-person-index",
|
|
45
48
|
token=os.getenv("TYPESENSE_TOKEN", None),
|
|
46
49
|
server=os.getenv("TYPESENSE_SERVER", None),
|
|
50
|
+
data_mapping={"surname": ["document", "label"]},
|
|
47
51
|
),
|
|
48
52
|
LobidAutocompleteAdapter(
|
|
49
53
|
params={
|
|
50
54
|
"filter": "type:Person",
|
|
51
55
|
"format": "json:preferredName,professionOrOccupation",
|
|
52
|
-
}
|
|
56
|
+
},
|
|
57
|
+
data_mapping={"surname": "label"},
|
|
53
58
|
),
|
|
54
59
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "apis-acdhch-default-settings"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.16.0"
|
|
4
4
|
description = "Default settings for APIS instances at the ACDH-CH"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -21,7 +21,7 @@ dependencies = [
|
|
|
21
21
|
"opentelemetry-distro",
|
|
22
22
|
"django-removals>=1.0.5,<=2.0",
|
|
23
23
|
"django>=5",
|
|
24
|
-
"apis-core-rdf>=0.
|
|
24
|
+
"apis-core-rdf>=0.58.0",
|
|
25
25
|
"requests>=2",
|
|
26
26
|
"django-auditlog>=3.1.2",
|
|
27
27
|
"apis-acdhch-django-auditlog>=0.2.1",
|
{apis_acdhch_default_settings-2.15.0 → apis_acdhch_default_settings-2.16.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
|
|
File without changes
|