[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.00-31-g2f09061186

Git repo owner gitmaster at git.koha-community.org
Thu Jun 18 00:04:43 CEST 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  2f09061186a7459c992e610ca8b8dac9a7f427b1 (commit)
       via  06c246a067ae55ccc14ef054983553ea006b3e97 (commit)
       via  3d9d07d03bdfc8c18bb1595839dc9a8d2878ebc2 (commit)
       via  a2ef8f64c444d4e299e50975ddf3219153182e0a (commit)
      from  5b263c80dc647778bd0a4e23dbfd65167cf4c336 (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 2f09061186a7459c992e610ca8b8dac9a7f427b1
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Jun 9 12:40:32 2020 -0300

    Bug 24003: (follow-up) Add all userenv parameters
    
    This patch makes the API set more userenv params than just the
    borrowernumber. To test:
    
    1. Apply this patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/api/v1/auth_*
    => SUCCESS: All tests pass
    3. Sign off :-D
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit ca7eb99eef2d1ae0258318310e402069194e999b)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit 06c246a067ae55ccc14ef054983553ea006b3e97
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Jun 5 09:47:47 2020 -0300

    Bug 24003: (follow-up) Move interface setting to a more readable place
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 6b2d8b6779df37fa6be58f0313f4c128b183e4f6)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit 3d9d07d03bdfc8c18bb1595839dc9a8d2878ebc2
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Jun 5 09:16:16 2020 -0300

    Bug 24003: Make the API set userenv on authentication
    
    This patch makes the authentication step stash the user that got
    authenticated so code outside the Mojo part of Koha can use it (i.e.
    through the use of C4::Context->userenv).
    
    To test:
    1. Apply the regression tests
    2. Run:
       $ kshell
      k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t \
               t/db_dependent/api/v1/auth_basic.t
    => FAIL: Tests fail!
    3. Apply this patch
    4. Repeat 2
    => SUCCESS: Tests pass!
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 682d7896dd8e91fe846221d9605f79ca44d16360)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit a2ef8f64c444d4e299e50975ddf3219153182e0a
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Jun 5 09:15:19 2020 -0300

    Bug 24003: Regression tests
    
    This patch adds regression tests for the different authentication
    mechanisms Koha supports. It highlights the fact that Koha expects
    userenv to be set on authentication.
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit f1a3fad1fc5c3949fbc14df42af49acc88a633ff)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 Koha/REST/V1/Auth.pm                               | 38 ++++++++++++++++++++--
 .../api/v1/auth_authenticate_api_request.t         | 32 ++++++++++++++----
 t/db_dependent/api/v1/auth_basic.t                 | 19 ++++++++++-
 3 files changed, 79 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list