0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

16311 Commits

Author SHA1 Message Date
Matt Westcott
ab86351a8d Remove legacy moderation system 2023-11-01 16:51:25 +00:00
Matt Westcott
cdac7dc7f5 Remove permission_type field from GroupPagePermission 2023-11-01 15:18:41 +00:00
Matt Westcott
9b956002a9 Remove UserPagePermissionsProxy class 2023-11-01 15:00:48 +00:00
Matt Westcott
55a48a212c Remove UserPagePermissionsProxy from action_menu and wagtailadmin_tags 2023-11-01 15:00:42 +00:00
Matt Westcott
6238f899b6 Eliminate UserPagePermissionsProxy from test_page_permissions 2023-11-01 15:00:07 +00:00
Matt Westcott
ac34536b38 Update mock in elasticsearch7 backend test 2023-11-01 14:57:58 +00:00
Matt Westcott
098a4086b7 Remove Elasticsearch6Mapping and make Elasticsearch7Mapping the base implementation 2023-11-01 14:57:58 +00:00
Matt Westcott
7cc955048c Remove Elasticsearch6Index and make Elasticsearch7Index the base implementation 2023-11-01 14:57:58 +00:00
Matt Westcott
b93aa47a94 Remove Elasticsearch6QueryCompiler and make Elasticsearch7QueryCompiler the base implementation 2023-11-01 14:57:58 +00:00
Matt Westcott
3b9200ab4f Remove Elasticsearch6SearchResults and make Elasticsearch7SearchResults the base implementation 2023-11-01 14:57:58 +00:00
Matt Westcott
4e3d426db3 Move ElasticsearchAutocompleteQueryCompilerImpl into elasticsearch7 module 2023-11-01 14:57:58 +00:00
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