LB (Ben Johnston)
af1c727bd8
Fix issue where allow unicode slugs was not correctly used for urlify ( #11865 ) ( #11873 )
...
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
Cherry pick of 2d075177c4
2024-04-22 20:15:07 +01:00
Sage Abdullah
29e9c2a788
Fix next redirect URL in page search results view
2024-04-22 20:01:07 +01:00
Kojo Idrissa
4729b6ab51
Found typo in table_block.md
...
There's a typo in the 5.2.x version of this document
2024-04-12 17:22:08 +01:00
Matt Westcott
6f2f6d098e
Revert "Add test for redirects without trailing slash being redirected in one go"
...
This reverts commit e58b0e0b1a
.
2024-04-03 21:22:57 +01:00
Matt Westcott
a9b60348f2
Version bump to 5.2.4
2024-04-03 20:59:33 +01:00
Matt Westcott
bd8ef2e128
Add release notes for 5.2.4
2024-04-03 20:59:06 +01:00
Matt Westcott
e58b0e0b1a
Add test for redirects without trailing slash being redirected in one go
2024-03-25 14:05:10 +00:00
Sage Abdullah
450187a85f
Use more specific PermissionDenied messages in API tests
...
DRF changed its behaviour in
56946fac8f
A custom message that is specified when raising a PermissionDenied
exception is now preserved by DRF, instead of using a generic "You do
not have permission to perform this action."
2024-03-21 19:39:19 +07:00
Maranda Provance
aa960d38e6
Update 5.0.md to include installed apps for Query change ( #11718 )
...
* Update 5.0.md to include installed apps for Query change
# Conflicts:
# CONTRIBUTORS.md
2024-03-05 07:48:28 +10:00
Matt Westcott
25da9fb81e
Fix empty admin search on Elasticsearch (backport to 5.2)
...
Backport of #11626 to 5.2; fixes #11600
2024-02-18 14:22:44 +10:00
Sage Abdullah
5ad59c1a1a
Fix crash when accessing workflow reports with a deleted snippet
...
This can happen if the model does not define GenericRelations correctly
2024-02-06 12:53:18 +00:00
Sage Abdullah
1e47194d74
Reduce queries in workflow reports
2024-02-06 12:50:13 +00:00
Matt Westcott
3187374df1
Fix pagination links on history and usage views ( #11579 )
...
Fixes #11569
Override `get_index_url` to point to the listing's own URL, so that BaseListingView uses this to generate pagination links.
2024-02-05 14:16:54 +00:00
Rohit Sharma
da31733b93
Resolve error when specifying 'slug' as a read-only field ( #11447 )
2024-02-01 16:28:03 +00:00
Matt Westcott
222cf7de72
Fill in release date for 5.2.3
2024-01-23 15:17:24 +00:00
Thibaud Colas
aa731d6a7c
Add 5.2.3 to releases index
2024-01-05 08:16:26 +00:00
Thibaud Colas
4374ab4e3e
Version bump to 5.2.3
2024-01-05 08:16:01 +00:00
Thibaud Colas
e9dbe412c6
Add release notes for #11406
2024-01-05 08:07:23 +00:00
Matt Westcott
24ad8d40dd
Fix FormSubmissionsPanel on Django 5.0 when creating a new form page
...
Fixes #11405
Django 5.0 rejects `FormSubmission.objects.filter(page=page)` when `page` is an unsaved in-memory instance. Since these can clearly not have any submissions, return an empty queryset in this case.
Also add end-to-end tests for the create and edit views with FormSubmissionsPanel in place.
2024-01-05 08:06:27 +00:00
Matt Westcott
d7c1345fa1
Bump telepath to 0.3.1
...
This ensures that people upgrading to Django 5.0 will have a compatible version. Now that Python <3.8 and Django <3.2 are EOL, there's no reason for anyone to be running an older version.
# Conflicts:
# setup.py
2023-12-13 06:41:25 +10:00
Sage Abdullah
5dd4315caa
Fix incorrect heading for Django 5.0 support in release notes
2023-12-07 12:10:51 +00:00
Sage Abdullah
018409b2bf
Add note about Django 5.0 support added in a patch release
2023-12-07 11:36:23 +00:00
Sage Abdullah
a44e442656
Fill in release date for 5.2.2
2023-12-06 17:04:58 +00:00
Sage Abdullah
ebb942fa0c
Version bump to 5.2.2
2023-12-06 17:01:47 +00:00
Sage Abdullah
806590c237
Fetch new translations from Transifex
2023-12-06 16:27:15 +00:00
Kalob Taulien
1fc14d12e1
End tag typo fix
...
Documentation typo. ¯\_(ツ)_/¯
2023-12-06 16:00:43 +00:00
Chiemezuo
0571c5e346
Fix issue aging pages report export if last_published_by is blank
...
Fixes #10821
2023-12-06 16:00:07 +00:00
Ben Morse
caf68095b1
Add `display inline-block` to the Comment Control's wrapped ToolbarButton
2023-12-06 15:51:58 +00:00
zerolab
514f24c51d
Formalise Django 5.0 support
2023-12-06 11:56:22 +00:00
LB Johnston
f69f0b5e4a
Changelog for #11308 in 5.2.2
2023-12-06 08:09:12 +10:00
Sage Abdullah
a3173408df
Make recommendations to add GenericRelation in snippets more explicit
2023-12-06 08:08:16 +10:00
Sage Abdullah
be3bf4e4d2
Add more tests to ensure WorkflowState and Revision cascade on object delete
...
# Conflicts:
# wagtail/tests/test_revision_model.py
2023-12-06 08:08:14 +10:00
Sage Abdullah
e89c1f5292
Reduce queries in WorkflowObjectsToModeratePanel by adding workflow_state to select_related
2023-12-06 08:07:52 +10:00
Sage Abdullah
e964a2b0fc
Ensure workflow dashboard panels work when the page/snippet is missing
2023-12-06 08:07:52 +10:00
Tomasz Knapik
c26e0326a2
Fix alias() not compatible with specific()
...
Fixes #11285
# Conflicts:
# CHANGELOG.txt
# docs/releases/6.0.md
2023-12-06 08:07:50 +10:00
Matt Westcott
8e5ab4aeb4
linting fix
2023-11-27 11:53:45 +00:00
Matt Westcott
9efed6a8f2
Release note for #11262 in 5.2.2
2023-11-27 11:38:44 +00:00
zerolab
a97403c465
Fix `get_valid_recipients` and `get_recipient_users` returning None
2023-11-27 11:37:16 +00:00
zerolab
cae85c7dc5
Add failing tests (for missing user on Workflow actions)
2023-11-27 11:37:05 +00:00
Stefan Hammer
bc4f04067a
Fix snippets index.html to use results_template_name for results #11231
...
Until now, if you've set an index_results_template_name or used the
namespaced template-lookup to override it, it was only used for the
ajax-results.
The include is now similar to wagtailadmin/generic/index.html.
# Conflicts:
# CHANGELOG.txt
# docs/releases/6.0.md
2023-11-27 11:26:21 +10:00
Gunnar Scherf
394c32c9a0
Fix issue with image focal point removal not working #11256
...
Ensure we define jcropapi, fixing javascript TypeError.
Fixes #11254
# Conflicts:
# CHANGELOG.txt
# docs/releases/6.0.md
2023-11-22 08:28:38 +10:00
Thibaud Colas
45a89a9e34
Change light theme floating toolbar active color ( #11261 )
...
Co-authored-by: Cassidy <cassidy.pittman@torchbox.com>
2023-11-20 12:54:06 +00:00
Thibaud Colas
3acf68524f
Add release notes for v5.2.2
2023-11-20 12:53:21 +00:00
Matt Westcott
f5242bd015
Version bump to 5.2.1
2023-11-16 14:42:42 +00:00
Matt Westcott
3868a358b7
Fill in release date for 5.2.1
2023-11-16 14:30:49 +00:00
Matt Westcott
b22ad48816
Fetch new translations from Transifex
2023-11-16 14:29:35 +00:00
Matt Westcott
c001335e71
Prevent error on locked pages report when a user has locked multiple pages ( #11245 )
...
Fixes #10960 . Thanks to @richie-blake and @rohitsrma for reporting / investigation.
2023-11-16 14:18:04 +00:00
Sage Abdullah
e8ff6a2fa3
Restore the ability to have content type facets when searching pages with an empty query ( #11243 )
2023-11-16 13:24:03 +00:00
Joe
36f1c05a59
Check for ContentType and Permission models before migration ( #11184 )
...
This prevents `create_extra_permissions` from querying or creating
ContentType or Permission objects if the models cannot be found.
When using multiple databases which do not have the auth_permission
table `create_extra_permissions` will cause migrate to fail.
This is similar to https://code.djangoproject.com/ticket/24075 .
Thanks to @crccheck for additional bug reporting.
2023-11-16 13:17:20 +00:00
Matt Westcott
9933bb61e9
Release note for #11216 / #11234 in 5.2.1
2023-11-15 13:17:07 +00:00