previewer: d3js csv previewer

* Adds d3js csv previewer.

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauthclient: save orcid in extra data

* Saves the orcid of the user in the extra data column of
  remoteACCOUNT.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
oauthclient: missing attribute addition

* Adds missing attribute to `OAuthRejectedRequestError` constructor.
  (closes #2483)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
sqlalchemy: fix mysql primary key creation

* Fixes checking of Text type supporting the case of NullType
  column type.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
workflows: template renaming

* Renames the template hp_details to hp_details_base in preparation
  of better template structure.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: template fixes

* Adds new block workflow_completed to hp_details_base template.

* Adds template hp_details to extend from hp_details_base.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
oauthclient: authorize url fix

* Changes authorize url to redirect to login form instead of register.
  (closes #2487)

* Moves imports inside functions.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: template naming fix

* Removes the hp prefix from holdingpen templates.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
jsonalchemy: validation fixes

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
uploader: typos fixes

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
records: better PID list

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
uploader: files to link addition

* Adds new option for linking files with record via custom FFL MARC
  field.

* Adds `legacy` step to uploader insert worflow for filling-up "bibxxx"
  tables.  (addresses #1772)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
previewer: addition of support for Documents

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
uploader: support for relative document paths

* Allows specifying relative paths in FFT tags.  (closes #1191)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: REST API addition

* Adds REST API for records.

* Sets `clean=True` in legacy search_engine to clean the
  recjson to be returned.

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>