collect: bugfix to not symlink yourself done right

* Using a FakeApp to not interfer with the real app. The previous fix
  was unsetting the static_folder globally.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
deposit: fix for flag checking

Signed-off-by: Jake Cowton <jake.calum.cowton@cern.ch>
docs: fix typo in INSTALL.rst

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
connector: InvenioConnector URL validation

* InvenioConnector will now throw an InvenioConnectorServerError
  exception is the given URL is invalid.

Signed-off-by: Graham R. Armstrong <graham.richard.armstrong@cern.ch>
base: footer modified

* 'submit' text and link swapped out for 'deposit'

Signed-off-by: Jake Cowton <jake.calum.cowton@cern.ch>
utils: slugify text function addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: collection template loading

* Introduces collection specific templates "collection_{name}.html" with
  fallback to the default "collection.html".

Reported-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Signed-off-by: Charalampos Tzovanakis <drjova@cern.ch>
search: fix copyright year

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: fix static files serving from DocumentRoot

* Implements Nginx's "try_files" like functionality using custom wsgi
  middleware for Apache and WSGIScriptAlias for invenio.wsgi together
  with mod_rewrite.

* NOTE regenerate your apache configuration by running
  `inveniomanage apache create-config`.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Tested-by: Yoan Blanc <yoan.blanc@cern.ch>
base: wsgi middlewares reorganization

* Fixing DebbugedApplication middleware usage.

* Using an Apache environment variable to detect when to apply
  the WSGIScriptAliasFix: `WSGI_SCRIPT_ALIAS` pointing to the
  script name.

* NOTE regenerate your apache configuration by running:
  `inveniomanage apache create-config`

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by:  Jiří Kunčar <jiri.kuncar@cern.ch>
deposit: WTForms version to be <2.0

* Fixing WTForms to <2.0 as Flask-WTF doesn't support it yet.

* Updating Flask-WTF to 0.9.5.

* Updating WTForms-Alchemy to 0.12.4.

* Fixing the build where _unset_value was not found.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
search: collection template loading

* Supports collection specific templates by id "collection_{id}.html"
  with fallback to the "collection_{name}.html" and "collection.html".

Signed-off-by: Charalampos Tzovanakis <drjova@cern.ch>
workflows: initial user UI integration

* Kickstarts the user UI integration of Holding Pen by adding
  a new menu item "Your Pending Actions" to the user UI and new
  settings pages.

* Refactors the initial index page of Holding Pen to more nicely show
  pending actions and button to take users to the Holding Pen.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: definition fetching improvements

* Improves the procedure of getting workflow definition objects
  to be compatible with older workflows that may not exist
  anymore and at the same time be more forgiving.

* Fixes some documentation typos.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: widget to action name change

* NOTE Changes the naming of Holding Pen "widgets" to "actions" to
  more clearly distinguish these UI elements from widgets elsewhere
  in Invenio. The name "action" better suits these types of components
  which is representing an action that needs to be taken by operators.

* Renames several files to make use of this new naming strategy.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: user session in Holding Pen

* Fixes the way the Holding Pen is storing info about the
  current session by actually using the user session and not
  editing the current_app.config.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: PEP257 improvements

* Improves docstrings in holdingpen.py and some other places to
  conform with PEP257.

* Adds a deprecation warning for new action to widget naming.

Reported-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: INSPIRE specific removal

* Removes INSPIRE specific tasks and parameters from the
  default workflows. This will rather be part of INSPIRE
  overlay.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: fix harvesting workflow with bibsched

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
sso: fix group/groups key inconsistency

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>