BibEdit: amend textmarc to xmlmarc unit test

* Amends failing textmarc to xmlmarc unit test after the new behaviour.
  (Empty fields are simply ignored now.)  (closes #1269)
WebSearch: fix browsing deleted/restricted records

* Amends the browse_pattern functionality such that deleted and restricted
  records are no longer included in the results unless their collection is
  explicitly defined.  (Only for restricted records and authorized users.)
  (closes #1292)

Co-authored-by: Jerome Caffaro <jerome.caffaro@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
DocExtract: journal rawref search fix

* Handles Invenio journal format. The tag was hard coded for INSPIRE.
  (closes #1306)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibUpload: FMT regression test case fix

* Fixes FMT regression test case that was failing randomly
  due to incomplete SQL comparison query.  (closes #1152)

Co-authored-by: Samuele Kaplun <samuele.kaplun@cern.ch>
BibAuthorID: fix in name comparisons

* Fixes name comparisons.  (closes #1313 #1314)

Tested-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  BibUpload: FMT regression test case fix

Conflicts:
	modules/bibupload/lib/bibupload_regression_tests.py
Merge branch 'maint-1.1'

* maint-1.1:
  BibAuthorID: fix in name comparisons
  BibUpload: FMT regression test case fix
Merge branch 'master' into next

* master:
  BibAuthorID: fix in name comparisons
  BibUpload: FMT regression test case fix
  DocExtract: journal rawref search fix
  WebSearch: fix browsing deleted/restricted records
  BibEdit: amend textmarc to xmlmarc unit test
BibFormat: setUp/tearDown in unit tests

* BibFormat unit tests were amending bibformat_engine internal
  configuration variable to set up testing path. The implementation
  was lacking however proper tearDown causing all sorts of side
  effects to tests happening afterwards, in particular affecting
  get_record()/print_record() calls for empty record.
  This is now fixed.  (closes #1319)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  BibFormat: setUp/tearDown in unit tests

Conflicts:
	modules/websearch/lib/websearch_regression_tests.py
Merge branch 'master' into next

* master:
  BibFormat: setUp/tearDown in unit tests
BibFormat: fixes unit tests

* FormatTest failed to append CFG_TMPDIR to sys.path and resulted
  in tests failing under some conditions. (closes #1320)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibFormat: checks for bibformat bin

* Before calling call_old_bibformat we check that bibformat
  binary exists. We do not install it anymore so it only exists
  as legacy.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibCirculation: ILL improvement

* Improves the get_ill_requests_details() function.

* When loans are recalled manually, the sender email is
  set to CFG_BIBCIRCULATION_LOANS_EMAIL.

Reviewed-by: Ludmila Marian <ludmila.marian@cern.ch>
WebSearch: advanced search notification if no hits

* If an Advanced Search query yields no hits due to the boolean
  operation, inform the user and also print the total search
  results numbers for each individual search pattern, quite like
  in the Simple Search query.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  WebSearch: advanced search notification if no hits
  BibFormat: checks for bibformat bin
  BibFormat: fixes unit tests

Conflicts:
	modules/websearch/lib/search_engine.py
Merge branch 'master' into next

* master:
  WebSearch: advanced search notification if no hits
  BibCirculation: ILL improvement
  BibFormat: checks for bibformat bin
  BibFormat: fixes unit tests
WebSearch: better cleaning of word patterns

* Cleans word patterns of any trailing punctuation signs if they are
  followed by at least one space.  This is done for better consistency
  with what the indexer component does.

Reported-by: Alexander Wagner <a.wagner@fz-juelich.de>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibDocFile: allow doctype renaming

* Implements the doctype renaming for a BibDoc.

* Fixes bibdocfile CLI action `--set-doctype`.  (closes #980)

Co-authored-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibDocFile: implements format renaming

* Adds support in BibDoc for format renaming if the new format
  does not already exist among the latest files.  (closes #1318)

Tested-by: Tibor Simko <tibor.simko@cern.ch>