[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.05-20-g78e8c65bf5

Git repo owner gitmaster at git.koha-community.org
Fri Nov 13 16:08:44 CET 2020


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, 20.05.x has been updated
       via  78e8c65bf5fa8db6b9a8e8f3313359a4f295c00d (commit)
       via  356d1ca888b3591bde960f30c43e6afcd93b66dc (commit)
      from  7837657e04bb8f25d31bf6a39f87bf9f757f88de (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 78e8c65bf5fa8db6b9a8e8f3313359a4f295c00d
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Jul 30 15:15:46 2020 +0200

    Bug 20804: Add support for "days" to the timeout syspref
    
    If the timeout syspref did not contain an integer, or was not matching
    integer.'d|D', then it "fallback" to 0
    
    We can easily add support for hours and fallback to 600 if the value is
    not correct.
    It will prevent the session to timeout immediately
    
    Test plan:
    0. Do not apply the patches
    1. Fill the timeout syspref with "5h"
    2. Login
    3. Click somewhere
    => Notice that the session timed out
    4. Apply the patches, restart_all
    5. Login
    6. Click somewhere
    => You have 5 hours to enjoy Koha
    7. Fill the pref with an incorrect value ("5x" for instance)
    8. Logout, login
    9. There is a warning in the log, and you have 10 minutes (600 secondes) to enjoy Koha
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 97b9eab178f0b45b38662747a4e009e71d8b73ff)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit 356d1ca888b3591bde960f30c43e6afcd93b66dc
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Jul 30 15:15:36 2020 +0200

    Bug 20804: Add tests
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 3c9c7f4543a06553c6cbf04ff58a82eb6a40fc9c)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 C4/Auth.pm            | 14 ++++++++++++--
 t/db_dependent/Auth.t | 21 ++++++++++++++++++++-
 2 files changed, 32 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list