Wykres commitów

10138 Commity (2037e8c089b8f972024f416fce2e8b639de557b3)

Autor SHA1 Wiadomość Data
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
Karl Hobley e962ad6004 Use latest revision that's relevant to the workflow 2020-07-24 16:59:33 +01:00
Karl Hobley fdaa99e4f9 Remove a magic-string 2020-07-24 16:59:33 +01:00
Karl Hobley 7bcd10208f Get task number from list inex (instead of Task.sort_order)
This fixes inaccuracies if there are any inactive tasks
2020-07-24 16:59:33 +01:00
Karl Hobley ab101f3503 Only use WorkflowState's from latest revision when reporting progress
Also, annotate status_display so we don't use slugs
2020-07-24 16:59:33 +01:00
Karl Hobley 8487742df8 Remove unnecessary workflow_name/task_name variables 2020-07-24 16:59:33 +01:00
Karl Hobley d7b2e06ece Implemented WorkflowState.all_tasks_with_status 2020-07-24 16:59:33 +01:00
jacobtoppm b2a6274a79 Replace .intersection() uses with id__in filters to avoid failure on MySQL backend 2020-07-24 16:59:33 +01:00
jacobtoppm 0fbc40bd41 Tweak icon alignment in nav to raise icons relative to text by 5%, as previously looked like clipboard icon was misaligned 2020-07-24 16:59:33 +01:00
jacobtoppm b4ea951ab3 Use new workflow icon in add to page view 2020-07-24 16:59:33 +01:00
jacobtoppm b10ba56b26 Add new clipboard-list icon and use for workflows. Fix if statement in views/pages to add buttons outside main conditional clauses 2020-07-24 16:59:33 +01:00
jacobtoppm b01ba985c4 Remove reference to old field on GroupApprovalTask 2020-07-24 16:59:33 +01:00