Sage Abdullah
ad70e5fdb6
Simplify UniqueConstraint check for custom rendition models
2025-02-06 11:46:26 +00:00
Cynthia Kiser
530cc5c355
Added tests for AbstractRendition's unique constraint check
...
Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>
2025-02-06 11:40:15 +00:00
Sage Abdullah
1aecddf34a
Improve unique constraint check error message for custom rendition models
...
Co-authored-by: Cynthia Kiser <cnk@caltech.edu>
2025-02-06 11:40:15 +00:00
Oliver Parker
ea30d636d4
Adds support for constraints on AbstractRendition, as an alternative to unique_together
2025-02-06 11:38:52 +00:00
Sage Abdullah
9294907f31
Release note for #12849
2025-02-06 10:47:18 +00:00
Matt Westcott
2acd50c2db
Simplify example of appending a rich text block to a streamfield
2025-02-05 20:38:19 +00:00
Matt Westcott
a61cfa678d
Apply normalization when modifying a StreamBlock
...
Fixes #12827
2025-02-05 20:37:00 +00:00
Matt Westcott
09c7f66e03
Add release note for #12639 to 6.5 release page
2025-02-05 18:39:10 +00:00
Sage Abdullah
794fe25e97
Add normalize() implementation to TypedTableBlock ( #12808 )
2025-02-05 18:38:16 +00:00
Matt Westcott
58584896df
Add Seb Corbin to core team
2025-02-05 09:35:43 +00:00
Matt Westcott
78ba5f3625
Update latest.txt for 6.4 and 6.3.3
2025-02-05 09:34:32 +00:00
Sage Abdullah
9de2f4ddd6
Add Bernhard Bliem to contributors
2025-02-04 13:47:41 +00:00
Bernhard Bliem
9c4136635b
Activate user's preferred language in JavaScriptCatalog view
2025-02-04 13:36:12 +00:00
Aayushman Singh
4f37b011f5
Add WAGTAIL_ prefix to non-taggit settings
2025-02-04 10:34:25 +00:00
Sage Abdullah
251d1d188c
Expand docs for StreamField block previews
2025-02-03 16:43:29 +00:00
Sage Abdullah
f309a44075
Add reference docs for Block.get_template and Block.get_context
2025-02-03 16:43:29 +00:00
Sage Abdullah
88bb61d32e
Minor tweaks to StreamField block previews documentation
2025-02-03 16:43:29 +00:00
Matt Westcott
f04af6cc16
Fill in release date for 6.3.3
2025-02-03 15:11:44 +00:00
Matt Westcott
c6923f43c4
Fill in release date for 5.2.8
2025-02-03 15:11:28 +00:00
Matt Westcott
af7254a808
Fill in release date for 6.4 final
2025-02-03 15:11:18 +00:00
Matt Westcott
cb0a358022
Fetch new translations from Transifex
2025-02-03 15:10:49 +00:00
Sage Abdullah
c70719bfa6
Ensure block preview is hidden when the user clears out the search input
2025-02-03 14:45:37 +00:00
Matt Westcott
14d3341ffd
Release note for #12829 in 6.4
2025-01-31 18:09:49 +00:00
Matt Westcott
58ff3e1067
Release note for #12829 in 6.3.3
2025-01-31 18:09:49 +00:00
Matt Westcott
2970a1531e
Release note for #12829 in 5.2.8
2025-01-31 18:09:49 +00:00
Matt Westcott
7722ffed1e
Prevent syntax error on MySQL search when query includes symbols
...
Fixes #8614 and #12811
We match MySQL's behaviour of treating non-alphanumeric characters as token separators, equivalent to spaces. This way, the Lexeme instances consist of alphanumerics only, avoiding escaping issues that lead to these syntax errors.
(note: the \w class in regexp also counts underscores as "alphanumeric", but this is also consistent with the MySQL behaviour and presents no issues with escaping.)
2025-01-31 17:49:28 +00:00
Matt Westcott
88cbfb2875
Don't break on blank search queries
2025-01-31 17:49:28 +00:00
Sage Abdullah
e4748e45de
Fix Block.is_previewable detection on blocks with non-None unset default values
2025-01-31 15:37:44 +00:00
Thibaud Colas
b365206d05
Switch block previews from hover + toggle to toggle only
2025-01-31 15:34:17 +00:00
Thibaud Colas
0193cad5ea
Adjust block chooser styles to match latest designs
2025-01-31 14:48:40 +00:00
Matt Westcott
6cad9c4397
More descriptive release note for #12322 in 6.4
2025-01-31 13:05:37 +00:00
Matt Westcott
6a8298879d
Release note for #12322 in 5.2.8
2025-01-31 13:05:37 +00:00
Matt Westcott
d9e2714c56
Release note for #12322 in 6.3.3
2025-01-31 13:05:37 +00:00
Matt Westcott
bdde31c9ed
Release note for #12837
2025-01-31 11:09:33 +00:00
Mohamed-Rabiaa
f2f94c4d12
docs: Add django.contrib.admin to INSTALLED_APPS in add_to_django_project guide
2025-01-31 11:02:30 +00:00
Sage Abdullah
db87deb0c8
Improve block preview layout for responsiveness and reduced shifting
2025-01-30 15:40:49 +00:00
Sage Abdullah
f71be48bb3
Add block- CSS class in block preview template
...
This matches the behaviour of {% include_block %} inside a StreamBlock
2025-01-30 15:40:49 +00:00
Matt Westcott
259770f56d
Release note for #12831 in 6.4
2025-01-29 20:53:52 +00:00
Matt Westcott
a7f00156ad
Release note for #12831 in 6.3.3
2025-01-29 20:53:52 +00:00
Matt Westcott
335817e289
Revert "Simplify example of appending a rich text block to a streamfield" ( #12831 )
...
See #12827 - `normalize` is not applied on append, so the value type must match.
This reverts commit b0cda80626
.
2025-01-29 20:53:51 +00:00
Thibaud Colas
eb4b240791
Add unit tests for rich text block chooser initialisation based on capabilities
2025-01-28 11:11:56 +00:00
Thibaud Colas
4d6c8b87a1
Configure block previews and descriptions in block chooser within rich text
2025-01-28 11:11:56 +00:00
Matt Westcott
2a42ae4edd
Add release note stubs for 6.5
2025-01-27 18:54:25 +00:00
Matt Westcott
b66a9bfb64
Version bump to 6.5a0
2025-01-27 18:54:25 +00:00
Matt Westcott
a2eb6ea8ca
Drop support for Django 5.0
...
This will end security support on 30 Apr 2025, immediately before the release of Wagtail 6.5.
2025-01-27 18:54:25 +00:00
Matt Westcott
695ff86c87
Remove versionchanged note for ImageChooserBlock to ImageBlock migration
...
Leave other versionadded/versionchanged notes intact, as they relate to deprecated features that are not yet removed and should thus be left in place until 7.0.
2025-01-27 18:54:25 +00:00
Matt Westcott
cf19e6ea8e
Release notes for #12097 and #12394 in 5.2.8
2025-01-27 17:03:49 +00:00
Matt Westcott
4301d4ded2
Release note for #12812 in 6.4
2025-01-27 16:49:58 +00:00
Matt Westcott
11f7997227
Release note for #12812 in 6.3.3
2025-01-27 16:49:58 +00:00
Matt Westcott
30deac59d0
Release note for #12812 in 5.2.8
2025-01-27 16:49:58 +00:00