BibIndex: fix for virtual index filtering

* Fixes function filter_for_virtual_indexes

Reported-by: Henning Hraban Ramm <invenioml@fiee.net>
Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSubmit: better value escaping

* More complete escaping of values using `escape_javascript_string`
  from htmlutils.  (closes #1578)

Signed-off-by: Jerome Caffaro <jerome.caffaro@cern.ch>
WebSubmit: value escaping for modifications

* Escape the values to display for appropriate insertion
  into HTML/Javascript.  (addresses #1578)

Signed-off-by: Jerome Caffaro <jerome.caffaro@cern.ch>
WebSubmit: new Create_Modify_Interface parameters

* Adds new parameters 'prefix', 'suffix', 'button_label',
  'button_prefix' and 'dates_conversion' to WebSubmit function
  Create_Modify_Interface for increased customizability of the
  interface.

Signed-off-by: Jerome Caffaro <jerome.caffaro@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  WebSubmit: new Create_Modify_Interface parameters
  WebSubmit: value escaping for modifications
  WebSubmit: better value escaping

Conflicts:
	modules/miscutil/sql/tabcreate.sql

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
BibSched: icons creation tasklet

* Tasklet to create icons of the files attached to a record.

Signed-off-by: Ludmila Marian <ludmila.marian@cern.ch>
Acked-by: Jerome Caffaro <jerome.caffaro@cern.ch>
BibSched: more customizable icon creation tasklet

* Added parameter 'icon_format_mappings' to define the format
  of the created icons for each source file format.
  Defaults to newly introduced CFG_ICON_CREATION_FORMAT_MAPPINGS.

* Added parameter 'docnames' to choose for which BibDoc the icons
  should be created

* Added parameter 'add_default_icon' to mimic the traditional
  behaviour of WebSubmit when adding default gif icon.

* Added parameter 'inherit_moreinfo' for created icons to inherit
  the comment and description values of the source BibDoc.

Signed-off-by: Jerome Caffaro <jerome.caffaro@cern.ch>
Acked-by: Ludmila Marian <ludmila.marian@cern.ch>
BibDocFile: convert files and icons asynchronously

* When uploading files via the document file manager interface,
  do not attempt at creating other formats and icons immediately,
  but delay their creation via the use of dedicated tasklets, in
  order to reduce the waiting time on the user's side.
  (closes #1428)

* Introduces parameter 'deferRelatedFormatsCreation' in
  Create_Upload_Files_Interface WebSubmit function to fall back
  to previous behaviour if "related formats" creation should
  happen immediately.

Signed-off-by: Jerome Caffaro <jerome.caffaro@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  BibDocFile: convert files and icons asynchronously
  BibSched: more customizable icon creation tasklet
  BibSched: icons creation tasklet

Conflicts:
	modules/bibdocfile/lib/bibdocfile_managedocfiles.py
	modules/bibsched/lib/tasklets/Makefile.am
	modules/miscutil/lib/inveniocfg.py

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
BibIndex: PEP8 compliance fixes

* Improves code readability and removes many PEP8 compliance issues from
  bibindex_engine file.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibIndex: changes in WordTable argument list

* Removes tag_to_tokenizer_map WordTable's argument.

* Introduces special tags as a new configuration option.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
bibindex: new filename index

* Adds new `filename` index, field and tokeniser.  (closes #1717)

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibFormat: fix for eval_format_element return type

Reported-by: Henning Hraban Ramm <invenioml@fiee.net>
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
NEWS: fix v1.1.3 version number

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

* maint-1.1:
  NEWS: fix v1.1.3 version number
installation: location of jquery.treeview

* Updates location of jquery.treeview to use invenio-software.org
  hosting.

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

* maint-1.0:
  installation: location of jquery.treeview

Conflicts:
	Makefile.am

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

* maint-1.1:
  installation: location of jquery.treeview

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
BibEncode: fix video-encoded files synchro to DB

* Files created by BibEncode are sometimes not visible
  by BibDocfile, even though they are well available in
  the BibDocFile storage space. This patch helps synchronising
  these video-encoded files to the BibDocFile tables.
  (closes #1647)

Co-authored-by: Ludmila Marian <Ludmila.Marian@cern.ch>
Reported-by: Genis Musulmanbekov <genis@jinr.ru>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  BibEncode: fix video-encoded files synchro to DB