Wykres commitów

12174 Commity (stable/2.15.x)

Autor SHA1 Wiadomość Data
Matt Westcott fd2ad63362 fix formatting of 2.15.6 release notes 2022-09-05 13:19:12 +01:00
Matt Westcott dee117da68 Version bump to 2.15.6 2022-09-05 13:13:52 +01:00
Matt Westcott 65d2a6cdb2 Add release notes for 2.15.6 2022-09-05 13:13:22 +01:00
Matt Westcott 721e5ba0df Fix deep_update for Python 3.10
This is only used by the Elasticsearch backend, so we were missing test runs for it over all Python versions.
2022-09-02 16:29:02 +01:00
Matt Westcott 3a08d5e57d Pin flake8 to a version that's known good against the 2.15 codebase 2022-09-02 11:38:11 +01:00
Stefan Hammer f13ae5a3d8 Improve locked_by-filter for locked pages report, fixes #9116
It now only displays users, which have actually locked something.
2022-09-02 11:17:49 +01:00
Karl Hobley 98d2a1f563 Set referer policy of upgrade notifcation to "strict-origin-when-cross-origin"
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
- Since Django 3.1, all Wagtail admin responses have been given a referer-policy: same-origin header. See: https://chipcullen.com/django-3-referrer-policy-change/
- #8560
2022-05-19 19:07:12 +10:00
Matt Westcott 0549d9cda6 Version bump to 2.15.5 2022-04-11 14:38:24 +01:00
Matt Westcott cd19e4dc49 Fill in release date for 2.15.5 2022-04-11 14:38:06 +01:00
Dan Braghis 0b6bd865e9 Ignore GenericRelation in page copy
Co-Authored-By: John-Scott Atlakson <john-scott@greenlightgo.co>
2022-04-10 09:50:46 +01:00
Dan Braghis 2559d57c13
Fix IntegrityError for Orderable translation key on copy (#8321)
tl;dr - EditView builds the page instance from its latest revision and that is what is passed to the form and ultimately submitted.

In order to test the `translation_key`s for orderables, we need to be as close to it as possible, a simple `page.copy()` then `page.save_revision().publish()` doesn't capture the subtleties

Co-authored-by: Kalob Taulien <4743971+KalobTaulien@users.noreply.github.com>
2022-04-10 09:28:25 +01:00
Matt Westcott 1fdf8d299f Release note for #8293 2022-04-06 17:36:48 +01:00
Jake Howard 20336adfaf Prefetch specific model instances
This reduces the number of queries performed during delete, slightly.
2022-04-06 17:29:44 +01:00
Jake Howard ee03f9d975 Log delete for all descendents of pages, not just direct children
This leads to a misleading audit log, where some pages aren't shown as being deleted
2022-04-06 17:29:44 +01:00
Matt Westcott a405beba24 missing word 2022-04-06 13:20:29 +01:00
Matt Westcott 89aec120a9 Add upgrade note about Jinja2 compatibility to 2.15.5 release notes 2022-04-06 13:11:22 +01:00
Matt Westcott 798e7bd639 Test against jinja2 3.0
New installs of the 2.x branch are currently broken due to https://github.com/pallets/jinja/issues/1585, which the maintainer of jinja apparently does not intend to fix.

(jinja2 3.1 drops compatibility shims for 2.x, which we don't want to do in an LTS backport)
2022-04-06 12:42:10 +01:00
Matt Westcott ea083af3e2 Doc formatting fixes for 2.15.5 release notes 2022-04-06 12:27:27 +01:00
Andy Chosak 6f0f188bfc Fix bulk publishing of pages without revisions
Currently bulk publishing raises an error if you include pages that
exist in the database without any revisions. This commit ensures
that a revision exists before the page is published.

Fixes issue 8187.
2022-04-01 15:06:27 -04:00
Matt Westcott ed6365ac0f Fill in release date for 2.15.4 2022-02-11 13:28:18 +00:00
Matt Westcott 5eb93c1891 Version bump to 2.15.4 2022-02-11 13:27:28 +00:00
Matt Westcott a3ecfcf987 Add release note for #7936 to 2.15.4 docs page 2022-02-10 13:41:32 +00:00
Matt Westcott 7551ebce34 Release note for #7936 in 2.15.4 2022-02-10 13:40:02 +00:00
Jake Howard 0fd344d19c Use correct syntax for image debug logging
Fixes an issue introduced in  #7391. The arguments are meant to be *args, not a tuple.
2022-02-10 13:38:56 +00:00
Dennis McGregor 773fd0b22a Apply unlocalize filter to bulk action object ids
- Bulk Actions were failing for objects with id > 999 in projects with
- Django settings `USE_L10N` and `USE_THOUSAND_SEPARATOR` enabled.
- Test bulk action checkboxes handle USE_THOUSAND_SEPARATOR setting
- see #7914
2022-02-10 20:03:34 +10:00
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