Released: February 7, 2020
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.
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.
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.
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.