deposit: duplicate validator with prod inspirehep

* Queries inspirehep.net to check if a submited publication is
  already in the production db.

* Introduces PRODUCTION_MODE variable which enables cooperation with
  inspirehep.net server.

* NOTE Set PRODUCTION_MODE=True in your config to use the validator.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: conferences autocomplete tuninng

* Autocomplete fetching starts after 3 characters.

* Passes all items from ajax request up to 100.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: scrollbar for typeahead dropdowns

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: conferences typeahead fixes

* Fixes value reset on blur.

* Fixes  undefined value errors on keypress after a suggestion was
  chosen and the user exited the input field.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: conferences id value synchronization

* Syncronizes value of the hidden conference_id field with the id
  from conferences field.

* Adds SychronizedField class which can be reused to do this.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: conferences warning

* Shows a message encouraging to use the typeahead for conferences
  field.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: conference_id addition to generated marcxml

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Co-authored-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: update bootstrap-multiselect paths

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
fabfile: update inspire-configuration path

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
fabfile: add prod
fabfile: add new configuration deployment

Co-authored-by: Javier Martin Montull <javier.martin.montull@cern.ch>
workflows: links to uploaded records

* Adds link to uploaded records in Holding Pen details pages.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
deposit: updates to arXiv fulltext task

* Updates the arXiv automatic fulltext downloader with various
  fixes and enhancements:

* Moves the download task in the workflow to after user confirmation
  to avoid users to wait for the download in the background.

* Fixes an exception if there was one file attached already
  (then metadata["fft"] is not a list but a dict).

* Hardcodes the filename to be equal to "1234.1234.pdf" to be
  consistent with user file upload names.

* Removes the call to secure_filename as this is anyway called
  in DepositionFile.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
deposit: arXiv extra mapping fields addition

* Adds extra fields from arXiv (same as in oaiharvest).

* 980__a: 'arXiv', 'Citeable'.

* 65017__a: arXiv categories

* 65017__2: 'arXiv'.

* 269__c: preprint date from arXiv.

* 037__: 9:'arXiv', a: arXiv id, c: arXiv categories.

* 035__9: 'arXiv'.

* 530__b: 'arXiv'.

* Adds language field only if it's not english.

* Adds a space after the comma in the author's name.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: wrong mapping on conference info

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: deposition title source in MarcXML

* Adds 'CrossRef' or 'arXiv' as the title source in 245__9 field.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: nonpublic note length and FFT fields fix

* Corrects nonpublic note lenght and FFT fields mapping.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: multiple URLs mapping to FFT

* Adds multiple URLs to the FFT field.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: arXiv journal names to INSPIRE mapping

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: cfg import fix

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>