[koha-commits] main Koha release repository branch master updated. v18.11.00-999-geabcec1
Git repo owner
gitmaster at git.koha-community.org
Thu Mar 28 20:57:29 CET 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via eabcec1d6c172e0e590aa497eae0c264bcd2b5dc (commit)
via 583328e3f8c2e1827419185628069ad8c9979943 (commit)
via a142369b309068ed2ba5d34f033f4e047483401d (commit)
via 47ad7afccaf1ca0ae7b8dbfad9998aaac6d9a938 (commit)
via 95d23bc3c38f3cd6a4e6be3aac451c3899cccc83 (commit)
via a0148b440a4f05c6a6d216c85b03ea502b0da95b (commit)
via a7e704382fa97ba08c8d2d57f6a818e76e858770 (commit)
via 4672e6e6c40cf595da7e836525e5b6e486f78efe (commit)
via 1dfb57164fd6d986b110caa695a3baf9800ff93a (commit)
via b63fd774c181b96e514122c0d693f222b99b1cdd (commit)
via e3f2e346f884e2ba6e4a8f43709955f776a259de (commit)
from 29c1c8ff92509e08b86106abea11436261b432df (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit eabcec1d6c172e0e590aa497eae0c264bcd2b5dc
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed Mar 27 14:23:18 2019 -0300
Bug 13895: (QA follow-up) Make the class plural
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 583328e3f8c2e1827419185628069ad8c9979943
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Wed Mar 13 16:25:38 2019 +0000
Bug 13895: Fix test
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit a142369b309068ed2ba5d34f033f4e047483401d
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Wed Mar 13 16:03:09 2019 +0000
Bug 13895: Adapt naming according to voted RFC
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 47ad7afccaf1ca0ae7b8dbfad9998aaac6d9a938
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Mon Feb 25 22:17:01 2019 +0000
Bug 13895: (follow-up) Fix POST response
Test plan:
prove t/db_dependent/api/v1/chcekouts.t
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 95d23bc3c38f3cd6a4e6be3aac451c3899cccc83
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Thu Feb 21 00:26:17 2019 +0000
Bug 13895: Change renewal endpoint
Instead of PUT on /checkout/{checkout_id} endpoint, you should now call
POST on /checkouts/{checkout_id}/renewal
Test plan:
prove t/db_dependent/api/v1/checkouts.t
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit a0148b440a4f05c6a6d216c85b03ea502b0da95b
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Thu Feb 21 00:15:22 2019 +0000
Bug 13895: Refactor test using REST Basic auth
Test plan:
prove t/db_dependent/api/v1/checkouts.t
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit a7e704382fa97ba08c8d2d57f6a818e76e858770
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Wed Feb 20 21:42:36 2019 +0000
Bug 13895: Remove create_item and create_biblio subs from test
Test plan:
prove t/db_dependent/api/v1/checkouts.t
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 4672e6e6c40cf595da7e836525e5b6e486f78efe
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Wed Feb 20 21:30:49 2019 +0000
Bug 13895: Remove the opac checks in privileged endpoint
Test plan:
prove t/db_dependent/api/v1/checkouts.t
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 1dfb57164fd6d986b110caa695a3baf9800ff93a
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Mon Feb 4 14:22:54 2019 +0000
Bug 13895: (follow-up) Adapt checkout endpoint to openapi, update terminology
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit b63fd774c181b96e514122c0d693f222b99b1cdd
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Fri Nov 10 16:16:49 2017 -0300
Bug 13895: (QA follow-up) Adjust OpenAPI definitions for checkouts
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit e3f2e346f884e2ba6e4a8f43709955f776a259de
Author: Julian Maurice <julian.maurice at biblibre.com>
Date: Mon Mar 23 13:10:46 2015 +0100
Bug 13895: Add API routes for checkouts retrieval and renewal
GET /checkouts?borrowernumber={borrowernumber}
GET /checkouts/{checkout_id}
PUT /checkouts/{checkout_id}
+ unit tests in t/db_dependent/api/v1/checkouts.t
Test plan:
1. Open a browser tab on Koha staff and log in (to create CGISESSID
cookie). You should have permission circulate_remaining_permissions.
2. Go to http://yourlibrary/api/v1/checkouts?borrowernumber=XXX (replace
XXX with a borrowernumber that has checkouts) and check you receive
correct data
3. Go to http://yourlibrary/api/v1/checkouts/YYY (replace YYY with an
existing checkout id) and check you receive correct data
4. Send PUT requests to http://yourlibrary/api/v1/checkouts/YYY until
the maximum number of renewals is reached (you should have a 403
error)
5. Run unit tests in t/db_dependent/api/v1/checkouts.t
Depends on bugs 16699 and 14868
Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>
Signed-off-by: Lari Taskula <larit at student.uef.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/REST/V1/Checkouts.pm | 209 ++++++++++++++++++++
Koha/Schema/Result/Issue.pm | 5 +
api/v1/swagger/definitions.json | 6 +
api/v1/swagger/definitions/checkout.json | 69 +++++++
.../definitions/{holds.json => checkouts.json} | 2 +-
api/v1/swagger/parameters.json | 3 +
api/v1/swagger/parameters/checkout.json | 9 +
api/v1/swagger/paths.json | 9 +
api/v1/swagger/paths/checkouts.json | 96 +++++++++
t/db_dependent/api/v1/checkouts.t | 156 +++++++++++++++
10 files changed, 563 insertions(+), 1 deletion(-)
create mode 100644 Koha/REST/V1/Checkouts.pm
create mode 100644 api/v1/swagger/definitions/checkout.json
copy api/v1/swagger/definitions/{holds.json => checkouts.json} (58%)
create mode 100644 api/v1/swagger/parameters/checkout.json
create mode 100644 api/v1/swagger/paths/checkouts.json
create mode 100644 t/db_dependent/api/v1/checkouts.t
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list