Matt Westcott
d7d8843931
Move ElasticsearchIndexRebuilder / ElasticsearchAtomicIndexRebuilder into elasticsearch7 module
2023-11-01 14:57:58 +00:00
Matt Westcott
85dc1965b0
Remove Elasticsearch6SearchBackend and make Elasticsearch7SearchBackend the base implementation
2023-11-01 14:57:57 +00:00
Matt Westcott
67b4e6cb81
Move elasticsearch6 implementation of get_inner_query into ElasticsearchAutocompleteQueryCompilerImpl
2023-11-01 14:57:57 +00:00
Matt Westcott
fa6a1f9fd5
Remove set_index_not_analyzed_on_filter_fields flag that's actually not been needed since Elasticsearch 2
2023-11-01 14:57:57 +00:00
Matt Westcott
23235aa7ce
Refactor get_mapping - don't pointlessly call get_field_mapping twice when building fields
2023-11-01 14:57:57 +00:00
Matt Westcott
38347ef389
Refactor get_mapping - reorder so that we only wrap the fields dict in the self.get_document_type dict at the end, to save having to constantly descend into it
2023-11-01 14:57:57 +00:00
Matt Westcott
3366c5a2a1
Refactor get_mapping - remove include_in_all=False since replace_include_in_all will skip over these in the same way as them not being present
2023-11-01 14:57:57 +00:00
Matt Westcott
70413a1eeb
Refactor Elasticsearch6SearchQueryCompiler.__init__ to look less like two methods welded together
2023-11-01 14:57:57 +00:00
Matt Westcott
603dbdeb66
Update comments referencing Elasticsearch5
2023-11-01 14:57:57 +00:00
Matt Westcott
1f13e201c0
Update mock in Elasticsearch7 test
2023-11-01 14:57:57 +00:00
Matt Westcott
f249d3d289
Drop Elasticsearch5Mapping and make Elasticsearch6Mapping the base implementation
2023-11-01 14:57:57 +00:00
Matt Westcott
be3d80f8ad
Drop Elasticsearch5QueryCompiler and make Elasticsearch6QueryCompiler the base implementation
2023-11-01 14:57:57 +00:00
Matt Westcott
dd1f28f031
Move ElasticsearchAutocompleteQueryCompilerImpl into the es6 backend
2023-11-01 14:57:57 +00:00
Matt Westcott
2188e72797
Drop Elasticsearch5SearchResults and make Elasticsearch6SearchResults the base implementation
2023-11-01 14:57:57 +00:00
Matt Westcott
44f787682f
Drop Elasticsearch5Index and make Elasticsearch6Index the base implementation
2023-11-01 14:57:57 +00:00
Matt Westcott
8528465c12
Move ElasticsearchIndexRebuilder / ElasticsearchAtomicIndexRebuilder into the es6 backend
2023-11-01 14:57:57 +00:00
Matt Westcott
2b6f914565
Drop Elasticsearch5SearchBackend and make Elasticsearch6SearchBackend the base implementation
2023-11-01 14:57:57 +00:00
Matt Westcott
605c9cf1a6
Drop support for Elasticsearch 5 and 6
2023-11-01 14:57:15 +00:00
Matt Westcott
9acc8c45e7
Update latest.txt for 5.2
2023-11-01 13:09:34 +00:00
Thibaud Colas
567e84b4ea
Update image documentation to have more details for picture and srcset_image tags ( #11167 )
2023-11-01 12:11:46 +00:00
Matt Westcott
cba75351a8
Fill in release date for 5.2
2023-11-01 11:04:00 +00:00
Matt Westcott
d6a06b7475
Fetch new translations from Transifex
2023-11-01 11:02:28 +00:00
Thibaud Colas
90819907ca
Update tutorial screenshots for v5.2
2023-11-01 09:22:11 +00:00
dependabot[bot]
fb89edc4fa
Bump browserify-sign from 4.2.1 to 4.2.2
...
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign ) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md )
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2 )
---
updated-dependencies:
- dependency-name: browserify-sign
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 08:33:45 +11:00
Robert Rollins
2269b7e3c8
Remove redundant line from wagtailadmin_tags.py
...
I was looking at Wagtail's code in my IDE, and noticed that it was claiming the `page_perms` from this line was unused. Turns out it is, as `page_perms` gets reassigned on line 499, before it gets used on line 500. Looks like this is probably a leftover line from an earlier version of the function.
2023-11-01 08:26:36 +11:00
Cynthia Kiser
7cdc4961c2
Sort groups by name in group index view
2023-10-31 18:52:11 +00:00
Jake Howard
daa82eb8d0
Note that the admin should be limited to "trusted" users
2023-10-31 18:39:11 +00:00
Matt Westcott
f533678aa1
Release note for #11163
2023-10-31 17:32:09 +00:00
Sage Abdullah
69323d9881
Link to generic views docs in 5.2 release notes for ModelViewSet
2023-10-31 17:25:21 +00:00
Sage Abdullah
0a11a3452b
Update modeladmin deprecation and migration notes to also mention ModelViewSet
2023-10-31 17:25:21 +00:00
Sage Abdullah
31334f212f
Refer to ModelViewSet docs for similar SnippetViewSet customisations
2023-10-31 17:25:21 +00:00
Sage Abdullah
c7d4526826
Shorten links in snippet views customisation docs by setting currentmodule
2023-10-31 17:25:21 +00:00
Sage Abdullah
27f72ff935
Improve linking in existing viewsets docs
2023-10-31 17:25:21 +00:00
Sage Abdullah
f034d02bac
Add docs for ModelViewSet customisation in generic views extending guide
2023-10-31 17:25:21 +00:00
Sage Abdullah
27515fb11c
Move SnippetViewSet.ordering doc to ModelViewSet
2023-10-31 17:25:21 +00:00
Sage Abdullah
c9514345d9
Move viewset intro in generic views docs to the base ViewSet
usage docs
2023-10-31 17:25:21 +00:00
Sage Abdullah
b258b99c86
Improve linking between viewset reference and extending docs
2023-10-31 17:25:21 +00:00
Sage Abdullah
b60763d8c8
Document how to use the base ViewSet
and ViewSetGroup
classes
2023-10-31 17:25:21 +00:00
Sage Abdullah
622b71654c
Document register_admin_viewset
hook
2023-10-31 17:25:21 +00:00
Sage Abdullah
07e41db2d5
Move chooser-related headings to under ChooserViewSet
2023-10-31 17:25:21 +00:00
LB Johnston
12997b6e15
Move slugify/urlify to discrete utils & remove usage of window.unicodeSlugsEnabled
2023-10-31 13:56:19 +00:00
LB Johnston
538c654c14
Remove test for DomContentLoaded event listener
...
- No longer required as this event listener is not needed manually after deprecation removals
2023-10-31 13:56:19 +00:00
LB Johnston
0d6ca6e15c
Remove deprecated creation of window.cancelSpinner in ProgressController
2023-10-31 13:56:19 +00:00
LB Johnston
191d4bf62d
Remove deprecated creation of window.initTagField in TagController
2023-10-31 13:56:19 +00:00
LB Johnston
fe6ca9be30
Remove deprecated support for window.headerSearch in SwapController
2023-10-31 13:56:19 +00:00
Vedant Pandey
837d733097
Add search_index option to control search indexing of StreamField blocks ( #11135 )
2023-10-31 11:42:16 +00:00
Matt Westcott
5cd46fe203
Update version number to 6.0
2023-10-31 10:11:53 +00:00
Matt Westcott
814c6b3865
Bump djhtml to 3.0.6 ( #11158 )
...
Notably, this changes the behaviour of multi-line HTML tags so that attributes are aligned (https://github.com/rtts/djhtml#new-multi-line-html-elements ). The pre-commit hook was already set to use djhtml 3.0.6, which meant that it was making changes that conflicted with the formatting rules enforced by the Makefile and CI.
2023-10-31 10:11:02 +00:00
LB Johnston
23288bbb4b
Move Stimulus stories to the one location
2023-10-30 22:12:26 +11:00
Chiemezuo
568e7ae2f2
Styleguide view - Adopt generic base template
...
- Move inner content into main_content
- Remove shared header include (now in base template)
- Declare icon in view class
2023-10-30 21:43:41 +11:00