Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ coverage.xml
*.pot

# Environments
.venv/
venv/
/pyvenv.cfg
/pip-selfcheck.json
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
Since version v2306.1 the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
This project (not yet) adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2605.1

### Changed

- update dependency wagtail to v7.4
- Changes in Setting (`INDEX_PREFIX` instead of deprecated `INDEX`; tolerate `_django_content_type` in Elasticsearch highlights)

## v2604.1

### Changed
Expand Down
3 changes: 2 additions & 1 deletion apps/contrib/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def _get_results_from_hits(self, hits):

for hit in hits:
hs = hit['highlight']
hs.pop('content_type')
hs.pop('content_type', None)
hs.pop('_django_content_type', None)
if '_all_text_boost_2_0' in hs:
# ignore hits from the _all_text field as it doesn't work with
# our translations
Expand Down
2 changes: 1 addition & 1 deletion digitalstrategie/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
'default': {
'BACKEND': 'apps.contrib.elasticsearch',
'URLS': ['http://localhost:9200'],
'INDEX': 'wagtail',
'INDEX_PREFIX': 'wagtail_',
'TIMEOUT': 5,
'OPTIONS': {},
'INDEX_SETTINGS': {}
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ django-csp==3.8
django-multiselectfield==0.1.13
django-widget-tweaks==1.5.1
sentry-sdk==2.58.0
wagtail==6.3.5
wagtail==7.4
whitenoise==6.8.2
elasticsearch==8.19.3
wagtail-metadata==5.0.0
Expand Down
Loading