[koha-commits] main Koha release repository branch master updated. v17.05.00-1036-gecb65de
Git repo owner
gitmaster at git.koha-community.org
Wed Nov 8 17:52:41 CET 2017
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 ecb65def5a33e6a40da0a6ddc21a7f28b5b74daa (commit)
via 58bc11a7d4e50d1f2ce7b09dbb512f3a576f5a61 (commit)
via 6cd88847ae12f461ff134c3ee2a545e59bb7520b (commit)
via 4927671b15d6d1f95a84257ef293872e1c0c9665 (commit)
via 493df11102953c4115b38248964f19bc18911236 (commit)
via 9d701fe12d6011ef6a6d1792fb608b3654f168b3 (commit)
via 8db65715fa2c769d4f2166cbb2b9c39352cfdc79 (commit)
via 9fd0555ae828972a7268c56a4f5e56a4a681aa2b (commit)
via aeacde0ac7e38d0ca92f005fae36355aae740d3d (commit)
via 0c9f01f1758fafe3cd8dbe58cf7482df7b30d761 (commit)
via b25cb7ab0f3ff892a273d4d8300483afee414fa3 (commit)
via dcfe9844ec5fbb95a42e8140a6b7e9310f15df84 (commit)
via 77ce1c6b7f8c0f4003df4493d8247d58e8405c86 (commit)
via 97c0b5a5dc5b5853e6f52506e104bbf701ec7c8d (commit)
via 43ad66fb07d5f96ac725a8f21a1ef67a53c0461d (commit)
via 529793d4aeab4def9c93c96011f0806cfdde3bc2 (commit)
from ff82c9aadc441f9ca18dcad2e58783e733cdd839 (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 ecb65def5a33e6a40da0a6ddc21a7f28b5b74daa
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Nov 3 08:50:08 2017 +0100
Bug 18894: (QA follow-up) POD changes
Add limit parameter to POD section.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 58bc11a7d4e50d1f2ce7b09dbb512f3a576f5a61
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Wed Jul 5 10:33:16 2017 -0400
Bug 18894: Add ability to limit the number of messages sent by process_message_queue.pl at a time
Having the ability to limit the number of messages sent by process_message_queue.pl on a single run would be very useful for controlling home many messages are sent at a given time. This can help prevent too many messages being sent out at once and getting flagged as a spammer.
Test Plan:
1) Apply this patch
2) Generate some number of messages in the message queue
3) Run process_message_queue.pl with the new --limit option,
set limit to a number smaller than the number of pending messages
4) After the script has run, check the database and note that only
a number of pending messages were sent, and that the remaining amount
of pending messages is the original amount less the number specified
as the limit
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 6cd88847ae12f461ff134c3ee2a545e59bb7520b
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Nov 3 08:24:15 2017 +0100
Bug 19537: (QA follow-up) Consistent structures
The subfield_loop structure should contain things like:
$VAR1 = {
'marc_subfield' => 'v',
'marc_values' => [
'form'
]
};
This patches replaces the list by an array ref to restore consistency,
although Template Toolkit does not really care. Both work.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 4927671b15d6d1f95a84257ef293872e1c0c9665
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Fri Oct 27 10:43:03 2017 +0000
Bug 19537: Correct addition of source subfield from authorities
To test:
1 - Find or create a subject authority
2 - Define 008/11 as 's' or 'r'
3 - Add 2nd indicator '7' to main heading
4 - Open or create a bibliographic record
5 - Link to the authority created above
6 - Subfield $2 is not set
7 - Apply patch
8 - Repeat linking, subfield $2 should be set
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 493df11102953c4115b38248964f19bc18911236
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Nov 8 13:33:40 2017 -0300
Bug 18882: DBIC Schema changes
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 9d701fe12d6011ef6a6d1792fb608b3654f168b3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Nov 8 13:31:06 2017 -0300
Bug 18882: DBRev 17.06.000.027
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 8db65715fa2c769d4f2166cbb2b9c39352cfdc79
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Fri Jun 30 10:37:14 2017 -0400
Bug 18882: (QA follow-up) Ensure stats with no or undef location are set to NULL in db
Confirm that only NULL or a string are in the location field of the
statistics table. Test with two items, one with shelving location set,
and one without it set.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 9fd0555ae828972a7268c56a4f5e56a4a681aa2b
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Thu Jun 29 11:10:18 2017 -0400
Bug 18882: Add location code to statistics table for checkouts and renewals
Some libraries wish to track what the current location of items was at the time they were checked out. This will help libraries track which physical locations in the library patrons are more likely to check out a given book from.
Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Check out an item that has a location set
4) Renew that item
5) View the checkout and renewal in the statistics table,
verify each has the location column populated correctly
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit aeacde0ac7e38d0ca92f005fae36355aae740d3d
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Mon Nov 6 11:28:46 2017 +0100
Bug 19420: (QA Follow-up) Change in error reporting affects upload.pl
The change from the first patch requires a similar change in upload.pl
when a few error codes are passed to the template.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Tested by deleting a temporary file manually and downloading or deleting
the file from the upload search results.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 0c9f01f1758fafe3cd8dbe58cf7482df7b30d761
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Fri Nov 3 10:33:00 2017 +0000
Bug 19420: (Follow-up) Add errors on other pages
Fix error array (add '0' value)
Update errors on other places using upload.js
Eventually these should all be using the same code in a js file
upload.tt already dealt with these errors, but has diff code, made it
work with new error syntax
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Amended: Removed the added js comment in upload.tt
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit b25cb7ab0f3ff892a273d4d8300483afee414fa3
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Nov 3 10:19:57 2017 +0100
Bug 19420: (QA Follow-up) Fix test, correct POD
The test needs the code level in the error hash now.
And POD is adjusted accordingly.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit dcfe9844ec5fbb95a42e8140a6b7e9310f15df84
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Thu Oct 19 10:39:23 2017 +0000
Bug 19420: Improve display of errors from failure of uploading file during stage import
To test:
1 - sudo chown www-data:www-data /tmp/koha_kohadev_upload/ (or your
relevant dir and user)
2 - Attempt to stage a file
3 - Error message is: Upload status: Failed
4 - Apply patch
5 - Repeat upload
6 - Error is now: Failed - Directory is not writeable:
/tmp/koha_kohadev_upload
7 - Trigger the other errors if you can and note better responses
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 77ce1c6b7f8c0f4003df4493d8247d58e8405c86
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Nov 8 13:28:50 2017 -0300
Bug 10748: DBRev 17.06.000.026
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 97c0b5a5dc5b5853e6f52506e104bbf701ec7c8d
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Mon Nov 6 09:43:02 2017 +0100
Bug 10748: (QA follow-up) Add comment in SIP's do_checkin
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 43ad66fb07d5f96ac725a8f21a1ef67a53c0461d
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Nov 3 13:27:12 2017 -0300
Bug 10748: Add tests
Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 529793d4aeab4def9c93c96011f0806cfdde3bc2
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Oct 4 20:54:24 2017 -0300
Bug 10748: Add the ability to block return of lost items
Mimicking what does BlockReturnOfWithdrawnItems we can easily add a new
syspref to block return of lost items.
This patch adds BlockReturnOfLostItems, if set to 'Block' a item marked
as lost cannot be checked in.
Test plan:
1/ Set BlockReturnOfLostItems to 'Do not block'
2/ Check an item out to a patron
3/ Edit the item and mark it as lost (*)
4/ Check the item in
=> The item is checked in
5/ Edit the item and remove the lost status
6/ Check the item out again
7/ Edit the item and mark it as lost (*)
8/ Check the item in
=> The item is not checked in
(*) There are 2 ways to mark an item lost:
- From the item list view (/catalogue/moredetail.pl?biblionumber=42)
If you set the lost status from this form, the issue will be returned
Maybe this should be optional (?)
- From the edit items form (/cataloguing/additem.pl?biblionumber=42)
It is the form you must use to not mark the issue returned.
Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Dominic Pichette <dominic at inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
-----------------------------------------------------------------------
Summary of changes:
C4/Circulation.pm | 12 +++-
C4/Letters.pm | 21 +++----
C4/SIP/ILS.pm | 3 +
C4/Stats.pm | 27 ++++-----
C4/UsageStats.pm | 1 +
Koha.pm | 2 +-
Koha/Schema/Result/Statistic.pm | 12 +++-
Koha/Uploader.pm | 4 +-
authorities/blinddetail-biblio-search.pl | 4 +-
circ/returns.pl | 2 +-
installer/data/mysql/kohastructure.sql | 1 +
installer/data/mysql/sysprefs.sql | 1 +
installer/data/mysql/updatedatabase.pl | 21 +++++++
.../en/modules/admin/preferences/circulation.pref | 6 ++
.../intranet-tmpl/prog/en/modules/circ/returns.tt | 11 ++--
.../prog/en/modules/offline_circ/process_koc.tt | 6 +-
.../prog/en/modules/tools/stage-marc-import.tt | 6 +-
.../prog/en/modules/tools/upload-images.tt | 6 +-
.../intranet-tmpl/prog/en/modules/tools/upload.tt | 2 +-
misc/cronjobs/process_message_queue.pl | 13 ++++-
t/db_dependent/Circulation/Returns.t | 31 +++++++++-
t/db_dependent/Letters.t | 47 ++++++++++++++-
t/db_dependent/Stats.t | 60 +++++++++++++++++---
t/db_dependent/Upload.t | 2 +-
t/db_dependent/UsageStats.t | 1 +
tools/upload.pl | 6 +-
26 files changed, 246 insertions(+), 62 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list