[koha-commits] main Koha release repository branch master updated. v16.05.00-1325-g9427edc
Git repo owner
gitmaster at git.koha-community.org
Fri Nov 4 16:46:40 CET 2016
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 9427edc2f6ae268f2af65c21b6b7850b31f35358 (commit)
via f6148ab777b2231cb047f54677d8d716954b062a (commit)
via df3a9105e843d8f41abb85b7a1416f538f2896e2 (commit)
from 43c6850269d7bc28ec339ccab780592fb306ac4d (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 9427edc2f6ae268f2af65c21b6b7850b31f35358
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Fri Nov 4 12:18:57 2016 -0300
Bug 17494: (QA followup) Fix exception name
This patch changes the exception name to match the package name. And
also adds a test for the thrown exception message.
Also creates a general Koha::Exception::Patron::Modification exception
to make the new one inherit from it, following the common use in the codebase.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit f6148ab777b2231cb047f54677d8d716954b062a
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Mon Oct 31 11:15:02 2016 +0000
Bug 17494: Prevent duplicate tokens from getting stored
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit df3a9105e843d8f41abb85b7a1416f538f2896e2
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Oct 27 10:04:30 2016 +0200
Bug 17494: Make sure the same verification token won't be generated twice
Well, this patch does not enforce the unique constraint but mimic what
is already done in C4::ImportExportFramework and Koha::Upload where
md5_hex is used.
Test plan:
Have a look at the code and confirm that it adds more randomness to the
hashed string
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Exceptions/Patron/Modification.pm | 16 ++++++++++++++++
Koha/Patron/Modification.pm | 21 +++++++++++++++++++++
opac/opac-memberentry.pl | 5 ++++-
t/db_dependent/Koha_borrower_modifications.t | 21 +++++++++++++++++++--
4 files changed, 60 insertions(+), 3 deletions(-)
create mode 100644 Koha/Exceptions/Patron/Modification.pm
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list