0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

11176 Commits

Author SHA1 Message Date
Matt Westcott
7a741d770f Fix draftail focus test to use a fake timer 2021-04-20 09:46:45 +01:00
Matt Westcott
f26f65a755 Convert NodeList to array before running forEach
Makes it work on IE11. Fix borrowed from https://github.com/wagtail/wagtail/pull/6109/files#r435561917
2021-04-20 09:46:45 +01:00
Matt Westcott
b1c8142181 Delay focus on draftail widget for 50ms
This avoids an IndexSizeError on IE11 https://github.com/wagtail/wagtail/pull/6968#issuecomment-822591161 , apparently due to the focus triggering a field update before it has been fully initialised.
2021-04-20 09:46:45 +01:00
Matt Westcott
f8299885aa Remove deprecated providing_args options on signals 2021-04-19 12:03:39 +01:00
Matt Westcott
db1305f94c Fix API tests with an empty order_by clause
This works around a Django bug apparently introduced in 779e615e36
2021-04-19 12:03:39 +01:00
Matt Westcott
8d008bcfaf Ignore noise from warnings in test_check_invalid_base_form_class 2021-04-19 12:03:39 +01:00
Matt Westcott
b455c659b7 Add default_auto_field to appconfigs to silence warnings 2021-04-19 12:03:38 +01:00
Matt Westcott
38f0cb44a4 Fix github action syntax 2021-04-19 12:03:38 +01:00
Matt Westcott
e99c07a42e upgrade circleci python image to see if it fixes sqlite compatibility 2021-04-19 12:03:38 +01:00
Matt Westcott
8f5a2a8fe9 Formalise support for Django 3.2
Fixes #6981
2021-04-19 12:03:38 +01:00
Ihor Marhitych
deeb771032 Save revision when restart workflow (#6990) 2021-04-19 11:02:49 +01:00
Dan Braghis
b21557319c Release notes for #6946 2021-04-19 10:49:55 +01:00
Ihor Marhitych
37f4d4bab1 Do not instantiate PagePermissionTester for every ActionMenuItem 2021-04-19 10:44:30 +01:00
Ihor Marhitych
3bf8d12298 Use fewer db queries when checking current_workflow_task 2021-04-19 10:43:18 +01:00
Matt Westcott
00aea17030 Fill in release date for 2.12.4 2021-04-19 10:10:42 +01:00
Matt Westcott
b3f3df2764 Release note for CVE-2021-29434 in 2.11.7 2021-04-19 10:09:57 +01:00
Matt Westcott
a44312f48f Release note for CVE-2021-29434 in 2.12.4 2021-04-19 09:59:01 +01:00
Matt Westcott
57ccd4a86c Disallow links with unrecognised protocols in contentstate 2021-04-19 09:49:46 +01:00
Matt Westcott
177bc51cd6 Add release notes for 2.12.4 2021-04-19 09:45:19 +01:00
Scott Cranfill
42ddd8ad55
Apply chevron padding fix to all applicable select elements (#6980)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-04-16 21:02:36 +01:00
Matt Westcott
f2be408f62
Fix wagtailembeds thumbnail_url migration for MySQL 8.0.13 (#6999)
* Upgrade mysql to 8.0.23 for github actions

* Fix thumbnail_url migration to work on Django 3 / MySQL 8.0.13+

Work around https://code.djangoproject.com/ticket/32503 by applying the not-null constraint before converting to TextField.
2021-04-16 21:41:32 +02:00
Thibaud Colas
88cebcd43a
Make all Collection form fields translate-able (#6739) 2021-04-16 17:31:38 +01:00
Storm Heg
e7942a05ad
Choosers: refactor to use SVG icons (#6998)
* Choosers: refactor to use SVG icons

Refactored non-deprecated choosers to use SVG icons. Custom choosers can
also supply their own svg icons using the `chosen_icon` and
`unchosen_icon` blocks.

We are keeping the relevant icon font css for custom choosers around to
prevent breaking existing custom choosers.

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-04-16 15:43:13 +01:00
Matt Westcott
02ad797673 Support slicing on StreamValue (#7013)
Fixes #7012
2021-04-16 14:41:49 +01:00
Thibaud Colas
ca48709e5c
Lock nav and page scroll together only when search autocomplete is open. Fix #6935 (#7015) 2021-04-16 14:18:59 +01:00
Matt Westcott
cc9310220a Fix documentation build warnings 2021-04-15 17:17:11 +01:00
Matt Westcott
1b451ae001 placate isort 2021-04-15 16:47:27 +01:00
Martin Sandström
c0a84975e7 Add ability to export redirects using reports (#6305) 2021-04-15 16:37:05 +01:00
Karl Hobley
7423d72efe Raise an error on save if a LogEntry is created with invalid action
This is just to catch mistakes as they're made. Not intended for database consistency.
2021-04-15 14:17:22 +01:00
Karl Hobley
f2f6167f5d Allow different registries to be created for different object types 2021-04-15 14:17:17 +01:00
Karl Hobley
8a80196456 Moved LogActionRegistry into wagtailcore
Since logs are generated and stored in wagtailcore, I think it makes
sense for the list of available actions to be managed there too.
2021-04-15 13:58:02 +01:00
Matt Westcott
68862b5c79 Add missing changelog note for telepath streamfield 2021-04-15 11:09:51 +01:00
Karl Hobley
dd3caad56d Release note for #6528 2021-04-15 11:07:41 +01:00
Matt Westcott
10d106ab43 Upgrade telepath to 0.0.3 for ES5 compatibility 2021-04-14 20:58:40 +01:00
Andy Babic
9630967e0e Use resolve_url() instead of reverse() for pageurl fallbacks (#7002) 2021-04-14 15:26:11 +01:00
Coen van der Kamp
b1b69360a3
Add contrib simple translation (#6528) 2021-04-14 08:56:00 +01:00
Daniele Procida
4f8ef843d0 Update links to Diátaxis framework
Information about the documentation system is now maintained and updated
at https://diataxis.fr.
2021-04-12 14:34:04 +01:00
Karl Hobley
d30856d1b9 Changelog / release note for #6974 2021-04-09 11:00:49 +01:00
Dan Braghis
0ac4a989dc
Add CodeQL workflow (#6977)
CodeQL is GitHub's vulnerability scanning tool - https://codeql.github.com/docs/
2021-04-09 10:34:16 +01:00
Matt Westcott
485cf7e1cc Add Vlad Podgurschi to contributors list 2021-04-08 17:04:21 +01:00
Matt Westcott
255a1e8641 Include submitter in workflow submitted email notification (#6976) 2021-04-07 19:42:06 +01:00
dependabot[bot]
2fe5683744 Bump y18n from 3.2.1 to 3.2.2
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-07 09:13:44 +01:00
Karl Hobley
e01ee0bfc9 Use switch input widget on notifcation preferences form 2021-04-07 09:10:12 +01:00
Karl Hobley
46f4c935d8 Add switch widget 2021-04-07 09:10:12 +01:00
Thibaud Colas
b171cb2f5a Move the IE11 support warning to the top of all Wagtail pages (#6947) 2021-04-06 23:43:02 +01:00
Karl Hobley
b6685e7d93 Pin docutils to 0.16 2021-04-06 18:32:38 +01:00
Karl Hobley
940a36db47 Tidy up page editor inline JS
Put it all in one function
Fix the indentation
Remove extraneous calls to `document.addEventListener`
2021-04-06 13:47:03 +01:00
Karl Hobley
ea1dd1a44d Release note for #6908 2021-04-06 13:15:16 +01:00
Mike Brown
f0e2371c85
Fix reverse migration errors in images and documents (#6908)
* Fix reverse migration errors in images and documents

* iterate on choose_permission migration

Co-authored-by: Michael Brown <michael.brown3@oig.hhs.gov>
2021-04-06 09:25:41 +01:00
Karl Hobley
e973c3d544 Add a faint grey background on unfocused block headers 2021-04-01 17:26:36 +01:00