utils: fix for create tag from utf8

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
formatter: fix order of output formats

Reported-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
formatter: output format TEST1.bfo move

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
formatter: test overlay package

Co-authored-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
utils: `TextField` replacement by `StringField`

* Replaces the usage of `TextField` by `StringField` as it will be
  deprecated in wtforms 2.0.

* Fixes the `super` call.

* Removes trailing spaces (PEP8).

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: label `for` attribute addition

* Adds the `for` attribute on the labels of the advanced search.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
grunt: jquery plugins additions

* Adds missing `datepicker.css`, `theme.css` and
  `ui-bg_flat_75_ffffff_40x100.png`.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
communities: broken url fix

* Fixes a broken URL in the community edit page.

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

* Fixes test case for DataCite API interface.

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

* Fixes display of error message reporting.

* Fixes icons in accept/reject buttons.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
formatter: format template path fix

* Fixes path used to load format templates. Previous path
  assumed all templates where located in Invenio.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: fix fields argument on post processors

* Updates sherpa romeo methods to receive fields argument.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibDocFile: model and API expunge fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibIndex: fix for regression tests

* Fixes regression tests for 'itemcount' index.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
jsonalchemy: update `parser.py` for pyparsing 2

* Transform hardcoded decorators into extensions inside the parser
  folder. The new decorators are cataloged as before, on and after
  depending on when they should be evaluated.

* All the decorators that before needed always a tuple now works as
  `@decorator(*args)`.

* Remove `@inherit_from` decorator from field definitions as it is
  replaced by `@extend` and `@override`.

* New decorator extension added `@connect(field_name[, function])` to
  link to fields and propagate changes from one to the and vice versa.

* Remove `include` form field definitions as now registries are used.

* Replace `checker` section by `schema` to perform simple
  validations, like type or length. For more complex check use the
  checher module.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
WIP