[koha-commits] main Koha release repository branch master updated. v3.14.00-1124-gb16336c

Git repo owner gitmaster at git.koha-community.org
Mon May 5 04:34:05 CEST 2014


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  b16336caf8132d73ae71d78b4efe38df56029b81 (commit)
       via  18cce456d9685fcf16936a18936873c142cb8aab (commit)
       via  7f595f8cb8ff04b2cc026c28aa6de276e6d61b5f (commit)
       via  7bd83146023faf2cdc45196d33ef46204421768c (commit)
       via  6cbd3265a43d0a8f35496abffd1bfc78481cdb8a (commit)
       via  b288e7557c97f4c39114abb921e9eb6e62f002a8 (commit)
       via  0d1ae02441934d02470e51db95706b6dddeb20b5 (commit)
       via  50e326e5c2ea88e0fe34d919d0f6f5613c8ec3cd (commit)
       via  83868756031cf0a50c3e68552885b23aa745ab5b (commit)
       via  e6d80297504a952f28144be6eb6b3abc0688f968 (commit)
       via  ba41b7da79507b39bfa59965639d92be56db2496 (commit)
      from  bd65c6e95b538c072cecd688f20a9adcfe2cc4e5 (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 b16336caf8132d73ae71d78b4efe38df56029b81
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 5 02:58:29 2014 +0000

    Bug 10807: (follow-up) remove comment about routine that is no longer present
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 18cce456d9685fcf16936a18936873c142cb8aab
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 5 02:55:41 2014 +0000

    Bug 10807: (follow-up) use 24-hour time when storing search times to session
    
    This ensures that if an anonymous session is converted to a logged-in
    session, that search history times from the anonymous session get
    stored corectly.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 7f595f8cb8ff04b2cc026c28aa6de276e6d61b5f
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 5 02:40:09 2014 +0000

    Bug 10807: (follow-up) update DBIC schema classes
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 7bd83146023faf2cdc45196d33ef46204421768c
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 5 02:39:07 2014 +0000

    Bug 10807: DBrev 3.15.00.046
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 6cbd3265a43d0a8f35496abffd1bfc78481cdb8a
Author: Katrin Fischer <Katrin.Fischer.83 at web.de>
Date:   Mon Apr 21 22:03:04 2014 +0200

    Bug 10807: (follow-up) change wording of tabs
    
    Changed the tabs from Catalog and Authority to
    Catalog searches and Authority searches to be a bit more specific.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit b288e7557c97f4c39114abb921e9eb6e62f002a8
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Thu Dec 19 15:22:02 2013 +0100

    Bug 10807: Add an authority search history for the OPAC - bootstrap
    
    Patch for the bootstrap theme
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 0d1ae02441934d02470e51db95706b6dddeb20b5
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Tue Sep 24 11:13:32 2013 +0200

    Bug 10807: (follow-up) make the new field search_history.type should be a varchar(16)
    
    varchar(255) is too wide for "biblio" and "authority" values.
    
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>

commit 50e326e5c2ea88e0fe34d919d0f6f5613c8ec3cd
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Mon Sep 23 13:39:07 2013 +0200

    Bug 10807: (follow-up) fix UT t/db_dependent/Search_SearchHistory.t
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 83868756031cf0a50c3e68552885b23aa745ab5b
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Mon Sep 23 13:35:58 2013 +0200

    Bug 10807: (follow-up) Change the GPL version to v3+
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit e6d80297504a952f28144be6eb6b3abc0688f968
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Wed Sep 11 09:55:14 2013 -0400

    Bug 10807: (follow-up) wording tweak; take OpacAuthorities into account
    
    This follow-up makes two changes:
    
    1) Change "biblio" to "catalog" when referring to non-authority
       searches.
    2) Make display of the authority search tab dependent on the
    OpacAuthorities system preference. If OPAC authority searches are
    disabled we shouldn't show a tab which will always be empty.
    
    To test, view the OPAC search history page with the OpacAuthorities
    preference both on and off.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit ba41b7da79507b39bfa59965639d92be56db2496
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Fri Aug 30 14:01:15 2013 +0200

    Bug 10807: Add an authority search history for the OPAC
    
    Like biblio, this feature provides an authority search history.
    This history is available for connected and disconnected user.
    If the user is not logged in Koha, the history is stored in an
    anonymous user sessin.
    
    The search history feature is now factorized in a new module.
    
    This patch adds:
    - 1 new db field search_history.type. It permits to distinguish the
      search type (biblio or authority).
    - 1 new module C4::Search::History. It deals with 2 different storages:
      DB or cookie
    - 2 new UT files: t/Search/History.t and t/db_dependent/Search/History.t
    - 1 new behavior: the 'Search history' link (on the top-right corner of
      the screen) is always displayed.
    
    Test plan:
     1/ Switch on the 'EnableOpacSearchHistory' syspref.
     2/ Go on the opac and log out.
     3/ Launch some biblio and authority searches.
     4/ Go on your search history page.
     5/ Check that all yours searches are displayed.
     6/ Click on some links and check that results are consistent.
     7/ Delete your biblio history searches.
     8/ Delete your authority searches history searches.
     9/ Launch some biblio and authority searches
    10/ Delete all your history (cross on the top-right corner)
    11/ Check that all your history search is empty.
    12/ Launch some biblio and authority searches.
    13/ Login to your account.
    14/ Check that all previous searches are displayed.
    15/ Launch some biblio and authority searches.
    16/ Check that these previous searches are displayed under "Current
    session".
    17/ Play with the 4 delete links (current / previous and biblio /
    authority).
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    All patches together pass QA script and tests.
    Also, new tests in t/db_dependent/ pass.
    
    Tested in all 4 OPAC themes, being logged in and anonymous.
    Anonymous search history will be appended to personal search
    history after logging in.
    Also verified that cleanup_database still purges search history,
    now also including the authority searchs.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 C4/Auth.pm                                         |   61 ++---
 C4/Search.pm                                       |   23 --
 C4/Search/History.pm                               |  268 ++++++++++++++++++++
 Koha/Schema/Result/SearchHistory.pm                |   18 +-
 installer/data/mysql/kohastructure.sql             |    1 +
 installer/data/mysql/updatedatabase.pl             |    9 +
 .../opac-tmpl/bootstrap/en/includes/masthead.inc   |    4 +-
 .../opac-tmpl/bootstrap/en/includes/usermenu.inc   |    2 +-
 .../bootstrap/en/modules/opac-search-history.tt    |  161 +++++++++---
 koha-tmpl/opac-tmpl/ccsr/en/includes/top-bar.inc   |    2 +-
 koha-tmpl/opac-tmpl/ccsr/en/includes/usermenu.inc  |    2 +-
 koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc  |    2 +-
 koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc  |    2 +-
 .../prog/en/modules/opac-search-history.tt         |  229 ++++++++++++-----
 kohaversion.pl                                     |    2 +-
 opac/opac-authorities-home.pl                      |   33 +++
 opac/opac-search-history.pl                        |  169 ++++++------
 opac/opac-search.pl                                |   59 +++--
 .../History.t}                                     |   27 +-
 t/db_dependent/Search/History.t                    |  248 ++++++++++++++++++
 t/db_dependent/Search_SearchHistory.t              |   14 +-
 21 files changed, 1034 insertions(+), 302 deletions(-)
 create mode 100644 C4/Search/History.pm
 rename t/{db_dependent/Auth_SearchHistorySession.t => Search/History.t} (55%)
 create mode 100644 t/db_dependent/Search/History.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list