Mayan EDMS v4.1.8 Release Notes

Release Date: 2022-04-23 // about 2 years ago
    • 🛠 Fix the search model API URL reference. Closes GitLab issue #1098. Thanks to Bastian (@Basti-Fantasti) for the report.
    • Use the SEARCH_MODEL_NAME_KWARG instead of hard coding the search model API URL reference.
    • 🔀 Merged changes from version 4.0.22:

      • Remove usage of flat values list in document checkout manager.
      • Remove usage of flat values_list queryset in metadata managers module.
      • Cleanup markup of the confirmation form.
      • Remove redundant modal close button.
      • Fix search proxies method decorator.
      • Reorganize converter office MIME type list.
      • Improve metadata validation error message.
      • Don't display API URL links to indexing instance and template parents that are also root nodes as these are not accessible.
      • Remove repeated partition file close call.
      • Update Django version 2.2.24 to 2.2.28.
    • Reduce the Sentry client default traces_sample_rate from 0.25 to 0.05.

    • ➕ Add keyword argument to self.stderr and self.stdout usage.

    • In FilteredRelatedFieldMixin, split retrieval of the queryset to avoid the exception handler from capturing an AttributeError that it shouldn't.

    • ⚡️ Updated the subject and body fields of the document email workflow action to be optional.

    • Migrate old workflow EmailAction instances instead of sub-classing for backwards compatibility. Improves commit b522dac80f7f6cfb8c5db8a74d6d2d22bc8b281a and avoids a double entry in the workflow state action selection dropbox.

    • ⚡️ Partials navigation updates:

      • Streamline JavaScript partials navigation code.
      • Make the AJAX response redirect code configurable. New setting APPEARANCE_AJAX_REDIRECTION_CODE added.
      • Remove repeated AJAX redirection middleware.
    • ➕ Add keyword arguments to zip file calls.

    • PartialNavigation.js improvements.

      • Clean URL query on form submit and use form data as the URL query.
      • Remove dead code.
      • Use constants where appropriate.
    • Backport new document link condition logic. Ensure new document and file links access works like their respective views. The links will be active when the access is granted for the source as well as the document/document type. Closes GitLab issue #1102. Thanks to Julian Marié (@Angelfs) for the report and debug information.

    • 👌 Improve logic of the new document file link

      • Access the view user in a more reliable way.
      • Test the new file permission of the document and not of the document type.
      • If no document is present in the view exit fast.
      • Update tests.