Wykres commitów

16360 Commity (5adb10301d10b8f891f6be6f13c4794d8ccc012c)

Autor SHA1 Wiadomość Data
Sage Abdullah 5adb10301d Add explicit path to Sphinx configuration in .readthedocs.yml 2025-02-03 17:24:13 +00:00
Matt Westcott a38dd08026 Version bump to 5.2.8 final 2025-02-03 15:07:31 +00:00
Matt Westcott a5d01e34dc Fill in release date for 5.2.8 2025-02-03 15:07:13 +00:00
Matt Westcott 440d7cc135 Release note for #12829 in 5.2.8 2025-01-31 18:05:44 +00:00
Matt Westcott f43e6d86eb 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:50:14 +00:00
Matt Westcott e997553b30 Don't break on blank search queries 2025-01-31 17:50:08 +00:00
Matt Westcott 21fe86cee5 Release note for #12322 in 5.2.8 2025-01-31 13:01:50 +00:00
Stefan Hammer 8322844b8c Fix StreamValue._prefetch_blocks() to skip manually inserted items
Fixes #12320
2025-01-31 13:00:17 +00:00
Matt Westcott 496f466039 Release notes for #12097 and #12394 in 5.2.8 2025-01-27 17:03:04 +00:00
Joshua Munn f3bf55bd4d Rename operations_and_block_path identifiers for consistency 2025-01-27 17:00:36 +00:00
Joshua Munn b1fb0ffbb1 Fix StreamChildrenToListBlockOperation sharing model instance state 2025-01-27 17:00:30 +00:00
Joshua Munn 56f9a1c4b4 Remove redundant queryset annotations 2025-01-27 17:00:10 +00:00
Joshua Munn 447c600174 Handle null stream fields in stream field migrations 2025-01-27 16:59:55 +00:00
Matt Westcott 636f1d9003 Release note for #12812 in 5.2.8 2025-01-27 16:45:46 +00:00
Matt Westcott b7d7e18c58 Prevent database error when calling permission_order.register on app ready
Fixes https://github.com/wagtail/wagtail/issues/12742

Previously, `permission_order.register` performed a database lookup for the content type. This is invalid if called from an app `ready` method as the documentation suggests, because this may run before the database has been initialised. Instead, `register` now queues up the arguments it receives, and the content type lookup is constructed lazily on first call to `get_content_type_order_lookup` (which happens when the group edit view is requested).
2025-01-27 16:44:31 +00:00
Matt Westcott 0665bd744a Update Github Actions workflow config
To match 50b99c7643
2025-01-23 18:38:53 +00:00
Matt Westcott 57f423a747 Fix TestFormPageWithCustomFormBuilder assertion against Django 5.1.5 and other security releases
Django 5.1.5 (and other security releases released today) has added a `max_length` attribute to GenericIPAddressField, which breaks an assertion in the form builder tests that compares HTML directly. Change this to a BeautifulSoup-based test so that it works on older and newer releases.
2025-01-23 18:25:33 +00:00
Matt Westcott 73ca703a3e LTS releases are now supported for 18 months 2025-01-23 13:19:50 +00:00
Matt Westcott c679b82be5 Version bump to 5.2.7 2024-11-01 13:16:24 +00:00
Matt Westcott 4a03d4fef7 Fill in release date for 5.2.7 2024-11-01 13:15:55 +00:00
Matt Westcott 5b22cf03b4 Release note for #12367 in 5.2.7 2024-11-01 12:15:32 +00:00
Sage Abdullah f32b1aa5ab Fix error in workflows listing with multiple snippets assigned on PostgreSQL (#12367)
Fixes #12364
2024-11-01 12:14:01 +00:00
Thibaud Colas 9f9d177cc8 Fix link paste detection concatenating URLs. Fix #12393 2024-10-24 10:27:03 +01:00
Thibaud Colas 78845c74f0 Release notes for #12393 2024-10-24 10:26:08 +01:00
Thibaud Colas d8f29e1c07 Add release note template for 5.2.7 2024-10-24 10:25:31 +01:00
Matt Westcott 3ee28ee8b2 Fix test syntax for Python<=3.11 2024-07-11 12:12:51 +02:00
Matt Westcott b8f839449e Version bump to 5.2.6 2024-07-11 11:11:40 +02:00
Matt Westcott b49de41e76 Fill in release date for 5.2.6 2024-07-11 11:11:05 +02:00
Matt Westcott 68917f1c97 Release note for CVE-2024-39317 in 5.2.6 2024-07-11 11:10:38 +02:00
Jake Howard 31b1e8532d Require word boundaries before search query filters (CVE-2024-39317)
Requiring a word boundary before the start of a filter prevents backtracking, as substrings of the filter name are no longer valid filter names.

This also makes matching around an order of magnitude faster.
2024-07-11 10:57:50 +02:00
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