Merge branch 'master' into merge_master

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-22 03:18:30 -04:00
119 changed files with 1782 additions and 1443 deletions

138
docs/releases/3.0.2.rst Normal file
View File

@@ -0,0 +1,138 @@
===============================
Mayan EDMS v3.0.2 release notes
===============================
Released: August 16, 2018
What's new
==========
This bug fix release also includes a few tweaks to improve user experience.
Docker install script
---------------------
- Default to verbose.
- Increase startup timer from 5 to 10 seconds to give more time to users to
examine the settings of the installation to be performed.
- Add support for configuring the PostgreSQL port. Useful when there are
existing PostgreSQL installations.
- Docker install script: Detect if Docker installed and provide help
text if not.
Documentation
-------------
Add deployment step that configures Redis to discard unused task data when
it runs out of memory. Redis is only used for volatile data therefore
configuring it to discard data doesn't affect functionality but increases
response time and reduced memory consumption.
The default timeout for gunicorn has been increased from from 30 to 120
seconds.
The code statistics and pending work chapters have been removed from the
documentation. The pending work list has been divided into a pending and a
planned feature list and moved to the new Wiki at wiki.mayan-edms.com
Builds
------
Limit the number of branches that trigger the full test suit. Makes better use
of the amount of free continous integration available in GitLab.
Program code
------------
- Index app: Add natural key support to the Index model.
- Mailer app: Add natural key support to the mailer app.
- Cabinets: Redirect to the cabinet list view after creating a new cabinet.
- Converter app: Fix crop transformation argument parsing.
- Converter app: Add error checking to the crop transformation arguments.
Thanks to Jordan Wages (@wagesj45) for the report and investigation on the issue.
Closes GitLab issue #490
- Common app: Fix post login redirection to honor the ?next= URL query string
argument. Thanks go to K.C. Wong(@dvusboy1). Closes GitLab
issue #489.
- Sources app: Update dropzone.js' timeout from 30 seconds to 120 to allow
upload of large files on slow connections.
- Documents app: Display error when attempting to recalculate the page
count of an empty
document (document stub that has no document version).
- Appearance app: Include querystring when force reload of a bare template view.
- Documents app: Fix trashed document count and document page count swapped
dashboard icons.
- Documents app: Rename the multi document download link from "Download" to
"Advanced download" for consistency.
- Appearance app: Add support for hiding a links icon. Hide all object menu
links' icons.
- Documents app: Hide the title link of documents in the trash.
- Workflow app: Define a redirection after workflow actions are edited.
Security
--------
- Appearance app: avoid setting window.location directly to avoid exploit
of cross site scripting. Thanks to Lokesh (@lokesh1095) for the report
and solution. Closes GitLab issue #494.
- Cabinets app: Escape cabinet labels to avoid possible exploit of
cross site scripting. Thanks to Lokesh (@lokesh1095) for the report
and proposed solutions. Closes GitLab issue #495.
Removals
--------
- None
Upgrading from a previous version
---------------------------------
Using PIP
~~~~~~~~~
Type in the console::
$ pip install mayan-edms==3.0.2
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.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Migrate existing database schema with::
$ mayan-edms.py performupgrade
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `GitLab issue #489 <https://gitlab.com/mayan-edms/mayan-edms/issues/489>`_ "next" parameter is not honored after login
* `GitLab issue #490 <https://gitlab.com/mayan-edms/mayan-edms/issues/490>`_ Crop Transformation seems to not convert input to numeric values
* `GitLab issue #491 <https://gitlab.com/mayan-edms/mayan-edms/issues/491>`_ "Warning Your database backend is set to use SQLite[...]" with docker compose
* `GitLab issue #494 <https://gitlab.com/mayan-edms/mayan-edms/issues/494>`_ DOM based Cross Site Scripting
* `GitLab issue #495 <https://gitlab.com/mayan-edms/mayan-edms/issues/495>`_ Persistent Cross Site Scripting
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/

79
docs/releases/3.0.3.rst Normal file
View File

@@ -0,0 +1,79 @@
===============================
Mayan EDMS v3.0.3 release notes
===============================
Released: August 17, 2018
What's new
==========
Program code
------------
- Tags app: Add explicit post action redirect for the tag attach and
tag remove actions when working on a single document.
Security
--------
- Tags app: Add explicit casting of escaped tag labels to prevent exploit
of cross site scripting. Thanks to Lokesh (@lokesh1095) for
the report and proposed solutions. Closes GitLab issue #496.
Removals
--------
- None
Upgrading from a previous version
---------------------------------
Using PIP
~~~~~~~~~
Type in the console::
$ pip install mayan-edms==3.0.3
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.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Migrate existing database schema with::
$ mayan-edms.py performupgrade
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `GitLab issue #496 <https://gitlab.com/mayan-edms/mayan-edms/issues/496>`_ Persistent Cross Site Scripting
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/

View File

@@ -23,6 +23,8 @@ versions of the documentation contain the release notes for any later releases.
:maxdepth: 1
3.1
3.0.3
3.0.2
3.0.1
3.0

View File

@@ -396,7 +396,6 @@ X.Y # Final release
Release checklist
~~~~~~~~~~~~~~~~~
1. Check for missing migrations::
make check-missing-migrations
@@ -420,31 +419,40 @@ or with::
make check-readme
8. Bump version in `mayan/__init__.py` and in `docker/version`.
9. Update requirements version in `setup.py` using::
8. Bump version in `mayan/__init__.py`.
9. Bump version in `docker/version`.
10. Update requirements version in `setup.py` using::
make generate-setup
10. Build source package and test::
11. Build source package and test::
make test-sdist-via-docker-ubuntu
11. Build wheel package and test::
12. Build wheel package and test::
make test-wheel-via-docker-ubuntu
12. Tag version::
13. Tag version::
git tag -a vX.Y.Z -m "Version X.Y.Z"
13. Push tag upstream::
14. Switch to the `releases` branch::
git checkout releases
15. Push tag upstream::
git push --tags
14. Build and upload a test release::
16. Push code to trigger builds::
git push
17. Build and upload a test release::
make release-test-via-docker-ubuntu
15. Build and upload a final release::
18. Build and upload a final release::
make release-via-docker-ubuntu

View File

@@ -26,7 +26,7 @@ Docker can be installed using their automated script::
This installs the latest versions of Docker. If you don't want run an automated
script follow the instructions outlined in their documentation: https://docs.docker.com/install/
Once the Docker installtion is finished, proceed to the link below to install
Once the Docker installation is finished, proceed to the link below to install
the Docker image for Mayan EDMS.
Docker image chapter: :ref:`docker`