[koha-commits] main Koha release repository branch master updated. v16.05.00-46-gb37d7c9

Git repo owner gitmaster at git.koha-community.org
Sat Jun 4 09:43:51 CEST 2016


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  b37d7c993542f54a1821c99899c4f0772f5846b8 (commit)
       via  f01a07a25e0503d9dbed3a4226cb51a155bcacd4 (commit)
      from  fc35a5099f613c08d12be1d67fd027d4a5eaf99c (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 b37d7c993542f54a1821c99899c4f0772f5846b8
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed May 11 13:13:38 2016 +0100

    Bug 16088: Fix the number of tests to skip
    
    Signed-off-by: Jacek Ablewicz <abl at biblos.pk.edu.pl>
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>

commit f01a07a25e0503d9dbed3a4226cb51a155bcacd4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon May 9 17:27:51 2016 +0100

    Bug 16088: Introduce Koha::Cache::Memory::Lite to cache the language
    
    The goal of this patch is to avoid unecessary flush of the L1 cache on
    creating a new CGI object each time C4::Languages::getlanguage is called
    without a CGI object.
    
    The new class Koha::Cache::Memory::Lite must be flushed by the CGI
    constructor overide done in the psgi file. This new class will ease
    caching of specific stuffs used by running script.
    
    Test plan:
    At the OPAC and the intranet interfaces:
    Open 2 different browser session to simulate several users
    - Clear the cookies of the browsers
    - User 1 (U1) an User 2 (U2) should be set to the default language
      (depending on the browser settings)
    - U1 chooses another language
    - U2 refreshes and the language used must be the default one
    - U2 chooses a third language
    - U1 refreshes and must be still using the one he has choosen.
    
    Try to use a language which is not defined:
    Add &language=es-ES (if es-ES is not translated) to the url, you should
    not see the Spanish interface.
    
    Signed-off-by: Jacek Ablewicz <abl at biblos.pk.edu.pl>
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>

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

Summary of changes:
 C4/Languages.pm             |   30 ++++++++++++------
 C4/Templates.pm             |   14 +++++----
 Koha/Cache/Memory/Lite.pm   |   72 +++++++++++++++++++++++++++++++++++++++++++
 debian/templates/plack.psgi |    3 ++
 misc/plack/koha.psgi        |    2 ++
 t/Cache.t                   |   42 +++++++++++++++++++++++--
 6 files changed, 145 insertions(+), 18 deletions(-)
 create mode 100644 Koha/Cache/Memory/Lite.pm


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list