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

Git repo owner gitmaster at git.koha-community.org
Mon Jun 22 02:20:12 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  11fffb70ff81a51c05378c5b89f42d43b03ea89b (commit)
       via  8374d3bc8c569267b53b0d9da6a0c3fc11b6753f (commit)
      from  d411d6b47c6e2ed311efc79ed622347614bb8299 (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 11fffb70ff81a51c05378c5b89f42d43b03ea89b
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu May 14 19:09:04 2020 -0300

    Bug 25411: Add special handling for public plugin routes
    
    This patch implements the required logic in the API code so plugins are
    not affected by the new RESTPublicAnonymousRequests system preference.
    It is up to the plugin develpers to handle this
    
    To test:
    1. Apply the tests patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/REST/Plugin/PluginRoutes.t
    => FAIL: Notice the tests fail
    3. Apply this patch
    4. Repeat 2
    => SUCCESS: Tests pass! Yay! Not bad for a friday evening!
    5. Sign off :-D
    
    Sponsored-by: ByWater Solutions
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

commit 8374d3bc8c569267b53b0d9da6a0c3fc11b6753f
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu May 14 15:15:52 2020 -0300

    Bug 25411: Regression tests
    
    This patch adds tests the new RESTPublicAnonymousRequests syspref
    doesn't apply to routes added by plugins.
    
    It is up to the plugin developer to handle those conditions.
    
    To test:
    1. Apply this patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/REST/Plugin/PluginRoutes.t
    => FAIL: Notice the tests fail
    
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

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

Summary of changes:
 Koha/REST/V1/Auth.pm                               | 14 +++--
 t/db_dependent/Koha/REST/Plugin/PluginRoutes.t     | 55 +++++++++++++++++--
 t/lib/Koha/Plugin/Test.pm                          | 61 ++++++++++++++++------
 .../lib/Koha/Plugin/Test/Controller.pm             | 23 +++++---
 4 files changed, 121 insertions(+), 32 deletions(-)
 copy Koha/Template/Plugin/Remove_MARC_punctuation.pm => t/lib/Koha/Plugin/Test/Controller.pm (71%)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list