BibCatalog: add daemon task
- Adds a daemon task for automatic generation of tickets using the BibCatalog API. (fixes #1528)
- Accepts various arguments for selecting and querying records to create tickets for, for example --recids= or --query=
- Selection of reportnumbers added by Nikolaos Kalodimas.
- Implements a plug-in based ticket template system to customize the layout and content of tickets as desired, in addition to functions checking if a record is eligable for ticket creation.
- List available tickets using --list-tickets.
- Adds the task name 'bibcatalog' to the BibTask accepted task list.
- Adds unit-tests appropriate and example ticket template.
- Adds new admin documentation for the new task.
Co-authored-by: Nikolaos Kalodimas <nikolaos.kalodimas@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
BibCatalog: changes ticket templates
- Changes the function signature required for ticket templates to also pass the BibCatalogTicket object along with the record.
- Removes 'init' from available plugins.
- Updates the documentation and existing templates accordingly.
BibCatalog: surpresses pylint warnings as appropriate