Mayan EDMS v3.2 Release Notes

Release Date: 2019-06-13 // almost 5 years ago
    • Split sources models into separate modules.
    • ➕ Add support for subfolder scanning to watchfolders. Closes GitLab issue #498 and #563.
    • ⚡️ Updated the source check behavior to allow checking a source even when the source is disabled and to not deleted processed files during a check.
    • Switch to full app paths.
    • Split document app models into separate modules.
    • Split workflow views into separate modules.
    • ➕ Add custom DatabaseWarning to tag the SQLite usage warning.
    • Add keyword arguments to add_to_class instances.
    • Move add_to_class function to their own module called methods.py
    • ✂ Remove catch all exception handling for the check in and check out views.
    • 👌 Improve checkouts tests code reducing redundant code.
    • 🔄 Change how the HOME_VIEW setting is defined.
    • ✂ Remove the role permission grant and revoke permission.
    • Split trashed document views into their own module.
    • 👻 Show entire sys trace when an App import exception is raised.
    • ✂ Remove Django suit from requirements.
    • ✂ Remove development URLs from main URL file.
    • 📚 Move API documentation generation from the root URLs module to the REST API app's URLs module.
    • ⚡️ Update Pillow to version 6.0.0
    • ⚡️ Update PyYAML to version 5.1. Update use of safe_load and safe_dump to load and dump using the SafeLoader.
    • ➕ Add SilenceLoggerTestCaseMixin to lower level of loggers during tests.
    • New default value for setting DOCUMENTS_HASH_BLOCK_SIZE is 65535.
    • New default value for setting MIMETYPE_FILE_READ_SIZE is 1024.
    • ➕ Add workaround for Tesseract bug 1670 https://github.com/tesseract-ocr/tesseract/issues/1670 https://github.com/tesseract-ocr/tesseract/commit/3292484f67af8bdda23aa5e510918d0115785291 https://gitlab.gnome.org/World/OpenPaperwork/pyocr/issues/104
    • Move setting COMMON_TEMPORARY_DIRECTORY to the storage app. The setting is now STORAGE_TEMPORARY_DIRECTORY.
    • 🚚 Move file related utilities to the storage app.
    • 🚚 Backport and remove unused code from the permission app.
    • 🚚 Move the navigation and authentication templates to their respective apps.
    • ➕ Add dashboard app.
    • ✂ Remove queryset slicing hack from the Document list view. And slice the Recently Added Document queryset itself.
    • 🚚 Move stub filtering to the Document model manager.
    • 0️⃣ Increase the default number of recently added documents and recently accessed documents from 40 to 400.
    • ↔ Integrate django-autoadmin into the core apps.
    • 💅 Update middleware to new style classes.
    • ➕ Add server side invalid document template.
    • 🚚 Move tag specific JavaScript to the tags app.
    • ⬇️ Reduce form boilerplate code with new FormOptions class.
    • 👉 Use FormOptions for the DetailForm class.
    • 👍 DetailForm now support help text on extra fields.
    • ➕ Add FilteredSelectionForm class.
    • 👉 Use FilteredSelectionForm for TagMultipleSelectionForm.
    • 👉 Use FilteredSelectionForm for the class CabinetListForm.
    • ➕ Add keyword arguments to URL definitions.
    • 👉 Use FilteredSelectionForm to add a new ACLCreateForm.
    • 📇 Rename IndexListForm to IndexTemplateFilteredForm.
    • 👉 Use FilteredSelectionForm for IndexTemplateFilteredForm.
    • 👉 Use FilteredSelectionForm for DocumentVersionSignatureCreateForm.
    • 👌 Improve document signatures tests.
    • ➕ Add docstrings to most models.
    • ➕ Add support to the mailing profiles for specifying a from address. Closes GitLab issue #522.
    • Expose new Django settings: AUTH_PASSWORD_VALIDATORS, DEFAULT_FROM_EMAIL, EMAIL_TIMEOUT, INTERNAL_IPS, LANGUAGES, LANGUAGE_CODE, STATIC_URL, STATICFILES_STORAGE, TIME_ZONE, WSGI_APPLICATION.
    • Convert language choices into a function.
    • 🚚 Move language choices generation to documents.utils.
    • ✂ Remove support for generating documents images in base 64 format.
    • 🚚 Move Pillow initialization from the module to the backend class initialization.
    • ✂ Remove star import from the ACL and Common apps.
    • ➕ Add dependencies app
    • Convert the document tags widget to use HTML templates.
    • 🚚 Move Tag app HTML widgets to their own module.
    • 🚚 Move the document index app widgets to the html_widget.py module.
    • ⚡️ Update group members view permission. The group edit and user edit permission are now required.
    • ➕ Add keyword arguments to messages uses.
    • ➕ Add keyword arguments to the reverse use in views.
    • ➕ Add MERCs 5 and 6.
    • ⚡️ Update authentication function views to use Django's new class based authentication views.
    • Expose Django's LOGOUT_REDIRECT_URL setting.
    • 🚚 Move current user views from the common app to the user management app.
    • 🚚 Move the purge permission logic to the StorePermission manager.
    • Remove the MIMETYPE_FILE_READ_SIZE setting.
    • 📜 Use copyfileobj in the document parsers.
    • Backport list facet menu code.
    • Backport sidebar code.
    • ⚡️ CSS updates to maximize usable width.
    • 👌 Improve partial navigation error messages and display.
    • ➕ Add user created and user edited events.
    • ➕ Add group created and group edited events.
    • ➕ Add support for SourceColumn widgets.
    • 👌 Improve styling of the template debug view.
    • ➕ Add support for showing the current user's events.
    • ➕ Add support kwargs to the SourceColumn class.
    • 👌 Improve the event widgets, views and tests.
    • ➕ Add mailer use event.
    • ✂ Remove the include fontawesome and download it from the NPMregistry.
    • 🛠 Fix issue installing scoped NPM packages.
    • ➕ Add new icons classes and templates.
    • ➕ Add support for icon composition.
    • ➕ Add support for link icon path imports.
    • ✂ Remove support for link icon strings.
    • Split document app form into separate modules.
    • 🚚 Move the favorite document views to their own module.
    • Replace DocumentTypeSelectioForm with an improved version that does filtering.
    • ⚡️ Update OCR links activation.
    • ⚡️ Update document parsing link activation.
    • ➕ Add favorite document views tests.
    • ➕ Add document state action view test.
    • ✂ Remove sidebar menu instance. The secondary menu and the previour sidebar menu now perform the same function.
    • Backport source column identifiable and sortable improvements.
    • ⚡️ Update the way the no-result template is shown.
    • 👌 Improve TwoStateWidget to use a template. Make it compatible with the SourceColumn.
    • ⚡️ Update SourceColumn to support related attributes.
    • ➕ Add support for display for empty values for source columns.
    • ➕ Add support for source column object or attribute absolute URLs.
    • ➕ Add sortable columns to all apps.
    • ✂ Remove permission list display from the ACL list view. Reduces clutter and unpredictable column size.
    • ✂ Remove the full name from the user list.
    • ➕ Add the first name and last name to the user list.
    • ➕ Add file metadata app.
    • ➕ Add support for submitting forms by pressing the Enter key or by double clicking.
    • Rename form template 'form_class' to 'form_css_classes'.
    • ➕ Add support for adding form button aside from the default submit and cancel.
    • ⚡️ Update ChoiceForm to be full height.
    • ➕ Add AddRemoveView to replace AssignRemoveView
    • ⚡️ Update the group roles view to use the new AddRemoveView.
    • ➕ Add role create and edit events.
    • Sort users by lastname, firstname.
    • 🚚 Switch user groups and group users views to AddRemoveView.
    • 🚚 Commit user edit event when an user is added or removed from a group.
    • 🚚 Commit the group edit event when a group is added or remove from an user.
    • Require dual permissions when add or removing users to and from group. Same with group to users.
    • Backport search improvements.
    • ✂ Remove search elapsed time calculation.
    • ✂ Remove SEARCH_LIMIT setting.
    • 🚦 Use the 'handler' prefix for all the signal handler functions.
    • ✂ Remove custom email widget and use Django's.
    • 0️⃣ Increase default maximum number of favorite documents to 400.
    • ⚡️ Update the role group list view to use the new AddRemoveView.
    • Commit the group event in conjunction with the role event when a group is added or remove from role.
    • ⚡️ Update the role permission view to use the new AddRemoveView.
    • Rename transformation manager method add_for_model to add_to_object.
    • Rename transformation manager method get_for_model to get_for_object.
    • Load the converter class on demand.
    • ✂ Remove app top level star imports.
    • Monkeypatch group and user models to make their fields translatable.
    • ➕ Add new and default Tesseract OCR backend to avoid Tesseract bug 1670 (https://github.com/tesseract-ocr/tesseract/issues/1670)
    • Load only one language in the document properties form.
    • Convert title calculation form to a template tag.
    • 👉 Show the full title as a hover title even when truncated.
    • 0️⃣ Increase default title truncation length to 120 characters.
    • 👌 Improve inherited permission computation.
    • ➕ Add test case mixin that produces ephimeral models.
    • ⚡️ Update ACL permissions view to use the new AddRemoveView class.
    • ➕ Add ACL created and edited events.
    • ⚡️ Update index document types view to use the new AddRemoveView class.
    • ➕ Add index create and edit events.
    • ➕ Allow overloading the action_add and action_remove methods from the AddRemoveView.
    • ➕ Add view to link document type and indexes from the document type side.
    • ⚡️ Update smart link document type selection view to use AddRemoveView class.
    • ➕ Add smart link created and edited events.
    • 🛠 Fix smart link ACL support.
    • ⚡️ Update JavaScript downloader to work with Python 3.
    • 👌 Improve speed of the NPM package hash verification.
    • ➕ Add view to enable smart links for documents types from the document type side.
    • Enable list link icons.
    • ➕ Add outline links CSS for facets.
    • ➕ Add a bottom margin to list links.
    • 👉 Use copyfileobj to save documents to files
    • ➕ Add user logged in and logged out events.
    • ➕ Add transaction handling in more places.
    • ⚡️ Update ACLs tests to use ephimeral models.
    • ➕ Add new app to handle all dependencies.
    • ✂ Remove the licenses.py module and replace it with a dependencies.py module.
    • Backport ACL computation improvements.
    • ✂ Remove model permission proxy models.
    • ✂ Remove related access control argument. This is now handled by the related field registration.
    • 👍 Allow nested access control checking.
    • check_access's permissions argument must now be an interable.
    • ✂ Remove permissions_related from links.
    • Remove mayan_permission_attribute_check from API permission.
    • ⚡️ Update Bootstrap and Bootswatch to version 3.4.1.
    • Convert the workflow document types view to use the new AddRemove view.
    • ➕ Add the workflow created and edited events.
    • ✂ Remove AssignRemove View.
    • ➕ Add view to setup workflows per document type from the document type side.
    • 👉 Make workflows, workflows states, workflow transitions column sortable.
    • 👉 Show completion and intial state in the workflow proxy instance menu list.
    • 🛠 Fix translation of the source upload forms using dropzone.js
    • Rename get_object_list to get_source_queryset.
    • ➕ Add uniqueness validation to SingleObjectCreateView.
    • ✂ Remove MultipleInstanceActionMixin.
    • Backport MultipleObjectMixin improvements.
    • ✂ Remove ObjectListPermissionFilterMixin.
    • ➕ Add deprecation warning to convertdb
    • ➕ Add the preparestatic command.
    • ✂ Remove the related attribute of check_access.
    • Remove filter_by_access. Replaced by restrict_queryset.
    • 🚚 Move the user set password views to the authentication app.
    • All views redirect to common's home view instead of the REDIRECT_URL setting.
    • ⚡️ Update tag document list and the document tag list views to require the view permissions for both objects.
    • Install and server static content to and from the image.
    • ➕ Add support for editing document comments.
    • ✂ Remove Internet Explorer specific markup.
    • 🛠 Fix optional metadata remove when mixed with required metadata.
    • 🛠 Create intermedia file cache folder. Fixes preview errors when the first document uploaded is an office file.
    • 🚚 Move queue and task registration to the CeleryQueue class. The .queues.py module is now loaded automatically.
    • 👍 Allow setting the Docker user UID and GUID.
    • ➕ Add task path validation.
    • Increase dropzone upload file size limit to 2GB.
    • ➕ Add cabinet created and edited events.
    • 👉 Show a null mailer backend if there is backend with an invalid path. Due to the app full path change, existing mailer setups need to be recreated.
    • The document link URL when mailed is now composed of the COMMON_PROJECT_URL + document URL instead of the Site domain.
    • ➕ Add the checkdependencies command.
    • ➕ Add comment and make file target to generate all requirement files.
    • Place deletion policies units before periods for clarity.
    • ✂ Remove repeated EMAIL_TIMEOUT setting.
    • Invert order to the Action Object and Target columns for clarity.
    • ➕ Add note about the new preparestatic command.
    • ➕ Add no-result template for workflow instance detail view.
    • ⚡️ Update HTTP workflow action to new requests API.
    • ✂ Remove the included Lato font. The font is now downloaded at install time.
    • ➕ Add support for Google Fonts dependencies.
    • ➕ Add support for patchin dependency files using rewriting rules.
    • 👍 Allow searching documents by UUID.
    • 👌 Improve search negation logic.
    • ➕ Add support for search field transformations.
    • Disable hiding page navigation on idle.
    • Display namespace in the transition trigger view.
    • Sort events list in the transition trigger view.
    • ➕ Add support for form media to DynamicFormMixin.
    • 🛠 Fix tag attach and remove action form media.
    • 🚚 Sort content type list of the access grant and remove action.
    • 👉 Use select2 for the content type filed of the access grant and remove action.
    • ➕ Add Latvian translation.
    • 👌 Support search model selection.
    • 👌 Support passing a queryset factory to the search model.
    • ➕ Add workflow actions to grant or remove permissions to a document.
    • ➕ Add support for locked files for watchfolder.