formatter: 'recjson' format addition

* Adds general implementation of 'recjson' using formatter engine.
  (addresses #1908)

* Adds an upgrader recipe for the new output format.

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: base template refactoring fix

* Fixes unneeded base of base template introduced in
  461039d109480d5988b4b8d820fdd529a4a44756.

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

* Fixes several JavaScript issues introduced during refactoring of assets
  as well as dynamic field lists.

* Fixes tag template issue in field lists.

* Fixes issue when appending new elements to field lists.

* Fixes typo in message variable names.

* Fixes uninitialized variables due to strict mode.

* Removes Invenio CKEditor configuration as this is configured by each
  textarea field in the data-ckeditor-config attribute.

* Adds SPAN-tag to whitelist of HTML-tags to support MathJax integration
  in CKEditor.

* NOTE Changes deposit/form.js module to export multiple methods.
  If your instance templates invokes 'form(configuration)' it must
  be changed to 'form.init(configuration)'.

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

* Adds description for `ColumnInput` widget.  (closes #1949)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Tested-by: Javier Martin Montull <javier.martin.montull@cern.ch>
records: fix bibrec.additional_info upgrade script

* NOTE Amends upgrade script to add column `bibrec.additional_info` in
  case it does not exist.  (closes #2132)

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
formatter: hotfix format.code column size

* Fixes an issue with Format model after merging 37d44cb5.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauth2server: Flask-OAuthlib<0.7 version limit

* Adds version limit of Flask-OAuthlib<0.7.  (addresses #2158)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: xmlmarclint import fix

* Moves import of sys module into main() function for things
  to magically work.

* Removes legacy "version" parameter.

* General PEP8/PEP257 fixes.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
docs: missing mkdir command addition

* Adds command `$ mkdir -p $HOME/src` to installation tutorial.

Reported-by: Kevin Bowrin <kjbowrin@gmail.com>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauth2server: missing access token in test case

* Fixes missing access token in test case. (closes #2166)

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

* Improves compatibility with Bootstrap 3.  (closes #1644)

Co-authored-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
login: fix redirection to secure page

* Fixes an issue when endpoint needed view arguments to generate
  `secure_url` for comparison with `request.base_url`.  (closes #2052)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
travis: minimal requirements testing

* Adds script for minimal requirements generation from `setup.py`.
  (addresses #2044)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
upgrader: has_table function

* Adds op.has_table to upgrader for use in upgrade scripts.

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

* Adds initial upgrade script from Invenio v1.x for tags module.

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

* Adds initial upgrade script from Invenio v1.x for pidstore module.

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

* Adds upgrade recipe for adding table record_json in records module.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
formatter: kind column in bibfmt

* Adds upgrade recipe adding bibfmt.kind column in
  formatter module.

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

* Adds initial upgrade script from Invenio v1.x for messages module.

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

* Upgrades remoteACCOUNT.extra_data column to be nullable.

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