installation: replayable jquery plugins

* All filenames are specified so that when make install-jquery-plugins
  is run, it stores the files in the right place instead of .1, .2, etc.
* Specifies -u for all unzip commands so that we are never prompted for
  replacing files.
bibauthorid: change hepnames js source

* Changes captcha JS source to https

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

* Disable the garbage collection at the end of the request.
  The connection to the client would remain open (and probably the
  flushing wouldn't happen either) till gc.collect() finished.
OAIHarvest: respect hidden fields

* No longer expose hidden fields via OAI-PMH MARCXML export
  format, following CFG_BIBFORMAT_HIDDEN_TAGS
  configuration.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>

Conflicts:
	modules/oairepository/lib/oai_repository_regression_tests.py
WebStyle: broken json when profiling

* Prevents the output of debug information when the content-type
  is not text/html. This prevents from breaking json and latex.
BibRank: fix redis cache check
BibRank: bug in citation weights storage

* Prevents to store None in the citation weights cache.
Revert "BibRank: fix redis cache check"

This reverts commit adc292c40fe5730479708b541ccc603a13181a2e.
BibCheck: new creation_date check

* Exploits the BibCheck infrastructure to backdate the
  creation date of a record based on the actual content of
  its metadata. In this way tools such as BibSort will be
  able to properly sort records according to their real
  creation.
  (closes #1719)

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
WebSearch: record exists fix

* Allows also TypeError should the given recid by None when
  calling the function records_exists()

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
RefExtract: convert arxiv urls to report numbers
BibDocFile: complete 3004c20 AFS fix

* This commit complements 3004c20 patch to also check if AFS
  PATTERN is not empty.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
BibAuthorID: get_papers_affected_since() timestamp

* Fixes get_papers_affected_since() to consider timestamps
  in an inclusive manner.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Samuele Carli <samuele.carli@cern.ch>
hepdatautils: incremental harvest support

 * Adds parameter --starting-date.
 * Stores the last harvest and reuses it as starting point if
   no starting date is provided.

Co-authored-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
BibAuthorID: affiliations bookkeeping

* Adds a step in rabbit to keep a list of mappings pid -> affiliations.

Signed-off-by: Alessio Deiana <alessio.deiana@cern.ch>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
BibEdit: new affiliation system

* Switch to using the new affiliations system that stores data
  in aidAFFILIATIONS.
Bibauthorid: Fix for name decoding in affiliations daemon.
WebSearch: date after, date before bug fix

* Fixes the following bug:
    DATE AFTER XXXX is interpreted
    * year .GT. xxxx in Spires
    * year .GE. xxxx in Inspires

* Fixes unit tests for date after/before queries.
* Deletes a duplicate unit test for 'find date 1976-04'.
* Adds unit tests for 'find date < 1978-10'.
* Adds unit tests for 'find date > 1978-10'.
* Adds unit tests for 'find date 23 Sep 2010'.
* Adds unit tests for 'find (date 23 Sep 2010)'. The parenthesis after the date is an edge case for the regexp used by th method 'convert_date'.
* Fixes method '_convert_spires_date_after_to_invenio_span_query'.
* Fixes method '_convert_spires_date_before_to_invenio_span_query'.
* Fixes regexp used by '_convert_all_dates'.
* Fixes indentation for kwalitee.
BibAuthorID: handling inconsistent data in affiliations
dbdump: use ping() to re-establish connection