jacobtm
|
0be87db0a3
|
Rewrite methods to account for revisions. Test and fix initial exceptions. Add database constraint on unique in progress workflow
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
f437a39cdd
|
Add FK to ContentType and introduce TaskState.specific analogous to Page
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
142f6a06e3
|
Add WorkflowState and TaskState models
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
62b6a2fc70
|
Fix missing import on add to page form
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
572b5fef55
|
Add generic views and templates for selecting and editing tasks
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
75bf326035
|
Add task_permission_policy and start generic view setup for task editing
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
732a397d61
|
Fix typo
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
a4d82affc3
|
Add further explanatory comments, and add help text to 'active' field on Workflow
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
a2055c2d6a
|
Move AddWorkflowToPageForm into admin/forms/workflows.py
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
8c7a45dd48
|
Add back button from add_to_page view
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
95d6d2a293
|
Add additional check for workflow being removed on remove_workflow view. Fix bug in add_to_page when models are missing. Move workflow edit fbv to cbv. Change permissions checks to use policy
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
bb102bd131
|
Move create workflow to generic CreateView
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
968704faf5
|
Update queries and AddWorkflowToPageForm to account for change in Workflow-Page linking relation (FK to OneToOneField + linking class)
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
8ced475de4
|
Update Workflow link to Page to use OneToOneField through WorkflowPage, rather than ForeignKey. Update get_workflow and tests to match new relation.
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
caa2490afd
|
Begin refactoring: moving edit handlers for Workflow into edit_handlers
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
ecf6bf0f95
|
Hide, don't get rid of page field when confirming
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
4bb2e14339
|
Get rid of page chooser when confirmation dialogue visible
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
ef8447a9a3
|
Restyle and tidy html for add_to_page
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
a9360b8944
|
First draft of add to page form with confirmation message
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
c38e9cfcd4
|
Add remove workflow action to page list. Move save button out of footer to emphasize that removing a page is not an unsaved action
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
7fceab2306
|
Add status tag to disabled workflows
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
3c28ec0a9f
|
Add link to edit page from index and nicer task display. Add button which will eventually disable workflow
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
2cea9bd441
|
Fix index view and add edit, create views for Workflow
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
d389e469f2
|
Start adding create view
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
b6b22a7362
|
Add index for workflows
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
05fbfabb83
|
Limit task choices to active Tasks
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
4326017a75
|
Add 'active' fields to Task and Workflow, add managers to both, for now with just a .active() method
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
00ba5810fc
|
Add unique together on WorkflowTask for 'workflow' and 'task' to avoid duplicates making TaskState queries difficult in future
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
3db9779260
|
Change Workflow to inherit from ClusterableModel and be linked to by WorkflowTask via a ParentalKey, allowing for sensible submission of a Workflow and its Task orders. Change WorkflowTask to inherit from Orderable, allowing use of InlinePanels to set sort order.
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
16ddbdc36e
|
Add get_workflow and corresponding tests
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
b8cebad1ea
|
Add tests for Workflow and Task creation and linking, and change related_names to be more usable
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
788dd8fb5c
|
Fixes to models so makemigrations succeeds
|
2020-07-24 16:59:33 +01:00 |
|
jacobtm
|
f5313044f9
|
First attempt at Workflow and Task models, along with through class
|
2020-07-24 16:59:33 +01:00 |
|
Thibaud Colas
|
d97f940e58
|
Release notes for #5885
|
2020-07-23 13:56:12 +01:00 |
|
Maylon Pedroso
|
93a8227a52
|
Add edit button to draftail images and embeds blocks tooltip. Fix #2674 (#5885)
|
2020-07-23 13:55:38 +01:00 |
|
Karl Hobley
|
f9d20d1fa6
|
Fix site delete URL
|
2020-07-22 17:46:46 +01:00 |
|
Matt Westcott
|
b8848ae2f5
|
Release note for #6250
|
2020-07-22 17:44:52 +01:00 |
|
Karl Hobley
|
ac9dae7cff
|
Don't rewrite the index entries table on every insert
|
2020-07-22 17:38:51 +01:00 |
|
Karl Hobley
|
d90f20a71f
|
Don't catch indexing errors for postgres search
|
2020-07-22 17:38:50 +01:00 |
|
Thibaud Colas
|
28b117a6bf
|
Add separate "accessibility and usability" section to 2.10 release notes (#6252)
|
2020-07-22 13:52:28 +01:00 |
|
LB (Ben Johnston)
|
1b3d190b3f
|
Fix group permission checkboxes not being clickable in IE11. Fix #5903 (#6115)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
|
2020-07-21 22:24:14 +01:00 |
|
LB (Ben Johnston)
|
45ec139bc5
|
Hide snippets’ bulk delete for screen reader users as well (#6116)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
|
2020-07-21 21:06:45 +01:00 |
|
Andreas Bernacca
|
f9c5bab9cb
|
Add chevron to dropdowns that are missing them, and make "Site" label translateable (#6242)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
|
2020-07-21 20:13:25 +01:00 |
|
Martin Coote
|
9f0dcf0097
|
Add skip link for keyboard users. Fix #5406 (#5780)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
|
2020-07-21 18:16:36 +01:00 |
|
Matt Westcott
|
6b338acdc6
|
"View users of this group" -> "View users in this group"
A user does not 'use' a group, they belong to it.
|
2020-07-21 13:35:41 +01:00 |
|
Matt Westcott
|
90c806110b
|
Use icon tag instead of CSS for lock/unlock messages
|
2020-07-20 17:28:48 +01:00 |
|
Matt Westcott
|
7b5c064a19
|
Fix label escaping test to account for #6093
|
2020-07-20 11:49:43 +01:00 |
|
Matt Westcott
|
b98d724def
|
add link to 2.9.3 release notes
|
2020-07-20 10:38:39 +01:00 |
|
Matt Westcott
|
5bc5745275
|
clarify note about nightly build on init.py
|
2020-07-20 10:38:19 +01:00 |
|
Matt Westcott
|
5714c2f71d
|
Release note for 2.9.3
|
2020-07-20 10:38:07 +01:00 |
|