WebLinkback: faster email notification

 * Improves database layer to send email notification faster

 * Extends regression tests for this improvement

 * Applies minor clean-up
WebLinkback: faster deletion of linkbacks on blacklist

 * Avoids redundant creations of blacklist
SolrUtils: reliable regression test suite

* Makes test suite independent from PDF extraction process.
  (closes #1590)

* Simplifies test suite

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
WebSearch: new parsing of unbalanced phrase queries

* Removes unbalanced double quotation marks.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
WebSearch: new fulltext by default search

 * Adds checkbox to search terms also in to fulltext to the add
   to search interface.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
BibRank: Solr: better ranking for fulltext by default

 * Ranks fulltext and metadata properly

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Solrutils: more accurate ranking scores

 * Ceils ranking scores to avoid anomalies

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
BibRecord: new MARC code filter

* Filters a record based on MARC code

* Supports wildcards in identifiers and subfield code

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
BibFormat: new 'xmf' format

* Supports filtering per MARC tag, identifier and subfield

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Upgrades: safer new bibdocfile model upgrade

* Uses the get() method instead of __getitem__() defaulting the return
  value to an empty dictionary in case of missing keys in more_info.
BibRank: fix of similar-to-recid result order

* Fixes order of results.  (addresses #1745)

* Fixes regression tests.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
SolrUtils: fix of similar-to-recid result order

* Fixes order of results.  (closes #1745)

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
oaiharvest: conversion argument name confusion

* Adds the missing upgrade script for changes done to OAI harvest
  source arguments in f9271a0 that could cause name problems during
  harvesting when upgrading an existing installation.

* Amends the web-tests to look for the proper new name.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
WebSearch: fix IndexError in is_hosted_collection
oaiharvest: fix of error reporting

 * Adapts reporting to new repo format.  (closes #1804)
BibDocFile: fix type of bibrec-bibdoc connection

* Changes the default value of the type in the bibrec_bibdoc
  table to the doctype of the bibdoc, instead of 'Main'.
Webjournal: Improve the Indico seminars widget

* Improves the Indico seminars widget but fetching more carefully
  information about the creator/chair of the event as well as the
  URL.

(closes #1980)

Signed-off-by: Nikolaos Kasioumis nikolaos.kasioumis@cern.ch