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

Git repo owner gitmaster at git.koha-community.org
Fri Nov 13 19:07:11 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  acd96409ea869862506233cee3404e14254e5725 (commit)
       via  bd2347fbf85083fe6204dcaaf1cc98826219eaed (commit)
      from  c3f61d3bd9792f4bb535401748fd614579378e54 (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 acd96409ea869862506233cee3404e14254e5725
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Wed Oct 7 16:37:06 2020 +0100

    Bug 25549: Add error reporting to plugins-home
    
    This patch adds handling for the newly introduced 'errors' option in
    GetPlugins and reports erroroneos plugins to the user.
    
    To test:
    1 - Enable plugins in the koha-conf
    2 - Install the kitchen sink plugin
    3 - Your staff client should be orange now :-)
    4 - The plugin should display as installed in the table at
        tools/plugins.
    5 - edit the plugin module
        /var/lib/koha/kohadev/plugins/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm
    6 - Add a line to break compilation, like:
        this won't compile
    7 - Restart all
    8 - Your Koha is not broken, but is no longer orange (The plugin is not
        loading).
    9 - The plugin should display as unable to load in the table at
        tools/plugins.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.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 759ff4519961d0c256eb05a4797fb21c3b2c22d9)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit bd2347fbf85083fe6204dcaaf1cc98826219eaed
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Wed May 20 11:12:12 2020 +0000

    Bug 25549: Remove plugin methods for broken plugins
    
    To test:
     1 - Enable plugins in the koha-conf
     2 - Install the kitchen sink plugin
     3 - Your staff client should be orange now :-)
     4 - edit the plugin module
         /var/lib/koha/kohadev/plugins/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm
     5 - Add a line to break compilation, like:
         this won't compile
     6 - Restart all
     7 - Your koha is now broken
     8 - kshell
     9 - perl misc/devel/install_plugins.pl
    10 - Restart all
    11 - Koha remains broken
    12 - Apply patch
    13 - kshell
    14 - perl misc/devel/install_plugins.pl
    15 - Koha now works!
    16 - Koha is not orange because the plugin methods are removed
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.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 0eae966d257fa2ecc6a6506e2515691e092a701c)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 Koha/Plugins.pm                                    | 39 ++++++++++++----------
 .../prog/en/modules/plugins/plugins-home.tt        | 15 +++++++++
 misc/devel/install_plugins.pl                      | 10 ++++--
 plugins/plugins-home.pl                            | 11 +++---
 4 files changed, 50 insertions(+), 25 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list