0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 03:31:04 +01:00
Commit Graph

16271 Commits

Author SHA1 Message Date
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
Matt Westcott
1c76db228c Move breadcrumb class name, snippets template refactor and SidePanels notes into undocumented internals 2023-10-23 10:17:16 +01:00
Matt Westcott
8fde9c2a12 Reshuffle 5.2 upgrade consideration notes
* It's unclear why the imghdr change affects developers, or what action if any they should take - I don't think this needs a note at all
* Changes to menu hooks really come under the category of "Wagtail customisations", not "Changes affecting all projects"
2023-10-23 10:17:16 +01:00
Temidayo
21dfe9b05f
Documenting 5.2 as LTS release (#11111)
* Documenting 5.2 as LTS release
2023-10-23 09:24:21 +01:00
Matt Westcott
e1dfe4bee6 Revert "Split functionality out for easier extensibility"
This reverts commit 83c1dad398.
2023-10-20 16:25:04 +01:00
Matt Westcott
44ed9ff96c Revert "Add override to remap_fields for es6"
This reverts commit 598e6d5d3b.
2023-10-20 16:24:58 +01:00
Matt Westcott
d17f62a55f Revert "Release note for #11018"
This reverts commit 24ebc590fb.
2023-10-20 16:24:52 +01:00
Matt Westcott
6e82e23c4d Revert "Rationalise get_inner_query override"
This reverts commit 2de7506b1720d11f6386de8a7d23b14783bcee92.
2023-10-20 16:13:58 +01:00
scott
8d68dafb0b update beautifulsoup pin (#11096) 2023-10-20 16:10:07 +01:00
Matt Westcott
24ebc590fb Release note for #11018 2023-10-20 15:39:30 +01:00
marcelkornblum
af03825714 Rationalise get_inner_query override 2023-10-20 15:30:47 +01:00
marcelkornblum
598e6d5d3b Add override to remap_fields for es6 2023-10-20 15:30:47 +01:00
marcelkornblum
83c1dad398 Split functionality out for easier extensibility
Co-authored-by: Cameron Lamb <cameron.lamb@digital.trade.gov.uk>
Co-authored-by: Sam Dudley <samuel.dudley@digital.trade.gov.uk>
2023-10-20 15:30:47 +01:00