workflows: log model relationship addition

* Adds SQLAlchemy relationship between Workflows and the log.

* Fixes issue in __repr__ for log models.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
pidstore: template filters

* Add template filters for checking existing of a persistent identifier.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
utils: no CRSF protection in testing

* Removes CRSF form protection when during tests.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: minor text updates

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
formatter: DOI inclusion in BibTeX export

* Includes DOI in BibTeX export.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: upload priority removal

* Removes bibupload high priority on accept/reject actions.

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

* Fixes reliability issues with parsing last updated cache file.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: method name fix

* Fixes copy/pasted method name.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
logging: celery logging to sentry fix

* Adds support for logging to Sentry from Celery tasks.

* Adds support for modifying Sentry transport for Celery only.

* Fixes legacy issue with use of invenio.config.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: decrease upload priority

* Decreases upload priority for stability issues due to problem
  with webcoll sleeping.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
accounts: lost password view protection

* Adds login/ssl required decorators to lost password form for
  authenticated users.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
session: backend data loading fix

* Fixes exception thrown when no data was returned from backend when opening
  a session.

* Changes logging behavior for errors happening during opening sessions.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
oauthclient: signup support

* Adds support for sign up via oauth.

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

* Fixes use of wrong exception type.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
accounts: template fixes

* Fixes minor issue in template.

* Adds template block to allow overlays to override it.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
oauth2server: scopes registry WIP

* Adds registry for OAuth 2.0 scopes.

* Adds support for selecting scopes when creating personal access
  tokens.

* Fixes scopes registration in deposit and webhooks modules according to
  new registry.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
oauth2server: authorization flow bug fixes

* Adds redirect URI field to application form.

* Adds validation and setters of redirect uris on model.

* Fixes issue in auth flow when validating scopes.

* Fixes template and context issues in 'Authorize application' view.

* Disables https redirect uri checking when in debug mode.

* NOTE Fixes auth flow issue by changing default value for
  Client.is_confidential. Upgrade included to update existing
  applications.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
oauthclient: github/orcid sign-in/up support WIP

* Adds support for GitHub and ORCID sign-in/up.

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