[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.06-72-gb3189e3369

Git repo owner gitmaster at git.koha-community.org
Mon Jun 22 02:24:35 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, 19.11.x has been updated
       via  b3189e33692fa5f7be90464dbac673aaa8458401 (commit)
       via  7d20f2cdc34ce83973203ff55dd7bc4518f2d5e7 (commit)
       via  977130c7ae3c3ee095e5219d88592962c92eeb96 (commit)
       via  b143cc31fb4f6d3af445a3bb3b93ccb7ad8c4755 (commit)
      from  11fffb70ff81a51c05378c5b89f42d43b03ea89b (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 b3189e33692fa5f7be90464dbac673aaa8458401
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: Aleisha Amohia <aleishaamohia at hotmail.com>

commit 7d20f2cdc34ce83973203ff55dd7bc4518f2d5e7
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: Aleisha Amohia <aleishaamohia at hotmail.com>

commit 977130c7ae3c3ee095e5219d88592962c92eeb96
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: Aleisha Amohia <aleishaamohia at hotmail.com>

commit b143cc31fb4f6d3af445a3bb3b93ccb7ad8c4755
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: Aleisha Amohia <aleishaamohia at hotmail.com>

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

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list