Bug 27251: Rewrite QOTD with the Koha REST API
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Dec 2020 11:34:43 +0000 (12:34 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Jan 2021 08:03:45 +0000 (09:03 +0100)
commit401987bdad8d754e9bf2d49f0f209e2168fa8963
tree306a9f3951f904255b1498f7ed3f3edcd0731726
parentbcb5b076ce2b9ef9676f1f702c90ea2b0703a827
Bug 27251: Rewrite QOTD with the Koha REST API

This patch replace the QOTD editor with our new way to CRUD the
adminitration page (like libraries and STMP servers)

Test plan:
Play with the QOTD by adding, removing, updating quotes
Try to find bugs :)

Bug 27251: Fix capitalization

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
17 files changed:
Koha/Quote.pm
Koha/REST/V1/Quotes.pm [new file with mode: 0644]
api/v1/swagger/definitions.json
api/v1/swagger/definitions/quote.json [new file with mode: 0644]
api/v1/swagger/parameters.json
api/v1/swagger/parameters/quote.json [new file with mode: 0644]
api/v1/swagger/paths.json
api/v1/swagger/paths/quotes.json [new file with mode: 0644]
api/v1/swagger/x-primitives.json
koha-tmpl/intranet-tmpl/prog/en/includes/quotes-toolbar.inc [deleted file]
koha-tmpl/intranet-tmpl/prog/en/includes/quotes-upload-toolbar.inc [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt
tools/quotes.pl
tools/quotes/quotes-upload_ajax.pl [deleted file]
tools/quotes/quotes_ajax.pl [deleted file]