legacy: dbdump fix

* Fixes imports in dbdump which prevented it from running.

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

* Fixes loading order of format templates and output formats to
  respect loading order of Invenio modules.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
BibDocFile: wrong field name fix

* Fixes field name used in database query.

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

* Handle detection of packages properly when packages include
  code.

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

* Adds upgrade recipe for new community ranker.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: default sort order config

* Adds configuration variable to control default sort order
  of communities.

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

* Adds admin views to communities module.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: slicing removal from filter

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: fix default of for collections

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reported-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
search: default `of` for search with `cc`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauthclient: get token fix

* Fixes an database query issue causing several tokens to be returned
  which in the end results in a token not belonging to the user could
  be returned.

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

* Fixes PEP8 errors in DataCite module.

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

* Adds initial admin interface to persistent identifier store.

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

* Changes admin discovery to use Flask-Registry.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
formatter: output format/elements loading fix

* Fixes loading order output formats and format elements to respect
  loading order of packages.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
search: fix css file path

* Fixes path for `css/typeahead.js-bootstrap.css`.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: post processor api test

* Adds test for post processor API.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: removal of hardcoded parameters

* Removes hardcoded prefix parameters in communities.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>