0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00
Commit Graph

17474 Commits

Author SHA1 Message Date
Sage Abdullah
f96c0a5e0a
Fix cache warmup in redirects export queries test to ensure consistency when run in parallel/not 2024-04-22 10:21:31 +07:00
Sage Abdullah
fe653566cb
Remove unused wagtailredirects/list.html template 2024-04-22 09:24:05 +07:00
zerolab
e9a349c95d
Limit the redirect to page filter to only pages used in redirects 2024-04-22 09:12:44 +07:00
zerolab
f5e1826e17
Merge the redirects report into redirects index view 2024-04-22 09:12:44 +07:00
Jake Howard
bfbd0d5ee2
Optimise redirects report 2024-04-22 09:12:44 +07:00
Sage Abdullah
100566ab8f
Set up release notes for 6.2 2024-04-22 09:00:37 +07:00
Sage Abdullah
ecb4028165
Version bump to start work on 6.2 2024-04-22 09:00:37 +07:00
Sage Abdullah
fd659ae767
Remove versionadded / versionchanged annotations for 6.0 2024-04-22 09:00:36 +07:00
LB Johnston
b664169b32 Improve 6.1 release notes
- Fix typo in example regex
- Add links to documentation where possible
- Minor clean up
2024-04-19 17:09:50 +10:00
LB Johnston
bd40b34fb9 Add missing examples for KeyboardController
Based on PR #11853
2024-04-19 17:09:50 +10:00
LB Johnston
58d98974bc Update tutorial page create_footer to use consistent filename
- File was using a mix of kebab & snake case, align with all other filenames and use only snake_case
2024-04-19 17:09:50 +10:00
LB Johnston
6e05134d12 Fix malformed documentation ref developing_using_a_fork 2024-04-19 17:09:50 +10:00
Matt Westcott
2174cf4c18 Remove extra 'Upgrade considerations' heading 2024-04-18 17:43:22 +01:00
Matt Westcott
65fbe147f0 Promote PageListingViewSet and keyboard shortcuts dialog to headline features 2024-04-18 17:41:40 +01:00
Matt Westcott
3cb430cbc7 Generate new strings for translation 2024-04-18 17:29:44 +01:00
Matt Westcott
5326736538 Use a non-empty string in LazyStringEncoder to silence warnings 2024-04-18 17:28:39 +01:00
Matt Westcott
5a15e6e921 Fetch new translations from Transifex 2024-04-18 17:14:24 +01:00
scott
951e41ae26 add new field types (#11861) 2024-04-18 16:42:06 +01:00
LB Johnston
2d075177c4 Fix issue where allow unicode slugs was not correctly used for urlify (#11865)
When the urlify util is used, ensure that we pass in the allow unicode value correctly in the SlugController.

Note: This was passed in for slugify but the usage of slugify, not urlify.

Fixes #11828
2024-04-18 13:59:36 +01:00
Thibaud Colas
b21b1a1534 Add snug mode release notes 2024-04-18 13:04:25 +01:00
Thibaud Colas
d04746bf9e Adjust admin UI components based on desired interface density 2024-04-18 13:04:25 +01:00
Thibaud Colas
ddb907d274 Add new global CSS variable --w-density-factor 2024-04-18 13:04:25 +01:00
Thibaud Colas
bd6f314b87 Refactor CSS selectors in title panel override for readability 2024-04-18 13:04:25 +01:00
Thibaud Colas
fe148c01e5 Add density parameter to user profile 2024-04-18 13:04:25 +01:00
Matt Westcott
b57a9a94a0 Release note for #11832 2024-04-18 12:34:48 +01:00
Andy Babic
52aeb4d178 Remove unused import 2024-04-18 12:33:12 +01:00
Andy Babic
a9ba0428cf Rewrite create_renditions() to:
- Use a maximum of 3 workers
- Use the new generate_rendition_instance() method
- Define and execute future threads in a way that allows exceptions to be surfaced (avoid map)
2024-04-18 12:32:49 +01:00
Andy Babic
189b851d72 Add AbstractImage.generate_rendition_instance() 2024-04-18 12:32:49 +01:00
Andy Babic
fe8e618232 Fix: Avoid mutation of list whilst iterating it 2024-04-18 12:32:49 +01:00
sag​e
c1a23b4bd3
Tweak styles for w-header-button to better match the designs (#11863) 2024-04-18 12:29:01 +01:00
Matt Westcott
c02162dc50 Release note for #11737 2024-04-18 10:54:19 +01:00
Nigel van Keulen
3ff4bc08c6
Populate parent page cache during page routing (#11737)
* Optimize page routing by caching parent on child
2024-04-18 10:48:29 +01:00
Sage Abdullah
0f7398f93c
Update release notes for #11749 and #11762 2024-04-18 07:43:55 +07:00
LB Johnston
67471defcf Add release notes for #11818 2024-04-18 07:48:33 +10:00
Rohit Sharma
a86822c530 Add ability for Settings icons to be reflected on Setting edit views
Fixes #11790
Rebase and rework of original PR #8650
2024-04-18 07:48:33 +10:00
LB Johnston
37922cc03d Add changelog & upgrade considerations #11525 2024-04-18 07:03:08 +10:00
Saksham Misra
53d6ea4491 Add documentation to support password required settings change
PASSWORD_REQUIRED_TEMPLATE -> WAGTAIL_PASSWORD_REQUIRED_TEMPLATE
DOCUMENT_PASSWORD_REQUIRED_TEMPLATE -> WAGTAILDOCS_PASSWORD_REQUIRED_TEMPLATE
2024-04-18 07:03:08 +10:00
LB Johnston
488f338c1c Add unit tests to support password required template settings 2024-04-18 07:03:08 +10:00
Saksham Misra
741754b2d2 Update password required template settings to have a Wagtail prefix
Ensure that the non-prefixed settings for customised password required templates can be name-spaced like all other current settings.

Add backwards compatible deprecation support and warnings for the current names.

Fixes #11368

PASSWORD_REQUIRED_TEMPLATE -> WAGTAIL_PASSWORD_REQUIRED_TEMPLATE
DOCUMENT_PASSWORD_REQUIRED_TEMPLATE -> WAGTAILDOCS_PASSWORD_REQUIRED_TEMPLATE
2024-04-18 07:03:08 +10:00
Matt Westcott
1ec62a6c2d Release note for #11749 2024-04-17 16:23:54 +01:00
Alec Baron
d71cf79520
Accept alias for WAGTAILIMAGES_RENDITION_STORAGE (#11749)
* Accept alias for WAGTAILIMAGES_RENDITION_STORAGE

* Update wagtail.images.models.get_rendition_storage to handle the case when the WAGTAILIMAGES_RENDITION_STORAGE setting is given a storage alias (defined in the STORAGES setting). Preserve old behavior when a dotted module path or a Storage instance are given.
* Refactor and improve all tests related to the WAGTAILIMAGE_RENDITION_STORAGE setting.
* Update related documentation.
2024-04-17 16:22:19 +01:00
Jake Howard
6b0c97218a Document use of secret key to obscure Wagtail version
Whilst ideally we wouldn't use the secret key, it's the best way to ensure the value doesn't expose the wagtail version, whilst still being deployment-specific.
2024-04-17 16:15:03 +01:00
LB Johnston
e8f4d56583 Support forwards compatible configuration for private pages/collections
The new settings introduced in #11582 / #11536 only considered one use case of disabling the shared password option. However, we may want to allow for more complex configuration in the future in this area.

Ensure we can support potential future requirements such as #11640 with a more flexible structure for private pages & collections.

The following settings have been changed from boolean to dictionary values.

WAGTAIL_ALLOW_SHARED_PASSWORD_PAGE -> WAGTAIL_PRIVATE_PAGE_OPTIONS
WAGTAIL_ALLOW_SHARED_PASSWORD_COLLECTION -> WAGTAILDOCS_PRIVATE_COLLECTION_OPTIONS
2024-04-17 15:29:50 +01:00
Matt Westcott
abd018b926 Release note for #11850 2024-04-17 14:21:54 +01:00
Matt Westcott
1cbe206362 Revert signature of StaticBlock.normalize 2024-04-17 14:18:50 +01:00
Matt Westcott
b0cda80626 Simplify example of appending a rich text block to a streamfield 2024-04-17 14:18:02 +01:00
Matt Westcott
88cc442b8b Test for complex StreamField assignments that require recursive normalisation 2024-04-17 14:18:02 +01:00
Matt Westcott
f19b63caf9 Add test for StreamField with complex defaults 2024-04-17 14:18:02 +01:00
Joshua Munn
d22ee56d4c Call Block.normalize in block.get_default 2024-04-17 14:18:01 +01:00
Joshua Munn
ba8a612bc6 Remove serialized format case from ListBlock.normalize 2024-04-17 14:18:01 +01:00