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

10223 Commits

Author SHA1 Message Date
Matt Westcott
3cb8b90a0d Implement filtering on workflow reports 2020-07-24 16:59:33 +01:00
Karl Hobley
f46848e201 Add export configuration for workflow reports 2020-07-24 16:59:33 +01:00
Matt Westcott
984eb4efcf Refactor workflow reports to be based on reports base template 2020-07-24 16:59:33 +01:00
jacobtoppm
b2fba99817 Raise 404 if failing to find specified page or task for previewing during moderation 2020-07-24 16:59:33 +01:00
jacobtoppm
dec7f8ed46 Make workflow states cancel their active task states on cancel() 2020-07-24 16:59:33 +01:00
jacobtoppm
e0699e0a67 Remove unused view 2020-07-24 16:59:33 +01:00
jacobtoppm
21e0371b67 Split get_next_task query into multiple lines for readability
Co-Authored-By: Matt Westcott <matthew@torchbox.com>
2020-07-24 16:59:33 +01:00
jacobtoppm
e809e1f262 Formatting 2020-07-24 16:59:33 +01:00
jacobtoppm
6647825d13 Wrap mail sending in try, except block in case of connection error 2020-07-24 16:59:33 +01:00
jacobtoppm
9946e39ea7 Make selection of a task type to create take account of the potential full inheritance tree rather than just the next level, and prevent creation of abstract tasks 2020-07-24 16:59:33 +01:00
jacobtoppm
cd4fa92a35 Fix query when retrieving next task to filter out only tasks that have task states that are both attached to the current revision and completed, rather than tasks that have task states that individually fulfil both criteria 2020-07-24 16:59:33 +01:00
jacobtoppm
3834195f79 Add safe filter to task and workflow names on plain text notification templates to prevent escaping. Ensure plain text templates inherit from the plain text base templates, rather than html. 2020-07-24 16:59:33 +01:00
Matt Westcott
38629160cc Use full name for 'requested by' and test additional fields 2020-07-24 16:59:33 +01:00
Matt Westcott
7cde99e9b6 Use clipboard icon 2020-07-24 16:59:33 +01:00
Matt Westcott
69570044b1 Add test for workflow report and fix warning about paginating unordered queries 2020-07-24 16:59:33 +01:00
Matt Westcott
be8997bc18 Import bootstrap-tooltip.js instead of all of _editor_js.html 2020-07-24 16:59:33 +01:00
Karl Hobley
3ab3f5d171 Initial work on workflow report 2020-07-24 16:59:33 +01:00
jacobtoppm
c59cae51ee Remove unused Notifier subclasses, and refactor EmailNotifier into EmailNotificationMixin 2020-07-24 16:59:33 +01:00
jacobtoppm
05fafff317 Changes to make subclassing notifications for Wagtail Review simpler 2020-07-24 16:59:33 +01:00
Karl Hobley
2bd0026d49 Added get_comment overridable method to TaskState 2020-07-24 16:59:33 +01:00
Karl Hobley
92a3423350 Replace a magic string 2020-07-24 16:59:33 +01:00
Karl Hobley
2d3e3652ce Reduce amount of translatable string variations 2020-07-24 16:59:33 +01:00
Karl Hobley
f3d6dd7d43 Add finished_by field to TaskState 2020-07-24 16:59:33 +01:00
Karl Hobley
b2b8fd6eb1 Minor styling fixes 2020-07-24 16:59:33 +01:00
jacobtoppm
f6ea6e9c33 Add new help text to migrations 2020-07-24 16:59:33 +01:00
jacobtoppm
9d8ebfb458 Change wording in workflow admin views 2020-07-24 16:59:33 +01:00
jacobtoppm
2f4a09e2ef Remove repeated disable button 2020-07-24 16:59:33 +01:00
jacobtoppm
4c4f03ff96 Change 'pages' subsection of workflow edit page to give more explicit directions 2020-07-24 16:59:33 +01:00
jacobtoppm
25efd9db23 Add help text to GroupApprovalTask groups field 2020-07-24 16:59:33 +01:00
jacobtoppm
c55447c48a Add new headings for workflow and task edit handlers 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
2a3dd34c7b Add active check for workflow queries. Add further docstrings and property decorators 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
jacobtoppm
832e0be8e0 Add task_state_class specification for custom tasks to docs 2020-07-24 16:59:33 +01:00
jacobtoppm
27c90d8efc Add user argument to workflow/task signals 2020-07-24 16:59:33 +01:00
jacobtoppm
a283b51d83 Add more docstrings and remove magic strings 2020-07-24 16:59:33 +01:00
jacobtoppm
bf168df9f9 Document workflow signals 2020-07-24 16:59:33 +01:00
jacobtoppm
c75a2a3549 Add workflow settings 2020-07-24 16:59:33 +01:00
jacobtoppm
364365b839 Start admin workflow management guide 2020-07-24 16:59:33 +01:00
jacobtoppm
80506cd2f5 Update info on publish permissions to match new workflow system 2020-07-24 16:59:33 +01:00
jacobtoppm
031a682f96 Update editor manual moderation references, and add info on new dashboard panels for workflow, including a new screenshot 2020-07-24 16:59:33 +01:00
jacobtoppm
4787e9e053 Add workflow upgrade considerations 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