[koha-commits] main Koha release repository branch master updated. v3.20.00-432-g58b2965

Git repo owner gitmaster at git.koha-community.org
Mon Aug 24 18:11:08 CEST 2015


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  58b29655dda0ca4d4935a6b886a1a39d249a8780 (commit)
       via  76f3c5794c16385b629b70b123e935ef5eb0802e (commit)
       via  dc742ec9b505586c1b6ba9b11eb614b46662e17f (commit)
       via  d863757fa749ef7d20da5e6195112bc42c676528 (commit)
       via  bc208d16e646262c93ceca89af61ea23d80fc006 (commit)
       via  4182a0805219d0d1793cf3a80f63ec095aeb3716 (commit)
       via  4adc4ee5f8d3e113b62094552be6c80942289c3e (commit)
       via  b35dd15a4a64cc13e4c7c9c24e32a56f4cd43c66 (commit)
      from  16f382e7ecb0a7d817da59c45dcd58655e3949ee (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 58b29655dda0ca4d4935a6b886a1a39d249a8780
Author: Tomas Cohen Arazi <tomascohen at unc.edu.ar>
Date:   Mon Aug 24 13:03:05 2015 -0300

    Bug 13791: (QA followup) Plack support requires Apache 2.4.8+
    
    The Apache 2.4 documentation says UDS support for ProxyPass has been
    introduced in Apache 2.4.7. That's what is shipped by Koha's supported
    Debian / Ubuntu versions.
    But it is not true, empiric tests and even the changelog for the apache
    project says the feature got introduced in 2.4.8. So to avoid breakages
    I raised the version number test on the apache files to 2.4.8.
    
    New bugs will be filled for dealing with this if we find it necessary.
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

commit 76f3c5794c16385b629b70b123e935ef5eb0802e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Aug 14 18:24:20 2015 -0300

    Bug 13791: tab-completion for koha-plack in bash
    
    This patch adds tab-completion in bash for the koha-plack command.
    
    After the --start, --stop, --restart and --disable switches it only offers
    plack-enabled instances.  And disabled instances to --enable.
    
    --help and -h just finish end the completion.
    
    --quiet and -q are trickier to implement. They will work (be offered)
    only before the action switches.
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

commit dc742ec9b505586c1b6ba9b11eb614b46662e17f
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Aug 13 14:54:58 2015 -0300

    Bug 13791: make koha-common init script aware of plack
    
    This patch makes the packages' koha-common script aware of plack.
    It does so by relying on koha-list --plack to know which instances
    have Plack configured, and uses the koha-plack script to manage
    the running daemons.
    
    It also introduces a plack_status function to check the status of
    the Plack daemon when called:
    
       $ servive koha-common status
    
    Regards
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

commit d863757fa749ef7d20da5e6195112bc42c676528
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Aug 13 14:49:01 2015 -0300

    Bug 13791: make koha-list aware of plack
    
    This patch adds the --plack and --noplack option switches to koha-list
    for filtering instances to be listed.
    
    This is particularly important for init scripts and cronjobs.
    
    To test:
    - Play with koha-list --plack and koha-plack --enable/--disable and verify that
    koha-list returns the expected results.
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

commit bc208d16e646262c93ceca89af61ea23d80fc006
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Aug 13 14:13:19 2015 -0300

    Bug 13791: koha-plack documentation
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

commit 4182a0805219d0d1793cf3a80f63ec095aeb3716
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Aug 13 14:02:42 2015 -0300

    Bug 13791: Apache configuration files
    
    This patch adds an include to each VirtualHost definition (OPAC and Intranet)
    and a variable definition, taking advantage of Apache 2.4.x features.
    
    The instance name is reused inside the includes providing a simple way of
    dealing with the apache <-> plack configuration.
    
    A check for the right apache version is introduced, in the for of an IfVersion block:
    
    <IfVersion >= 2.4>
      --- Plack configuration here ---
    </IfVersion>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

commit 4adc4ee5f8d3e113b62094552be6c80942289c3e
Author: Tomás Cohen Arazi <tomascohen at theke.io>
Date:   Wed Mar 4 00:19:40 2015 +0100

    Bug 13791: Plack out-of-the-box support on packages
    
    This patch introduces a koha-plack script that controls running Plack
    processes for each instance. They are run using 'starman', listening
    on a Unix Domain Socket (UDS):
    
      /var/run/koha/<instancename>/plack.sock
    
    The plack configuration file[1] is expected to be on:
    
      /etc/koha/plack.psgi
    
    and is installed by the package.
    
    It also adds the following helper functions to koha-functions.sh:
    
     - is_plack_enabled
     - is_plack_running
    
    Done:
    - koha-plack script
    - suitable psgi file
    
    To test this patches you will need to install
    - starman
    - libplack-middleware-reverseproxy-perl
    
    [1] Yeah, a single file. Because we will be relying on multiple mount
    points for each "app" (i.e. 'opac' and 'intranet', and 'api' ;-) )
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

commit b35dd15a4a64cc13e4c7c9c24e32a56f4cd43c66
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Aug 19 15:42:10 2015 +0100

    Bug 14566: Fix permissions in patronimage.pl
    
    There is no permission needed to access the patronimage.pl script.
    This means anybody cans access to the patron's images.
    
    Test plan:
    Add an image to borrowernumber 42 and call
    /cgi-bin/koha/members/patronimage.pl?borrowernumber=42
    
    If you are logged in with borrowers permissions, you will see the image,
    otherwise you will get a blank page with a 403 header.
    
    Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg at gmail.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

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

Summary of changes:
 debian/docs/{koha-indexer.xml => koha-plack.xml}   |   48 +++-
 debian/koha-common.bash-completion                 |   59 +++-
 debian/koha-common.init                            |   67 +++--
 debian/koha-common.install                         |    1 +
 debian/scripts/koha-foreach                        |    5 +
 debian/scripts/koha-functions.sh                   |   31 ++
 debian/scripts/koha-list                           |   61 +++-
 debian/scripts/koha-plack                          |  302 ++++++++++++++++++++
 debian/templates/apache-shared-intranet-plack.conf |   25 ++
 debian/templates/apache-shared-opac-plack.conf     |   25 ++
 debian/templates/apache-site.conf.in               |    8 +
 debian/templates/plack.psgi                        |   71 +++++
 members/patronimage.pl                             |   23 +-
 13 files changed, 659 insertions(+), 67 deletions(-)
 copy debian/docs/{koha-indexer.xml => koha-plack.xml} (52%)
 create mode 100755 debian/scripts/koha-plack
 create mode 100644 debian/templates/apache-shared-intranet-plack.conf
 create mode 100644 debian/templates/apache-shared-opac-plack.conf
 create mode 100644 debian/templates/plack.psgi


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list