installation: test presence of flask.ext.admin

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibField: new fft field in `atlantis.cfg`

* Introduces FFT field in BibField's configuration.

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  BibField: new fft field in `atlantis.cfg`
WebDeposit: subtitle, file, comment fields cooking

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: added regression tests

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: webdeposit_utils testing based fixes

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: blueprint checks & customize template

* Adds form template configuration.

* Handles in blueprint non existent uuid.

* Checks for invalid deposition type.

* Fixes datepicker next/prev overlap.

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: new record id field

* Adds new record id field.

* Adds updating functionality to the workflow if a record id is defined
  in the marc.

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: file cooking configuration addition

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: photo deposition completion

* Finalises photo deposition cooking.

* Adds default key to title field.

* Adds thesis and preprint workflow marc functions.

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: uncook json functionality addition

* Adds uncook functions to `WebDepositForm` and `WebDepositField`.

* Changes configuration in order to work with recjson keys instead of
  cooking functions.

* Adds uncook function for files based on recid using `BibDocFile`.

* Refactors `config_utils` with `parse_config` helper addition.

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: dropbox WTField widget

* Integrates Dropbox chooser as a WTField widget.

* Adds upload from url functionality through POST.

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: form status & ui actions on fields

* Adds a for status indicator woth Saving/Saved indications.

* Renders additionally the description of a WTField as a helper.

* Adds hide/show/enable/disable functionality to be performed on fields
  upon validation. The actions can be configured in the returned dict of
  validating functions.

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: record id field record loading

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: field grouping

* Introduces field grouping customization in collapsable divs.

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebDeposit: poetry deposition addition

Signed-off-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibDocFile: additional mimetypes support

* Introduces new CFG_BIBDOCFILE_ADDITIONAL_KNOWN_MIMETYPES config
  variable to be able to recognize new mimetypes from a given file
  extension (useful in case an old mimetypes Python module is used).

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebComment: guest commenting/reviewing not allowed

* Redirects to log on when guest tries to comment or review.
  (closes #1539)

Signed-off-by: Jake Cowton <jake.calum.cowton@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: unit test disabling for CFG_CERN_SITE

* Disables non-applicable unit test (because of different
  index setup) when running on CFG_CERN_SITE.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  WebSearch: unit test disabling for CFG_CERN_SITE