Released: June 23, 2017
A new document source has been added with the ability to retrieve documents from scanners directly. This new document source uses the SANE (Scanner Access Now Easy) (https://en.wikipedia.org/wiki/Scanner_Access_Now_Easy) API client to communicate with USB and network scanners. SANE must be properly installed for this document source to work. Your scanner must also be supported by the SANE API (http://www.sane-project.org/sane-supported-devices.html).
The orientation of PDF documents is now detected at creation and a rotation transformation applied to each of the document's pages to correct the orientation.
Configuration options can now be updated from environment variables. To
update a configuration option, prepend the string MAYAN_
to the name
of the configuration option. For example, to increase the number of
documents displayed per search results page (from a default of 40) to 50
documents, set the environment variable MAYAN_COMMON_PAGINATE_BY
to 50
with:
$ export MAYAN_COMMON_PAGINATE_BY=50
and restart Mayan EDMS. A list of the configuration options can be found in the [:menuselection:`Setup --> Settings`]{#problematic-1 .problematic} menu.
System Message: ERROR/3 (<string>
{.docutils}, line 38);
backlink
Unknown interpreted text role "menuselection".
The django-mathfilters (https://pypi.python.org/pypi/django-mathfilters) package has been included to provide proper math filters in the indexes. An example of this is indexing documents by quarter:
{% load mathfilters %}{{ document.metadata_value_of.date|date:"Y"}}Q{{ document.metadata_value_of.date|date:"m"|sub:1|intdiv:3|add:1 }}
Previously, only documents and later on document pages were searchable. This release add support for searching for tags, metadata types and cabinets. This search support is available via the dynamic search API.
During testing or development error occur and locks can remain behind, blocking execution of a process or task until they expire. To help resolve this a management command has been added called purgelocks that will delete all locks in the system.
Support was added to update the a document indexes from workflow state
changes. To make workflow referencing easier from the index template, a
new fields was added to the workflow model called internal_name. For
example, for a workflow called "Publishing Workflow" with an internal
name of publishing_workflow
, use the following string to reference the
current state in an index:
{{ document.workflow.publishing_workflow.get_current_state }}
A new app to monitor the distribution and consumption of background task has been added. This app is call "Task manager" and can be found in the "Tools" menu. Use this new tool to diagnose your background task workers or to determine when to scale up the number of workers.
APPEARANCE_MAXIMUM_TITLE_LENGTH
setting. GitLab issue #217.Type in the console:
$ pip install -U mayan-edms
the requirements will also be updated automatically.
If you installed Mayan EDMS by cloning the Git repository issue the commands:
$ git reset --hard HEAD $ git pull
otherwise download the compressed archived and uncompress it overriding the existing installation.
Next upgrade/add the new requirements:
$ pip install --upgrade -r requirements.txt
Migrate existing database schema with:
$ mayan-edms.py performupgrade
Add new static media:
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.