0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 10:58:52 +01:00
Commit Graph

16283 Commits

Author SHA1 Message Date
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
Matt Westcott
573cb3f24f Remove Query and QueryDailyHits models and QueryForm from wagtail.search 2023-10-30 09:15:13 +00:00
Temidayo
59b07f777f
Reinstate support for using list/tuple of ViewSet/ViewSetGroups in register_admin_viewset (#11131) 2023-10-27 14:16:37 +01:00
Chiemezuo
638761687b Migrate styleguide contrib index view to a class based view
- Relates to #8365
2023-10-27 16:00:23 +11:00
LB Johnston
ae73491222 Update changelog contributors for #11101 2023-10-26 22:07:48 +10:00
Temidayo
69d30e2749
Helpful addition to Developer Docs on Extending Draftail (#11057)
Ensure hooks imports are added to the code snippets
2023-10-26 09:42:14 +10:00
Chiemezuo
930cbca2cd Use use _() over interim template vars for translations as args (wagtailadmin)
Closes #10126
2023-10-26 09:37:20 +11:00
Chiemezuo
0f312b8ad7 Update contributing translation docs - template usage
Closes #10126
2023-10-26 09:37:20 +11:00
CheesyPhoenix
871c09fd2e Ensure the sidebar's explorer does not trigger action-button of current view
Fixes #11037
Co-authored-by: Christer Jensen <chr.code@gmail.com>
2023-10-26 08:59:32 +11:00
LB Johnston
56c62cc298 Add changelog for #11120
Closes #11071
2023-10-25 08:55:09 +11:00
Chiemezuo
415b569b29 Remove RevealController initial class
- This is not used and was added as part of #10793
- Avoid this controller managing this behaviour and instead if needed we can use w-init
2023-10-25 08:55:09 +11:00
LB Johnston
f0b6509f29 Rework sidebar .ready class addition
- Remove the sidebar duplicate JS that would also add a ready class but NOT after a settimeout, only after the component renders
- This means we now have one location in the code that does this, driven by Stimulus
- Update the Storybook preview JS so that we can rely on similar behaviour in Storybook for transitions
2023-10-25 08:55:09 +11:00
Chiemezuo
fcc09e8829 Add w-init / InitController to replace body .ready class
- Controller will automatically add or remove some initial classes when connected
- An optional delay can be set to have this run after a settimeout
- Replace the core.js ready class addition (which would run after a settimeout)
2023-10-25 08:55:09 +11:00
LB Johnston
c13edd0e42 InlinePanel DOM events - add versionadded admonition 2023-10-24 18:36:37 +11:00
LB Johnston
4a0ab8bf0a Add cross ref to InlinePanel DOM events in client-side docs
- See #10590 & #10948
2023-10-24 18:36:37 +11:00
Chiemezuo
8f9cb7c007 fix validation error on save from autocomplete (#11113) 2023-10-23 16:26:55 +01:00
Matt Westcott
38e8011c50 Fix import order in checks.py 2023-10-23 14:46:49 +01:00
phijma-leukeleu
1fd4b86022 Update checks.py (#10462)
Prevent "RemovedInDjango51Warning: The DEFAULT_FILE_STORAGE setting is deprecated. Use STORAGES instead."
2023-10-23 14:27:10 +01:00