[koha-commits] main Koha release repository branch master updated. v3.18.00-579-g85a0f6a

Git repo owner gitmaster at git.koha-community.org
Wed Apr 1 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  85a0f6a42f64227021986ee95a8b19e0eed5702d (commit)
       via  c3c404a67b9b0faf88d3ee259dbf8c91ad401809 (commit)
       via  4ad600ffed2d44ef4a8e0158ff0cebb040ea1eef (commit)
       via  9570439c500a4458a36d7515be8886c4e7f84cd8 (commit)
      from  f37c05c283e0f91f08dc31a0d71488ee2a43e3fe (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 85a0f6a42f64227021986ee95a8b19e0eed5702d
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Tue Mar 31 09:56:56 2015 +0200

    Bug 13933: Fix t/DateUtils.t without DB
    
    If the mysql server is not running, the DateUtils.t tests failed.
    This is caused by
    
    commit dd9f456ab7c2f0e66173a6feb7df2a38604c82cd
        Bug 13601: Add tests to highlight the problems with
        DateTime::Format::DateParse
    
    The pref dateformat and TimeFormat were retrieved before the mock.
    Before bug 13601, the complete preference method was mocked, that's why
    the error did not appear.
    
    Test plan:
      sudo service mysql stop
      prove t/DateUtils.t
    should be happy
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit c3c404a67b9b0faf88d3ee259dbf8c91ad401809
Author: Tomas Cohen Arazi <tomascohen at gmail.com>
Date:   Wed Apr 1 09:33:26 2015 -0300

    Bug 9580: DBRev 3.19.00.019
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 4ad600ffed2d44ef4a8e0158ff0cebb040ea1eef
Author: Tomas Cohen Arazi <tomascohen at gmail.com>
Date:   Tue Mar 31 13:58:37 2015 -0300

    Bug 9580: (QA followup) add a Coce syspref and fix options for Providers
    
    This proposed followup adds a 'Coce' syspref so it is consistent with
    the rest of the enhanced content providers sysprefs (also, there's no
    point making the user delete its configuration if disabling his Coce
    integration for testing purposes, for example).
    
    It also changes the CoceProviders syspref so it is a 'multiple' type
    syspref. It puts some sensible descriptions to the options too.
    
    Feel free to discuss this followup, it is just an idea!
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
    
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    
      - OK for the 'Coce' syspref: it's sensible to distinct configuration
        from enabling/disbaling the service.
      - OK also for the multichoices systempreference. If a new service
        popup, it won't be difficult to amend the .pref file.

commit 9570439c500a4458a36d7515be8886c4e7f84cd8
Author: Frédéric Demians <f.demians at tamil.fr>
Date:   Thu Feb 7 09:55:29 2013 +0100

    Bug 9580 Cover images from Coce, a remote image URL cache
    
    Add to Koha support for displaying Book cover requested to Coce, a
    remote image URL cache:
    
      https://github.com/fredericd/coce
    
    With this enhancement, cover images are not fetched directly from
    Amazon, Google, and so on. Their URL are requested via a web service to
    Coce which manages a cache of URLs.
    
    Three cover image providers are now available: Google Books (gb), Amazon
    (aws), and Open Library (ol). Two system preferences enable this service:
    
      - CoceHost - URL of Coce server
      - CoceProviders - Ordered list of requested providers. For example
        gb,aws,ol, will return the first available URL from those providers.
    
    Several advantages to this architecture:
    
      - If a book cover is not available from a provider, but is available
        from another one, Koha will be able to display a book cover, which
        isn't the case now
      - Since URLs are cached, it isn't necessary for each book cover to
        request, again and again, the provider, and several of them if
        necessary.
      - Amazon book covers are retrieved with Amazon Product Advertising
        API, which means that more covers are retrieved (ISBN13).
    
    Test plan:
    
    - Apply this patch, and test with 'Bootstrap' themes
    - You can verify that nothing has changed on OPAC result and detail
      page, since new syspref haven't been filled
    - Install Code: https://github.com/fredericd/coce
      Or ask me directly for the URL of a Coce server
    - In sysprefs, tab Enhanced content, modify:
      CoceHost -- enter the URL of your Coce server
      CoceProviders -- fill with: gb,aws,ol
    - Do a search. On result page, and detail page, you will see cover
      images originating from the 3 providers: fly over the image to see its
      URL. Try to compare with a Koha with just GoogleJacket or Amazon cover
      to confirm that you have more images. Verify that it's quick, and even
      quicker for cached images URLs.
    - Check that Browse Shelf functionnality works properly.
    - The ID sent to Coce is EAN or ISBN. Try with various type of biblios. DVD
      have often EAN, but no ISBN.
    - You can try with those sysprefs:
        CoceProviders: aws,gb
        CoceHost: http://coce.tamil.fr:8080
      and this EAN (or ISBN): 3333297517744
      => OPACAmazonCoverImages enabled doesn't display a cover because, it's a DVD
      => Coce find and display the DVD cover.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Amended patch: replaced 1 tab with spaces in C4/Shelfbrowser.pm
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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

Summary of changes:
 C4/ShelfBrowser.pm                                 |    2 +
 installer/data/mysql/sysprefs.sql                  |    3 ++
 installer/data/mysql/updatedatabase.pl             |   19 ++++++++-
 .../admin/preferences/enhanced_content.pref        |   18 ++++++++
 .../bootstrap/en/includes/opac-bottom.inc          |    9 ++++
 .../bootstrap/en/includes/shelfbrowser.inc         |    6 ++-
 .../opac-tmpl/bootstrap/en/modules/opac-detail.tt  |   14 +++++++
 .../opac-tmpl/bootstrap/en/modules/opac-results.tt |   12 ++++++
 koha-tmpl/opac-tmpl/bootstrap/js/coce.js           |   43 ++++++++++++++++++++
 kohaversion.pl                                     |    2 +-
 t/DateUtils.t                                      |    8 ++--
 11 files changed, 129 insertions(+), 7 deletions(-)
 create mode 100644 koha-tmpl/opac-tmpl/bootstrap/js/coce.js


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list