[koha-commits] main Koha release repository branch master updated. v19.05.00-655-g98e4b5c
Git repo owner
gitmaster at git.koha-community.org
Mon Sep 23 12:32:11 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 98e4b5c04a1f89fb168fbc6e7dc40f374cb40ad1 (commit)
via 3f7d15b7f6baec1d6313c7ea5d81961289cac169 (commit)
via dd9f723b18f871c7d540732276d33bad98177697 (commit)
via 92af7a31a350d4a4e2f9537f326b5a3e1e09b7b7 (commit)
via ab4fa77eb0d7aeb1030d11eded7a4f6680494706 (commit)
via 9af7d4f3a3033fbd62f01c60442f3163dc43b95c (commit)
via e04654052eadac2868fcf7e911705d22f6af1b9c (commit)
via c415476a37463540e702a5070a192ce413e834f1 (commit)
via ea38aabd08d526214f3d3505e4377a1eda0488fe (commit)
via e59b52032d0a159d5f86d8ab5864213cd9f51d0e (commit)
via 5f8e09bbaa6d1f05b4dfec0060a9d8b80b2e7975 (commit)
via 22b18cc96d2a04f72ccbe1ea001648eab887f19e (commit)
from 16aa7d1c8afe249318767a8a023f7dbddb6843ea (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 98e4b5c04a1f89fb168fbc6e7dc40f374cb40ad1
Author: Liz Rea <wizzyrea at gmail.com>
Date: Wed Sep 4 02:10:21 2019 +0000
Bug 23537: Overdrive won't show complete results at all times
To test:
On an overdrive enabled OPAC (tough sell, I know)
Do a search for something you know has magazines, the collection I
was looking at had "knit" as one
Without this patch, the results will show "(many) items found in
overdrive collection" but only show a small number of them.
With the patch, the number of results should match the number
shown/paginated.
A site that has this fix applied, is
https://tracy.bywatersolutions.com/cgi-bin/koha/opac-overdrive-search.pl?q=knit
Before this patch, the number of results was 44, but there were only
8 shown. Now we see all 44
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 3f7d15b7f6baec1d6313c7ea5d81961289cac169
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Mon Sep 23 11:03:02 2019 +0100
Bug 23623: (RM follow-up) Minor JS Tidy
Apply 'Break lines on chained methods' to the new JS code introduced in
this patchset to prevent really long lines.
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit dd9f723b18f871c7d540732276d33bad98177697
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Tue Sep 17 19:03:14 2019 +0000
Bug 23623: (follow-up) Add missing filters
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 92af7a31a350d4a4e2f9537f326b5a3e1e09b7b7
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Tue Sep 17 18:59:26 2019 +0000
Bug 23623: (follow-up) Add missing comma in ajax call definition
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit ab4fa77eb0d7aeb1030d11eded7a4f6680494706
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Sep 16 15:56:36 2019 -0300
Bug 23623: Remove the svc/patron/show* scripts
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 9af7d4f3a3033fbd62f01c60442f3163dc43b95c
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Sep 16 15:57:12 2019 -0300
Bug 23623: Use the new API for changing privacy settings (guarantors)
This patchset makes opac-memberentry.pl use the API instead of the old
svc scripts for ajax calls, for setting privacy configuration in the
OPAC.
To test:
1) Disable OPACPrivacy
2) Enable AllowPatronToSetCheckoutsVisibilityForGuarantor
3) Enable AllowPatronToSetFinesVisibilityForGuarantor
4) Have a known patron be the guarantee of someone (so things display)
5) Log into the OPAC, go to the 'your personal details' tab
6) Change 'Allow your guarantor to view your current checkouts?' and
click the 'Update' button.
=> SUCCESS: Operation succeeds
7) Reload the tab
=> SUCCESS: The page reflects the expected changes (i.e. the API did it
right)
8) Repeat 6 and 7 with the 'Allow your guarantor to view your current
fines?' option
=> SUCCESS: It works as well
- Sign off :-D
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit e04654052eadac2868fcf7e911705d22f6af1b9c
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Sep 16 15:06:09 2019 -0300
Bug 23584: Add the controller method and tests
This patchset adds endpoints for the patrons to change their privacy
settings regarding their guarantors.
The following endpoints are added:
PUT /public/patrons/:patron_id/guarantors/can_see_charges
PUT /public/patrons/:patron_id/guarantors/can_see_checkouts
They can only be used by the patron themselves with valid sessions. And
enforce the AllowPatronToSetCheckoutsVisibilityForGuarantor and
AllowPatronToSetFinesVisibilityForGuarantor system preferences when
required.
All this is covered by unit tests.
To test:
1) Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons.t
=> SUCCESS: Tests pass!
- Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit c415476a37463540e702a5070a192ce413e834f1
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Sep 16 15:05:38 2019 -0300
Bug 23584: Add spec for PUT /public/patron/:patron_id/guarantors
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit ea38aabd08d526214f3d3505e4377a1eda0488fe
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Thu Sep 19 15:44:59 2019 -0300
Bug 22837: (follow-up) Fix POD
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit e59b52032d0a159d5f86d8ab5864213cd9f51d0e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Thu Sep 19 15:41:02 2019 -0300
Bug 22837: (follow-up) Fix some tests
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 5f8e09bbaa6d1f05b4dfec0060a9d8b80b2e7975
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Fri May 3 13:13:07 2019 +0100
Bug 22837: Update callers to use new signature
Test plan:
Run t/db_dependent/Circulation.t, t/db_dependent/Koha/Account.t,
t/db_dependent/Koha/Account/Lines.t and
t/db_dependent/api/v1/patrons_accounts.t and all should pass.
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 22b18cc96d2a04f72ccbe1ea001648eab887f19e
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Fri May 3 12:59:16 2019 +0100
Bug 22837: Update apply to accept an arrayref
This patch update the signature of Koha::Account::Line->apply to accept
an arrayref of debits to apply against a credit instead of requireing a
Koha::Objects set.
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Circulation.pm | 5 +-
Koha/Account.pm | 2 +-
Koha/Account/Line.pm | 4 +-
Koha/REST/V1/Patrons.pm | 86 ++++++
Koha/REST/V1/Patrons/Account.pm | 4 +-
api/v1/swagger/paths.json | 6 +
api/v1/swagger/paths/public_patrons.json | 316 +++++++++++++++-----
.../bootstrap/en/modules/opac-memberentry.tt | 60 ++--
.../bootstrap/en/modules/opac-overdrive-search.tt | 2 +-
opac/svc/patron/show_checkouts_to_relatives | 56 ----
opac/svc/patron/show_fines_to_relatives | 59 ----
t/db_dependent/Circulation.t | 10 +-
t/db_dependent/Koha/Account.t | 6 +-
t/db_dependent/Koha/Account/Lines.t | 16 +-
t/db_dependent/api/v1/patrons.t | 78 ++++-
15 files changed, 470 insertions(+), 240 deletions(-)
delete mode 100755 opac/svc/patron/show_checkouts_to_relatives
delete mode 100644 opac/svc/patron/show_fines_to_relatives
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list