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: sage <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: sage <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
Sage Abdullah
5c92c8cb8d
Release notes for #11082
2023-10-19 02:23:32 -04:00
Thibaud Colas
78b8b7c6c6
Switch breadcrumbs so only the last element is bold
2023-10-19 02:13:10 -04:00
Thibaud Colas
ad488a5a49
Use a smaller font size for page listing headers
2023-10-19 02:13:10 -04:00
Thibaud Colas
d1bbe44c3c
Make page listing breadcrumbs smaller
2023-10-19 02:13:10 -04:00
sage
56b14e8f97
Use dropdown buttons on listings in dashboard panels ( #11083 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:12:39 +01:00
Thibaud Colas
78a349bb24
Release notes for #10915
2023-10-19 06:39:35 +01:00
Sage Abdullah
85d74e42a4
Do not render minimap if there are no panel anchors
2023-10-19 06:39:35 +01:00
Sage Abdullah
7ad4263d82
Assert breadcrumbs not rendered on views that have them disabled
...
To be reverted once we reintroduce breadcrumbs to these views
2023-10-19 06:39:35 +01:00
Sage Abdullah
92c5be35e8
Disable breadcrumbs on views outside of custom ModelViewSets/SnippetViewSets
2023-10-19 06:39:35 +01:00
Thibaud Colas
67757ce29c
Add release notes for #11080 , #11081 in v5.1.3
2023-10-18 23:59:58 -04:00
Thibaud Colas
3376060ea6
Use the correct action log when creating a redirect
2023-10-18 23:43:54 -04:00
Chiemezuo
3df622f2ef
Migrate publishing schedule dialog field resets to Stimulus
...
- Remove ...admin/schedule-publishing.js
- Builds on #11043 & #11066
- Closes #11029
2023-10-19 08:00:15 +11:00
LB Johnston
868398131b
Fix issue with closing dialog in the userbar
...
- Remove `data-a11y-dialog-hide` and use Stimulus data action approach
- This ensures that our code is more agnostic to the third party library and can leverage our own DialogController behaviour
- Works around ally-dialog issue https://github.com/KittyGiraudel/a11y-dialog/issues/582
- Fixes #10924
2023-10-18 07:37:16 -04:00
Alex Tomkins
7131a85532
Use get_or_create for editor page subscriptions
...
Two processes loading the edit view of a page without a subscription could result in an integrity error.
See https://docs.djangoproject.com/en/4.2/ref/models/querysets/#get-or-create
Fixes #11016
2023-10-18 21:10:57 +11:00
Sage Abdullah
9bf7d88869
Add missing locale context value in page create and edit views
...
The value was removed in #10864 as we moved the locale code into the side panels,
but the view template still has references to the locale for the hidden input in create.html and for the ACTIVE_CONTENT_LOCALE
2023-10-18 20:41:47 +11:00
Chiemezuo
29d73a3b68
DialogController add support for notifyTargets
...
- Allowing the dispatching of events to internal targets for key modal events
- See ##11029
2023-10-18 18:52:04 +11:00
dependabot[bot]
75fb953754
Bump @babel/traverse from 7.17.3 to 7.23.2 in /client/tests/integration
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.17.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 08:50:47 +11:00
Matt Westcott
da90f83f94
Show parent page on search results further down the tree
2023-10-17 20:14:12 +01:00