global: silent version from git

* Silences the warning "fatal: Not a git repository ..." when running
  inveniomanage outside of a git repository.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
docs: jsonalchemy grammar and rewording

* Rewords sentences that were incomprehensible or hard to understand
  and splits long chunks of information into bullet points.

* Changes informal pronouns to formal.

* Fixes a triple-quote.

Signed-off-by: Dimitrios Semitsoglou-Tsiapos <dsemitso@cern.ch>
workflows: new stage for halted

* Adds 'WAITING' stage for halted workflows with
  no action added to them.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: new stage for error

* Adds new stage for objects that encountered an error.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: detailed workflow task list

* Displays workflow definition and completed tasks in details page.

* Task names to display are chosen from the description attributes
  of the task, if not present from the first line of the docstring,
  if still not present, the function name is finally used.

* Wraps to tasks to get their attributes from outer function.

* Adapts testsuite to new workflow stages.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
oaiharvester: decorating inner function in tasks

* Wraps workflow tasks to get outer function's attributes.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
deposit: decorating inner function in task closure

* Wraps workflow tasks to get outer function's attributes.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: translation support

* Adds translation support for all templates.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: fix for indentation in templates

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
babel: no compiled translation error improvement

* Clarifies the exception when loading translations when the
  compiled *.mo files are missing.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
redirector: API migration to SQLAlchemy

* Replaces run_sql queries with SQLAchemy query.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
redirector: registry addition and refactoring

* Refactors module in order to move logic from api to model.

* Creates new registry for redirect methods.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
annotations: fix for broken bundles

* Addresses issue with invalid bundle names in templates.
  (closes #2327)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
collect: addition of filter for Blueprints

* Upgrades to Flask-Collect>=1.1.1. (closes #2353)

* Adds DeprecationWarning to Invenio link storage.

* Updates .travis.yml.

* Updates documentation.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: js uploader component

* Adds flightjs uploader component with support for pluggable
  uploader engines such as PLUpload and DropBox.

* NOTE RequireJS path to FlightJS was changed from vendors/flight/lib
  to vendors/flight. Scripts defining flight components must update
  their require statement from require('flight/lib/component') to
  require('flight/component').

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
deposit: field_display kwargs support

* Adds support for passing kwargs to Jinja macro field_display
  that can pass it to the field. This is useful for passing
  attributes to specific field widgets like (e.g. rows/cols
  for a textarea).

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

* Fixes invalid attribute access to application configuration.

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

* Adds missing es5-shim asset.

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

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

* Adds support for exclusion of files in RequireJS builds, to prevent
  files from being included multiple times. (closes #2411)

* Enables more aggressive compression for UglifyJS.

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