[koha-commits] main Koha release repository branch master updated. v19.11.00-242-g8b6d157
Git repo owner
gitmaster at git.koha-community.org
Thu Jan 9 17:53:31 CET 2020
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 8b6d1579b7fdd5e1210283a52f8da3411d0c1c87 (commit)
via 5cd9c904c4ecef58a4e9b8d38ddb587f67c5a617 (commit)
via 021f5c95d7d0b9bff8eb703abc6fb65a656bd3de (commit)
via 5d8ae2e6c8fd6f0de86f13ed444aec6fe69d9147 (commit)
via 441cde5dbdf914953986cae2af9bb7bac569f87a (commit)
via 6659a45b6ea6f957f3c9c0d0f022a086ea78432e (commit)
via 110170760c3ae2b4ec842bca651f767b71dd0701 (commit)
from 4dff91004e8275f8d392340e95b3d05006d5770e (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 8b6d1579b7fdd5e1210283a52f8da3411d0c1c87
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Thu Jan 9 16:24:13 2020 +0000
Bug 18731: (QA follow-up) Spelling and POD corrections
Just a coulpe of very minor tweaks to keep the QA scripts happy
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 5cd9c904c4ecef58a4e9b8d38ddb587f67c5a617
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed Oct 4 15:43:03 2017 -0300
Bug 18731: OpenAPI definitions
This patch introduces the OpenAPI definitions required for the orders
endpoint. It matches the voted RFC.
Sponsored-by: Camden County
Signed-off-by: Matthias Meusburger <matthias.meusburger at biblibre.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 021f5c95d7d0b9bff8eb703abc6fb65a656bd3de
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Jan 6 13:00:26 2020 -0300
Bug 18731: Use the stashed koha.embed in objects.search
This patch makes the objects.search helper use the koha.embed structure
that is embedded in the authenticate_api_request step.
This way, any controller using it will benefit from automatic embed
handling.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/REST/Plugin/Objects.t
=> SUCCESS: Tests pass!
3. Sign off :-D
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 5d8ae2e6c8fd6f0de86f13ed444aec6fe69d9147
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Dec 30 15:36:57 2019 -0300
Bug 18731: Add API mappings to K::A::{Basket,Invoice}
This patch adds to_api_mapping definitions to the following classes:
- Koha::Acquisition::Basket
- Koha::Acquisition::Invoice
They are implemented following the proposed RFCs:
https://wiki.koha-community.org/wiki/Acquisitions_baskets_endpoint_RFC
https://wiki.koha-community.org/wiki/Acquisitions_invoices_endpoint_RFC
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 441cde5dbdf914953986cae2af9bb7bac569f87a
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Tue Sep 5 16:44:43 2017 -0300
Bug 18731: /acquisitions/orders endpoint
This patches implement the /acquisitions/orders endpoint.
The attribute names are consistent with the voted RFC
To test:
1. Apply this patchset
2. Run:
$ kshell
k$ prove t/db_dependent/api/v1/acquisitions_orders.t
=> SUCCESS: Tests pass!
3. Test the API with your favourite tool (Postman?)
=> SUCCESS: It works as expected!
4 Sign off :-D
Sponsored-by: Camden County
Signed-off-by: Matthias Meusburger <matthias.meusburger at biblibre.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 6659a45b6ea6f957f3c9c0d0f022a086ea78432e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Tue Nov 5 11:37:57 2019 -0300
Bug 18731: Unit tests
This patch implements unit tests for the orders endpoint.
Sponsored-by: Camden County
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 110170760c3ae2b4ec842bca651f767b71dd0701
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Dec 30 15:34:43 2019 -0300
Bug 18731: Make authenticate_api_request stash the embed structure
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Acquisition/Basket.pm | 47 +++
Koha/Acquisition/Invoice.pm | 44 +++
Koha/Acquisition/Order.pm | 47 +++
Koha/REST/Plugin/Objects.pm | 4 +-
.../V1/{Libraries.pm => Acquisitions/Orders.pm} | 139 ++++---
Koha/REST/V1/Auth.pm | 3 +
Koha/Schema/Result/Aqbasket.pm | 4 +
Koha/Schema/Result/Aqorder.pm | 3 +
api/v1/swagger/definitions.json | 15 +-
api/v1/swagger/definitions/basket.json | 99 +++++
api/v1/swagger/definitions/invoice.json | 57 +++
api/v1/swagger/definitions/order.json | 328 +++++++++++++++++
api/v1/swagger/parameters.json | 3 +
api/v1/swagger/parameters/order.json | 9 +
api/v1/swagger/paths.json | 6 +
api/v1/swagger/paths/acquisitions_orders.json | 378 ++++++++++++++++++++
t/db_dependent/Koha/REST/Plugin/Objects.t | 36 +-
.../api/v1/{libraries.t => acquisitions_orders.t} | 136 +++----
.../api/v1/auth_authenticate_api_request.t | 13 +-
19 files changed, 1234 insertions(+), 137 deletions(-)
copy Koha/REST/V1/{Libraries.pm => Acquisitions/Orders.pm} (51%)
create mode 100644 api/v1/swagger/definitions/basket.json
create mode 100644 api/v1/swagger/definitions/invoice.json
create mode 100644 api/v1/swagger/definitions/order.json
create mode 100644 api/v1/swagger/parameters/order.json
create mode 100644 api/v1/swagger/paths/acquisitions_orders.json
copy t/db_dependent/api/v1/{libraries.t => acquisitions_orders.t} (64%)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list