deposit: fix file size length

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: typeahead Grunt fix

* Fix typeahead path for v0.10+.

* Minor lint fixes.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
grunt: fix Prism configuration

* Fixes an issue with the Prism plugin having outdated
  configuration in grunt/bower.

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

* Changes OAI Harvest daemon logic to use the new workflows
  module, with many changes overall.

* Refactors DB-layer for oaiharvest part. Uses the new
  sqlalchemy models.

* Changes OaiHARVEST table schema to add workflow options and
  removes frequency parameter. BibSched is the master of
  task frequency.

* Allows new CLI parameters --workflow or -r/--repository,
  --workflow or just only -r/--repository.

* Adds support to harvest with all combinations. It means
  one repository or one workflow, one repository N workflows
  N repositories one workflow or N repositories N workflows.

* Optimized request in daemon to mimize the number of
  workflows to start to complete the work asked.

* Improves task_run with better error reporting.

* Cleans the code of several functions, simplifies the
  harvesting a bit. Changes the way the updating of
  the last_time update.

* Updates OaiHarvest model in oaiharvester.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: update model with defaults

* Adds better defaults for the oaiharvester model.

* Changes the argument column to MarshalBinary and
  removes getter get_arguments().

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: update calls to OaiHarvest model

* Updates the calls to get the arguments dict from the
  OaiHarvest model to adhere to recent API changes.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
global: grunt fixes for jquery-ui

* Installs jquery-ui instead of just jquery.

* Updates jquery-ui version to 1.10.4.

Signed-off-by: Kamil Neczaj <kneczaj@cern.ch>
Reviewed-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
Tested-by: Jiri Kuncar <jiri.kuncar@cern.ch>
utils: json import fix

* Imports the actual json module instead of
  looping import of utils/json.py.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: fix config UTF-8 problems

* Encodes legacy `invenio.config` to utf8 and fixes handling of
  translatable utf8 strings.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Co-authored-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
WebSearch: fix for citesummary link template

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibAuthorid: fix for templates

* Removes unnecessary brackets.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
deposit: adaptation to new typeahead

* Adapts depositions to typeahead 0.10.0.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
comments: login required for vote and report

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Acked-by: Jiri Kuncar <jiri.kuncar@cern.ch>
registry: imports from `flask.ext.registry`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibUpload: record signals addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: `reset_cache` added to `api.get_record`

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibUpload: fix sender msgpackable value

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