Released: December 14, 2020
libarchive-zip-perl to the Docker image to allow EXIFTOOL to
retrieve Zip file metadata.
Updated the Docker image's Debian version from version 10.5 to 10.7.
Documents stubs without a label will now display their ID as the label. This allows documents without versions to be accessible via the user interface.
misc_models.py models module was split into different modules with
more descriptive names.
There is now stricter filtering and permission checking for duplicated documents. Users now need the document view permission for all duplicated documents for any of them to show up in the duplicated document list. The duplicate count column now performs filtering and will only show the count of duplicated documents that the user can access.
The way trashed documents were handled was improved. Trashed documents are now filtered from all views that show documents or allow document actions.
The event list for the user event type subscription list is now sorted by namespace label and event type label.
Icons were added to the "mark notification as seen" and "mark all notification as seen" links.
The API end point enumeration API view was improved. It will continue to show the same results but does so with a more intuitive internal logic when extending.
Django settings exposed from inside Mayan EDMS now use Django's
global_settings module instead of the
settings module which is not
ready at the time the default are computed.
.get_external_object_queryset method was improved to ensure that
the queryset passed to the reusable views is always up to date when the
view is accessed at runtime.
The workflow instance access requirements was updated to match the intended layout and the current REST API layout. In order to view the list of log entries and the list of workflow instances of a document, the workflow view permission is now required for the document as well as the workflow template. This double permission requirement now matches the same design as the metadata and tags apps.
The necessary API endpoints to expose the workflow transition fields model were added.
All static values from
settings.py modules were moved to the literals
modules with descriptive variable names.
The events test mixins was updated to allow returning either, one, many or all events during a test.
Test that do not rely on document content were updated to use document stubs instead. This results in a test suit speed up of 20% and overall lower memory usage.
Switched the base image of the GitLab CI file from Ubuntu 19.10 to Debian 10.7. The same base image as the Docker image.