[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.03-73-g03261d5

Git repo owner gitmaster at git.koha-community.org
Fri Sep 13 15:45:12 CEST 2019


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, 19.05.x has been updated
       via  03261d5dc02801cc8f01dd22c5970415e118aff6 (commit)
       via  74baa0fa17ffb4469a945a20d514825e2f0cf6e1 (commit)
       via  814c5a00b4958e9d9bba18f3fc25159f712f1222 (commit)
       via  c67f4ce30a6c5aaeb850f77572be9fe052717cde (commit)
       via  1d8b1fafc4dbdc54108dbe2ff949d612cde6b99e (commit)
       via  92b966a87a74d58e5fdf5a252365175cc2397e9f (commit)
       via  a1927fdf46c015fb1382aaa7bf63768088a7e19c (commit)
      from  1a16ac1b7df407e2456e8692a0aca512a61cbf2b (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 03261d5dc02801cc8f01dd22c5970415e118aff6
Author: David Bourgault <dav.bour at gmail.com>
Date:   Wed Aug 7 18:01:58 2019 +0000

    Bug 21058: Added HTML class to showRDAtag264
    
    Adds the HTML class "rda264" to the span generated by the XSLT function
    showRDAtag264.
    
    To test, same as previous, using a notice with a 264 tag. Both patches
    only apply to MARC21.
    
    I was unsure how to name the class, so I've chose the simplest, most
    explicit name.
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 072a901d35844e99db65c1069b52f4f8b5ad6e5a)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 74baa0fa17ffb4469a945a20d514825e2f0cf6e1
Author: David Bourgault <dav.bour at gmail.com>
Date:   Wed Aug 7 16:42:30 2019 +0000

    Bug 21058: Added HTML classes in MARC21slim2_Detail.xsl
    
    This is a very small patch. I've simply added the following classes to
    their respective spans in the detail XSLs for both interfaces.
    
    - in_note (773$n)
    - preceeding_entry_note (780$n)
    - succeeding_entry_note (785$n)
    
    To test:
    
    1. Apply patch
    2. Open details page of notice with a 773$n, 780$n or 785$n field
    3. Inspect element. The class should be visible.
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit b65fc8e176f600894a98be526922f05e9d4f000d)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 814c5a00b4958e9d9bba18f3fc25159f712f1222
Author: Lari Taskula <larit at student.uef.fi>
Date:   Mon Jun 27 16:03:49 2016 +0300

    Bug 16825: Add API route for getting an item
    
    GET /api/v1/items/{item_id} Gets one Item
    
    This patch adds route to get one item from koha.items table.
    
    To test:
    1. Apply patch
    2. Open a browser tab on Koha staff and log in (to create CGISESSID
       cookie).
    3. Send GET request to http://yourlibrary/api/v1/items/YYY
       where YYY is an existing itemnumber.
    4. Make sure the returned data is correct.
    5. Run unit tests in t/db_dependent/api/v1/items.t
    
    Sponsored-by: Koha-Suomi Oy
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Johanna Raisa <johanna.raisa at gmail.com>
    Signed-off-by: Michal Denar <black23 at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit e9e6537fae1dd921a95f55394ff2b463be8c834a)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit c67f4ce30a6c5aaeb850f77572be9fe052717cde
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Thu Aug 8 08:51:14 2019 +0200

    Bug 23004: Unit test
    
    Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit b26c2a18630538ee515f8e383293efd2c2928c70)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 1d8b1fafc4dbdc54108dbe2ff949d612cde6b99e
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed May 29 08:15:08 2019 +0200

    Bug 23004: Missing authtype filter in auth_finder.pl
    
    In cataloguing, the use of tag editor opens authorities finder with a limit on specific authorities type.
    This limit is missing with Elasticsearch.
    
    This patch adds in query a "filter" on "term" which is the most performant way because there must be no ranking computed on this part.
    
    Test plan :
    1) Use Elasticsearch
    2) Create an autority of type author (NP in UNIMARC) with heading "Tolkien"
    3) Create an autority of type subject-author (SAUT in UNIMARC) with heading "Tolkien"
    4) Create a biblio record
    5) Use tag editor on a author field (700 in UNIMARC)
    6) Seach for "Tolkien" in $a
    without patch : you see the 2 authorities in results
    with patch : you see only the correct authority in results (NP in UNIMARC)
    7) Check search in authorities-home.pl is still OK
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 949e36c7b8a11cd185025a4c9e102f0e26205009)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 92b966a87a74d58e5fdf5a252365175cc2397e9f
Author: Martha Fuerst <mfuerst at hmcpl.org>
Date:   Wed Aug 8 12:51:39 2018 -0400

    Bug 21180: Allow Talking Tech outbound script to limit based on patron home library branchcode
    
    A library system has requested the ability to limit which patrons are sent to Itivia for phone notices.
    
    Test Plan:
    1) Enable phone notices for two patrons with overdues
    2) Run the misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl with the new --patron-branchcode option
    3) Note only the patron whose homebranch you specified is in the output file
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Christopher Brannon <cbrannon at cdalibrary.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 3cb66af150171abf44868f8b0bdca8f70132e4f0)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit a1927fdf46c015fb1382aaa7bf63768088a7e19c
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri May 17 07:36:17 2019 +0000

    Bug 22929: Allow SCI/SCO logins independent of GDPR_Policy
    
    This patch makes Auth skip the GDPR policy check when get_template_and_user
    is called for sci/sco (self checkin, checkout).
    I do not really like the change in this form but the nature of self checkin
    and checkout kind of dictate it (double hack).
    I wanted to add a test but since that asks for mocking CGI, checkauth, etc.
    the time needed for that is just too much for this simple change.
    
    Test plan:
    Enable GDPR_Policy and self checkin/checkout.
    Verify that using patrons without consent is not blocking sci/sco.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 3640130d1fbc49ddc2cc4baef53a4c4d7fea76bf)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 C4/Auth.pm                                         |    3 +-
 Koha/REST/V1/Items.pm                              |  216 ++++++++++++++++++++
 Koha/SearchEngine/Elasticsearch/QueryBuilder.pm    |    3 +
 api/v1/swagger/definitions.json                    |    3 +
 api/v1/swagger/definitions/item.json               |  183 +++++++++++++++++
 api/v1/swagger/parameters.json                     |    3 +
 api/v1/swagger/parameters/item.json                |    9 +
 api/v1/swagger/paths.json                          |    3 +
 api/v1/swagger/paths/items.json                    |   52 +++++
 .../prog/en/xslt/MARC21slim2intranetDetail.xsl     |    6 +-
 .../intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl |    2 +-
 .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl    |    6 +-
 .../bootstrap/en/xslt/MARC21slimUtils.xsl          |    2 +-
 .../thirdparty/TalkingTech_itiva_outbound.pl       |   50 ++++-
 .../Koha/SearchEngine/Elasticsearch/QueryBuilder.t |   10 +-
 t/db_dependent/api/v1/items.t                      |   81 ++++++++
 16 files changed, 612 insertions(+), 20 deletions(-)
 create mode 100644 Koha/REST/V1/Items.pm
 create mode 100644 api/v1/swagger/definitions/item.json
 create mode 100644 api/v1/swagger/parameters/item.json
 create mode 100644 api/v1/swagger/paths/items.json
 create mode 100644 t/db_dependent/api/v1/items.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list