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

3038 Commits

Author SHA1 Message Date
Matt Westcott
a1f882b7c9 Convert remaining gettext .format strings to old-style string formatting
As per #5548 / #6238. Fixes #6343
2020-08-21 13:26:00 +01:00
Matt Westcott
b111e100a6 Release note for #6329 2020-08-17 17:55:14 +01:00
Matt Westcott
3f1b41b823 Release note for #6319 2020-08-17 16:58:19 +01:00
Matt Westcott
46e5dbb5b0 Release note for #6322 2020-08-17 16:58:18 +01:00
Matt Westcott
58f5c29252 Add release note sections for 2.10.1 2020-08-17 16:58:18 +01:00
Matt Westcott
f1959717e9 Fill in release date for 2.10 2020-08-11 10:30:26 +01:00
Robbie Mackay
437e3b9258 Replace unidecode with anyascii in wagtail.core.utils.string_to_ascii
- Add anyascii to replace unidecode
- Update wagtail.core.utils.string_to_ascii to use anyascii.
- Anyascii has a similar but not exactly the same encoding - see updates to tests.

Refs https://github.com/wagtail/wagtail/issues/3311
2020-08-07 17:48:58 +01:00
Matt Westcott
bb3243b9a9 Use https oembed endpoints where available
Fixes #6288
Many of the oembed endpoints currently listed with an http:// URL now redirect to https://. Changing these to https:// saves a redundant redirect and avoids failures where the http URL has been blocked (see #6288). Also simplified the patterns for matching http or https - the group in `http(?:s)?` is redundant and should just be `https?`.
2020-08-07 17:36:05 +01:00
Matt Westcott
8542f5fe9c Fix underline lengths to prevent Sphinx warnings 2020-08-07 17:23:42 +01:00
jacobtoppm
c654f0d71a Fix bulletpoint formatting, and update outdated information, particularly around available page statuses and the headings on the workflow edit view 2020-08-07 17:10:27 +01:00
jacobtoppm
5d8caaf096 Update editor manual images where they show the old edit/workflow admin views before revamp 2020-08-07 17:10:26 +01:00
jacobtoppm
e85f16b500 Add a use case example for WAGTAIL_WORKFLOW_CANCEL_ON_PUBLISH=False 2020-08-07 17:10:24 +01:00
jacobtoppm
b10b24a7b6 Update descriptions of the editing interface and workflow management for consistency. Note that screenshots are not yet updated 2020-08-07 17:10:23 +01:00
Karl Hobley
de6d14a667 Release notes for #6267 and #6268 2020-08-07 15:51:09 +01:00
Karl Hobley
9ad14ea439
Add hooks for snippet listing buttons 2020-08-07 15:47:27 +01:00
Karl Hobley
9b02147d3e Add hooks.register_temporarily for testing hooks
There's currently a number of places where we test hooks by registering
hook functions from test methods. These are never cleaned up so that
hook remains registered in future tests. This can cause issues with
tests not working consistently when you run a subset of the tests.

This adds a `register_temporarily` function to the hooks module. This
function can be used either as a decorator or a context manager. It'll
always remove the hook after the decorated function or with block exits,
even if it exits through an exception.
2020-08-07 15:47:04 +01:00
Matt Westcott
ba16b4125d Release note for Django 3.1 support 2020-08-06 11:26:39 +01:00
Matt Westcott
f804eba423 Formalise Django 3.1 support
Conflicts:
	wagtail/project_template/requirements.txt
2020-08-06 11:26:26 +01:00
Matt Westcott
dc2b4a5877 Add release note about populating form builder clean_name
Ref: #6093
2020-08-04 17:59:35 +01:00
Karl Hobley
cb4f98b5f1 Release note for #6290 2020-08-04 16:03:15 +01:00
Kalob Taulien
d2e196b0c5
Add wagtail --version 2020-08-03 07:21:48 -06:00
Jesse Menn
b934194622
Make page-level actions accessible to keyboard users in page listing tables (#6280)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-08-01 21:52:28 +01:00
Karl Hobley
4bf28b502c Fix docs for construct_page_listing_buttons 2020-07-31 11:14:48 +01:00
Karl Hobley
f3f932d2e5
Add before_{create,edit,delete}_snippet hooks 2020-07-30 08:08:40 +01:00
Matt Westcott
e0dc53d9ad Remove versionadded/versionchanged notes for 2.9 2020-07-28 12:53:22 +01:00
Matt Westcott
48dee654b4 Move SiteMiddleware to wagtail.contrib.legacy 2020-07-28 12:53:22 +01:00
Matt Westcott
7451500054 Add release note sections for 2.11 2020-07-28 12:53:22 +01:00
Chris Contolini
4231d9ef11
Fix minor typo in TableBlock docs (#6259)
Also a small grammatical fix.
2020-07-28 07:14:05 -04:00
Matt Westcott
622d439e6d Release note for workflow 2020-07-24 17:11:08 +01:00
Matt Westcott
d3f7ffa369 Add a variant of WorkflowAction that just collects, validates and returns form data so that the action can be performed separately 2020-07-24 16:59:33 +01:00
jacobtoppm
c79668929e Update reference documentation, custom task guide, and release notes, and fix documentation build errors 2020-07-24 16:59:33 +01:00
jacobtoppm
85e4426948 Cancel ongoing workflows when a page is published, depending on the value of a new setting, WAGTAIL_WORKFLOW_CANCEL_ON_PUBLISH. Add a warning modal before publication if a workflow will be cancelled 2020-07-24 16:59:33 +01:00
Matt Westcott
bf53123309 Fix sphinx warnings from workflow / audit log documentation 2020-07-24 16:59:33 +01:00
Matt Westcott
6f85bca664 Use % formatting for new workflow / audit log translation strings
See #5548 - Transifex recognises % formatting, and will guard against translators introducing errors by attempting to translate the embedded variable names.
2020-07-24 16:59:33 +01:00
Matt Westcott
c8a8689cee Document icon_name and classname for register_page_action_menu_item 2020-07-24 16:59:33 +01:00
Matt Westcott
ace3e1bf99 Release note for prepopulating site history logs 2020-07-24 16:59:33 +01:00
Dan Braghis
92e7330180 Update docs with current log actions and the rule of thumb for logging 2020-07-24 16:59:33 +01:00
Dan Braghis
f69287f6f4 Add documentation 2020-07-24 16:59:33 +01:00
Dan Braghis
fb0742802f Include task description in choosers, if defined (#6200) 2020-07-24 16:59:33 +01:00
Karl Hobley
edfd17a1f1 Reduce usage of edit handlers for workflow management (#6172)
* Use plain old Django forms for tasks

* Revert "Add ExcludeFieldsOnEditMixin for edit handlers, disabling specific fields when bound to an existing instance rather than creating a new one"

This reverts commit 62961b74bb.

* Move Workflow edit handler creation into Workflow forms

Only advantage of having it the way it was before is that allows
overriding the edit handler in subclasses. But nobody will be doing this
with workflows.

I've added a note into the code pointing out that we might want to
rethink using edit handlers if:

 - It gets easier to style formsets without using InlinePanel
 - We want to allow customisation of the form (the use of edit handlers
   should be considered an internal implementation detail at the moment)

* Make task name readonly but groups editable

* Update wagtail/admin/templates/wagtailadmin/workflows/task_chooser/includes/create_form.html

Co-authored-by: Dan Braghis <dan@zerolab.org>

* Update wagtail/admin/forms/workflows.py

Co-authored-by: Dan Braghis <dan@zerolab.org>

Co-authored-by: Dan Braghis <dan@zerolab.org>
2020-07-24 16:59:33 +01:00
Dan Braghis
0f58bd241a Move workflow upgrade considerations to 2.10 2020-07-24 16:59:33 +01:00
jacobtoppm
5f2dbc3ce6 Rephrase upgrade considerations note about moderation per page vs per revision 2020-07-24 16:59:33 +01:00
jacobtoppm
df3a63c7a2 Add new page methods and updated workflow state methods 2020-07-24 16:59:33 +01:00
jacobtoppm
2dbd4f8138 Fix dashboard docs 2020-07-24 16:59:33 +01:00
jacobtoppm
8148c79c28 Fix update considerations formatting and link to admin management guide 2020-07-24 16:59:33 +01:00
jacobtoppm
2037e8c089 Update images in documentation 2020-07-24 16:59:33 +01:00
jacobtoppm
dde1507da1 Fix typos 2020-07-24 16:59:33 +01:00
jacobtoppm
16966b195b Add example of field belonging on custom TaskState, and fix typos 2020-07-24 16:59:33 +01:00
jacobtoppm
d14563dfd5 Remove version reference 2020-07-24 16:59:33 +01:00
jacobtoppm
8911bd30d7 Add workflow models to reference 2020-07-24 16:59:33 +01:00