oaiharvest: fixes harvest() web interface

* Adds missing parameters in oaiharvestadmin.harvest() function
  causing errors in the webinterface handler.
  (PR #2524)

Acked-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
WebStyle: POST handling fix

* Correctly handles reading using chunks in POST
  requests.
  (PR #1951)

Co-authored-by: Alessio Deiana <alessio.deiana@cern.ch>
Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
BibFormat: PEP8 fixes in bibreformat

* Fixes PEP8 issues in `bibreformat`.  (PR #2220)

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibFormat: recjson update using bibreformat

* Adds `recjson` to the list of available formats that `bibreformat`
  could use.  (closes #1708) (PR #2220)

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: inverted collection scores

* Updates how the `score` value from `collection_collection` is used,
  the lower the score the higher the position.  Useful for running
  Invenio 1 and Invenio 2 out of the same database.  (PR #2058)

* Updates `democfgdata.sql` to use the new score.

* Provides an upgrade recipe to update the `collection_collection`
  relationships. It changes the score setting its value from 0 to the
  number of "son collections".

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
errorlib: tags context fix for sentry

* (PR #2623)

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
installation: python-twitter requirement update

* Updates python-twitter in requirements.txt to the latest version
  (2.0) that supports Twitter 1.1 API.  (PR #2015)

Signed-off-by: Sebastian Witowski <sebastian.witowski@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebComment: general comment format improvements

* Introduces the CFG_WEBCOMMENT_ENABLE_HTML_EMAILS config variable.
  When True, emails will also include HTML content.

* Introduces the body_format column for cmtRECORDCOMMENT that describes
  the format of the body of each comment ("HTML", "TEXT", etc.).

* Handles comments appropriately when storing and displaying them,
  according to their body format and desired output format. (closes #2064)

Co-Authored-By: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
WebComment: bibdoc relations & filtering

* Creates database table to store the comment-bibdoc relations and
  provides functions to get/set the relations.

* Amends the interface so that users can: (a) relate comments to bibdocs
  when adding new comments, (b) filter the displayed comments based on
  those relations and (c) filter the displayed comments based on free text.

Co-Authored-By: Harris Tzovanakis <me@drjova.com>
Co-Authored-By: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>