Wykres commitów

16242 Commity (56c62cc29874b98c863792628fa5cdf40db1589b)

Autor SHA1 Wiadomość Data
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
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