Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow needs changes state #6047

Merged

Commits on Jun 10, 2020

  1. Make STATUS_REJECTED non-terminal for WorkflowState, and add a method…

    … to resume a rejected WorkflowState
    jacobtoppm committed Jun 10, 2020
    Copy the full SHA
    5056a6b View commit details
    Browse the repository at this point in the history
  2. Remove task state copying on save revision. Instead, check settings W…

    …AGTAIL_WORKFLOW_REQUIRE_REAPPROVAL_ON_EDIT in get_next_task logic to determine whether task states created on previous revisions apply or not
    jacobtoppm committed Jun 10, 2020
    Copy the full SHA
    9c32b85 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    02f4713 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e439323 View commit details
    Browse the repository at this point in the history
  5. Add actions to cancel, restart, and resubmit to workflow, and move al…

    …l workflow actions into normal action menu. Adjust page view to cope with new NEEDS_CHANGES state, and add placeholder banner message (which new UI is expected to replace).
    jacobtoppm committed Jun 10, 2020
    Copy the full SHA
    ea3f2a9 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    1a0078d View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    6639651 View commit details
    Browse the repository at this point in the history
  8. Move workflow cancellation outside page locking logic to ensure the o…

    …riginal user can cancel the workflow even if the page is locked to them at that workflow step (preparing for locking page to approval groups during workflow)
    jacobtoppm committed Jun 10, 2020
    Copy the full SHA
    10371d9 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    68f73e5 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    d16919b View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    e12181d View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    5958b1c View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    1ccc46c View commit details
    Browse the repository at this point in the history
  14. Fix 'resubmit' menu item label to work with translation, and remove f…

    … string for Python 3.5 compatibility
    jacobtoppm committed Jun 10, 2020
    Copy the full SHA
    cb9a87e View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    8a76b97 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    e795ca2 View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    6c6aa40 View commit details
    Browse the repository at this point in the history
  18. Add custom manager for WorkflowState with active method to filter to …

    …in progress and needs changes states only
    jacobtoppm committed Jun 10, 2020
    Copy the full SHA
    dc6ca5e View commit details
    Browse the repository at this point in the history
  19. Use page_locked_for_user method on Task rather than user_can_access_e…

    …ditor to lock page to non-reviewers.
    jacobtoppm committed Jun 10, 2020
    Copy the full SHA
    dc26b10 View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    5cac197 View commit details
    Browse the repository at this point in the history