workflows: tasks decorated

* to pass their properties into their closure.

Signed-off-by: Georgios Papoutsakis <geiorgios.papoutsakis@cern.ch>
deposit: drag & drop fix

* Sets drop_element option from pluploader to make drag & drop
  of files work.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: doi import page number simple fix

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Merge pull request #87 from pedrogaudencio/fix-doi-page-number

deposit: doi import page number simple fix
workflows: imports fix

* Adapts workflows to invenio/labs changes.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Merge pull request #89 from GiorgosPa/imports

workflows: imports fix
deposit: rename /deposit to /submit

* Renames all appearances of deposit for submit.

* Adds BLUEPRINTS_URL_PREFIXES to modify deposit url prefix.

* NOTE In order to modify the breadcrum of deposit module and useful
  for the future, introduces Babel configuration to allow translation
  of strings in the overlay. In development mode, to see the translated
  strings, run $ python setup.py compile_catalog
  Translation catalog is compiled automatically if you install
  using $ python setup.py install

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: requirejs path fixes

* Fixes requirejs import paths to work both with requirejs
  and almond after running requirejs Optimizer.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
base: build and settings JS addition

* Adds build.js and settings.js to have control over requirejs
  settings and build requirements on INSPIRE.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
base: requirejs fixes for asset compilation

* Fixes to allow running with ASSETS_DEBUG=False which
  compiles all assets using r.js

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
search: facets by collection adaptation

* Adds fixtures for inspire.

* Adds inspire collection facet which use 980__a MARC field via
  bibfield collection key.

* Introduces PACKAGES_FACETS_EXCLUDE config variable to disable
  import of unneeded facets.

Signed-off-by: Kamil Neczaj <kamil.neczaj@gmail.com>
base: removal of Collectionname fixtures

* NOTE The fixtures are not needed because their
  content is loaded from CollectionData fixture.
  Beside this the fixture was never loaded
  because of lack of the corresponding model.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
git: add node_modules/ to .gitignore

* Useful when npm packages are installed locally.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: modal preview of the imported data

* Adds a button to skip the import.

* Moves inline CSS styles to `deposit-inspire.css`.

* Extends the `run_action_bar.html` and `run_group_start.html` with
  hide class to trigger the visibility of the rest of the form and
  the action bar depending on the state of the first panel of the
  form.

* Adds the Readmore libary to the bundles to support the more/less
  readability on abstract and authors fields.

* Adds the new `preview.html` template to render the modal window.

* Extends the LiteratureSubmissionForm and supports smooth scrolling
  to the rest of the form.

* Uses Hogan to render the template of the table that populates the
  modal window to display the data that is about to be imported.

* Adds hidden class to the hidden fields.

* Adds helper functions for removing hidden fields from the object
  and maping the keys according the labels extracted from the form.

* Decouples modal from the literature_submission_form by firing
  events and listening to them.

* Listeners attached on the modal buttons follow the workflow
  of importing or not the data.

* Adds function for showing the rest of the form.

* Resolves bug with the more/less functionality and tweaks the
  design of the modal.

* Adds missing license to `inspire_init.js`.

* Fixes JSHint errors and runs JSBeautifier.

NOTE: New JS library <https://github.com/jedfoster/Readmore.js>

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: UI modifications on the forms

* Changes the color scheme of the Submit and Upload files buttons.

* Removes the Save button.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: refactoring of the modal

* Removes redundant code.

* Reverting the logic of the closure of the import Data without
  touching the message_box.js.

* Clears the messages when user cancels the import.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: better 404 message

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: requirejs typeahead improvement

* Updates requirejs settings.js related to Bloodhound.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Co-authored-by:  Kamil Neczaj <kamil.neczaj@cern.ch>
workflows: literature fixes

* Fixes the display of title and description in Holding Pen
  for literature workflows.

Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Merge pull request #84 from GiorgosPa/tasks

workflows: tasks decorated to pass their properties into their closure.