[koha-commits] main Koha release repository branch master updated. v18.05.00-310-g0906773
Git repo owner
gitmaster at git.koha-community.org
Wed Jul 18 21:23:18 CEST 2018
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 090677333353268ed48c4d474b20e38a2a296f2e (commit)
via 90977aef1e097da42695bc6944834a81496f0dbb (commit)
via cb93ae3c565611336ccf45461efec9af0e1c00e3 (commit)
via 1fa2bd185de991f1e32671257ec7da9bae827c32 (commit)
via 15974afb1a59f5bf99e8c97462f767507340520b (commit)
via ff83c7acdcb4e7f5004941024397aca48e327414 (commit)
via 583d1c69c6e0ebd08bebbc25e5368f6f7a39381f (commit)
via 68d722232f22bff111882bf21a1184ddb167e42a (commit)
via d7fb53f6fcad614e7941d498165b510391f59957 (commit)
via 14166c4a8cbfe366653d66fd7fd6ec1d016b93ce (commit)
via f37cac60e0cdcde78e1178825131c8cd9b07844c (commit)
via 17a354f5e8724942b53589ade4e468a39ddc1014 (commit)
via 904d9d54c9e976d41172bc2387eebf0c73e71a40 (commit)
via 6db48e9d21be112880c5ae74640800e30ad42947 (commit)
via bd87407798bb9edd61be8400873d2f4641784445 (commit)
via 118a714c1d8bfe646fac9aa37f4a38a02e2035be (commit)
via d8e562a218d2c8acaae865890face7ea06ee062d (commit)
via 7816d09e718319f3fb01ac1c793d8b32f7532db5 (commit)
via 97ce8360932a3149905410818d196da369c40ead (commit)
via d6b1b653e0c3c6332024dea971d9d799d9f4aad0 (commit)
via c5954d5e946a53661e330514358db566b6e69022 (commit)
via eac802b712bd60c8307da7b6f709d347ffa4ffe3 (commit)
via 2a369663fd37c41fb3ac810a8f42d84d69fa6f02 (commit)
via 0c1490ec7111fb6160458463d98ccda333f347b3 (commit)
via 8520d508a3154c6b30f1e710e518fe3b697a3194 (commit)
via dcf207170bab05861f1a17ffc450851511c19fa2 (commit)
via 9b1316ffeee76127e891785536d4bb38e0186247 (commit)
via e2e0c327019d43554bc6ec8a69ee5835c94f2e0e (commit)
via 2e610a370bcc63dba27ec94d77996fd7dc4204d6 (commit)
via 8202f95ad7001a5046f9f40e6322406b253ba3ed (commit)
via 6672b26d16065d877d6d7300830fc3d619b09898 (commit)
via bb7c908dc06697a4ebbf8633897d24e26798cb6d (commit)
via d079c80b05b36a177c80d8f585ae1515092e6ddb (commit)
via 7cbff1bce1608016e8b8ceded7633678189b75cc (commit)
via d383b49987b8e5471cb9f30ed879e1311e762b26 (commit)
via 9c7b6416c75df136de1cd45be72ee49951aedc1f (commit)
via cfb92e40d92aaa1a6c04bd99afb166a7b4ceb3a4 (commit)
via c0e0768d579be42c5ee77b5ad737f534723c84a8 (commit)
via 5b5e146457433ebfd5d3030c3473125985ec630b (commit)
via 51728ba084401b5f3df7c26453a9d762e178368e (commit)
via d2fdf1a69540154db60106db7cd1ca9ec63b7154 (commit)
via 3ca21c87479b066f5094a343cab09664c06e91b1 (commit)
via d9180269a6ea53f1b1aa2c3f45cad13d5ec1d53e (commit)
via 4a25b95e14e1e0116c3f3015a814037148719ef0 (commit)
via 1bb6cec902088d07c7a43addc4b4adb5b0bf3d4f (commit)
via cf9cb12edf27b1ae44ffad4882aa0756fdf761b4 (commit)
via ccbf74881ca92da2a33515d74132c7f1eb734fb1 (commit)
via 84acee417630ed778025d38a8b606476387fee47 (commit)
via a6f8b23035a49110c759b5dc91656411cdb209c3 (commit)
via d2a2d973cebda372c97d3820bc046970d030b1cf (commit)
via cfbc53bb22e6f4a851a2a7cd6ede891012951410 (commit)
via dc6b6e030c0e219f84350cea706910a7433ca0a4 (commit)
via cc2534403a7025efa0acedd0b45114eaca88e297 (commit)
via beaad59cb58d93eb4b6d0d6eec86cadfd411cca3 (commit)
via 2ea147db47626a4e2ff82c4ca5b7ba92827ce36e (commit)
via b4d9be74fc935c4c9c2d4dfff4df39dae713a4af (commit)
via ef410fd62f279a10687636a4f26babb2c91ecadc (commit)
via ae927390ffabdc26d66b254a17abbe81e6683279 (commit)
via 1144ee4b819e01ebad890f562d2754cda8d4e3ad (commit)
via a6059c4d2d43e43aa021069ce97d6424a76c4f41 (commit)
via 1b13c453e20e47c5e25bd946b50dd3838e29c3ce (commit)
from b77739ebc739b3c4fba169ac8e05eb263495f7ec (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 090677333353268ed48c4d474b20e38a2a296f2e
Author: Owen Leonard <oleonard at myacpl.org>
Date: Wed May 23 17:59:28 2018 +0000
Bug 20807: Lost items report: Improve the display of CSV profile errors
This patch modifies the template for the lost items report to change the
way it handles a missing CSV profile. Now, if there is a missing CSV
profile, a message is displayed with details about the profile
requirements. If the logged-in user has the right permission there is a
link to the CSV profiles page.
Since item selection is used only in conjunction with exporting results,
item selection controls are all hidden when there is no valid CSV
profile.
To test, apply the patch go to Reports -> Lost items.
- Run the report with parameters which will return results.
- If your system has no CSV profile for exporting lost items:
- If you are logged in as a user with manage_csv_profiles permission:
- You should see a message dialog instructing you to create a CSV
profile with a link to the CSV profiles page.
- If you are not logged in as a user with manage_csv_profiles
permission:
- You should see a similar message but without a link to the CSV
profiles page.
- In both cases, with no CSV profile defined there should be no
checkboxes in the table of results and no "select all/clear all"
controls.
- If your system has a valid CSV profile for exporting lost items:
- Checking the checkbox for one or more items in the table should
trigger the display of an "Export selected items" link.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 90977aef1e097da42695bc6944834a81496f0dbb
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Wed Jul 18 18:07:00 2018 +0000
Bug 7651: DBRev 18.06.00.007
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit cb93ae3c565611336ccf45461efec9af0e1c00e3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Tue Jun 5 14:53:47 2018 -0300
Bug 7651: put TT directive on a single line to help translation
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 1fa2bd185de991f1e32671257ec7da9bae827c32
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Mon Jun 4 21:19:42 2018 +0200
Bug 7651: (QA follow-up) Fix warning about undefined active currency
If no active currency is defined we show a warning. This fixes
the link shown below to check the correct permission.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 15974afb1a59f5bf99e8c97462f767507340520b
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Thu May 24 08:17:09 2018 +0200
Bug 7651: (follow-up) Correct visibility on admin sidebar
This patch corrects visibility of links to the different
acquisition pages from the admin sidebar.
It also makes a correction to the links on the acq start
page:
- Budgets = period_manage
- Funds = budget_manage
To test:
- Follow the test plan of the first patch
Signed-off-by: Charles Farmer <charles.farmer at inLibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit ff83c7acdcb4e7f5004941024397aca48e327414
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Sun May 20 23:47:53 2018 +0200
Bug 7651: Add a new permission for managing currencies and exchange rates
At the moment staff users need parameters or parameters_remaining_permissions
in order to be able to change exchange rates for acquisition orders.
This patch adds a new separate permission currencies_manage and
updates staff users currently having those permissions to get the
new permission as well.
To test:
- Create some staff users with different permission sets
1) superlibrarian
2) parameters
3) parameters_remaining_permissions
4) manage_circ_rules, but not parmeters_remaining_permissions
5) all acquisition permissions
- Apply patch and run database update
- Verify new permission has been added and staff users updated
1) remains the same
2) + 3) will have currencies_manage
4) remains unchanged, doesn't have new permission
5) remains the same, will have access now because of having
the top level acquisition permission
- Verify the changed pages work correctly:
- navigation on admin home page
NOTE: the acquisition parameters section will now honor all
different related permissions (edi_manage, budget_manage,...)
- navigation on acquisition home page
- try to access currencies page directly
Signed-off-by: Charles Farmer <charles.farmer at inLibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 583d1c69c6e0ebd08bebbc25e5368f6f7a39381f
Author: Julian Maurice <julian.maurice at biblibre.com>
Date: Fri Jun 8 08:53:51 2018 +0200
Bug 20393: (QA follow-up) Remove only occurence of misc/plack/koha.psgi
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 68d722232f22bff111882bf21a1184ddb167e42a
Author: Mason James <mtj at kohaaloha.com>
Date: Wed Mar 14 14:12:12 2018 +1300
Bug 20393: Remove redundant 'koha.psgi' and 'plackup.sh' files
Signed-off-by: David Bourgault <david.bourgault at inlibro.com>
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d7fb53f6fcad614e7941d498165b510391f59957
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Wed Jun 13 10:29:54 2018 +0100
Bug 18322: (follow-up) Use authorized value labels
Rather than using the raw ccode's use the labels as defined in the
authorized values.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 14166c4a8cbfe366653d66fd7fd6ec1d016b93ce
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Tue Jun 12 14:47:30 2018 -0300
Bug 18322: Update xslt for NORMARC and UNIMARC
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit f37cac60e0cdcde78e1178825131c8cd9b07844c
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Jun 12 15:37:33 2018 +0100
Bug 18322: (follow-up) Add generated xsl
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 17a354f5e8724942b53589ade4e468a39ddc1014
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Thu Mar 23 10:49:09 2017 +0000
Bug 18322: Add a facet for ccode fields to Zebra
This patch adds the index definitions for zebra faceting of ccode in
koha for marc21, normarc and unimarc.
We also add lines to the templates to expose the new facet and enable
non-zebra faceting for ccode too.
Signed-off-by: David Cook <dcook at prosentient.com.au>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 904d9d54c9e976d41172bc2387eebf0c73e71a40
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Tue Sep 19 10:29:25 2017 -0300
Bug 18072: Only accept Koha::Library in parameters
I do not think we should allowed branchode and Koha::Library objects, it
adds confusion in callers (we never know if we have a branchcode of a
library object).
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 6db48e9d21be112880c5ae74640800e30ad42947
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Sep 11 15:22:49 2017 -0300
Bug 18072: (QA follow-up) Remove warning from tests
This patch removes a warning from Items.t due to bad parameters. It also
makes the tests use Test::Exception.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit bd87407798bb9edd61be8400873d2f4641784445
Author: Lari Taskula <lari.taskula at jns.fi>
Date: Fri Feb 10 15:11:17 2017 +0200
Bug 18072: Add Koha::Biblio->can_be_transferred
This patch adds a new method Koha::Biblio->can_be_transferred. The method checks
if at least one of the item of that biblio can be transferred to desired location.
This method will be useful for building a smarter pickup location list for holds,
because we will be able to hide those libraries to which none of the items of
this biblio can be transferred to due to branch transfer limits (see Bug 7614).
To test:
1. prove t/db_dependent/Koha/Biblios.t
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 118a714c1d8bfe646fac9aa37f4a38a02e2035be
Author: Lari Taskula <lari.taskula at jns.fi>
Date: Fri Feb 10 15:08:47 2017 +0200
Bug 18072: (QA follow-up) let Koha::Item->can_be_transferred take HASHref as param
This patch changes Koha::Item->can_be_transferred to accept a HASHref as follows:
$item->can_be_transferred({ to => $library, from => $library2 })
To test:
1. prove t/db_dependent/Koha/Items.t
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d8e562a218d2c8acaae865890face7ea06ee062d
Author: Lari Taskula <lari.taskula at jns.fi>
Date: Tue Feb 7 13:52:29 2017 +0200
Bug 18072: Add Koha::Item->can_be_transferred
This patch adds a new method Koha::Item->can_be_transferred.
Includes unit test.
To test:
1. prove t/db_dependent/Koha/Items.t
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 7816d09e718319f3fb01ac1c793d8b32f7532db5
Author: Lari Taskula <lari.taskula at jns.fi>
Date: Tue Feb 7 16:33:40 2017 +0200
Bug 18072: Add deprecation warning to C4::Circulation Branch Transfer Limit functions
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 97ce8360932a3149905410818d196da369c40ead
Author: Lari Taskula <lari.taskula at jns.fi>
Date: Tue Feb 7 13:16:30 2017 +0200
Bug 18072: Add Koha objects for Branch Transfer Limit
This patch also fixes documentation in Koha/Item/Transfer.pm and
Koha/Item/Transfers.pm.
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d6b1b653e0c3c6332024dea971d9d799d9f4aad0
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Mon Jun 25 11:27:03 2018 +0000
Bug 19902: (follow-up) Deal with patron column regarding on intranetreadinghistory setting
Test plan:
Try it with intranetreadinghistory allowed and not allowed and it should
still work in both cases
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit c5954d5e946a53661e330514358db566b6e69022
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Tue Jan 2 06:35:47 2018 +0000
Bug 19902: Add column settings to bibliographic record checkouts history table
Test plan:
0) Apply the patch
1) Go to administration -> Configure columns, note there is new
checkoutshistory-table in Catalogue section
2) Make some configuration in this table settings
3) Go to detail of any record -> Checkout history
4) The columns should be visible according to your configuration from
step 2
5) Play with Column visibility, to ensure it does work as it should
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Fixed a minor typo during signoff.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit eac802b712bd60c8307da7b6f709d347ffa4ffe3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Jun 29 17:36:51 2018 -0300
Bug 20806: Surround string by span tag to help translation
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 2a369663fd37c41fb3ac810a8f42d84d69fa6f02
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Jun 29 17:30:39 2018 -0300
Bug 20806: Do not rely on column position
It is not the first time we have this splice call, it seems safer to
rely on the column's name instead of the column's position
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 0c1490ec7111fb6160458463d98ccda333f347b3
Author: Josef Moravec <josef.moravec at gmail.com>
Date: Tue May 29 09:15:09 2018 +0000
Bug 20806: Add item type description holds history page
Test plan:
0) Do not apply the patch
1) Set AllowHoldItemTypeSelection to Allow
2) Place some hold for a patron, some with specific item type and some
without item type
3) On holds history page you should see blank or item type code in item
type column
4) Apply the patch
5) Now you should see description in item type column
6) Set AllowHoldItemTypeSelection to Don't Allow
7) You shold not see the item type column, but column visibility
settings should continue working ;)
Signed-off-by: Maryse Simard <maryse.simard at inlibro.com>
Followed the test plan and it works.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 8520d508a3154c6b30f1e710e518fe3b697a3194
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Tue Jan 23 15:54:41 2018 -0300
Bug 20079: Display stack trace for development installations
"""The default value is development, which causes plackup to
load the middleware components: AccessLog, StackTrace, and Lint unless
--no-default-middleware is set."""
Test plan:
Confirm that the stack trace is displayed when something is wrong (die somewhere to test)
for dev installations (inside a devbox)
The -E flag must remain deployment for non-dev installs
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit dcf207170bab05861f1a17ffc450851511c19fa2
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Wed Jul 18 16:55:56 2018 +0000
Bug 19524: DBRev 18.06.006
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 9b1316ffeee76127e891785536d4bb38e0186247
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Mon Jul 16 07:54:49 2018 -0400
Bug 19524: Use existing logged_in_user variable
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit e2e0c327019d43554bc6ec8a69ee5835c94f2e0e
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Thu Jun 7 12:16:18 2018 +0000
Bug 19524: Share patron lists between staff
Some libraries would like to allow arbitrary lists to be used by all
librarians with the 'manage_patron_lists' permission.
Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Create or find two patrons with the manage_patron_lists permission
4) Using the first patron, create two new lists, mark one of them as
shared
5) Log in as the second patron, browse to the patron lists page
6) Note the second patron can view, add and remove patrons from
the shared list owned by the first patron
Signed-off-by: George Williams <george at nekls.org>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 2e610a370bcc63dba27ec94d77996fd7dc4204d6
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Thu Jun 7 10:48:30 2018 +0000
Bug 19524: Update database
Signed-off-by: George Williams <george at nekls.org>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 8202f95ad7001a5046f9f40e6322406b253ba3ed
Author: Owen Leonard <oleonard at myacpl.org>
Date: Mon Jul 16 18:41:13 2018 +0000
Bug 21038: Reserves should be holds
This patch corrects the text of the warning about discharges cancelling
holds.
To test, apply the patch and view the discharge for a patron who has
holds:
- "Borrower" is changed to "patron"
- "reserves" is changed to "holds"
- "canceled" (18 instances in the templates) is changed to "cancelled"
(51 instances).
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 6672b26d16065d877d6d7300830fc3d619b09898
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Jul 2 16:18:33 2018 -0300
Bug 20942: (QA follow-up) Use $lines->total_outstanding
This patch makes the controller code use $lines->total_outstanding
instead of expecting ->outstanding_debits and ->outstanding_credits
return the total.
Tests should pass as before. No behaviour change is expected.
To test:
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons_accounts.t
=> SUCCESS: Tests still pass, no behaviour change.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit bb7c908dc06697a4ebbf8633897d24e26798cb6d
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Jun 25 14:55:30 2018 -0300
Bug 20942: Split debit and credit lines
This patch splits the balance to match this object schema:
{
balance => #,
outstanding_credits => {
total => #,
lines => [ credit_line_1, ..., credit_line_n ]
},
outstanding_debits => {
total => #,
lines => [ debit_line_1, ..., debit_line_m ]
}
}
This change is made to ease usage from the UI. Also because the
outstanding credits need to be applied to outstanding debits in order to
the balance value to make sense. So we still need to have each total.
Tests are added for this change, and the schema files are adjusted as
well.
To test:
- Apply this patch
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons_accounts.t
=> SUCCESS: Tests pass!
- Sign off :-D
staff_id is changed into user_id as voted on the dev meeting the RFC got
approved.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d079c80b05b36a177c80d8f585ae1515092e6ddb
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed Jun 13 14:02:44 2018 -0300
Bug 20942: Add route to get patron's account balance
This patch implements the /patrons/{patron_id}/account endpoint. It can
be used to get the patron's balance information, including outstanding
lines.
To test:
- Apply this patchset
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons_accounts.t
=> SUCCESS: tests pass!
- Make your favourite REST testing tool (RESTer on Firefox?) do:
GET /api/v1/patrons/{patron_id}/account
to a valid patron_id. Play with Koha's UI to add credits/payments and
notice the endpoint returns the right info following the voted RFC. [1]
- Sign off :-D
[1] https://wiki.koha-community.org/wiki/Patrons_account_lines_endpoint_RFC
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 7cbff1bce1608016e8b8ceded7633678189b75cc
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed Jun 13 14:02:30 2018 -0300
Bug 20942: Unit tests for /patrons/{patron_id}/account
This patch adds tests for the /patrons/{patron_id}/account endpoint.
To test:
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons_accounts.t
=> FAIL: Tests should fail because the endpoint is not implemented.
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d383b49987b8e5471cb9f30ed879e1311e762b26
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Fri Jun 1 16:04:35 2018 -0300
Bug 20942: OpenAPI spec for /patrons/{patron_id}/account
This patch adds the OpenAPI spec for the following paths:
- /patrons/{patron_id}/account
It also adds object definitions for:
- balance
- account line
Account line is to be used on both /account/lines (when implemented)
and for embeding the outstanding lines in the balance endpoint
(/patrons/{patron_id}/account).
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 9c7b6416c75df136de1cd45be72ee49951aedc1f
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Wed Jul 18 16:34:50 2018 +0000
Bug 20287: (RM follow-up) Add POD
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit cfb92e40d92aaa1a6c04bd99afb166a7b4ceb3a4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 12 16:34:06 2018 -0300
Bug 20287: (follow-up) Test exception DuplicateID for Koha::Patron->store
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit c0e0768d579be42c5ee77b5ad737f534723c84a8
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Fri Jun 29 10:54:52 2018 -0300
Bug 20287: (QA follow-up) Fix warning on undefined
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 5b5e146457433ebfd5d3030c3473125985ec630b
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Jun 25 13:14:05 2018 -0300
Bug 20287: Test exception DuplicateID for Koha::Patron->store
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 51728ba084401b5f3df7c26453a9d762e178368e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Jun 25 12:53:19 2018 -0300
Bug 20287: Use more simple object for Object.t
We initially use Koha::Patron to test Object.t, but now it overwrites
->store and so it is better to use a more simple object.
ApiKey has foreign keys and unique key.
We lost one test: there is only one unique key whereas we had 2 on
borrowers (I did not find a better option)
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d2fdf1a69540154db60106db7cd1ca9ec63b7154
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Thu Mar 29 13:34:25 2018 -0300
Bug 20287: Fix tests expecting a warning
The new Koha::Patron-based implementation encapsulates some error
conditions that raised warnings and the tests expected that warning.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 3ca21c87479b066f5094a343cab09664c06e91b1
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Mar 29 12:59:18 2018 -0300
Bug 20287: Replace occurrences of ModMember in REST API
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d9180269a6ea53f1b1aa2c3f45cad13d5ec1d53e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Mar 29 12:53:01 2018 -0300
Bug 20287: Replace occurrences of AddMember in REST API
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 4a25b95e14e1e0116c3f3015a814037148719ef0
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Feb 23 15:03:57 2018 -0300
Bug 20287: generate_userid now set the userid
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 1bb6cec902088d07c7a43addc4b4adb5b0bf3d4f
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Feb 23 13:12:36 2018 -0300
Bug 20287: Fix update of patrons, clean the data before ->store
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit cf9cb12edf27b1ae44ffad4882aa0756fdf761b4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Feb 23 13:02:29 2018 -0300
Bug 20287: Replace ModMember in patrons import
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit ccbf74881ca92da2a33515d74132c7f1eb734fb1
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Feb 23 12:55:48 2018 -0300
Bug 20287: There is a warning, we just want to unset the value here
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 84acee417630ed778025d38a8b606476387fee47
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Feb 23 12:55:33 2018 -0300
Bug 20287: Fix test t/db_dependent/Members.t and prevent regressions
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit a6f8b23035a49110c759b5dc91656411cdb209c3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Feb 23 12:42:46 2018 -0300
Bug 20287: ->store new deal with enrolment fee
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit d2a2d973cebda372c97d3820bc046970d030b1cf
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Feb 23 12:42:15 2018 -0300
Bug 20287: Move ModMember to Koha::Patron
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit cfbc53bb22e6f4a851a2a7cd6ede891012951410
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 17:13:22 2018 -0300
Bug 20287: Add plain_text_password (& Remove AddMember_Opac)
But actually we could remove it if it does not make sense for other use.
Callers could deal with it since the password is not generated here
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit dc6b6e030c0e219f84350cea706910a7433ca0a4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 16:55:00 2018 -0300
Bug 20287: Remove AddMember_Auto
I am not sure I understood the point of this subroutine.
Did I miss something here?
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit cc2534403a7025efa0acedd0b45114eaca88e297
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 16:25:52 2018 -0300
Bug 20287: Use DBIC transaction instead of AutoCommit=0
Remove error "Already in a transaction"
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit beaad59cb58d93eb4b6d0d6eec86cadfd411cca3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 15:47:21 2018 -0300
Bug 20287: New warning in t/db_dependent/Koha/Object.t (?)
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 2ea147db47626a4e2ff82c4ca5b7ba92827ce36e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 15:37:27 2018 -0300
Bug 20287: Remove warning
If there are no patrons in DB:
Use of uninitialized value in addition (+)
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit b4d9be74fc935c4c9c2d4dfff4df39dae713a4af
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 14:41:24 2018 -0300
Bug 20287: Fix export issues in tests
t/db_dependent/Holds/RevertWaitingStatus.t ..
Undefined subroutine &C4::Circulation::MoveReserve called at /home/vagrant/kohaclone/C4/Circulation.pm line 1316.
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit ef410fd62f279a10687636a4f26babb2c91ecadc
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 13:06:59 2018 -0300
Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit ae927390ffabdc26d66b254a17abbe81e6683279
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 12:28:02 2018 -0300
Bug 20287: Move AddMember to Koha::Patron->store
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 1144ee4b819e01ebad890f562d2754cda8d4e3ad
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 22 11:19:50 2018 -0300
Bug 20287: Koha::Object->get_from_storage
May be part of a separate bug report if needed
TODO - add POD + tests
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit a6059c4d2d43e43aa021069ce97d6424a76c4f41
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Feb 21 17:32:00 2018 -0300
Bug 20287: Move trim values to a method
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
commit 1b13c453e20e47c5e25bd946b50dd3838e29c3ce
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Feb 21 17:19:05 2018 -0300
Bug 20287: Move fixup_cardnumber
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Auth_with_ldap.pm | 3 +-
C4/Auth_with_shibboleth.pm | 8 +-
C4/Circulation.pm | 11 +-
C4/Koha.pm | 10 +
C4/Members.pm | 281 -------------------
C4/Search.pm | 7 +
Koha.pm | 2 +-
Koha/Biblio.pm | 70 +++++
Koha/Exceptions/Library.pm | 17 ++
Koha/Item.pm | 49 +++-
Koha/Item/Transfer.pm | 2 +-
.../{BiblioFramework.pm => Item/Transfer/Limit.pm} | 7 +-
.../Transfer/Limits.pm} | 13 +-
Koha/Item/Transfers.pm | 2 +-
Koha/List/Patron.pm | 10 +-
Koha/NorwegianPatronDB.pm | 2 +-
Koha/Object.pm | 11 +
Koha/Patron.pm | 289 +++++++++++++++++++-
Koha/Patrons/Import.pm | 35 +--
Koha/REST/V1/Patrons.pm | 26 +-
Koha/REST/V1/Patrons/Account.pm | 165 +++++++++++
Koha/Schema/Result/Borrower.pm | 3 +
Koha/Schema/Result/PatronList.pm | 12 +-
admin/columns_settings.yml | 22 ++
admin/currency.pl | 2 +-
api/v1/swagger/definitions.json | 7 +-
api/v1/swagger/definitions/account_line.json | 81 ++++++
api/v1/swagger/definitions/patron_balance.json | 40 +++
api/v1/swagger/paths.json | 3 +
api/v1/swagger/paths/patrons_account.json | 65 +++++
debian/scripts/koha-plack | 5 +
.../marc21/biblios/biblio-koha-indexdefs.xml | 3 +
.../marc21/biblios/biblio-zebra-indexdefs.xsl | 3 +
.../normarc/biblios/biblio-koha-indexdefs.xml | 3 +
.../normarc/biblios/biblio-zebra-indexdefs.xsl | 3 +
.../unimarc/biblios/biblio-koha-indexdefs.xml | 8 +-
.../unimarc/biblios/biblio-zebra-indexdefs.xsl | 10 +
installer/data/mysql/kohastructure.sql | 1 +
installer/data/mysql/updatedatabase.pl | 19 ++
installer/data/mysql/userpermissions.sql | 1 +
installer/onboarding.pl | 10 +-
.../prog/en/includes/acquisitions-menu.inc | 8 +-
.../intranet-tmpl/prog/en/includes/admin-menu.inc | 20 +-
.../prog/en/includes/budgets-active-currency.inc | 2 +-
.../intranet-tmpl/prog/en/includes/facets.inc | 2 +-
.../intranet-tmpl/prog/en/includes/permissions.inc | 1 +
.../prog/en/modules/admin/admin-home.tt | 13 +-
.../prog/en/modules/catalogue/issuehistory.tt | 18 +-
.../prog/en/modules/members/discharge.tt | 2 +-
.../prog/en/modules/members/holdshistory.tt | 21 +-
.../prog/en/modules/patron_lists/add-modify.tt | 9 +
.../prog/en/modules/patron_lists/lists.tt | 17 +-
.../prog/en/modules/reports/itemslost.tt | 50 ++--
.../bootstrap/en/includes/opac-facets.inc | 2 +-
members/memberentry.pl | 28 +-
members/members-update-do.pl | 9 +-
members/nl-search.pl | 9 +-
members/update-child.pl | 14 +-
misc/cronjobs/nl-sync-to-koha.pl | 14 +-
misc/devel/create_superlibrarian.pl | 6 +-
misc/plack/README.plack | 42 ---
misc/plack/koha.psgi | 104 -------
misc/plack/plackup.sh | 54 ----
opac/opac-memberentry.pl | 27 +-
opac/opac-messaging.pl | 25 +-
opac/opac-privacy.pl | 15 +-
opac/opac-registration-verify.pl | 15 +-
opac/svc/auth/googleopenidconnect | 10 +-
patron_lists/add-modify.pl | 5 +-
t/db_dependent/00-strict.t | 2 +-
t/db_dependent/Acquisition/OrderUsers.t | 5 +-
t/db_dependent/Budgets.t | 10 +-
t/db_dependent/Circulation.t | 33 ++-
t/db_dependent/Circulation/Branch.t | 7 +-
t/db_dependent/Circulation/Chargelostitem.t | 5 +-
t/db_dependent/Circulation/CheckIfIssuedToPatron.t | 6 +-
t/db_dependent/Circulation/GetTopIssues.t | 5 +-
t/db_dependent/Circulation/IsItemIssued.t | 5 +-
.../Circulation/IssuingRules/maxsuspensiondays.t | 6 +-
t/db_dependent/Circulation/MarkIssueReturned.t | 4 +-
t/db_dependent/Circulation/issue.t | 9 +-
t/db_dependent/Holds.t | 5 +-
t/db_dependent/Holds/LocalHoldsPriority.t | 6 +-
t/db_dependent/Holds/RevertWaitingStatus.t | 5 +-
t/db_dependent/Koha/Biblios.t | 71 ++++-
t/db_dependent/Koha/Items.t | 45 ++-
t/db_dependent/Koha/Object.t | 70 ++---
t/db_dependent/Koha/Patrons.t | 69 +++--
t/db_dependent/Letters.t | 17 +-
t/db_dependent/Members.t | 112 ++++----
t/db_dependent/Members/GetAllIssues.t | 4 +-
t/db_dependent/Members/IssueSlip.t | 2 +-
t/db_dependent/Patron/Borrower_Debarments.t | 5 +-
t/db_dependent/Patron/Borrower_Discharge.t | 2 +-
t/db_dependent/Patron/Borrower_Files.t | 6 +-
t/db_dependent/PatronLists.t | 31 ++-
t/db_dependent/Reserves.t | 24 +-
t/db_dependent/Serials_2.t | 6 +-
t/db_dependent/Suggestions.t | 5 +-
t/db_dependent/Utils/Datatables_Virtualshelves.t | 15 +-
t/db_dependent/api/v1/patrons.t | 10 +-
t/db_dependent/api/v1/patrons_accounts.t | 178 ++++++++++++
tools/modborrowers.pl | 4 +-
103 files changed, 1704 insertions(+), 948 deletions(-)
create mode 100644 Koha/Exceptions/Library.pm
copy Koha/{BiblioFramework.pm => Item/Transfer/Limit.pm} (83%)
copy Koha/{AuthorisedValueCategories.pm => Item/Transfer/Limits.pm} (78%)
create mode 100644 Koha/REST/V1/Patrons/Account.pm
create mode 100644 api/v1/swagger/definitions/account_line.json
create mode 100644 api/v1/swagger/definitions/patron_balance.json
create mode 100644 api/v1/swagger/paths/patrons_account.json
delete mode 100644 misc/plack/README.plack
delete mode 100644 misc/plack/koha.psgi
delete mode 100755 misc/plack/plackup.sh
create mode 100644 t/db_dependent/api/v1/patrons_accounts.t
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list