sqlalchemy: custom EncryptedType removal

* Removes the custom EncryptedType and uses implementation from
  SQLAlchemy-Utils.  (closes #2343)

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
demosite: PendingDeprecationWarning on populate

* NOTE adds PendingDeprecationWarning for demosite populate command.
  (addresses #2394)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
workflows: admin dropdown menu fix

* Fixes covering of admin dropdown menu in hp_maintable template.
  (closes #2384)

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: log output in Holding Pen

* Adds display of the log for BibWorkflowObject's in the Holding
  Pen detailed view.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: upgrade compatibility fix

* Fixes compatibility issue in upgrade.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
bibdocfile: undefined variable fix

* Fixes undefined variable introduced in 95ec7455.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
base: navigation menu buttons cleanup

* Removes inline javascript and css.

* Adds `navbar-btn` class to login and register buttons.

Signed-off-by: Harris Tzovanakis <me@drjova.com>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
assets: requirejs exclude option

* Adds support for exclusion of files in RequireJS builds, to prevent
  files from being included multiple times. (closes #2411)

* Enables more aggressive compression for UglifyJS.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
base: requirejs improvements

* Several improvements for better requirejs compliance.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
workflows: harvesting description template fix

* Reverts back to "<strong>" tags from "<h5>" that
  cause display problems.

* Fixes identation.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
deposit: datetime picker library modification

* Changes the datetime picker library from the jQuery UI to
  bootstrap-datetimepicker.

* Increases the consistency with the Bootstrap design.

* NOTE introduces new JS library
  <https://github.com/Eonasdan/bootstrap-datetimepicker>.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Co-authored-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
Co-authored-by: Javier Martin Montull <javier.martin.montull@cern.ch>
oauth2server: fix token expiration and refresh

* Sets access tokens to expire after a given time interval.

* Ensures only confidential clients can refresh an expired access token.

* Adds tests for token expiry to ensure correct behavior. (closes #2112)

Co-authored-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
previewer: fix folders identifiers in zip archive

Reported-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: fix dangerous demosite populate

* NOTE `inveniomanage demosite populate` asks for user confirmation or
  `--yes-i-know` argument.  (closes #2294)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
workflows: fix bootstrap-tagsinput bundling

* Removes the global bundling of bootstrap-tagsinput which
  is used for the filter search in Holding Pen. (closes #2423)

Reported-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
celery: deprecated celeryd replacement

* As of the celery version 3.1, `celeryd` is deprecated in favour of
  `celery worker`. It will be completely removed with the 3.2 version.

Signed-off-by: Daniel Lovasko <daniel.lovasko@cern.ch>
legacy: fix import in bibstat cli

* Fixes import in bibstat script.  (closes #2293)

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