[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-884-g18454bb

Git repo owner gitmaster at git.koha-community.org
Tue Jul 30 00:21:24 CEST 2013


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  18454bbb7d5bf6486cd7efdde11ffe0eb2cdcf52 (commit)
       via  961617765ef25bde32cb050ad016f3b063661ef8 (commit)
       via  488a3d6fed57b4e0d773157ee4a6ab7e4775e7a4 (commit)
      from  80f2dc571e04996aa773ee5274e706c7281d2675 (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 18454bbb7d5bf6486cd7efdde11ffe0eb2cdcf52
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Sun Jul 28 19:42:51 2013 +0000

    move Auth_ParseSearchHistoryCookie.t to db_dependent directory
    
    The actual tests in this script are not dependent on the database,
    but simply loading C4::Auth requires a valid(ish) koha-conf.xml
    and database.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 961617765ef25bde32cb050ad016f3b063661ef8
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Sun Jul 28 02:48:44 2013 +0000

    do some validation of the KohaOpacRecentSearches cookie
    
    Add validation of the value of the KohaOpacRecentSearches.  In
    particular, this patch avoids the generation of an internal server
    error when the OPAC is presented with an old cookie that uses the
    old Storable-based serialization.
    
    This patch also moves parsing of the cookie value into a
    new routine in C4::Auth, ParseSearchHistoryCookie, and adds
    a test case.
    
    To test (in conjunction with the previous patch):
    
    Exercise the OPAC search history functionality, after
    turning on the EnableOpacSearchHistory syspref:
    
    - As an anonymous user, conduct a variety of searches,
      including ones that include non-ASCII characters
    - Check the search history and verify that all searches
      are listed
    - Apply this patch and the previous one.
    - Do *not* clear the KohaOpacRecentSearches cookie
    - Check the search history and verify that no searches
      are listed any more
    - As an anonymous user, conduct a variety of searches,
      including ones that include non-ASCII characters
    - Check the search history and verify that all searches
      are listed
    - Log into the OPAC
    - Verify that current and past searches are listed in
      search history.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 488a3d6fed57b4e0d773157ee4a6ab7e4775e7a4
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Thu Jul 25 16:50:30 2013 +0000

    use JSON rather than Storable for the OPAC search history cookie
    
    To test:
    
    Exercise the OPAC search history functionality, after
    turning on the EnableOpacSearchHistory syspref:
    
    - Clear the KohaOpacRecentSearches cookie
    - As an anonymous user, conduct a variety of searches,
      including ones that include non-ASCII characters
    - Check the search history and verified that all searches
      are listed
    - Log into the OPAC
    - Verify that current and past searches are listed in
      search history.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 C4/Auth.pm                                     |   68 ++++++++++++-----------
 opac/opac-search-history.pl                    |   12 ++---
 opac/opac-search.pl                            |   23 +++------
 t/db_dependent/Auth_ParseSearchHistoryCookie.t |   43 +++++++++++++++
 4 files changed, 89 insertions(+), 57 deletions(-)
 create mode 100644 t/db_dependent/Auth_ParseSearchHistoryCookie.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list