BibCatalog: fix username check

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
BibAuthorID: single profile when moving signatures

* Attributes signatures re-assigned by a curator
  to a single profile. So far, one new pid was
  created per paper.

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Gilles Louppe <g.louppe@gmail.com>
Merge pull request #132 from kaplun/signature-reassignment-fix

BibAuthorID: single profile when moving signatures
Revert "BibAuthorID: single profile when moving signatures"

This reverts commit d246696247098940c225968d07392913f5f84edc.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
WebSearch: stemming and '*'

* When a trailing '*' is used in a search over an index for which
  stemming is enabled, removes first the trailing '*', applies
  stemming and readds the trailing '*'.
  (closes #2468)

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
BibAuthorID: change of the order of pubs sorting after redirect

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
Merge pull request #133 from MSusik/earliest_date

BibAuthorID: change of the order of pubs sorting after redirect
BibAuthorID: autoclaim ticket mail addition

* Removes issue with autoclaim tickets that should not be created.
* Adds e-mail information to autoclaim tickets.
* Fixes closing of a ticket that contains both old and new operations.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
Merge pull request #136 from MSusik/autoclaimmail

BibAuthorID: autoclaim ticket mail addition
BibField: CFG_BIBFORMAT_HIDDEN_RECJSON_FIELDS

* Introduces ad-interim new config variable
  CFG_BIBFORMAT_HIDDEN_RECJSON_FIELDS to list which recjson fields
  need to be not exposed via public interfaces.
  (addresses #2197)

* Removes undocumented 'fields' argument in bibfield.get_record()
  which was making get_record() returning a different object type
  depending on having 0 or more values in fields.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
(OPS) revert to original .travis.yml file

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
(OPS) WebSearch: fix regression test WRT services

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
WebStyle: no crash in invenio.wsgi initialisation

* Avoids crashing in invenio.wsgi during pre-loading of data
  structures. In this way, even in case of bugs in one of the
  calls, the site can still load.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge pull request #138 from kaplun/webstyle-wsgi-capture-exceptions

WebStyle: no crash in invenio.wsgi initialisation
BibRank: citation flip flop

* Fixes an issue that caused dropping citations on re-indexing during
  the journal catchup phase.

Signed-off-by: Daniel Lovasko <daniel.lovasko@cern.ch>
Co-authored-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge pull request #139 from lovasko/citation-flip-flop

BibRank: citation flip flop
Merge pull request #137 from kaplun/websearch-fix-search-services-regression-test

(OPS) WebSearch: fix regression test WRT services
BibAuthorID: ORCID support for rabbit

* Rabbit tries to match papers to profiles by ORCID, after trying to
  do so with an INSPIRE id.

* The ORCID is located in $__j fields with the prefix of 'ORCID:'.
  (PR inspirehep/invenio#135)

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Gilles Louppe <g.louppe@gmail.com>
OPS BibField: complement support for CFG_BIBFORMAT_HIDDEN_RECJSON_FIELDS

To be stashed with 9b94e59b7c926025507ccb163d3dec8578a0423c

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge pull request #142 from kaplun/bibfield-fix-api-for-hidden-fields

OPS BibField: complement support for CFG_BIBFORMAT_HIDDEN_RECJSON_FIELDS