legacy: fix for static file handler

* Addresses issue with empty filename in legacy static file handler.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
docs: jsonalchemy field definition documentation
fixtures: hotfix dataset loading

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
legacy: fix missing imports

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: better signaling support for cli

* NOTE CFG_FLASK_SERVE_STATIC_FILES is set only for `runserver` command.
  Please add it to your local config if you want to enable it for your
  server.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: webinterface_handler_local removal

* NOTE removes following warning about direct usage of
  `invenio.webinterface_handler_local:customize_app'. Please, adapt your
  function into package and use configuration option
  EXTENSIONS = ['mypackage.customize_app'] instead.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
jsonalchemy: support for storage create/drop

* Adds registry for storage engines.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: database create/drop for storage engines

* Adds option for less verbose output for database commands.

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

* Adds new BibClassify workflow task for faster execution, taking
  only parts of the document instead of it all.

* Now saves the BibWorkflowObject after removing the action.

Acked-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Guillaume Lastecoueres <PX9e@gmx.fr>
workflows: error message improvement

* Properly sets error messages upon unexpected errors during
  workflow execution.

* Integrates the error messages into the Holding Pen detailed
  view of an object as a panel.

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

* Changes wells to panels in the record detailed display.

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

* Adds integration of tasks results into the object model and
  detailed display.

* Tags filtering now keeps the tags when user updates the page by
  using session.

Co-authored-by: Guillaume Lastecoueres <PX9e@gmx.fr>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: update tags placeholder text

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

* Refactors the quick_match_record a bit.

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

* Also adds Holding Pen main table pagination on top of the
  table in addition to the bottom one.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: bundle fix

* Fixes the bundles to properly import DataTables static files.

* Changes from sqlalchemy._or to db._or.

* PEP8/257 updates.

Reported-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: definition enhancement

* Adds WorkflowBase class that define the basic function
  a workflow needs to render correctly its processed
  objects.

* Upgrades Holding Pen to print correctly the changes.

* Adds the functions needed to the basic workflows.

* Adds task results to workflows management functions
  for updating progress bar in Holding Pen.

* Moves brief formatting to the workflow instead of
  the BibWorkflowObjects to allow everybody to choose
  their way to format them.

* Various fixes to Holding Pen JavaScript.

Acked-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>
workflows: tags display fix

* Amends Holding Pen main table to properly show all
  records when all tags are removed.

* Fixes a problem with Holding Pen main table display when
  sessions are cleared.

Co-authored-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: request optimization

* Reduces the number of ajax requests triggered in Holding Pen
  interface.

Signed-off-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>
workflows: definitions fix

* Changes the methods get_description, get_title and formatter
  to static and BibWorkflowObject argument name.

* Adds WorkflowBase inheritance in marcxml_workflow
  and sample_workflow.

* PEP8 fixes.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>