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

1688 Commits

Author SHA1 Message Date
Matt Westcott
a28376a5c9 Give 404 pages a meaningful HTML title in project template (#7262)
Improve the generation of `<title>` tags as follows:

* use `page` in preference to `self` (self has been semi-deprecated ever since we added jinja2 support)
* Retrieve current site with `{% wagtail_site %}` rather than page.get_site so that it works on non-pages such as 404s
* Fill in the 'title' block on 404.html
2021-06-21 14:53:08 +01:00
Michael Brown
30ec4631d2 Disable image/document Update button on click (#6676) 2021-06-18 16:58:19 +01:00
Chris Pollard
5f7181e05d Fix: Prevent 500 error when filtering by content_type. (#6755) 2021-06-18 16:42:42 +01:00
Jake Howard
d5b955b0e4 Exclude root pages from ModelAdmins (#7213)
Previously, this would fail, as `user_can_copy_obj` doesn't handle root
pages. Root pages also are special in a number of ways, and handling
copying is tricky and non-obvious.

If someone needs to show root pages (for some reason), they'll have to
special case them themselves.
2021-06-18 14:10:39 +01:00
Matt Westcott
74e3c1764f Release note for CVE-2021-32681 in Wagtail 2.13.2 2021-06-17 11:32:07 +01:00
Matt Westcott
f108167111 Release note for CVE-2021-32681 in Wagtail 2.12.5 2021-06-17 11:31:34 +01:00
Matt Westcott
5954921cdf Release note for CVE-2021-32681 in Wagtail 2.11.8 2021-06-17 11:31:28 +01:00
Chris Pollard
c9a55d8b1b Fix tagged page page copy regression in _copy_m2m_relations (#7224)
Fixes #7230
2021-06-11 14:08:55 +01:00
Matt Westcott
4abb53275b Fill in release date for 2.13.1 2021-06-01 15:51:13 +01:00
Matt Westcott
9f4b9f36c9 Release note for #7223 in 2.13.1 2021-06-01 14:05:04 +01:00
Alex
fd4ed6aaeb Fix order
This change fixes promotion pages order.
2021-05-30 14:47:33 +02:00
Matt Westcott
7c6db207a8 Release note for #7216 in 2.13.1 2021-05-28 16:48:52 +01:00
Matt Westcott
a56143b90b Add release note for #7212 in 2.13.1 2021-05-28 16:39:24 +01:00
Matt Westcott
de9588590b Allow workflows to be disabled (#7218)
Introduce a WAGTAIL_WORKFLOW_ENABLED setting; when false, the workflow report and settings menus are hidden, permissions are not registered, moderation-related dashboard panels on the homepage are skipped, workflow actions on add/edit page are hidden, and model methods such as page.current_workflow_state return None / False immediately without any db queries.
2021-05-26 19:23:28 +01:00
Matt Westcott
4dc68550bc
Reorganise snippet admin URLs to avoid ambiguous paths (#7208)
* Reorganise snippet admin URLs to avoid ambiguous paths

Snippet admin views allow for arbitrary strings as primary keys, and the current URL patterns don't adequately namespace these from reserved words like 'add' - for example, a snippet with the primary key 'add' would have an edit URL that collides with the add view at `/admin/snippets/foo/bar/add/`.

This is unlikely to come up in practice, but it does mean that our urlconf is more sensitive to ordering than it needs to be. Rearrange so that the verb (add, edit, delete) consistently comes before the pk, and add redirects to handle the legacy URLs.

* Release notes for #7208

Co-authored-by: Storm Heg <storm@stormheg.co>
2021-05-25 17:22:07 +02:00
Karl Hobley
4daeed1bf5 Add locale filter into snippet chooser (#6699) 2021-05-17 13:24:03 +01:00
Matt Westcott
08be45dbd9 Release note for #7180 2021-05-17 12:32:19 +01:00
Helen Chapman
868f19c95d
Prevent “Forgotten password” link from overlapping with field on mobile devices (#6748)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-05-14 22:26:44 +01:00
Matt Westcott
53ab6741b5 Fill in release date for 2.13 2021-05-12 14:58:08 +01:00
Matt Westcott
aa2d10c713 Release note for #6477 2021-05-11 15:05:59 +01:00
Storm Heg
4d67cc8bb3
Add release notes for #7126 2021-05-04 21:16:11 +02:00
Matt Westcott
85c97fe87f Drop support for Django 2.2 2021-04-30 10:33:41 +01:00
Karl Hobley
ab485064e9 Changelog / release note for #7069 2021-04-26 16:56:39 +01:00
Matt Westcott
5885494908 Move #6962 release note to 2.14 2021-04-23 12:52:21 +01:00
Storm Heg
22bb5746bd
Changelog / release note for #6962 2021-04-23 11:59:17 +02:00
Karl Hobley
06be13fda0 Changelog / release note for #7077 2021-04-22 17:29:24 +01:00
Karl Hobley
feab09a6d6
Start 2.14 (#7081)
* Version bump to start work on 2.14

* Removed StreamValue.stream_data and StreamValue.TupleView

* Rotate deprecation warning classes

* Set up changelog and release notes for 2.14

* Changelog / release note for #7023

* Add 2.14 to the compatibility table in the upgrading guide
2021-04-22 17:10:57 +01:00
Matt Westcott
e1766874eb Finalise release notes for 2.13rc1 2021-04-20 20:28:33 +01:00
Matt Westcott
ebcb6f01c8 Release notes for #6702 / #7050 2021-04-20 18:59:13 +01:00
Jacob Topp-Mugglestone
13672e702c Add initial draft of commenting update notes (#7025)
* Add initial draft of commenting update notes

* Add code example for CommentPanel upgrade consideration

* Remove unnecessary Draftail text format upgrade note
2021-04-20 18:25:30 +01:00
Coen van der Kamp
3b3ae52509 Add Sphinx theme changelog and release notes 2021-04-20 11:45:19 +02: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
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
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
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
Martin Sandström
c0a84975e7 Add ability to export redirects using reports (#6305) 2021-04-15 16:37:05 +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
Andy Babic
9630967e0e Use resolve_url() instead of reverse() for pageurl fallbacks (#7002) 2021-04-14 15:26:11 +01:00
Karl Hobley
d30856d1b9 Changelog / release note for #6974 2021-04-09 11:00:49 +01:00
Matt Westcott
255a1e8641 Include submitter in workflow submitted email notification (#6976) 2021-04-07 19:42:06 +01:00
Karl Hobley
ea1dd1a44d Release note for #6908 2021-04-06 13:15:16 +01:00
Storm Heg
1ff679f861
Add wagtail.reorder audit log action
This adds a special audit message for reordering pages.

Previously, reordering pages under the same parent would show the
slighly misleading message that the page was moved to the same parent.
A special page reordered message would be more appropiate in this case.
2021-03-31 18:48:44 +02:00