From 11a9d10e0ff9114f386e3aa675c663c23d5785b0 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 14 Feb 2016 21:06:33 -0400 Subject: [PATCH] Add 2.0.2 release notes. --- HISTORY.rst | 9 +++-- docs/releases/2.0.2.rst | 90 +++++++++++++++++++++++++++++++++++++++++ docs/releases/index.rst | 2 + 3 files changed, 97 insertions(+), 4 deletions(-) create mode 100644 docs/releases/2.0.2.rst diff --git a/HISTORY.rst b/HISTORY.rst index dda5d8df10..0d971dc058 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,12 +1,13 @@ 2.0.2 (2016-02-09) ================== - Install testing dependencies when installing development dependencies. -- Fix GitLab issue #250 "Empty optional lookup metadata trigger validation error". Thanks to LeVon Smoker for the find and for the proposed fix. -- Fix OCR API test for document version page OCR content. -- Move metadata form value validation to .clean() and update field data may not be available yet when validatng the value field. Only validate form value if form has a metadata type associated. +- Fix GitLab issue #250 "Empty optional lookup metadata trigger validation error". +- Fix OCR API test. +- Move metadata form value validation to .clean() method. - Only extract validation error messages from ValidationError exception instances. - Don't store empty metadata value if the update checkbox is not checked. -- Add 2 second delay to document version tests to workaround MySQL not storing the millisecond part of the document version's timestamp. +- Add 2 second delay to document version tests to workaround MySQL limitation. +- Strip HTML tags from the browser title. 2.0.1 (2016-01-22) ================== diff --git a/docs/releases/2.0.2.rst b/docs/releases/2.0.2.rst new file mode 100644 index 0000000000..5470fac574 --- /dev/null +++ b/docs/releases/2.0.2.rst @@ -0,0 +1,90 @@ +=============================== +Mayan EDMS v2.0.2 release notes +=============================== + +Released: February 15, 2016 + +Welcome to Mayan EDMS v2.0.2 + +What's new +========== + +Fine tune "Update" checkbox from the metadata entry form +-------------------------------------------------------- +Previously the update checkbox was ignored during the metadata step of the +document upload wizard with the wizard always creating a metadata entry for the +new document even if the entry was left blank. The checkbox now controls whether +or not the wizard will store try to create the metadata entry. + +Fix empty optional lookup metadata fields behavior +-------------------------------------------------- +An edge case was fixed that caused validation to be executed for empty metadata +fields that had a value lookup list. + + +Other changes +------------- +- Only extract validation error messages from ValidationError exception instances. +- Add 2 second delay to document version tests to workaround MySQL not storing + the millisecond part of the document version's timestamp. +- Install testing dependencies when installing development dependencies. +- Fix OCR API test for document version page OCR content. +- Move metadata form value validation to .clean() method. +- Add HTML tags stripping to the browser title generation template. + +Removals +-------- +* None + +Upgrading from a previous version +--------------------------------- + +Using PIP +~~~~~~~~~ + +Type in the console:: + + $ pip install -U mayan-edms + +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 #250 `_ Empty optional lookup metadata trigger validation error. + +.. _PyPI: https://pypi.python.org/pypi/mayan-edms/ diff --git a/docs/releases/index.rst b/docs/releases/index.rst index ba35ac60e1..ceabfccbb1 100644 --- a/docs/releases/index.rst +++ b/docs/releases/index.rst @@ -23,6 +23,8 @@ versions of the documentation contain the release notes for any later releases. :maxdepth: 1 2.0 + 2.0.1 + 2.0.2 1.0 series ----------