[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.05-141-g243e94598e

Git repo owner gitmaster at git.koha-community.org
Sat May 9 01:15:42 CEST 2020


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.11.x has been updated
       via  243e94598e5f3d84b7b53b67c5bc38a1eecee5e0 (commit)
       via  40f4e9437cb012f93de7ac3b66bcb649617f13f5 (commit)
       via  c85ae52c22592587e5bae7f7c5974400a9f07b0d (commit)
       via  7f99b5a1a0b7ac587dac91ef1c5447c824eadc13 (commit)
       via  cd7ab5328b5752839398353867eaea517de051bb (commit)
       via  59021355f91a28105166d10efe30c2aab837e9aa (commit)
       via  de542d406e0ab4f2c22bd66a12ec13dc8d61acca (commit)
       via  7aa114f11e4d194d3db5dcf765974a56a3d5c84b (commit)
      from  b5add0dd0556f9468708595860c2833d34eeb433 (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 243e94598e5f3d84b7b53b67c5bc38a1eecee5e0
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Thu Apr 30 11:29:56 2020 +0000

    Bug 24043: (QA follow-up) Fix another TypeError when retrieving status name
    
    Test plan:
    1) Apply first patch, and have the same requests as in previous patch
    test plan
    2) Load ill requests list
    2a) You can see another TypeError in console
    2b) You can notice, the Placed on and Updated on columns have prepended
    another columns with unformatted dates and without header label
    3) Apply this patch
    4) Reload page (be sure it is not loaded from cache - Ctrl+F5)
    5) Errors from 2a and 2b are gone
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit 40f4e9437cb012f93de7ac3b66bcb649617f13f5
Author: Andrew Isherwood <andrew.isherwood at ptfs-europe.com>
Date:   Mon Jan 13 10:18:19 2020 +0000

    Bug 24043: Fix retrieval of of status name
    
    This patch modifies the way in which a request's status name is
    retrieved. I think the previous way it was done (which can never have
    worked properly) must have come from a time when we weren't embedding
    the request's backend capabilities in each request. So now we can just use
    the current row.
    
    Test plan:
    
    1. *Before applying the patch*:
    2. Ensure you have at least two requests, from two different backends.
    One of the backends you are using must have a possible status that
    doesn't exist in the other. For example, the BLDSS backend has a status
    of STAT, that doesn't not exist in any other backends.
    3. Ensure that the request who's backend has the unique status is *not*
    the first request in the returned list.
    4. Load the "View ILL requests" page
    5. Observe that the page JS fails with a "Cannot read property 'name' of
    undefined" error
    6. Apply the patch
    7. Reload the page (maybe doing a hard reload to ensure the JS is not
    cached)
    8. TEST: Observe that the error no longer occurs and the requests all
    have their statuses displayed correctly.
    
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit c85ae52c22592587e5bae7f7c5974400a9f07b0d
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Mar 19 12:04:39 2020 -0300

    Bug 24908: Add text-formatted MARC support in /biblios/{biblio_id}
    
    This patch makes the route support requesting (through the Accept
    header) the MARC record to be output as formatted text as in
    $record->as_formatted.
    
    To test:
    1. Apply the unit tests patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/api/v1/biblios.t
    => FAIL: Tests fail
    3. Apply this patch
    4. Repeat 2
    => SUCCESS: Tests pass!
    5. Try the route with your favourite API testing tool (Postman?)
    => SUCCESS: Accept: text/plain returns the expected results
    => SUCCESS: Wrong Accept header returns a list of valid formats, and
    includes 'text/plain'.
    6. Sign off :-D
    
    Signed-off-by: David Nind <david at davidnind.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit 7f99b5a1a0b7ac587dac91ef1c5447c824eadc13
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Mar 19 12:04:27 2020 -0300

    Bug 24908: Unit tests
    
    Signed-off-by: David Nind <david at davidnind.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit cd7ab5328b5752839398353867eaea517de051bb
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Apr 15 16:38:16 2020 +0200

    Bug 23137: Move cache flushing to the method
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit 59021355f91a28105166d10efe30c2aab837e9aa
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Tue Apr 14 10:14:00 2020 +0000

    Bug 23137: Add documentation
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit de542d406e0ab4f2c22bd66a12ec13dc8d61acca
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Mar 19 16:37:24 2020 +0000

    Bug 23137: Add reset and delete to koha-elasticsearch
    
    Same as previous test, but use the script to run the reindex
    reset_all to update the scripts or use
    misc4dev/cp_debian_files.pl
    
    sudo koha-elasticsearch --rebuild -r -v
    
    Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit 7aa114f11e4d194d3db5dcf765974a56a3d5c84b
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Mar 19 16:30:29 2020 +0000

    Bug 23137: Add reset option to rebuild_elasticsearch.pl
    
    Setup:
    1 - Be using Elasticsearch
    2 - Reload mappings from the db
        Admin->Search configuration
        Reset Mappings
    3 - Reindex ES and confirm searching is working
    
    To test:
    1 - Apply patch
    2 - Alter your mappings file for elastic (just change a description for a field)
    3 - perl misc/search_tools/rebuild_elasticsearch.pl -r -v
        Verbose not necessary, but good for letting you know things are progressing
    4 - Confirm the mapping change shows in the interface
    5 - Confirm reindex worked and searching is working
    
    Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

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

Summary of changes:
 Koha/REST/V1/Biblios.pm                             |  8 +++++++-
 Koha/SearchEngine/Elasticsearch.pm                  |  7 +++++++
 admin/searchengine/elasticsearch/mappings.pl        | 13 +++++--------
 api/v1/swagger/paths/biblios.json                   |  3 ++-
 debian/docs/koha-elasticsearch.xml                  | 15 +++++++++++++++
 debian/scripts/koha-elasticsearch                   | 16 ++++++++++++++++
 koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js   | 13 +++----------
 misc/search_tools/rebuild_elasticsearch.pl          | 21 ++++++++++++++++++++-
 .../Koha/SearchEngine/Elasticsearch/Reset.t         | 11 ++++++++++-
 t/db_dependent/api/v1/biblios.t                     | 10 ++++++++--
 10 files changed, 93 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list