[koha-commits] main Koha release repository branch master updated. v19.05.00-1015-g1b9f362
Git repo owner
gitmaster at git.koha-community.org
Wed Oct 23 19:26:08 CEST 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 1b9f3621dfc82144e498d6d7d53cdda3b6d352a0 (commit)
via 70e0a23af66960fdc8d0a32fc57c1858e8f7a010 (commit)
via 17a34e3d099f86dad4a84cdb98073d794dcd6c4e (commit)
via 255b9b98d01f330b2d6cc48fa3efa2ed599a50c7 (commit)
via 430be3e9f3e8ca2313a9b8487a34803edc3aaf2d (commit)
via 09ff41d9f12825d5dd042c12871a67300b6c535d (commit)
via af2cd5e303d5a4446159110a7da27cc5befd5a64 (commit)
via 1957cb64ca8efab68001a9bdec3c0ce02133907b (commit)
via f5f98af7be74dce81073fe0a42431db7ebac49f7 (commit)
via ecf030b798297d19926ca037507271ad4c100bfd (commit)
from 99a1a6db0f720cf0896a5ea2651cce89e35384ae (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 1b9f3621dfc82144e498d6d7d53cdda3b6d352a0
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:47:50 2019 -0300
Bug 23843: Add mapping to Koha::Acquisition::Fund
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/acquisitions_funds.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 70e0a23af66960fdc8d0a32fc57c1858e8f7a010
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:29:47 2019 -0300
Bug 23843: Add mapping to Koha::Acquisition::Bookseller
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/acquisitions_vendors.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 17a34e3d099f86dad4a84cdb98073d794dcd6c4e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:27:25 2019 -0300
Bug 23843: Add mapping to Koha::Item
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/items.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 255b9b98d01f330b2d6cc48fa3efa2ed599a50c7
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:27:11 2019 -0300
Bug 23843: Add mapping to Koha::Patron
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 430be3e9f3e8ca2313a9b8487a34803edc3aaf2d
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:26:57 2019 -0300
Bug 23843: Add mapping to Koha::Library
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/libraries.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 09ff41d9f12825d5dd042c12871a67300b6c535d
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:26:07 2019 -0300
Bug 23843: Add mapping to Koha::Hold
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit af2cd5e303d5a4446159110a7da27cc5befd5a64
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:25:34 2019 -0300
Bug 23843: Add mapping to Koha::Club::Holds
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/clubs_holds.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 1957cb64ca8efab68001a9bdec3c0ce02133907b
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:24:45 2019 -0300
Bug 23843: Add mapping to Koha::Checkout
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/checkouts.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit f5f98af7be74dce81073fe0a42431db7ebac49f7
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 13:24:27 2019 -0300
Bug 23843: Add mapping to Koha::Account::Line
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons_accounts.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit ecf030b798297d19926ca037507271ad4c100bfd
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 21 15:18:32 2019 -0300
Bug 23843: Make funds endpoint tests more robust
Now that we use ->to_api all the object attributes are returned, so the
original tests that didn't follow the FKs would pass, and now they
don't. If there is no budget linked to the fund, it will return undef,
which is not accepted on the API (though it accepts not returning the
attribute).
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/api/v1/acquisitions_funds.t
=> SUCCESS: Tests pass!
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Account/Line.pm | 21 +++++++
Koha/Acquisition/Bookseller.pm | 24 +++++++-
Koha/Acquisition/Fund.pm | 29 ++++++++++
Koha/Checkout.pm | 25 ++++++++-
Koha/Club/Hold.pm | 25 ++++++++-
Koha/Hold.pm | 34 ++++++++++-
Koha/Item.pm | 57 +++++++++++++++++++
Koha/Library.pm | 32 +++++++++++
Koha/Patron.pm | 84 ++++++++++++++++++++++++++++
Koha/REST/V1/Acquisitions/Funds.pm | 9 +--
Koha/REST/V1/Acquisitions/Vendors.pm | 29 ++++++----
Koha/REST/V1/Checkouts.pm | 8 +--
Koha/REST/V1/Clubs/Holds.pm | 7 ++-
Koha/REST/V1/Holds.pm | 10 +++-
Koha/REST/V1/Items.pm | 6 +-
Koha/REST/V1/Library.pm | 16 +++++-
Koha/REST/V1/Patrons.pm | 10 ++--
Koha/REST/V1/Patrons/Account.pm | 30 +++++-----
api/v1/swagger/definitions/fund.json | 4 ++
t/db_dependent/api/v1/acquisitions_funds.t | 28 ++++++----
20 files changed, 415 insertions(+), 73 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list