[koha-commits] main Koha release repository branch master updated. v3.22.00-1060-g4a60522
Git repo owner
gitmaster at git.koha-community.org
Thu Mar 31 22:29:47 CEST 2016
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 4a605225cc3116f5a244303106567340a8d1e1b0 (commit)
via ead5b9c0e2d7030abfcef27aa8fb8fabf012f5b2 (commit)
via f39b79982dcd4514d7b84ef5cbe5bbbd669af9cc (commit)
from 59266cbd614a698cd34c2418ef68907e4d14fc6c (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 4a605225cc3116f5a244303106567340a8d1e1b0
Author: Katrin Fischer <Katrin.Fischer.83 at web.de>
Date: Wed Mar 30 08:12:56 2016 +0200
Bug 14257: Follow-up - Add documentation, fix typo, fix test
- t/db_dependent/ILSDI_Services.t was failing for me as I had
issues in my database, fixed with another delete line
- QA tools found a typo - comparision
- Added documentation of the new parameter to the ilsdi.pl page
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit ead5b9c0e2d7030abfcef27aa8fb8fabf012f5b2
Author: Martin Persson <xarragon at gmail.com>
Date: Mon Nov 9 14:34:40 2015 +0100
Bug 14257 - Add show_attributes to GetPatronInfo
This patch adds the ability to query the extended patron
attributes via the ILSDI web service's GetPatronInfo service.
Example: ilsdi.pl?service=GetPatronInfo&patron_id=3&show_attributes=1
A new element <attributes> will be added if there
are any attributes available from the database.
We need to discuss the security implications of showing the
attributes. At present it will allow querying of non-public
(OPAC-visible) information. We might want to change this.
Sponsored-By: Halland County Library
Test plan:
* Configure Koha to make use of extended attributes:
Under 'Administration' -> 'Global system preferences' ->
'Patrons' tab -> Set 'ExtendedPatronAttributes' to 'Enable',
press save and switch to 'Web services' tab.
* Enable the ILS-DI service:
Under 'Administration' -> 'Global system preferences' ->
'Web services' tab -> 'ILS-DI' section:
Set 'ILS-DI' to 'Enable' and save.
* Create an attribute to query:
Under 'Administration' -> 'Patrons and circulation' ->
'Patron attribute types' press 'New patron attribute type':
Enter a type code, like 'DOORCODE', description and assign
a category that your test patron is a member of, then save.
* Set value for test user:
Locate the test patron, the new attribute should be listed
under 'Additional attributes and identifiers'.
Click 'Edit' and assign a value, like '1337' and save.
* Query the ILS-DI service:
http://127.0.1.1/cgi-bin/koha/ilsdi.pl?service=GetPatronInfo&patron_id=1&show_attributes=1
The output XML should have an element named 'attributes'
containing the data you entered.
Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit f39b79982dcd4514d7b84ef5cbe5bbbd669af9cc
Author: Martin Persson <xarragon at gmail.com>
Date: Thu Nov 12 16:14:04 2015 +0100
Bug 14257 - Add show_attributes to GetPatronInfo
Added unit tests to for GetBorrowerAttributes and GetPatronInfo.
Sponsored-By: Halland County Library
Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/ILSDI/Services.pm | 6 ++
koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt | 2 +
opac/ilsdi.pl | 2 +-
t/db_dependent/ILSDI_Services.t | 111 ++++++++++++++++++++-
4 files changed, 119 insertions(+), 2 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list