Matt Westcott
01326f67ec
Release note for #10939 in 5.1.2
2023-09-22 18:34:18 +01:00
Matt Westcott
ed2ed2cef9
Allow BaseSiteSetting instances retrieved via for_request to be pickled
...
Strip out the cached _request attribute which breaks pickling. Fixes #10879
2023-09-22 18:32:43 +01:00
Matt Westcott
7e39c8526c
Release note for #10916 in 5.1.2
2023-09-19 10:29:05 +01:00
Matt Westcott
b1134fd786
Add test run on opensearch
2023-09-19 10:25:52 +01:00
Matt Westcott
80cbc42497
Fix Elasticsearch7 backend to work on pre-7.15 library versions
...
Fixes #7920 . Check library version and only patch backend classes with the updated API calls if it's >=7.15.
2023-09-19 10:25:44 +01:00
Matt Westcott
67c61aa334
Release note for #10911 in 5.0.3
2023-09-18 16:02:46 +01:00
Daniel Kirkham
fd7caf3be9
Fix typo and expression in 5.1 release notes
2023-09-17 16:29:39 +10:00
LB Johnston
855fafbded
5.1.2 Changelog & release notes for #10857
2023-09-14 06:34:25 +10:00
Jake Howard
57a13c4278
Add tests for image serving SVG and AVIF files
2023-09-14 06:33:17 +10:00
Jake Howard
bbdd700b58
Bump Willow to ensure it supports SVG mimes
2023-09-14 06:33:17 +10:00
Jake Howard
7302d74ed0
Replace `imghdr` with Willow's built-in mime-type detection
2023-09-14 06:33:17 +10:00
LB Johnston
2f8fe9aa3f
Add 5.1 release notes for changed `attrs.html` template location ( #10887 )
...
Fixes #10874
2023-09-14 06:19:29 +10:00
Matt Westcott
b0f038e2d0
Release note for #10866 in 5.1.2
2023-09-11 19:07:44 +01:00
Matt Westcott
708e69f272
Add fallback on full-word search to generic model IndexView
2023-09-11 19:07:44 +01:00
Matt Westcott
7dceae5feb
Add release note recommending the use of AutocompleteField
2023-09-11 19:07:44 +01:00
Matt Westcott
fabbbd825b
Restore fallback behaviour on chooser search for models without AutocompleteFields
2023-09-11 19:07:44 +01:00
Sage Abdullah
96d596c085
Release notes for #10826 and #10827 in 5.1.2
2023-09-07 13:56:04 +01:00
Christer Jensen
50a6fc2e8e
Fix numbers from being exported as strings
...
Uses parameter `strings_only` on `force_str` which when set to True
prevents certain types like numbers from being converted to string.
2023-09-07 13:43:12 +01:00
Sage Abdullah
df88773eb2
Prevent lowercase conversions of spreadsheet export column headers
2023-09-07 13:41:17 +01:00
Christer Jensen
f937ad046c
Change spreadsheet header to use Django's label_for_field instead
2023-09-07 13:40:34 +01:00
Matt Westcott
256859de15
Release note for #10847 in 5.1.2
2023-09-07 12:22:32 +01:00
Matt Westcott
1eb36d51b6
Release note for #10847 in 5.0.3
2023-09-07 12:22:00 +01:00
Jake Howard
aa7012963b
Use new migration rather than modifying existing in place
...
This won't change the impact, but ensures deployments definitely have a reset counter, even if they've already released 5.0.
2023-09-07 12:22:00 +01:00
Jake Howard
bb2ebf94cf
Reset search promotions sequence after copying table content
...
We insert values manually, including an explicit pk, but don't ensure the sequence is set to a value higher than the largest pk.
See also https://code.djangoproject.com/ticket/17415
2023-09-07 12:22:00 +01:00
Matt Westcott
587fb4d176
Release note for #10836 in 5.1.2
2023-09-06 17:55:42 +01:00
Matt Westcott
21fc7447fc
Release note for #10836 in 5.0.3
2023-09-06 17:54:44 +01:00
Sage Abdullah
f16bc1c74c
Do not use ignore_conflicts when creating extra permissions for snippets
2023-09-06 17:49:41 +01:00
LB Johnston
2b289eb8ee
Add note to clarify that blocks are not interchangeable with model fields ( #10841 )
...
Prompted by https://stackoverflow.com/questions/76973112/unknown-fields-specified-for-a-page-model-in-wagtail-at-content-panels/76973226?noredirect=1#comment135693718_76973226 and similar misconceptions people have made in the past.
2023-08-31 08:04:00 +10:00
Matt Westcott
8e495b2b8a
Stop private pages from breaking display of snippets in moderation dashboard ( #10820 )
...
Fixes #10819
2023-08-24 18:29:43 +10:00
Sage Abdullah
30ee5256e2
Fill in release date for 5.1.1
2023-08-14 15:01:49 +01:00
Sage Abdullah
0128b3f0b4
Version bump to 5.1.1
2023-08-14 14:59:20 +01:00
Sage Abdullah
0bd47bcecd
Fetch new translations from Transifex
2023-08-14 14:58:20 +01:00
Florent Lebreton
69e4409fa0
Fix read_only panels for fields with translatable choice labels
2023-08-10 13:10:12 +01:00
Sage Abdullah
42b7c2126f
Release notes for #10768
2023-08-10 13:09:44 +01:00
Sage Abdullah
e4031f5ca1
Introduce BooleanColumn for showing boolean values as tick/cross icons
2023-08-10 13:08:24 +01:00
Sage Abdullah
b5937cb2bf
Call out ModelAdmin migration guide in 5.1 upgrade considerations
2023-08-10 13:08:24 +01:00
Sage Abdullah
627c223a7a
Add docs for migrating ModelAdminGroup to SnippetViewSetGroup
2023-08-10 13:08:24 +01:00
Sage Abdullah
dfc482e512
Show not-None falsy values instead of blank in generic table cell template
2023-08-10 13:08:24 +01:00
Sage Abdullah
1890e8320d
Fill in release date for 5.1
2023-08-01 14:28:50 +01:00
Sage Abdullah
373817d6f4
Version bump to 5.1
2023-08-01 14:26:42 +01:00
Sage Abdullah
47941c9abb
Fetch new translations from Transifex
2023-08-01 14:14:08 +01:00
Sage Abdullah
6f59eb6924
Group 5.1 upgrade considerations by impact
2023-08-01 13:37:03 +01:00
Thibaud Colas
ebd9a2307b
Update tutorial screenshots for Wagtail v5.1
2023-08-01 14:16:16 +02:00
Thibaud Colas
678b32e4e7
Move permissions consolidation and snippet enhancements to their own release notes sections
2023-08-01 14:16:08 +02:00
Sage Abdullah
10b8dab54e
Fix missing space typo in GroupPagePermission warning
2023-08-01 10:01:29 +01:00
Sage Abdullah
2ca6708db4
Fix incorrect GroupPagePermission import in 5.1 release notes
2023-08-01 09:51:09 +01:00
Sage Abdullah
73494fe3be
Fix initial size of 'Preview unavailable' content in preview panel
2023-08-01 09:31:44 +01:00
zerolab
9177326b35
Bump target python version to 3.8 in Makefile
2023-08-01 09:29:22 +01:00
Robert Rollins
d75d6e6f5d
Corrected a typo in {% page_header_buttons %} #10592
...
Fixes #10730
2023-08-01 07:44:27 +10:00
Andy Chosak
f84cea6715
Don't update the reference index while deleting it
...
The rebuild_reference_index management command starts by
deleting the entire ReferenceIndex table.
In Wagtail versions 4.1 and 4.2, all models are tracked in the
reference index. Unfortunately this also includes the
ReferenceIndex model itself. This is changed in 5.0 to only track certain Wagtail-related models [0].
This means that when rebuild_reference_index runs in versions
4.1 or 4.2, and deletes the ReferenceIndex table, it runs the code that checks whether ReferenceIndex instances have any
references.
If the index contains a large number of references (as could
happen if an upgrade to 4.1 built an index for a non-Wagtail
model), this process becomes extremely slow. There's no need
for the rebuild_reference_index command to update the index
when deleting it, so this can be significantly optimized by
disabling auto update here.
[0] https://docs.wagtail.org/en/stable/releases/5.0.html#referenceindex-no-longer-tracks-models-used-outside-of-wagtail
2023-07-31 15:38:09 +01:00