[koha-commits] main Koha release repository branch master updated. v16.11.00-202-g80a9a7f

Git repo owner gitmaster at git.koha-community.org
Fri Jan 13 13:32:26 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  80a9a7f9972950554a819138119c8bc3fd3a7f9b (commit)
       via  2173b780c951a4d6abd990a212c6e6bb23fa37d7 (commit)
      from  a2afebe115662ea5dcb8a98888f108d6730128ec (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 80a9a7f9972950554a819138119c8bc3fd3a7f9b
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>

commit 2173b780c951a4d6abd990a212c6e6bb23fa37d7
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>

-----------------------------------------------------------------------

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