Matt Westcott
c7a42c4b34
Update django-taggit dependency to allow 6.0.x ( #12220 )
2024-08-08 16:19:41 +01:00
Matt Westcott
e06ec6d28e
Generate new strings for translation
2024-08-07 10:11:19 +01:00
Jake Howard
22fe143d36
Purge frontend cache when modifying redirects ( #12185 )
2024-08-06 19:25:28 +01:00
Matt Westcott
ca63bdf5ee
Release note for #12156
2024-08-06 17:52:21 +01:00
Sage Abdullah
afea1e1599
Allow reordering pages that violate the parent's subpage_types
2024-08-06 17:42:02 +01:00
Andy Babic
3935770020
Don't prevent reordering of subpages when there are no 'creatable' page types: That mechanism is to prevent manual creation, but it doesn't mean that children aren't editable
2024-08-06 17:42:02 +01:00
Matt Westcott
d327a0dd50
Handle `child_block` being passed as a kwarg in ListBlock.deconstruct_with_lookup ( #12208 )
...
Fixes #12202
2024-08-06 14:37:33 +01:00
Matt Westcott
5281432127
Add release notes template for 6.2.1
2024-08-06 14:37:23 +01:00
Matt Westcott
82aa1c1a61
Add Nayanshi Singh to contributors
2024-08-05 13:55:12 +01:00
NayanshiSingh
bf91e185bf
Update twitter link in support docs to x.com ( #12205 )
...
Fixes #12206
2024-08-05 13:54:37 +01:00
NayanshiSingh
a8dcf2a492
Twitter link updated to x ( #12205 )
...
Fixes #12204
2024-08-05 13:54:26 +01:00
Vince Salvino
067ebc01ec
Add example date/time formatting for the Wagtail admin settings. ( #12083 )
2024-08-02 13:54:13 +01:00
Matt Westcott
8a590283a9
Remove Wagtail Space promotion
2024-08-02 09:51:51 +01:00
parasite-68
b767533acd
Changed Twitter links in readme to x.com ( #12199 )
...
Fixes #12198
2024-08-02 09:49:40 +01:00
Matt Westcott
93368f04c2
Update latest.txt for 6.2
2024-08-01 14:59:44 +01:00
Matt Westcott
98705762bf
Fill in release date for 6.2
2024-08-01 13:02:20 +01:00
Matt Westcott
0ebcda6533
Fetch new translations from Transifex
2024-08-01 13:01:56 +01:00
smark-1
6672f4b518
Fix typo in admin url finder docs ( #12193 )
2024-08-01 11:48:20 +01:00
DK
a11414447d
Fix typo in 6.2 release notes and changelog ( #12192 )
...
Co-authored-by: Daniel Kirkham <d.kirkham@kirkham.id.au>
2024-08-01 11:44:56 +01:00
Vaughn Dickson
0dc233b0fa
Add missing getTextLabel implementation for BaseDateTimeWidget, so the value is displayed if it is available instead of a JavaScript 'null'. ( #12162 )
...
Fixes #12094
2024-07-31 18:05:37 +01:00
Sage Abdullah
aadad14ee8
Improve styles for overly long selectors in checks results
2024-07-31 11:10:49 +01:00
Thibaud Colas
96db233bf0
Disable pointer events on checker highlights to simplify DevTools inspections
2024-07-31 10:43:07 +02:00
Thibaud Colas
aa070ef08e
Log accessibility checker results when present
2024-07-31 10:43:07 +02:00
Thibaud Colas
a684273227
Re-instate accessibility check selectors in CMS. Fix #12157
2024-07-31 10:43:07 +02:00
Matt Westcott
b34f8b79a1
Release note for #12155
2024-07-29 18:36:43 +01:00
Sage Abdullah
ac480f97ae
Cache available time zones
...
From zoneinfo.available_timezones() docs:
https://docs.python.org/3/library/zoneinfo.html#zoneinfo.available_timezones
This function may open a large number of files, as the best way to determine if a file on the time zone path is a valid time zone is to read the “magic string” at the beginning.
2024-07-29 18:31:30 +01:00
Sage Abdullah
dfe9638e7d
Replace pytz.common_timezones with zoneinfo.available_timezones
...
and remove pytz dependency
2024-07-29 18:31:30 +01:00
Sage Abdullah
b757524708
Do not suggest using the custom user model's app config as the custom wagtail.users app config
...
Doing so would mean the "models" module of the app that contains the
custom user model will be used in favour of the models module of the
wagtail.users app, which contains the UserProfile model. As a result,
the UserProfile model becomes mistakenly picked up by the wagtailcore
app, creating a bogus migration when makemigrations is run.
This partially reverts the docs to the version before
449a48d7f9
, in particular the paragraphs
about creating the custom AppConfig subclass for wagtail.users.
2024-07-29 17:35:08 +01:00
Matt Westcott
fa8f9415c9
Release note for #12084
2024-07-29 15:59:27 +01:00
Matt Westcott
a6a1b942ae
Give meaningful error when using SnippetChooserBlock on a non-snippet model
...
Ref #11702 - this is identified as a common cause of AttributeErrors during StreamField block serialization.
2024-07-29 15:30:17 +01:00
Matt Westcott
ee374b40bc
Prevent AttributeErrors thrown within StreamField block serialization from being masked
...
Ref #11702 . Generally, the first call to _build_block_json happens when accessing the `media` property of the widget. Django wraps this in a try/except AttributeError to guard against the widget not defining a `media` property, so if an AttributeError occurs during the `JSContext.pack` operation, the error will be suppressed and the BlockWidget left in an invalid state where `_js_context` is defined but `_block_json` is not.
Fix this by wrapping exceptions raised during `JSContext.pack` with a ValueError (which is probably less likely to be caught), and updating BlockWidget to not assume that `_js_context` being defined implies `_block_json` is defined.
2024-07-29 15:30:17 +01:00
Sage Abdullah
a5bb99bf67
Fix duplicated rich text input inside choosers ( #12173 )
...
Fixes #12002
2024-07-29 15:08:33 +01:00
Sage Abdullah
4f7db41030
Ensure submit buttons inside dialogs also trigger the overwrite confirmation dialog
2024-07-29 07:43:05 +01:00
Sage Abdullah
7eabf7eeb9
Clarify overwrite dialog message and remove reference to model name
...
Change 'session' to 'window' and remove mention of model name to avoid
issues with gendered languages
2024-07-29 07:17:53 +01:00
Sage Abdullah
f21d8181ed
Revert "Use the proper content type for confirmation messages"
...
This reverts commit 6c44d6113c
.
2024-07-29 07:17:53 +01:00
Matt Westcott
efc419a3a1
Use Nathanaël Jourdane's full name
2024-07-26 10:34:23 +01:00
Matt Westcott
4bed63dbb7
Prevent deconstruct_with_lookup from breaking on ListBlock subclasses with custom constructors
...
Fixes #12164
2024-07-25 15:28:39 +01:00
Matt Westcott
42c566b19b
Remove note about database search not ordering by relevance
...
This text existed since Wagtail 1.x and is referring to the original database backend that just did substring matches (which is now the fallback backend), before we supported database-backed full-text search.
2024-07-24 22:31:53 +01:00
Matt Westcott
526c7da018
Make StreamField migration a headline release note for 6.2
2024-07-23 11:56:34 +01:00
Thibaud Colas
4616501fb9
Reorder and rewrite 6.2 release notes
2024-07-23 10:51:44 +01:00
Matt Westcott
ed5749ca1e
Release notes for #12149 and #12150
2024-07-23 10:15:30 +01:00
Matt Westcott
f7fa20e600
Upgrade Sphinx to 7.3; use newer syntax for no-index directive and --fail-on-warning switch
2024-07-23 10:13:03 +01:00
Matt Westcott
80b1ebe40b
Apply suggested rewrites from pyupgrade for Python 3.9 and up
...
```
git ls-files --others --cached --exclude-standard -- '*.py' | xargs pyupgrade --py39-plus
```
2024-07-23 10:12:45 +01:00
Matt Westcott
4ad2527824
Use correct package name libmariadb-dev for Debian bookworm
2024-07-23 10:12:45 +01:00
Matt Westcott
cc1d4924bb
Remove guard on usedforsecurity kwarg
...
This kwarg is always accepted as of Python 3.9 (see https://docs.python.org/3.10/library/hashlib.html#hash-algorithms )
2024-07-23 10:12:45 +01:00
Matt Westcott
a8a29201c9
Drop support for Python 3.8
2024-07-23 10:12:45 +01:00
Sage Abdullah
012cd99c1b
Release note for #12017
2024-07-22 17:21:58 +01:00
Sage Abdullah
8217124799
Add default next_url value in form submissions delete view
2024-07-22 17:13:54 +01:00
Matthias Brück
4bfab460a4
Add next parameter to form submission delete view and bulk action
2024-07-22 16:35:27 +01:00
Matthias Brück
74df95d049
Revert 8e106f4
and move paginate_queryset() to BaseListingView.
2024-07-22 14:46:46 +01:00