workflows: robotupload task improvement

* Improves the new robotupload task to accept additional
  parameters such as callback_url, nonce for use with BibUpload.

* Adds a new URL route /callback/workflow/continue to receive a callback
  structure to continue a workflow.

* Adds tests for robotupload utils.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
base: bibfield configuration for conferences

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: conferences typeahead without data mock

* Removes data mock for conferences typeahead and switches to use
  the database.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
workflows: INSPIRE approval action fix

* Amends inspires_approval action to save its outcome
  to the extra_data of the object so workflows using
  this action will be able to branch their execution
  paths depending on the outcome of the action.

* Adds task halt_to_render in order to stop the workflows
  execution render and the completed submission template
  before before long tasks start so the user wont have to wait.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
deposit: literature workflow fix

* Amends literature workflow to take different
  execution paths depending on the inspires_approval
  outcome.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
deposit: add new submission (with no approval)
workflows: several updates

* Finalize the literature workflow that interacts with robotupload
  and the Holding Pen.

* Fix missing encoding in some files.

* Add receivers.py file for handling signals from the workflows
  module.

Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
deposit: fix for DOI page property when undefined

* Closes #77.

* Passes JSHint and JSBeautifier.

* Filters out the returning object of undefined values.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
base: default breadcrums

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
accounts: login template

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: save field after import fix

* Validates each field modified after import instead of saving
  the whole form. (Closes #80)

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: contributors rename to authors

* As we are triggering a dataSaveField event to save each imported
  field, the name of the field should match the name in
  forms.py.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: plupload allow PDF only

* Adds filters to plupload in order to only allow uploading PDFs. This
  filter can be extended in the future to add more mime types as needed.

Signed-off-by: Javier Martin Montull <javier.martin.montull@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: creation of import buttons widget

* Adds a button to skip the import.

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

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: extension of base templates of invenio

* 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.

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

* 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.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: templates rendering with Hogan

* 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.

NOTE introduces new JS library that needs to be installed via bower

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: add logic to the modal

* Renamed the contributors key to authors for consistency.

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

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: pub/sub pattern

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

* Changes the logic of message_box.js by rendering the template
  without depending on the result.mapping.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
Co-authored-by: Kamil Neczaj <kamil.neczaj@cern.ch>