[koha-commits] main Koha release repository branch 16.05.x updated. v16.05.00-101-g4d2f605

Git repo owner gitmaster at git.koha-community.org
Thu Jun 16 12:49:36 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, 16.05.x has been updated
       via  4d2f605b37a5a4ac9087e7d26cffe22d75455d10 (commit)
       via  0a7dc07cb5051b7f2ae6e676c9b01ecf7b9c41e9 (commit)
      from  a0fb3fdf1a057dba56eb05ba6997d901bfcb9645 (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 4d2f605b37a5a4ac9087e7d26cffe22d75455d10
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>
    (cherry picked from commit b37d7c993542f54a1821c99899c4f0772f5846b8)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 0a7dc07cb5051b7f2ae6e676c9b01ecf7b9c41e9
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>
    (cherry picked from commit f01a07a25e0503d9dbed3a4226cb51a155bcacd4)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

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

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