Bug 23173: Provide core infrastructure
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Thu, 11 Jul 2019 13:15:55 +0000 (14:15 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 6 Apr 2020 10:04:19 +0000 (11:04 +0100)
commitf5edd39e612656d7fffbedc29f7112a49cd5999b
treeb17a92cca911a4658165059e73ab909185cb2608
parenta592317d864148c80c09d4f3a7d17a2a1506a1ac
Bug 23173: Provide core infrastructure

This patch adds the required infrastructure to enable ILL availability
plugins to intercept the request creation process and, using the
supplied metadata, search for and display possible relevant items from
whichever availability plugins are installed.

Currently three availability plugins exist:

z39.50 - Searches any number of the Koha instance's configured Z targets
https://github.com/PTFS-Europe/koha-plugin-ill-avail-z3950

EDS - Searches the EBSCO Discovery Service
https://github.com/PTFS-Europe/koha-plugin-ill-avail-eds

Unpaywall - Searches the Unpaywall API for possible open access versions
of the requested item
https://github.com/PTFS-Europe/koha-plugin-ill-avail-unpaywall

The Unpaywall plugin is intended to serve as a "reference" plugin as the
API it deals with is extremely simple

Signed-off-by: Niamh Walker-Headon <Niamh.Walker-Headon@tudublin.ie>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
13 files changed:
Koha/Illrequest/Availability.pm [new file with mode: 0644]
ill/ill-requests.pl
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/ill-availability-table.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt
koha-tmpl/intranet-tmpl/prog/js/ill-availability-partner.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/ill-availability.js [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
koha-tmpl/opac-tmpl/bootstrap/en/includes/ill-availability-table.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt
koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js [new file with mode: 0644]
opac/opac-illrequests.pl