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

10249 Commits

Author SHA1 Message Date
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
jacobtoppm
b8c70163ca Add custom_tasks.rst 2020-07-24 16:59:33 +01:00
jacobtoppm
57ce9b0a90 Change border-style: none to border-style: 0 as preferred by linting 2020-07-24 16:59:33 +01:00
Karl Hobley
fcc1e0fe05 Lint SCSS 2020-07-24 16:59:33 +01:00
Karl Hobley
358cfaa4e8 Remove invalid HTML 2020-07-24 16:59:33 +01:00
Karl Hobley
12c9e6480d Use BEM-style class names 2020-07-24 16:59:33 +01:00
Karl Hobley
bdbfc2e65e Moved workflow progress CSS into a separate SCSS file 2020-07-24 16:59:33 +01:00
Karl Hobley
dad2d7edf5 Human readable dates and i18n 2020-07-24 16:59:33 +01:00
Karl Hobley
3b085b9f89 Add tests 2020-07-24 16:59:33 +01:00
Karl Hobley
6c8d74e3da Fix crash if revision has not user 2020-07-24 16:59:33 +01:00
Karl Hobley
9b56cbd380 Add tooltips 2020-07-24 16:59:33 +01:00
Karl Hobley
c71a4d4463 Initial work on workflow history detail view 2020-07-24 16:59:33 +01:00
Karl Hobley
faf984f2aa Initial work on workflow history 2020-07-24 16:59:33 +01:00
jacobtoppm
512440625b Correct references to Page.STATUS_... strings to WorkflowState.STATUS_... 2020-07-24 16:59:33 +01:00
Karl Hobley
3a49ef3ffc Fix a couple of magic strings 2020-07-24 16:59:33 +01:00
Karl Hobley
16b6221627 Only look for other in progress task if this is in progress 2020-07-24 16:59:33 +01:00
jacobtoppm
89625fd137 Remove unique together on sort order as unnecessary and leading to errors upon saving reordered workflows, and make WorkflowTask Meta inherit from Orderable.Meta to prevent overriding ordering and preventing reordering of workflows 2020-07-24 16:59:33 +01:00
Karl Hobley
623ea70ffc Retrieve tasks in order they are on the workflow 2020-07-24 16:59:33 +01:00
Karl Hobley
35cb4ab0f5 Fix crash when WorkflowState.current_task_state is null 2020-07-24 16:59:33 +01:00
Karl Hobley
86be460ef5 Return responses from TaskState.on_action
This allows workflow actions to redirect somewhere for the review to
take place.
2020-07-24 16:59:33 +01:00
Karl Hobley
8152423622 Allow task state class to be specified as an attribute 2020-07-24 16:59:33 +01:00
jacobtoppm
8664d7cea7 Set blank=True on current_task_state, and address issue with MySQL backend not recogning conditional unique 'one in progress workflow' constraint by adding an additional check in pre-save validation. 2020-07-24 16:59:33 +01:00
Karl Hobley
514bc7de20 Make isort see unknown modules as third party by default 2020-07-24 16:59:33 +01:00
Karl Hobley
6a2715cc27 Show last workflow 2020-07-24 16:59:33 +01:00
Karl Hobley
cb692e5c79 Fix JavaScript errors when page is not in workflow 2020-07-24 16:59:33 +01:00