0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

12538 Commits

Author SHA1 Message Date
Matt Westcott
a7f53a0dca Upgrade taggit to 2.x 2022-01-14 14:23:56 +00:00
Matt Westcott
d6d43338ef Drop support for Django <3.2 2022-01-14 14:23:56 +00:00
Matt Westcott
e27af42fdf Add no-op migrations for taggit tag fields as detected by Django 4.0
see https://github.com/jazzband/django-taggit/issues/784, https://docs.djangoproject.com/en/4.0/releases/4.0/#migrations-autodetector-changes
2022-01-14 14:23:56 +00:00
Matt Westcott
daa46b216c Fix BaseDeleteView subclassing for Django 4.0
As of Django 4.0 BaseDeleteView has switched to a new implementation based on FormMixin where custom deletion logic now lives in form_valid:
https://docs.djangoproject.com/en/4.0/releases/4.0/#deleteview-changes

Here we copy the Django 4.0 implementation for use on older Django versions to keep everything consistent, and provide a delete_action method for views that override wagtail.views.generic.models.DeleteView further (e.g. the workflow deactivation views).
2022-01-14 14:23:56 +00:00
Matt Westcott
44963d87d0 Fix TextIDGenericRelation.get_extra_restriction for Django 4.0 compatibility 2022-01-14 14:23:56 +00:00
Matt Westcott
f94c7ac76b Use urllib.parse.quote instead of django.utils.http.urlquote 2022-01-14 14:23:56 +00:00
Matt Westcott
5a3be388c0 Handle rename of lookup_needs_distinct to lookup_spawns_duplicates in Django 4.0
baba733dcc
2022-01-14 14:23:56 +00:00
Matt Westcott
e953de9cb2 Fix Github Actions setup to install Django after Wagtail
This way, if the Django version is outside Wagtail's supported range (e.g. we're testing against Django's git main), it won't get silently downgraded.
2022-01-14 14:23:56 +00:00
Matt Westcott
d450621a42 Add changelog entry for #7847 to 2.16 docs page 2022-01-14 11:38:22 +00:00
Matt Westcott
88150bf8d3 Increase Pillow dependency range to include 9.x (#7831)
Fixes #7817
2022-01-14 11:25:54 +00:00
Tidiane Dia
f3f35f6322 Add workflow submitted by data in home panel 2022-01-14 11:08:25 +00:00
Matt Westcott
4550bba562 Release note for non-fts sqlite support 2022-01-14 10:18:15 +00:00
Matt Westcott
6177a6cc20 Allow running wagtailsearch migration 0006 in reverse when the index table is missing 2022-01-14 10:18:15 +00:00
Matt Westcott
f2e5ff9e0a 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:18:15 +00:00
Matt Westcott
7d0376bda4 Preserve original exception output when catching OperationalError 2022-01-14 10:18:15 +00:00
Matt Westcott
4c3b5b808d Skip sqlite search backend tests if fts5 is unavailable 2022-01-14 10:18:15 +00:00
Matt Westcott
155fca9e7e Add alternative warning if sqlite is >=3.19 but is missing fts5 support 2022-01-14 10:18:15 +00:00
Matt Westcott
019b8ca43e 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:18:15 +00:00
Matt Westcott
4248d406c0 Test for presence of fts5 extension in sqlite backend initialisation and migration 2022-01-14 10:18:15 +00:00
Thibaud Colas
cc90ec62b7
Add missing browserslist update for #7858 2022-01-14 10:13:25 +00:00
Jake Howard
a0c2000c30
Add chagelog entry for #7847
#7859
2022-01-14 09:19:15 +00:00
Jake Howard
dd412eab5d Keep releases in existing bucket
This makes the infrastructure easier, and reduces the things to transition
2022-01-14 11:34:29 +10:00
Jake Howard
feaf39332f Update the release URL to the new .org domain 2022-01-14 11:34:29 +10:00
Thibaud Colas
5a9761a70f Update browser support targets following UI team discussion
Small but important changes:

- We should always be testing in Windows, even if MS Edge is now available on macOS as well.
- We should make a better effort to support older Safari releases, as Safari is tied to OS updates, and device management isn’t always keeping up with releases
2022-01-14 11:31:58 +10:00
Matt Westcott
e3c2237ccc Release note for #7837 2022-01-13 10:56:03 +00:00
Dan Braghis
3e6ffc5b78 Simplify based on code review 2022-01-13 10:55:28 +00:00
Dan Braghis
3a0037070b Drop the "Explorer" heading in page chooser 2022-01-13 10:55:28 +00:00
Dan Braghis
ec5be4aa7c Add locale label as first item in the page chooser breadcrumb 2022-01-13 10:55:28 +00:00
Dan Braghis
e5a42b0969 Tidy up the page chooser breadcrumb
Was funny before, but went haywire after https://github.com/wagtail/wagtail/pull/7783
2022-01-13 10:55:28 +00:00
Dan Braghis
b373cacd6a Include locale labels in the page chooser listing 2022-01-13 10:55:28 +00:00
Dan Braghis
85e5864992 Add locale labels in search results 2022-01-13 10:55:28 +00:00
Dan Braghis
6f5fa46c16 Include the locale label in explorer root 2022-01-13 10:55:28 +00:00
LB Johnston
4de5f3652c fix all basic linting rules (mostly formatting) 2022-01-13 07:50:24 +00:00
LB Johnston
5e321ac065 update eslint config & add fix script to package.json 2022-01-13 07:50:24 +00:00
Martin Coote
f8d76b4bd1
Improve implementations of visually-hidden text in explorer and main menu toggle (#5793). Fix #5269
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-13 07:42:28 +00:00
Wicked
88c7d46282
Improve the visibility of field error messages, in Windows high-contrast mode and out (#7663) Fix #7241
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-13 06:46:35 +00:00
Thibaud Colas
4e5d130dbb Fix sidebar toggle compatibility with messages 2022-01-12 16:46:08 +00:00
Thibaud Colas
7e4745fd38 Add mobile support for sidebar sub-panels 2022-01-12 16:46:08 +00:00
Thibaud Colas
bdc265d8e2 Fix sidebar sub-menus appearing below action footer 2022-01-12 16:46:08 +00:00
Thibaud Colas
6db5561044 Fix sidebar getting obscured by messages banners 2022-01-12 16:46:08 +00:00
Thibaud Colas
9659ac73ec Fix rendering of sidebar language picker in slim sidebar. Fix #7806 2022-01-12 16:46:08 +00:00
Thibaud Colas
6f43b4f3e8 Fix "click outside dismiss" implementation in slim sidebar 2022-01-12 16:46:08 +00:00
Thibaud Colas
66591d39ed Fix slim sidebar rendering when User object has no attribute first_name. Fix #7716 2022-01-12 16:46:08 +00:00
Thibaud Colas
439770927f Fix sidebar MenuItem rendering 2022-01-12 16:46:08 +00:00
Thibaud Colas
c37ff082b7 Remove disused LinkMenuItem peeking and tooltip implementation 2022-01-12 16:46:08 +00:00
Thibaud Colas
962c820fc3 Render SubMenuItem toggles as buttons rather than <a> 2022-01-12 16:46:08 +00:00
Thibaud Colas
7c4b82bb8e Add ARIA markup for sidebar regions and toggle buttons 2022-01-12 16:46:08 +00:00
Thibaud Colas
dab2ad3b3f Fix account menu items not being marked as active 2022-01-12 16:46:08 +00:00
Thibaud Colas
57a9e58766 Implement aria-current for sidebar links 2022-01-12 16:46:08 +00:00
Thibaud Colas
5718dab4de Support right-click and middle-click interactions with sidebar links 2022-01-12 16:46:08 +00:00