workflows: tasks decorated

* to pass their properties into their closure.

Signed-off-by: Georgios Papoutsakis <geiorgios.papoutsakis@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.
recordext: add alias for 035
workflows: delay user email confirmation

* Adds route callback/workflows/webcoll to wake up
  the workflows that correspond to the record ids
  updated from the webcoll process.

* Caches on the Redis server the record ids that are
  waiting for the webcoll to run, deletes them when
  their workflow is resumed.

* Renames route callback/workflows/continue to
  callback/workflows/robotupload because now the
  workflow only continues in case of rejection of
  the submission.

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

workflows: delay user email confirmation
recordext: more definition updates

* Changes "title:main" to "title:title" to follow atlantis.cfg and
  MARC standard closer.

* Updates formats to use these new names.

* NOTE reload your record configuration by truncating your records_json
  table. Unfortunately existing submissions/workflow objects may have
  problems that it is not up to date.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Merge pull request #97 from jalavik/definition-update

recordext: more definition updates
workflows: definition update

* Adds link to arXiv for arXiv identifiers.

* Shows only INSPIRE categories.

* Change the type of process_record_arxiv workflow
  from 'record' to 'Harvested record' to be distinguished
  from submitted records.

* Adds the type 'Submitted record' to literature and
  literature_simple workflows.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: docs update and cosmetics

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
deposit: literature workflow update

* Changes the field mapping to conform with current inspire.cfg.

* Adds minor improvements to docs.

Co-authored-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: styles fixes

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: task fixes

* Fixes setting approved for filtering tasks.

* Task was_aproved return False on deafault.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
deposit: disable form submit on enter

* Prevents users from submitting form by hitting enter.

* Autofocus on the first input element of the form.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
Merge pull request #101 from giokokos/fix-submit-form

deposit: disable form submit on enter
deposit: cosmetic changes

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: plupload autoupload PDFs

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
workflows: remove pass decorator temporarily

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
deposit: update literature workflow

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