[koha-commits] main Koha release repository branch master updated. v19.11.00-1500-g70aee86791
Git repo owner
gitmaster at git.koha-community.org
Fri Mar 27 10:05:07 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 70aee86791d17754fa2300c38908ee8049cb7106 (commit)
via 7f606ff6bf108c2e70d6698e51e7194759d5151a (commit)
via a8ea4c1df8b3c325f6c6da4e91d81c1dc1a3943d (commit)
via a5576f62ebe2e6b22437312cc130b522e7cd9eae (commit)
via 693d56d0e94a01deb71b1f26d6e9ad848ff7598a (commit)
via 9a23ba31664b241410d695527583b898992c5705 (commit)
via f1bc7201d71f89adc84ab03d2a3e2447bad873ba (commit)
via ed5f3ecc05be45038293588e429d796760476c96 (commit)
from 77f481a37b9e97aab7f8db1b7e9215fd0ca5d904 (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 70aee86791d17754fa2300c38908ee8049cb7106
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Thu Mar 19 10:51:40 2020 -0300
Bug 24905: Make installer update log4perl.conf for instances
This patch makes koha-common.postinst check if the log4perl.conf files
on the instances need tweaking. If they do, it appends the relevant
configuration text.
To test:
1. Install Koha 19.11 or earlier using the packages
2. Create an instance:
$ koha-create --create-db test1
$ koha-create --create-db test2
=> FAIL: /etc/koha/sites/test1/log4perl.conf doesn't include an entry for
z39.50
3. Apply this patch and run:
$ docker run \
--volume=/path/to/your/clone:/koha \
--volume=/dest/path/for/debs:/debs \
--privileged
--env VERSION=19.12.00.047 \
koha/koha-dpkg:master
Note: Paths need to be adjusted
4. Grab the .deb files and put them on the machine you're testing this
5. Edit /etc/koha/sites/test2/log4perl.conf and add the following text
at the bottom: log4perl.logger.z3950
6. Install the debs:
$ sudo dpkg -i koha-perldeps koha-deps koha-common
=> SUCCESS: Install process doesn't explode due to the addition
=> SUCCESS: /etc/koha/sites/test1/log4perl.conf has a new entry for log4perl.logger.z3950
=> SUCCESS: /etc/koha/sites/test2/log4perl.conf doesn't have a new entry for log4perl.logger.z3950
7. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 7f606ff6bf108c2e70d6698e51e7194759d5151a
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Thu Mar 19 09:47:25 2020 -0300
Bug 24905: Add missing entry in log4perl-site.conf.in
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit a8ea4c1df8b3c325f6c6da4e91d81c1dc1a3943d
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Thu Mar 26 13:38:07 2020 +0000
Bug 24988: Default to autorenew_checkouts for new patrons
To recreate:
1 - Create a new patron on the staff interface
2 - Note that 'Allow auto-renewal of items' defaults to 'no'
3 - Apply patch
4 - Create another patron
5 - 'Allow auto-renewal of items' defaults to 'yes'
Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>
Signed-off-by: Devinim <kohadevinim at devinim.com.tr>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit a5576f62ebe2e6b22437312cc130b522e7cd9eae
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Thu Mar 26 08:53:59 2020 -0400
Bug 24964: Fix perl critic warning
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 693d56d0e94a01deb71b1f26d6e9ad848ff7598a
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Mar 25 13:50:45 2020 +0100
Bug 24964: Prevent random failures sorting by borrowernumber
Signed-off-by: Fridolin Somers <fridolin.somers 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 9a23ba31664b241410d695527583b898992c5705
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Mar 25 11:21:15 2020 +0100
Bug 24964: Do not filter patrons after they have been fetched
The svc/members/search script is called in different places.
In some places (Set owner for a fund, add users to a fund, or set a
manager to a suggestion), we need patrons to be filtered depending on
the permissions they have.
For instance you can only set a fund's owner with a patron that has
acquisition.order_manage.
Currently we have fetching X (default 20) patrons, then filter them
depending on their permission.
Says you have 3 patrons that have the correct permissions but are not in
the 20 first patrons, if you do not define a search term, the search
result will be empty.
This is not ideal and we should filter when requesting the DB.
Test plan:
- Have more than 20 patrons, remove them their permissions
- Create 3 more:
1 superlibrarian
1 with the full acq permission
1 with acquisition.order_manage
- Create a fund and set a owner
- Search for patrons, without specifying a search term (to get them all)
=> Without this patch the new patrons you created are not displayed
=> With this patch they are!
Same test plan apply to set a manager to a suggestion (freshly pushed,
see bug 23590), with suggestions and suggestions.suggestions_manage
Note: The code has been written that way to rely on
C4::Auth::haspermission, but the SQL query is quite trivial and the gain
is important.
Signed-off-by: Fridolin Somers <fridolin.somers 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 f1bc7201d71f89adc84ab03d2a3e2447bad873ba
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Mar 25 11:20:20 2020 +0100
Bug 24964: Add tests
Signed-off-by: Fridolin Somers <fridolin.somers 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 ed5f3ecc05be45038293588e429d796760476c96
Author: David Roberts <david at koha-ptfs.co.uk>
Date: Wed Mar 25 20:52:19 2020 +0000
Bug 24976: Guided report - "Save" button on last step is misleading
This patch changes the text of the save button on the final step.
To test:
1) Build a guided report (the selections are immaterial)
2) Note that after you have been through the six stages, the button on
the "Confirm custom report" screen should be labelled "Save"
3) Install patch
4) Repeat Step 1. Note that on the "Confirm custom report" screen, the
button is now labelled "Next".
5) Run the report to check that the functionality still works.
Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Devinim <kohadevinim at devinim.com.tr>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Utils/DataTables/Members.pm | 43 +++++++++++---
debian/koha-common.postinst | 28 +++++++++
debian/templates/log4perl-site.conf.in | 7 +++
.../prog/en/modules/members/memberentrygen.tt | 2 +-
.../en/modules/reports/guided_reports_start.tt | 2 +-
svc/members/search | 19 ++----
t/db_dependent/Utils/Datatables_Members.t | 68 ++++++++++++++++++++--
7 files changed, 141 insertions(+), 28 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list