Version 3.3.11

Fri, Feb 7, 2020

Version 3.3.11

Released: February 7, 2020

Changes

Appearance

The way the list title item count calculation is done was optimized. The code will attempt to obtain the total count from the database as a query. Failing that, in the case where the item list is not the result of a database query, it will fallback to calculating the total using Python.

This optimization is most notable in views that display a large number of items resulting from a database query.

Converter

A help message was added in cases where the image library raises a decompression bomb DOS attacks. The message explains the reason for the error and show how to increasing the allowed image size.

Documents

The document multi page preview rendering issue introduced by the read only decimal field display addition was fixed. The read only decimal field display support was re-implemented.

Document language codes settings tests were added, closing a long standing report.

The form for selecting the document default language selection was fixed. Passing different values to the setting DOCUMENTS_LANGUAGE now has the intended result.

Tags

The "Tags" text is now correctly translated. The issue was caused not by a code error but by the way translation are prioritized by Django. Translations for apps defined first in the app list setting are prioritized. Since several Django apps form the basis of some Mayan functionality, they are defined first. They translation therefore are prioritized over translations in Mayan's apps. In this case the word "Tags" (and a few others) were already translated by Django's admindocs app, causing Mayan's translation for the same word to be ignored.

Removals

  • None

Backward incompatible changes

  • None

Bugs fixed or issues closed

  • GitLab issue #547 Docker: KeyError in mayan-edms.py because of -e MAYAN_DOCUMENTS_LANGUAGE_CODES versions > 3.1.6
  • GitLab issue #734 Translation not being applied to dashboard menu item - Tag
  • GitLab issue #770 Unable to set default document language to anything other than English if English is in the list of language codes
  • GitLab issue #771 Full-page preview not working