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

12307 Commits

Author SHA1 Message Date
Jake Howard
0a9b23979b Update links to wagtail.io website to point to wagtail.org
This covers only links to the website, not other sites
2022-01-15 20:23:44 +10:00
Jake Howard
e9183a95c8 Update docs links to reference new domain 2022-01-15 20:04:24 +10:00
LB (Ben Johnston)
1deed5f5af
Rename admin/expanding-formset.js (using kebab-case file) (#7833) 2022-01-15 01:00:02 +00:00
LB (Ben Johnston)
a7aabf76ac
modal-workflow - block additional opens & add trigger focus management (#7568). Fix #4006
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-15 00:47:23 +00:00
Matt Westcott
317f100a78 Release note for #7805 2022-01-14 17:21:27 +00:00
Matt Westcott
ec84b35761 Update move_breadcrumb markup to match explorer breadcrumb 2022-01-14 17:07:50 +00:00
Tidiane Dia
d2c1392281 Include root and current section in breadcrumb 2022-01-14 17:07:50 +00:00
Tidiane Dia
d927343ca8 Add test 2022-01-14 17:07:50 +00:00
Tidiane Dia
bc7e116c75 Style move breadcrumb 2022-01-14 17:07:50 +00:00
Tidiane Dia
92477fb840 Add move breadcrumb 2022-01-14 17:07:50 +00:00
Tidiane Dia
a78996042e Set default page level to parent of page to move instead of root 2022-01-14 17:07:50 +00:00
Thibaud Colas
4809621259 Use more findable token for code to be removed
Co-authored-by: Karl Hobley <karl@kaed.uk>
2022-01-14 15:59:37 +00:00
Thibaud Colas
1547f0a6d3 Add borders to critical sidebar components for high-contrast mode 2022-01-14 15:59:37 +00:00
Thibaud Colas
df47d8650e Improve focus outline styles within sidebar 2022-01-14 15:59:37 +00:00
Thibaud Colas
1341b3c9c9 Implement support for branding_logo sidebar customisation in slim sidebar 2022-01-14 15:59:37 +00:00
Thibaud Colas
036fd3a4ac Fix visible scrollbars in new slim sidebar. Fix #7742 2022-01-14 15:59:37 +00:00
Karl Hobley
5e9525c92f Make API representation of Page.alias_of more consistent
This commit changes the API representation of Page.alias_of to match
Page.parent to improve consistency.

As the current implementation of Page.alias_of isn't released yet, we
can update this without concern for backwards compatibility.
2022-01-14 15:53:55 +00:00
Matt Westcott
917561355a Skip WAGTAILFORMS_HELP_TEXT_ALLOW_HTML test on Django 4.0 - 4.0.1
An unintended regression in these versions causes help text to be always escaped: https://code.djangoproject.com/ticket/33419
2022-01-14 14:23:56 +00:00
Matt Westcott
d596c4b99e Use assertTemplateUsed for redirect import view tests
In Django 4.0 the page template is not consistently the first item in response.templates.
2022-01-14 14:23:56 +00:00
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