[koha-commits] main Koha release repository branch 18.05.x updated. v18.05.11-13-g9fe361a
Git repo owner
gitmaster at git.koha-community.org
Mon Apr 1 18:41:44 CEST 2019
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, 18.05.x has been updated
via 9fe361a491ebf82697ab1e4b6d439f218f300623 (commit)
via c6651b872421cce5415694fbf173c38a094c1321 (commit)
via a12ad9f12260bed9732bcaa4b663c109a3b4572e (commit)
from 87790299605e2d1fad5f781ebc7ff9b180294dbf (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 9fe361a491ebf82697ab1e4b6d439f218f300623
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed Feb 20 11:26:40 2019 -0300
Bug 17746: (QA follow-up) Make set_password.pl generate a password if required
This patch makes the set_password.pl script generate the password if it
is not passed as an argument.
It also changes the behaviour of set_password.pl: it will now print the
userid and password (generated or not) to mimick the behaviour from
koha-reset-passwd.
The koha-reset-passwd gets simplified as it doesn't generate the random
password anymore, it passes the responsability to set_password.pl
To test:
- Follow the steps from the original platch
- Verify all behaves as expected
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
(cherry picked from commit 3ef48c8708736e9d5b16e462e520302c007cb4c1)
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 3b423071227ee3f9300907bb9e89cff26012aa29)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
commit c6651b872421cce5415694fbf173c38a094c1321
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Feb 4 15:09:34 2019 -0300
Bug 17746: Add misc/admin/set_password.pl script
This patch introduces a script that allows changing a patron's password.
The change overrides the defined password enforcement policy.
If multiple conditions are passed to match on the patron, they all need
to match. Otherwise an error message is printed.
Attributes to search the patron on:
- cardnumber
- patron_id (a.k.a. borrowernumber)
- userid
we usually know some of them, but if we specify more than one, they need
to match a patron, together.
To test:
1) Apply this patch
2) Have a known patron (i.e. you know the cardnumber, the borrowernumber
and the userid).
3) Run:
$ kshell
k$ perl misc/admin/set_password.pl --cardnumber <the_card_number> \
--password a_password
4) Verify you can login with the new password
5) Repeat 3) through 5) with --patron_id and --userid
=> SUCCESS: You can login in all cases
6) Try combining some or all the parameters
=> SUCCESS: It fails when it should, it succeeds when it should
7) Sign off :-D
Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault at inLibro.com>
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
(cherry picked from commit e2f6542e1ebbd15977b47c86d2a9ef55fa0c5e9b)
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 54de33967101173c72865e97fce0fd220e2d0842)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
commit a12ad9f12260bed9732bcaa4b663c109a3b4572e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Tue Feb 5 14:04:12 2019 -0300
Bug 17746: Make koha-reset-passwd user set_password.pl
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
(cherry picked from commit 0cd4ca289bd2e1bd11fdbd015225a909971ce213)
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit ac1fdfe2258940cf4b7003d816b0e1723ed8963c)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
debian/scripts/koha-reset-passwd | 61 ++++++++++++------
misc/admin/set_password.pl | 129 ++++++++++++++++++++++++++++++++++++++
2 files changed, 171 insertions(+), 19 deletions(-)
create mode 100755 misc/admin/set_password.pl
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list