Wykres commitów

12149 Commity (3cd7e967c157d5daf36b9dc5f37ad212b620879c)

Autor SHA1 Wiadomość Data
Ihor Marhitych 3cd7e967c1 fix issue where bulk actions would return, not raise 404
return Http404 -> raise Http404
See #7911
2022-02-09 21:42:38 +10:00
Matt Westcott 26f85ab7d3 Fill in release date for 2.15.3 2022-01-26 16:05:30 +00:00
Matt Westcott a3443867d8 Release note for #7893 in 2.15.3 2022-01-26 11:26:05 +00:00
Matt Westcott 865df90bbd version bump to 2.15.3 2022-01-26 11:23:25 +00:00
Matt Westcott 11efbbfb31 Fix Sqlite FTS5 compatibility check
As per https://github.com/wagtail/wagtail/issues/7798#issuecomment-1021544265 - the direct query against the sqlite3 library will fail with sqlite3.OperationalError, not django.db.OperationalError.
2022-01-26 11:22:54 +00:00
Matt Westcott ab406b1a93 Add release notes for 2.11.9 2022-01-24 16:10:01 +00:00
Matt Westcott f56426c551 Fill in release date for 2.15.2 2022-01-18 11:12:10 +00:00
Matt Westcott bbafc97af9 Release note for CVE-2022-21683 2022-01-18 11:10:24 +00:00
jacobtoppm 2e3d648a65 Make comment notifications not using page permissions more transparent 2022-01-18 10:26:26 +00:00
jacobtoppm 2fa468ebd6 Fix commenting thread notifications being sent to non-thread users 2022-01-18 10:26:26 +00:00
Matt Westcott eac906e7ed Increase Pillow dependency range to include 9.x (#7831)
Fixes #7817
2022-01-14 11:26:31 +00:00
Matt Westcott bd08770a5a Release note for non-fts sqlite support 2022-01-14 10:22:35 +00:00
Matt Westcott 3986519c60 Allow running wagtailsearch migration 0006 in reverse when the index table is missing 2022-01-14 10:22:35 +00:00
Matt Westcott 1c9c2daf83 Warn and use fallback backend if fts5 is available but the index table is missing
This scenario will happen if sqlite has been upgraded to a version with fts5 support since wagtailsearch migration 0006 was run.
2022-01-14 10:22:35 +00:00
Matt Westcott 71e63eb65d Preserve original exception output when catching OperationalError 2022-01-14 10:22:12 +00:00
Matt Westcott a7ba970823 Skip sqlite search backend tests if fts5 is unavailable 2022-01-14 10:22:11 +00:00
Matt Westcott 21e3eac740 Add alternative warning if sqlite is >=3.19 but is missing fts5 support 2022-01-14 10:22:11 +00:00
Matt Westcott 7d6448a019 Give sqlite compatibility warning a distinct warning code
This prevents the fallback warning from interfering with the test wagtail.search.tests.test_indexed_class.TestSearchFields.test_checking_core_page_fields_are_indexed
2022-01-14 10:22:11 +00:00
Matt Westcott c204eaad05 Test for presence of fts5 extension in sqlite backend initialisation and migration 2022-01-14 10:22:11 +00:00
Matt Westcott 15095f589d Release note for #7726 in 2.15.2 2022-01-10 19:41:26 +00:00
ACMCMC 4342882a52 Solved multiword MySQL search bug 2022-01-10 19:39:04 +00:00
ACMCMC 98ffaad699 Changed `test_plain_text_multiple_words_and()` to include three words 2022-01-10 19:38:57 +00:00
ACMCMC 663d7d0a12 Solved missing `invert` attribute bug 2022-01-10 19:38:48 +00:00
Vu Pham cf96285671 Fix misspelled checkbox_aria_label in template
- fixes #7768
2022-01-08 21:21:11 +10:00
Matt Westcott 48c49567d7 Release note for #7821 2022-01-05 14:03:57 +00:00
Matt Westcott cd3bec0433 Ensure confirmation page respects custom get_admin_display_title methods 2022-01-05 14:02:26 +00:00
Matt Westcott 0fb7417bca Use get_admin_display_title on bulk action confirmation pages
This ensures that we show the draft version of the title (particularly important for the publish action)
2022-01-05 14:02:19 +00:00
Matt Westcott 7e5c498d35 Publish latest revision when bulk publishing
Fixes #7690
2022-01-05 14:02:12 +00:00
Matt Westcott 27f91b87d2 Release note for #7762 in 2.15.2 2021-12-08 17:08:07 +00:00
Matt Westcott dadddee46c Remove spurious action button on 'create workflow task' view (#7762)
* Remove spurious action button on 'create workflow task' view

Fixes #7758. 1fe36d2597 fixed the generic base template to stop the `action_url` from leaking into the header, but create_task.html bypasses the base template so needs the fix applying separately.

* Remove spurious action button on 'edit workflow task' view

* Remove spurious action button on 'edit workflow' view
2021-12-08 17:06:24 +00:00
Matt Westcott 432b5b2e30 Release note for #7704 in 2.15.2 2021-12-08 16:28:08 +00:00
Matt Westcott e27240834a Version bump to 2.15.2 2021-12-08 16:25:51 +00:00
Justin Michalicek 118ec0c80b Fix transform operations in Filter.run() when image has been re-oriented
* Fix transform operations in Filter.run() when image has been re-oriented

Add an optional `transform_width` and `transform_height` arguments to
`wagtail.images.models.Filter.get_transform().
If both are passed in, then use them otherwise image.width and
image.height for the ImageTransform

* * Changed dimension arguments on Filter.get_transform() to be a tuple of (width, height).
* Added test cases for wagtail.images.models.Rendition which use jpg
files with exif orientation specified to validate that the renditions
are created with the correct orientation. These tests and the images
themselves come from Willow's tests for the same functionality.

* Added rendition orientation tests for pixel positions to ensure renditions on images with exif orientation are still oriented correctly
2021-12-08 16:25:20 +00:00
Matt Westcott 3a05b9f55f get the date right... 2021-11-11 13:36:59 +00:00
Matt Westcott 8c0a9be8b0 Version bump to 2.15.1 2021-11-11 13:35:50 +00:00
Matt Westcott cdc3a8fd35 Fill in release date for 2.15.1 2021-11-11 13:34:43 +00:00
Matt Westcott 931eb3dcfc Fetch new translations from Transifex 2021-11-11 12:45:09 +00:00
Matt Westcott 9c708f51a0 Changelog note for #7703 2021-11-11 12:35:22 +00:00
Matt Westcott 764eb14a38 Ensure csrf token is available on dashboard panels
Fixes #7688
2021-11-11 08:30:04 +10:00
Matt Westcott 75aef224c2 Release note for #7702 2021-11-10 21:08:01 +00:00
Matt Westcott 066bed8dd3 Fix bulk page publishing
Fixes #7690. We need to retrieve the specific page instance before `save_revision`, or we'll end up clearing the subclass's fields (resulting in a ValidationError if any were required, or a published version with blanked fields if not).
2021-11-10 21:07:22 +00:00
Matt Westcott 6118600532 Release note for #7701 in 2.15.1 2021-11-10 16:06:20 +00:00
Matt Westcott 12a3aa49a7 Fix stray bulk action checkboxes on non-explorer page listings
Fixes #7681. Rather than a hide_bulk_actions flag that non-explorer views have to add to get the old behaviour, use a show_bulk_actions flag that's enabled on the views that do want it.
2021-11-10 16:04:06 +00:00
Matt Westcott 131b429f31 Release note for #7695 in 2.15.1 2021-11-10 12:05:03 +00:00
Serafeim Papastefanos 5eb6cb00e4 Update setup.py to use django-filter latest version
The django-filter package has changed its versioning from a semver to a year based one. The latest version (21.1) is the same as the old one that wagtail supported (2.4): https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst 

So we could just bumb the requirement to `<=22` (I think it's fine to use that because the readme claims that breaking changes will be introduced to version+2 so breaking versions for v.21 will be introduced to v.23)
2021-11-10 12:03:51 +00:00
Matt Westcott 6933a9212d Changelog note for #7694 in 2.15.1 2021-11-09 20:57:39 +00:00
Jake Howard 09fb97104a Remove stray extra format placeholder
Presumably this was previously going to contain the exception. That's not necessary as the subsequent `raise` will make it visible.
2021-11-09 20:55:07 +00:00
Matt Westcott a7beb3ac01 Update latest.txt with 2.15 LTS 2021-11-04 12:08:22 +00:00
Matt Westcott a8e1a90e74 Fill in release date for 2.15 2021-11-04 11:25:49 +00:00
Matt Westcott edf3572b18 Version bump to 2.15 final 2021-11-04 11:24:30 +00:00