BibAuthorID: integration with BibCatalog

* Adds cname of a profile to claim tickets.
* Adds user mail to the tickets everywhere it is possible to do so.
* Adds userid to the tickets everywhere it is possible to do so.
* Adds Hepnames ORCID automatically using bibupload.
* Adds links inside Hepnames and ORCiD record match tickets.
* Adds cname of a main profile inside merge tickets.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
BibAuthorID: no 'no authors' ticket for collaboration

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
BibAuthorID: button for closing RT tickets.

* Allows admin to close the RT ticket from Inspire site.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
mailutils: support invalid senders

* Workaround for the lack of an e-mail address validation. In case of
  an unsuccessful attempt to send an e-mail due to invalid address,
  admin is notified via e-mail. (closes #2256)

* Documentation of the forward_failures_to_admin parameter of the
  send_email function.

Signed-off-by: Daniel Lovasko <daniel.lovasko@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge pull request #130 from kaplun/2256-support-invalid-senders

mailutils: support invalid senders
Merge pull request #112 from MSusik/bibcatalog_bai_integration

BibAuthorID: integration with BibCatalog
BibCatalog: no username and password fix

* Also fixes a detail in BibAuthorID ticketing.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
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>
BAI: Refactoring on merger code for reusability.
BAI: Function to get personids that are not in aidRESULTS for a name.