installation: Flask-Registry version update

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: Flask-Collect from PyPI

* Removing the custom version.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
records: no JSON version cached check fix

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
deposit: fieldlist adaptation for import

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
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>
deposit: fix of field messages

* Fixes field info/warning/error/success
  messages, according to Bootstrap's newest
  documentation; also, adds a variable that
  prepares for future changes on the 'error'
  field name.

* Updates to $.map() for better browser
  integration.

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

* The same regex was being verified twice,
  instead of checking the pre and post 2007,
  only the post one was being checked.

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: addition of holding pen

* This task adds the deposition to the
  Holding Pen so it gets approved or
  rejected by an administrator.

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: addition of block tags to template

* Adds block tags to run_base.html template
  to improve costumization.

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>
utils: etree to dict translation reorganization

* Adds xmlhelpers to utils to handle custom XML.

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