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>
installation: improvement of OS X installation

* Removes `sudo` command when installing bower, less ,
  clean-css, requirejs, uglify-js.

* Fixes some `note` elements.

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
deposit: doi syntax validator improvements

* Makes the DOI validator stop validation.

* NOTE the name of the validator was changed to DOISyntax validator
  because of convertion to a class.

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

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
installation: workflow>=1.2.0

* Upgrades required workflow package version to 1.2.0. (addresses #1797)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: WTForms, Flask-WTF>=0.10.2

* Unpins WTForms maximal version since Flask-WTF supports its latest
  version since 0.10.0 release.

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