oaiharvester: authorlist extraction task

* Updates post-process task for authorlist extraction to
  properly fall back to the default XSLT stylesheet.

* Adds a check that the script file is found for the filtering
  script task.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: OAI post process update

* Improves the logic and documentation of the tasks to
  post-process harvested records to be less error prone.

* Updates some tests with comments and missing logic.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
OAIHarvest: logging creation fix

* Properly sets the OaiHARVESTLOG.date_harvested value when creating
  a log entry by calling datetime.now() in the proper way.

* Removes exception masking in create_oaiharvest_log_str().

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: record extraction improvement

* Improves the OAI-PMH record extraction to better use namespaces to
  output cleaner data without dummy namespaces.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: post process check record

* Adds a new task check_record in the default post_process workflow
  to check if there is valid data in the record after conversion. If
  not, then skip further execution of this object.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: configurable namespace addition

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
OAIHarvest: session_manager usage

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
jsonalchemy: fix problem with reserved names

* Addresses issue when `try_to_eval` function was evaluating missing
  subfields to existing global Python functions.  (closes #2593)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibSort: Admin Guide improvements

* Adds description how to define sorting options.

Signed-off-by: Kennethhole <kenneth@tind.io>
search: PEP8/257 improvements in models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
docs: fix spelling in getting started with overlay

* Adds note about documentation for translations.  (PR #2595)

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
elasticsearch: fix for signal receivers arguments

* Adds keyword arguments to signal receivers.  (PR #2594)

Acked-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
sorter: multiple tag sorting fixes

* Fixes issue in sorting according to multiple MARC tags.

* Fixes issue with ordering of sorted records as well as handling of
  unsorted records.

* Fixes record slicing issue using 1-indexed value instead of
  0-indexed value.

* Adds generic method to decide whether to rank or sort records and
  changes facets to use this method.

* Adds two configuration variables to control default sort field and
  order.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: featured community UI problems fixup

* Fixes the `Curate` button link and the translated string
  for the empty collection.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
alerts: PEP8/257 improvements in models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: UserQuery relationship addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
workflows: Holding Pen display

* Provides a default label for an object in the Holding Pen main
  table in cases where there is no title extracted from the data.

* Adds a convenience button to restart workflow on the current task
  if there is an error (useful while fixing a problem).

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: fix default object display

* Shows only the object with "Need action" by default.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: improvements of detailed template

* Improves the `base_details.html` template to make it easier to
  customize.

* Now also passes the workflow object to the template.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: fix of Unicode character handling

* Handles better Unicode characters when searching in Holding Pen.

* Renames variables and functions for clarity.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>