162 lines
4.3 KiB
Plaintext
162 lines
4.3 KiB
Plaintext
Version 3.2.8
|
|
=============
|
|
|
|
Released: October 1, 2019
|
|
|
|
|
|
Changes
|
|
-------
|
|
|
|
|
|
API
|
|
^^^
|
|
|
|
Fix an error when accessing some API entry points without
|
|
being authenticated. Accessing API endpoints without being authenticated
|
|
will now always return empty results.
|
|
|
|
|
|
Cabinets
|
|
^^^^^^^^
|
|
|
|
Tweaked the jstree component's appearance to cope with long labels.
|
|
Added a scrollbar, reduced the font size, switched to a sans serif font,
|
|
and reduced padding. Thanks for forum user @briboe for the report.
|
|
|
|
Workflow actions to add and remove documents from cabinets was added.
|
|
|
|
|
|
Dependencies
|
|
^^^^^^^^^^^^
|
|
|
|
The Django version used was updated to version 1.11.24. The jQuery version
|
|
used was updated to version 3.4.1. Both as fully backwards compatible with
|
|
their previous versions.
|
|
|
|
|
|
OCR
|
|
^^^
|
|
|
|
Support was added to delete the content of document's OCR or parsed content.
|
|
Events for both situations was added allowing content deletion to be used
|
|
as workflow transition triggers.
|
|
|
|
|
|
Docker
|
|
^^^^^^
|
|
|
|
A missing recursive option was added to the Docker entrypoint
|
|
command "chown" to change the ownership of files when specifying a custom
|
|
UID or GID. Closes GitLab issue #668. Thanks to John Wice (@brilthor)
|
|
for the report.
|
|
|
|
Two fonts were added to the Docker image to support rendering Chinese office
|
|
documents. Closes GitLab issue #666. Thanks to javawcy (@javawcy) and forum
|
|
user @leoliu for the report and help closing this issue.
|
|
|
|
|
|
Usability
|
|
^^^^^^^^^
|
|
|
|
Descriptions for screenreaders was added via image alt tag. The user interface
|
|
will also now allow scaling.
|
|
|
|
|
|
Removals
|
|
--------
|
|
|
|
- None
|
|
|
|
|
|
Upgrading from a previous version
|
|
---------------------------------
|
|
|
|
If installed via Python's PIP
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Remove deprecated requirements::
|
|
|
|
sudo -u mayan curl https://gitlab.com/mayan-edms/mayan-edms/raw/master/removals.txt -o /tmp/removals.txt && sudo -u mayan /opt/mayan-edms/bin/pip uninstall -y -r /tmp/removals.txt
|
|
|
|
Type in the console::
|
|
|
|
sudo -u mayan /opt/mayan-edms/bin/pip install mayan-edms==3.2.8
|
|
|
|
the requirements will also be updated automatically.
|
|
|
|
|
|
Using Git
|
|
^^^^^^^^^
|
|
|
|
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.
|
|
|
|
Remove deprecated requirements::
|
|
|
|
$ pip uninstall -y -r removals.txt
|
|
|
|
Next upgrade/add the new requirements::
|
|
|
|
$ pip install --upgrade -r requirements.txt
|
|
|
|
|
|
Common steps
|
|
^^^^^^^^^^^^
|
|
|
|
Perform these steps after updating the code from either step above.
|
|
|
|
Make a backup of your supervisord file::
|
|
|
|
sudo cp /etc/supervisor/conf.d/mayan.conf /etc/supervisor/conf.d/mayan.conf.bck
|
|
|
|
Update the supervisord configuration file. Replace the environment
|
|
variables values show here with your respective settings. This step will refresh
|
|
the supervisord configuration file with the new queues and the latest
|
|
recommended layout::
|
|
|
|
sudo sh -c "MAYAN_DATABASE_ENGINE=django.db.backends.postgresql MAYAN_DATABASE_NAME=mayan \
|
|
MAYAN_DATABASE_PASSWORD=mayanuserpass MAYAN_DATABASE_USER=mayan \
|
|
MAYAN_DATABASE_HOST=127.0.0.1 MAYAN_MEDIA_ROOT=/opt/mayan-edms/media \
|
|
/opt/mayan-edms/bin/mayan-edms.py platformtemplate supervisord > /etc/supervisor/conf.d/mayan.conf"
|
|
|
|
Edit the supervisord configuration file and update any setting the template
|
|
generator missed::
|
|
|
|
sudo vi /etc/supervisor/conf.d/mayan.conf
|
|
|
|
Migrate existing database schema with::
|
|
|
|
sudo -u mayan MAYAN_DATABASE_ENGINE=django.db.backends.postgresql MAYAN_DATABASE_NAME=mayan \
|
|
MAYAN_DATABASE_PASSWORD=mayanuserpass MAYAN_DATABASE_USER=mayan \
|
|
MAYAN_DATABASE_HOST=127.0.0.1 MAYAN_MEDIA_ROOT=/opt/mayan-edms/media \
|
|
/opt/mayan-edms/bin/mayan-edms.py performupgrade
|
|
|
|
Add new static media::
|
|
|
|
sudo -u mayan MAYAN_MEDIA_ROOT=/opt/mayan-edms/media \
|
|
/opt/mayan-edms/bin/mayan-edms.py preparestatic --noinput
|
|
|
|
The upgrade procedure is now complete.
|
|
|
|
|
|
Backward incompatible changes
|
|
-----------------------------
|
|
|
|
- None
|
|
|
|
|
|
Bugs fixed or issues closed
|
|
---------------------------
|
|
|
|
- :gitlab-issue:`666` Chinese document such as .doc can't display well.
|
|
- :gitlab-issue:`668` Permission denied errors with custom uid persist (650 needs re-open)
|
|
- :forum-topic:`1120` Cabinet Presentation
|
|
- :forum-topic:`2202` Cannot display Chinese character and cannot identify Excel files
|
|
|
|
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
|