[koha-commits] main Koha release repository branch 16.11.x updated. v16.11.09-17-g7fe57c4
Git repo owner
gitmaster at git.koha-community.org
Wed Jun 28 08:04:59 CEST 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, 16.11.x has been updated
via 7fe57c48eb63127c7f2c0fda592100971f3898b8 (commit)
via 34d76fe38980b7665bc8a9945eab09b2fd81edf2 (commit)
from a38a6ba178775cfbed8f0cc51e6c5c881864b8af (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 7fe57c48eb63127c7f2c0fda592100971f3898b8
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Jan 11 22:37:33 2017 +0100
Bug 17181: Simplify code
- do not prepare statement when used only once
- remove use of Data::Dumper
- remove $duplicate, not needed
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
(cherry picked from commit 80a9a7f9972950554a819138119c8bc3fd3a7f9b)
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
commit 34d76fe38980b7665bc8a9945eab09b2fd81edf2
Author: Aleisha Amohia <aleishaamohia at hotmail.com>
Date: Wed Jan 11 00:40:31 2017 +0000
Bug 17181: Check for duplicate image names when uploading image to patron card creator
This patch adds a check for duplicates before uploading the image.
To test:
1) Go to Tools -> Patron card creator -> Manage images
2) If you haven't already, upload an image
3) Try to upload another image with the same image name
4) Notice the first image is replaced with the second image, with no
warning.
5) Apply patch and refresh page
6) Try to upload an image with the same image name again
7) Notice you are now warned about a duplicate image name.
8) Check that uploading an image with a unique name still works.
Sponsored-by: Catalyst IT
Signed-off-by: Claire Gravely <claire_gravely at hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
(cherry picked from commit 2173b780c951a4d6abd990a212c6e6bb23fa37d7)
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
-----------------------------------------------------------------------
Summary of changes:
.../prog/en/includes/patroncards-errors.inc | 3 +-
patroncards/image-manage.pl | 68 ++++++++++++--------
2 files changed, 43 insertions(+), 28 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list