diff --git a/HISTORY.rst b/HISTORY.rst index 6cdd1c5e9f..08010586e6 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,8 +1,3 @@ -Importer branch -=============== -* Add a reusable task to upload documents. -* Add MVP of the importer app. - 3.2.4 (2019-06-XX) ================== * Support configurable GUnicorn timeouts. Defaults to @@ -11,6 +6,18 @@ Importer branch * Fix IMAP4 mailbox.store flags argument. Python's documentation incorrectly state it is named flag_list. Closes GitLab issue #606. +* Improve the workflow preview generation. Use polylines + instead of splines. Add state actions to the preview. + Highlight the initial state. +* Add help text to the workflow transition form comment field. +* Fix direct deployment instructions. +* Add user, group, and role dashboard widgets. +* Add test mixin detect database connection leaks. +* Remove tag create event registration from the tag + instances. The tag create event is not applicable to + existing tags. +* Add proper redirection after moving a document to the + trash. 3.2.3 (2019-06-21) ================== diff --git a/docs/releases/3.2.4.rst b/docs/releases/3.2.4.rst index 5236a7da58..04921f348a 100644 --- a/docs/releases/3.2.4.rst +++ b/docs/releases/3.2.4.rst @@ -14,6 +14,18 @@ Changes incorrectly state it is named flag_list. Closes GitLab issue #606. Thanks to Samuel Aebi (@samuelaebi) for the report and debug information. +- Improve the workflow preview generation. Use polylines + instead of splines. Add state actions to the preview. + Highlight the initial state. +- Add help text to the workflow transition form comment field. +- Fix direct deployment instructions. +- Add user, group, and role dashboard widgets. +- Add test mixin detect database connection leaks. +- Remove tag create event registration from the tag + instances. The tag create event is not applicable to + existing tags. +- Add proper redirection after moving a document to the + trash. Removals -------- diff --git a/mayan/apps/documents/views/trashed_document_views.py b/mayan/apps/documents/views/trashed_document_views.py index c12783b014..bf783303ed 100644 --- a/mayan/apps/documents/views/trashed_document_views.py +++ b/mayan/apps/documents/views/trashed_document_views.py @@ -10,6 +10,7 @@ from mayan.apps.acls.models import AccessControlList from mayan.apps.common.generics import ( ConfirmView, MultipleObjectConfirmActionView ) +from mayan.apps.common.settings import setting_home_view from ..icons import icon_document_list_deleted from ..models import DeletedDocument, Document @@ -33,6 +34,7 @@ class DocumentTrashView(MultipleObjectConfirmActionView): model = Document object_permission = permission_document_trash pk_url_kwarg = 'pk' + post_action_redirect = reverse_lazy(viewname=setting_home_view.value) success_message_singular = _( '%(count)d document moved to the trash.' )