BibCirculation: fix for typo
base: separation of bootstrap bundle

* Resolves the conflict between Bootstrap and jQuery UI by making
  jQuery UI to be loaded before Bootstrap.

* NOTE use `noConflict()` from `bootstrap.js` to get access to jQuery UI
  functions covered by Bootstrap.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
docs: addition of bundles to base.rst

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

* Changes error logging to use the Flask application logger.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
access: site specific configuration of demo roles

* Adds simple hack for overwriting demo roles and authorization using
  the site configuration instead of hard coded values.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
communities: bibupload notimechange option removal

* Removes use of --notimechange option when using bibupload as it will
  result in conflicts with revision verifier for later uploads.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: refactoring fix

* Fixes refactoring problem introduced when renaming '_files' to
  '_documents' in e24b55e8f1c497112d016888c825cbe276cf303c.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: cleancss and requirejs filters

* Adds use of cleancss filter for search styles.

* Adds use of requirejs filter for search JavaScript.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: refactoring fix

* Fixes refactoring bug introduced in
  5a92017094668dce58826bb27d20e3bf6101edd4.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: iter_suites overlay usage

* Allow iter_suites to be more easily used from overlays.

* NOTE Adds deprecation warning to `import_module_from_packages` and
  `import_submodules_from_packages`.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: translation fix

Reported-by: Fredrik Nygard Carlsen <fredrik.carlsen@cern.ch>
Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
ranker: RnkCITATIONDATAData fixture removal

* Removes unused fixture RnkCITATIONDATAData.  (addresses #1905)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: database script documentation formatting

* Makes the documentation in scripts/database.py follow PEP257 rules.

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

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: Flask-Admin>=1.0.8,<1.1

* Changes dependency link to official master branch.  (addresses #1797)

Reported-by: Yoan Blanc <yoan.blanc@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Merge branch 'master' into next

* master:
  BibCirculation: fix for typo
assets: resolution of jquery to ~1.11

* Changes the jquery resolution to ~1.11 instead of <2 since it would
  pick jquery 1.7.2 as required by jquery.treeview. It solves the
  problem of jquery not being found at:
  `vendors/jquery/dist/jquery.js`

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
deposit: base version of form.html template

* Creates form_base.html to make possible ovewriting html blocks in
  an overlay.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: jquery-form loaded via require.js

* Changes the filters on the jquery bundle to be require.js so it can
  properly load library such as jquery-form.

* Renames legacy.js to init.js to match the naming choosen for search
  and deposit scripts.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>