[koha-commits] main Koha release repository branch master updated. v20.05.00-1268-g5f492e3049

Git repo owner gitmaster at git.koha-community.org
Tue Oct 6 16:06:23 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, master has been updated
       via  5f492e3049a23dfb0e35bba4d60a21f7cc848aae (commit)
       via  0f26c7c3d76af06f5a29f00a1c1bbf5fa85fd7b1 (commit)
       via  ae0c2b52a21f9b6a2705bc745ad0013bf50d3264 (commit)
       via  f6a76aae0c66e4103627e55ebff68b58a06a9b32 (commit)
       via  efc9a7d320f896115bee1a9ce4031bf32c46d86a (commit)
       via  92340d03afdee37504afdb792d41b2cad425481a (commit)
       via  57ff9af3bbc79eff4be21ff3745f190266eccc66 (commit)
       via  aaec87c80c212c4df8274adca58f5fb232363437 (commit)
      from  20022fa72191b0b4a9ff979cdc3539080cb9d502 (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 5f492e3049a23dfb0e35bba4d60a21f7cc848aae
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Tue Oct 6 13:21:29 2020 +0200

    Bug 20582: Reset CGI::PARAM_UTF8 to 1 before each CGI request
    
    CGI::Compile calls CGI::initialize_globals before each request, which
    resets PARAM_UTF8 to 0
    We need to set it back to the correct value
    
    This is the same trick used in debian/templates/plack.psgi
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

commit 0f26c7c3d76af06f5a29f00a1c1bbf5fa85fd7b1
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Fri Sep 11 11:29:37 2020 +0100

    Bug 20582: (QA follow-up) Add POD to satisfy coding guidelines
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

commit ae0c2b52a21f9b6a2705bc745ad0013bf50d3264
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Fri Aug 28 17:39:00 2020 +0400

    Bug 20582: Fix a cache issue in Koha::App::{Opac,Intranet}
    
    This was a workaround I wrote when Koha::Caches->flush_L1_caches was not
    flushing all caches correctly. Now it's not needed and it causes
    problems, so it must be removed.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

commit f6a76aae0c66e4103627e55ebff68b58a06a9b32
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Fri Aug 28 17:37:53 2020 +0400

    Bug 20582: Add very simple configuration file for Apache
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

commit efc9a7d320f896115bee1a9ce4031bf32c46d86a
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Fri Aug 28 17:35:14 2020 +0400

    Bug 20582: Fix PSGI file when behind a reverse proxy
    
    ReverseProxy middleware can modify SERVER_PORT which is used to
    determines which app (opac or intranet) to run, so the choice should be
    made before ReverseProxy middleware
    
    Signed-off-by: Jerome Charaoui <jcharaoui at cmaisonneuve.qc.ca>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

commit 92340d03afdee37504afdb792d41b2cad425481a
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Fri Apr 24 10:25:04 2020 +0200

    Bug 20582: Suppress warning in CGIBinKoha.pm
    
    Signed-off-by: Jerome Charaoui <jcharaoui at cmaisonneuve.qc.ca>
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

commit 57ff9af3bbc79eff4be21ff3745f190266eccc66
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Thu Apr 12 20:42:13 2018 +0200

    Bug 20582: Turn Koha into a Mojolicious application
    
    This patch is a proof-of-concept of Koha as a Mojolicious application
    
    This has several benefits:
    - Development setup is easier. No need for apache or nginx. Just run
      `morbo bin/intranet` or `morbo bin/opac` and go to
      http://localhost:3000 (URL rewrites and static files are handled by
      the app)
    - apache2/nginx configuration is simpler too (an example of nginx
      configuration is included in the patch)
    - starman and plack middlewares can still be used for debug or gzip
      compression for instance (see app.psgi)
    - Using Test::Mojo we can test the whole application, as we do with the
      REST API (which is a Mojolicious application too)
    - It opens a way for converting CGI scripts into Mojolicious
      controllers and actions (even if that's not possible at the moment
      because of the authentication code)
    
    It uses the same mechanism as Plack::App::CGIBin to deal with CGI
    scripts, so it should be equivalent in terms of performance
    
    How to test ?
    - Run `morbo bin/intranet`, then go to http://localhost:3000/ and try to
      find bugs. Check the REST API at http://localhost:3000/api/v1
    - Run `morbo bin/opac`, then go to http://localhost:3000/ and try to
      find bugs. Check the REST API at http://localhost:3000/api/v1
    - Run `starman -l :5000 -l :5001` and verify that intranet
      (http://localhost:5000) and opac (http://localhost:5001) work normally
    - Read the code (and the comments), it's not very long
    
    Signed-off-by: Jerome Charaoui <jcharaoui at cmaisonneuve.qc.ca>
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

commit aaec87c80c212c4df8274adca58f5fb232363437
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Oct 5 17:21:04 2020 +0200

    Bug 22417: Remove batch_record_modification from the non-plack list
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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

Summary of changes:
 Koha/App/Intranet.pm                               |  93 +++++++++++++++
 Koha/App/Opac.pm                                   |  93 +++++++++++++++
 Koha/App/Plugin/CGIBinKoha.pm                      | 130 +++++++++++++++++++++
 Koha/{Patron/Consents.pm => App/Plugin/RESTV1.pm}  |  41 +++----
 app.psgi                                           |  64 ++++++++++
 bin/intranet                                       |  43 +++++++
 api/v1/app.pl => bin/opac                          |  10 +-
 debian/templates/apache-shared-intranet-plack.conf |   1 -
 etc/apache.conf                                    |  18 +++
 etc/nginx.conf                                     |  33 ++++++
 10 files changed, 500 insertions(+), 26 deletions(-)
 create mode 100644 Koha/App/Intranet.pm
 create mode 100644 Koha/App/Opac.pm
 create mode 100644 Koha/App/Plugin/CGIBinKoha.pm
 copy Koha/{Patron/Consents.pm => App/Plugin/RESTV1.pm} (57%)
 create mode 100644 app.psgi
 create mode 100755 bin/intranet
 copy api/v1/app.pl => bin/opac (81%)
 create mode 100644 etc/apache.conf
 create mode 100644 etc/nginx.conf


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list