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

16236 Commits

Author SHA1 Message Date
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
Thibaud Colas
4da28a4ba8 Reorder release v5.2 release notes to showcase more changes 2023-10-20 10:08:19 -04:00
Matt Westcott
f7761c27d6 Set up release notes for 5.3 2023-10-20 14:47:53 +01:00
Matt Westcott
ef67eaaa53 Version bump to start work on 5.3 2023-10-20 14:47:53 +01:00
Matt Westcott
aea258248c Remove versionadded / versionchanged annotations for 5.1 2023-10-20 14:47:53 +01:00
LB Johnston
145e33de9d
5.2 release notes - add supporting links and fix typos 2023-10-20 10:13:27 +01:00
Matt Westcott
445abf86c9 Generate new translation strings 2023-10-19 23:15:27 +01:00
Matt Westcott
6b84acad1a Fetch new translations from Transifex 2023-10-19 23:14:02 +01:00
Sage Abdullah
542bd6b7c4 Fix the ability to select all pages in the page search for bulk actions when there is pagination 2023-10-19 22:53:15 +01:00
Sage Abdullah
cf81046bc7 Use autocomplete for page search 2023-10-19 22:53:15 +01:00
Sage Abdullah
6e7cc93d11 Include descendants when applying bulk actions to page search results 2023-10-19 22:53:15 +01:00
Sage Abdullah
c7e636d4c3 Fix the ability to select all pages in the listing for bulk actions when there is pagination 2023-10-19 22:53:15 +01:00
Sage Abdullah
92675f4b20 Fix bulk actions on page listings after search
Move the bulk actions footer include to the page index template instead of the results, so we don't have to rebind the event listeners to the buttons
2023-10-19 22:53:15 +01:00
Sage Abdullah
3adb569849 Fix bulk actions more button items
Use data attributes to select the items, because the classname isn't rendered for items inside the dropdown due to the use of base_attrs_string
2023-10-19 22:53:15 +01:00
Sage Abdullah
a2b0d04563
Hide dropdown menu on click in awaiting review dashboard panel 2023-10-19 11:14:26 -04:00
Sage Abdullah
b3846a63fc
Fix workflow action buttons in awaiting review dashboard panel 2023-10-19 11:14:26 -04:00
Sage Abdullah
fe56fbe68c
Revert "Revert "Use dropdown toggle for button links in awaiting review dashboard panel""
This reverts commit 8a9c80fd50.
2023-10-19 11:14:23 -04:00
Matt Westcott
33055f3fbf update latest.txt for 5.1.3 and 4.1.9 2023-10-19 15:34:27 +01:00
Matt Westcott
b21921dd83 Release note for CVE-2023-45809 in 5.1.3 (and fill in release date) 2023-10-19 15:07:37 +01:00
Matt Westcott
97a1dc1876 Add 5.0.5 release note page 2023-10-19 15:06:44 +01:00
Matt Westcott
8111639f9e Release note for CVE-2023-45809 in 5.0.5 2023-10-19 15:06:37 +01:00
Matt Westcott
6033a3841b Release note for CVE-2023-45809 in 4.1.9 2023-10-19 15:06:31 +01:00
Matt Westcott
8ec42858f9 Redirect away from user bulk actions when user has no permissions on users 2023-10-19 14:49:43 +01:00
Matt Westcott
280bd79e75 Release note for page listing view redesign 2023-10-19 14:38:06 +01:00
Matt Westcott
8a9c80fd50 Revert "Use dropdown toggle for button links in awaiting review dashboard panel"
This reverts commit 0c71f2e856.
2023-10-19 14:08:37 +01:00
Stefan Hammer
3de6ce61ff Improve filtering of audit logging based on the user's permissions (#11020)
Until now, a user could see the audit log for all custom models,
permissions haven't been checked yet.
Now, only log entries of those content types are displayed, where
the user has at least one permission.

The change also adds filtering to the action-dropdown.
This avoids showing unnecessary action types, e.g. actions which aren't
used at all.
All 3 uses of action-dropdowns (site history, page history, generic
history) only display those actions, which are used at least once.

This partially fixes #9181.
2023-10-19 13:46:55 +01:00
Neeraj P Yetheendran
8b697124e8 Consistently allow passwords to use leading & trailing whitespace
- Set strip=False to LoginForm,UserForm to ensure consistency with Django's practices
- Added test to ensure whitespace password not stripped in UserForm
- Test to ensure whitespace not stripped in PasswordChangeForm
- Set username to email if email-based custom user model used in WagtailTestUtils login method
- Co-authored-by: sag​e <laymonage@gmail.com>
- Fixes #10839
2023-10-19 23:32:41 +11:00
LB (Ben Johnston)
74aada038b
Add BulkController support for shift+click behaviour (#10861) 2023-10-19 13:25:41 +01:00
LB Johnston
68c41833e5 Move changelog entry #10961
Release notes had this in features
2023-10-19 21:56:40 +10:00
Ihedioha Chinedu Innocent
26a89cf37d Updated FieldPanel to TitleFieldPanel in docs
- Closes #11078
2023-10-19 22:36:15 +11:00
Smoothieewastaken
fb4c4209f5 docs: fixed typos from docs\releases\4.0.md 2023-10-19 12:08:31 +01:00
Storm B. Heg
6aa5b0aae0
Add Meghana Reddy to contributors
Forgot to do this in aa2b94db0b
2023-10-19 13:02:57 +02:00
Storm B. Heg
aa2b94db0b
Add changelog and release notes for #10961
Crediting @MeghanaNalla too for their previous work in #10759.
2023-10-19 12:58:32 +02:00
Neeraj P Yetheendran
7239e11e0c
Avoid purging Revisions in use by third-party packages (#10961)
* Resolves #10678 Avoid purging Revisions in use by third-party packages

---------
Co-authored-by: MeghanaNalla <123588774+MeghanaNalla@users.noreply.github.com>
Co-authored-by: sag​e <laymonage@gmail.com>
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2023-10-19 12:52:29 +02:00
LB Johnston
8002e75775 Documentation - Add initial Stimulus docs
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
LB Johnston
1da3e5fde7 Refactor Stimulus util & module export
- Accessing constructor was confusing and createController is not a core requirement
- Avoid modifying the base Stimulus application class
- Expose `window.StimulusModule` as the module output
- Expose `window.wagtail.app` as the Wagtail Stimulus application instance
- Rename root element variable to `root` in initStimulus (so we do not conflict with potential action option registration that uses `element` variable names)
- Pull in the wagtail.components to the same core.js file and add JSDoc for exposed global
- Relates to #10197
2023-10-19 07:28:27 +01:00