Wykres commitów

11 Commity (9f084fff6d1940a095d9ff2b3b86c4ae2bc397d2)

Autor SHA1 Wiadomość Data
Thibaud Colas 75b73b2bf6
Fix typo in inline code formatting (#6783) 2021-02-04 17:26:21 +00: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
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
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 832e0be8e0 Add task_state_class specification for custom tasks to docs 2020-07-24 16:59:33 +01:00
jacobtoppm b508001336 Add developer guide to new Task types 2020-07-24 16:59:33 +01:00
jacobtoppm b8c70163ca Add custom_tasks.rst 2020-07-24 16:59:33 +01:00