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

3399 Commits

Author SHA1 Message Date
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
Bojan Mihelac
0dfc342d66 Small fix in doc for routablepage 2021-05-19 15:15:49 +01:00
Karl Hobley
13b8b1b7b8 Update JavaScript guidelines to say two space indent 2021-05-17 15:26:10 +01: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
Matt Westcott
a982ebe9f2 Documentation for image rendition properties including full_url 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
Karl Hobley
8e25960972
Telepath set up for new sidebar
* Add ability to register multiple hooks with register_temporarily

It's not possible to add multiple items in a ``with`` block in multiple
lines. So to register multiple hooks, you either need to put them all on
one line or add many nested ``with`` blocks.

This commit adds the ability to pass in a list of hooks into one call.
This works around the syntax error, but there's still no way to
represent this in a way that flake8 is happy with so I've added
``#noqa`` in a few places.

* Telepath set up for new sidebar

* unindent hooks.register_temporarily with blocks

Co-authored-by: Matt Westcott <matt@west.co.tt>

* Update wagtail/core/telepath.py

Co-authored-by: Matt Westcott <matt@west.co.tt>

Co-authored-by: Matt Westcott <matt@west.co.tt>
2021-05-14 16:16:55 +01:00
Matt Westcott
53ab6741b5 Fill in release date for 2.13 2021-05-12 14:58:08 +01:00
Matt Westcott
7b0b8e2eb6 Add note about incompatibility with other streamfield replacement packages 2021-05-12 12:03:02 +01:00
Matt Westcott
004bcf2650
Add documentation for custom JS on StructBlocks (#7164)
* Document the need for data-contentpath with StructBlock.form_template

* Add documentation for custom JS on StructBlocks
2021-05-12 11:52:25 +01:00
Dan Braghis
df772cffea
Add feedback section in the release notes (#7183) 2021-05-12 11:22:26 +01:00
Thibaud Colas
d58c90db5d
Update accessibility contribution guidance in bug report and PR templates (#7142)
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2021-05-11 16:57:29 +01:00
Matt Westcott
aa2d10c713 Release note for #6477 2021-05-11 15:05:59 +01:00
Matt Westcott
c1f1c2e95c Copyediting for group view customisation docs 2021-05-11 14:56:33 +01:00
Jan Seifert
9dda314263 Allow GroupViewSet to be customised (#6477) 2021-05-10 14:43:53 +01:00
fabienheureux
6d01ced56b
Fix usage of html syntax instead of html+django (#7138) 2021-05-05 11:08:40 +01:00
Storm Heg
4d67cc8bb3
Add release notes for #7126 2021-05-04 21:16:11 +02:00
Matt Westcott
9d29ba862c Document idForLabel on the telepath widget API
Fixes #7145
2021-05-04 16:01:01 +01:00
jacobtoppm
59f63abdad Add documentation for commenting 2021-04-30 17:46:08 +01:00
Matt Westcott
85c97fe87f Drop support for Django 2.2 2021-04-30 10:33:41 +01:00
Matt Westcott
6f87665735 Remove Django 2.2 from Wagtail 2.14 compatibility list 2021-04-29 10:31:39 +01:00
Matt Westcott
e316d1f424 Add note about end of Django 2.2 support 2021-04-29 10:30:52 +01:00
jacobtoppm
24899dddb8 Add WAGTAILADMIN_COMMENTS_ENABLED default to docs 2021-04-28 10:08:13 +01:00
jacobtoppm
9728fab70e Add WAGTAILADMIN_COMMENTS_ENABLED setting 2021-04-27 19:28:51 +01:00
Tibor Leupold
9ea40ed705
Docs: Covert "topics - pages" from RST to MD (#6870) 2021-04-27 16:18:34 +02: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
01d8185459
fixup! Changelog / release note for #6962 2021-04-23 12:11:14 +02: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
Jaap Roes
aafd32b66f
Fix #7007: Add ancestor_of API filter (#7077)
* Fix #7007: Add ancestor_of API filter

* Alter descendant_of_with_type test to find at least one page
2021-04-22 17:23:26 +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
Thibaud Colas
90a98f0cf5
Add search details and contributors to theme release notes (#7062) 2021-04-21 15:23:56 +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
Karl Hobley
ab8608a74f Docs for customising account settings 2021-04-20 18:43:22 +01:00
Karl Hobley
63c536eef3 Move CommentPanel to settings_panels
Pages often completely override content_panels since there is only one
field by default.

Moving CommentPanel to settings_panels means it's less likely to be
overriden by mistake.
2021-04-20 18:25:30 +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
jacobtoppm
7907aff7ff Use CSS variables for comment highlight colours 2021-04-20 18:25:30 +01:00
Tom Dyson
b48c6dab58 Replace Divio with Gitpod
The Divio demo environment no longer exists, as far as I can tell.
2021-04-20 17:19:33 +01:00
Coen van der Kamp
3b24868bf2 Add release note about reporting theme issues 2021-04-20 12:31:26 +02:00
Coen van der Kamp
3b3ae52509 Add Sphinx theme changelog and release notes 2021-04-20 11:45:19 +02:00
Coen van der Kamp
ed4ed7a338
Add Sphinx Wagtail Theme (#6930)
Add Sphinx Wagtail Theme
2021-04-20 11:24:17 +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