Sage Abdullah
d398c3f382
Do not set STATICFILES_STORAGE in test settings on Django >= 4.2
2024-06-25 13:46:46 +01:00
Matt Westcott
fea0cde8e5
Install django-rest-framework 3.15.1 when testing against Django 3.2
2024-06-25 13:46:23 +01:00
Matt Westcott
7f1a42ae8a
Add release notes for 5.2.6
2024-06-25 13:07:08 +01:00
Sage Abdullah
71e6f69a4b
Remove upper bound on django-pattern-library in testing dependencies
2024-06-25 12:59:44 +01:00
Alex Tomkins
67a968cb92
Fix image preview when Willow optimizers are enabled ( #12047 )
...
Avoids https://github.com/wagtail/Willow/issues/147
2024-06-25 10:29:42 +01:00
Matt Westcott
b82553a653
Version bump to 5.2.5
2024-05-01 11:14:06 +01:00
Matt Westcott
b3b050e500
Fill in release date for 5.2.5
2024-05-01 11:13:34 +01:00
Matt Westcott
a3b34391bd
Release note for #11912 in 5.2.5
2024-05-01 11:12:49 +01:00
Matt Westcott
bc4707b323
Add management command to fix UUID fields under MariaDB / Django 5.0 ( #11912 )
2024-05-01 11:10:28 +01:00
Matt Westcott
dbb97b27ef
Add XRegExp polyfill to text.test.js
2024-04-26 12:50:53 +01:00
Matt Westcott
dd083333a6
Add release notes for Wagtail 5.2.5
2024-04-26 12:02:29 +01:00
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