installation: disable SSLv3 in Apache config

* Disables SSLv3.0 due to known vulnerability.  (closes #2515)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauth2server: access and refresh tokens encrytion

* Uses encryption field for seamless encryption/decryption of the access
  and refresh tokens. (addresses #2127)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauthclient: access token encryption

* Uses encryption field for seamless encryption/decryption of the access
  tokens. (closes #2127)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
workflows: actions JS loading

* Makes the JavaScript assets loading for actions separated from
  the general assets loading to allow for easier additions of
  actions on overlays.

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

* Enriches the documentation of the Workflows module by adding
  more information on actions and the Holding Pen.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: task_counter value check

* Checks if the task_counter parameter is a list when saving
  an BibWorkflowObject. It is required to avoid a problem with the
  underlying workflow engine.

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

* Fixes a problem where the detailed page for Holding Pen
  object caused an exception when information on next/previous
  objects from the table were missing.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: always save current object

* Adds missing saving points of BibWorkflowObjects in the workflow
  engine when using engine execution manipulation functions such
  as `continueNextToken()`, `jumpTokenBack()`, `jumpTokenForward()`.

* Removes duplicate setting of error_msg.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
access: fix PEP8 and PEP257 for models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
access: new has_(super)_admin_role methods

* Adds new properties to `User` model in order to ease access control
  calculations.  (closes #2509)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
access: Flask-Admin interface addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: webuser usage cleanup

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

* Includes also normal js files not only the tests.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
jasmine: fix for ASSETS_DEBUG=False

* Adds init.js for jasmine extension.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
jasmine: tests helpers

* Adds event_checker and initialization checker to quickly check
  properly connected events and initialization of variables in js
  objects.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: facets

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: tests for facets

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>