jQuery: fix for DataTables dependency URL location

* Fixes URL of jQuery UI DataTables dependency.  (closes #2078)

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

* maint-1.1:
  jQuery: fix for DataTables dependency URL location
BibFormat: larger column `format.code`

* Increases length of column 'format.code' to enable larger values.
  e.g. `recjson` (closes #2072)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibIndex: upgrade recipe for `tag.recjson_value`

* Adds upgrade recipe for `tag.recjson_value` that was forgotten in
  commit e0f2ea91754368f639abe86526096a4d947e99a5.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
WebSubmit: doilookup function in webinterface

* Adds doilookup function to websubmit_webinterface that uses the
  crossrefutils and returns a dictionary with MARC codes as keys and
  values from crossref website as values (that can be used in
  submissions to prefill some fields based on the DOI).
  (closes #2025)

Signed-off-by: Sebastian Witowski <sebastian.witowski@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebJournal: Indico seminars widget improvement

* Improves the Indico seminars widget but fetching more carefully
  information about the creator/chair of the event as well as the
  URL.  (closes #1980) (closes #1981)

Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibKnowledge: lxml port get_kbt_items_for_bibedit

* Replaces usage of `libxml2` and `libxslt` with `lxml` in
  `get_kbt_items_for_bibedit` function.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibKnowledge: fix get_kbt_items_for_bibedit

* Uses either libxml2 or lxml depending on which library is present.
  (closes #1879) (closes #1895)

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
installation: lxml recommended

* Recommends lxml now that libxml2 and libxslt1 are fully optional.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
I18N: fix typo in French translation

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
WebSearch: CERN-specific hack for latest additions

* Reverses the order of the records following the latest
  changes in the search engine.  (closes #1976)

* Also, removes a few outdated hacks.

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibFormat: add sponsor information to copyright

* Displays information about the sponsor along with the copyright,
  if applicable.  (closes #1975)

Co-authored-by: Ludmila Marian <ludmila.marian@gmail.com>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebSubmit: grant access to the superadmin as owner

* Grants acesss to the superadmin as owner.  (closes #2065)

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSubmit: allow image conversion of .tiff

* Allows image conversion of TIFF files.  (closes #1909)

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibDocFile: get_icon() for smallest size icon

 * Updates get_icon() function to return the BibDocFile
   associated with the subformat CFG_BIBDOCFILE_ICON_SUBFORMAT_RE,
   or, if this does not exist, the smallest size icon available.
   (closes #1350) (closes #1743)

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
BibDocFile: fix type of bibrec-bibdoc connection

* Changes the default value of the type in the bibrec_bibdoc
  table to the doctype of the bibdoc, instead of 'Main'.
  (closes #1759)

Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibDocFile: escape file URLs in /files tab

* Escapes file URLs in /files tab.  (closes #2067)

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
Co-authored-by: Jerome Caffaro <jerome.caffaro@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebSubmit: allow record owners to upload files

* The uploadfile should also allow record owners to submit
  files, not only users that are authorized via WebAccess roles.

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
WebSubmit: fix access restrictions in /uploadfile

* Takes into account the 'categ' parameter when checking if a user
  is allowed to upload files. (closes #1703) (closes #2066)

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
WebSearch: fix IndexError in is_hosted_collection

* Fixes possible IndexError situations in is_hosted_collection().
  (closes #1764)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>