BibCirculation: fix for typo
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
deposit: removal of alert attribute

* Removes useless alert attribute
  appended to the class.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
utils: addition of DOI json data fetch

* Adds JSON data response for a given DOI.

* Adds etree to dictionary translation on
  processor utils.

* Corrects get_marcxml_for_doi() misuse of
  plain text params in the url.

* Needs the user's email as a configuration
  variable.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: API for Crossref DOI fetch

* Searches the DOI on crossref and returns the result as JSON format,
  also handles if the DOI isn't found or it's malformed.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: PEP8 fixes

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
records: API for database querying with DOI

* Adds API to query the database with a DOI.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
utils: minimize crossref code

* Squashes common code in get_crossref_content()
  function to minimize repetitions.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>