docs: documentation refactoring

* fixing the images' path.

* removing references to non-existing files.

* moving modules into proper files.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
annotations: sphinx friendly documentation

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
upgrader: sphinx friendly documentation

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
pidstore: provider status sync and celery tasks

* Adds feature to synchronize the status of a persistent identifier
  with the provider. Useful for cases where the status of an
  identifier might have been modified in an external service.

* Adds namespace prefix to configuration variables.

* Adds celery tasks to registering DataCite DOIs for records.

* Fixes some PEP8 errors.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: documentation fix

* Fixes import example in documentation.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
access: module import fix

* Fixes typo in module import.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
celery: signal handling fix

* Fixes issue where signals handler could be called multiple times
  when multiple celery applications where created.

* Moves test case to celery package.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
celery: test case helper

* Adds testcase class helper for easier testing of Celery tasks. The
  helper will create a new Celery application per test, similar to the
  way InvenioTestCase creates a Flask application per test.

* Adds example test case using the new helper.

* Removes no longer needed test runner hack.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
logging: error reporting refactoring

* Refactors register_exception to use Flask application
  logging, and split functionality into a Python logging
  handler and formatter.

* Adds support for logging exceptions to Sentry.

* Disables email error reporting when in debug mode.

* Deprecates certain error logging function by moving them
  to the module where they are used. This is done to create
  a much simpler API.

* Fixes PEP8 errors.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
workflows: bibholding pen improvement

* Fixes range selection.

* Changes name of tags.

* Fixes tags filtering.

* Adds 'NEW' tag for initial bibworkflow state.

* Fixes the ctrl + a shortcut.

* Fixes full selection.

* Fixes CSS missing for bootstrap input tags.

* Fixes tags appearing in Search field.

* Deletes useless arguments.

* Removes risky try...except.

* Adds a initial state management.

* Adds tag color.

* Fixes the fact that the number of displayed was hardcoded
  to allow everything to work whatever is the number of
  rows.

* Fixes the tags printed in the detailed view.

* Removes some useless and heavy console.log.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>
pages: initial release

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
pages: new route registration

* Adds pages to excluded packages to allow fast integration.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: new signal `before_handle_user_exception`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
pages: 404 exception handling

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: fix admin template

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
pages: model improvements

* Adds support for urls without trailing slash.

* Adds validation for template name.

* Adds last_modified and created columns.

* Improves upgrade recipe.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
docs: INSTALL guide update

* Updates the INSTALL guide to remove suggested command to set
  PACKAGES config manually. This is now managed at the level of
  the demosite sources via setup.py entry_points.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: fix for Celery worker tasks loading

* Loads the Celery worker tasks so that Invenio Celery wrapper
  can discover the tasks.

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

* The marc reader and wrapper modules now catches any errors
  while parsing MARCXML with legacy create_record and returns a
  ReaderException with details.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
records: API test case addition

* In response to 5daee2f, adds a new test-case to make sure
  an exception is raised when Record.create is called with bad
  data.

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