[koha-commits] main Koha release repository branch master updated. v19.11.00-1975-g30906c8b4f

Git repo owner gitmaster at git.koha-community.org
Fri May 1 09:47:32 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, master has been updated
       via  30906c8b4f5cabf7d2533cbbde1f3368c5e2915c (commit)
       via  4689777ba9d50c45345f455a9f9a5d9b489a0fdf (commit)
       via  15595a5f35a204ec26501a9a0fcec2d5a21f0e24 (commit)
       via  e3382d89cd3616f171863e328abd0f83bbcebce8 (commit)
       via  6ccad9a14a2f72fde26295350aa3353ddcbc6ddd (commit)
       via  03ea4bd0cc058bd3ca1c2e339371f45afc6c0244 (commit)
       via  5b2c79f1ea8313f6e0328d3efa2ea190b184c1d1 (commit)
       via  2d80fb494c0cb7f142ed1f0e0d29b96ca3dc8640 (commit)
      from  b13df9d3d061f3405d9587cf3d6951f8d8fe12b8 (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 30906c8b4f5cabf7d2533cbbde1f3368c5e2915c
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Fri May 1 08:19:27 2020 +0100

    Bug 23794: DBRev 19.12.082
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 4689777ba9d50c45345f455a9f9a5d9b489a0fdf
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Wed Dec 11 16:24:50 2019 +0000

    Bug 23794: Convert OpacMainUserBlock system preference to news block
    
    This patch builds on Bug 22318 to move the OpacMainUserBlock system
    preference into the Koha news system, making it possible to have
    language- and library-specific content.
    
    To test you should have some content in the OpacMainUserBlock system
    preference. Apply the patch and run the database update process.
    
     - Go to the OPAC and confirm that the content which was previously in
       the OpacMainUserBlock system preference now displays correctly where
       it was before.
     - In the staff client, go to Tools -> News and verify that the content
       from OpacMainUserBlock is now stored in news items. There should be
       one entry for each of the enabled translations in your system, for
       instance 'opacmainuserblock_en', 'opacmainuserblock_fr-FR',
       'opacmainuserblock_cs-CZ'
     - Go to Administration -> System preferences and confirm that the
       OpacMainUserBlock preference has been removed.
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 15595a5f35a204ec26501a9a0fcec2d5a21f0e24
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Mon Apr 27 18:55:59 2020 -0300

    Bug 25297: Consistent return value in K::A::Order->current_item_level_holds
    
    This patch makes the return values for 'current_item_level_holds'
    consistent: they will always be a Koha::Holds iterator.
    
    To test:
    1. Apply the regression tests
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/Acquisition/Order.t
    => FAIL: It doesn't work as expected, cannot call ->count on undef, etc
    3. Apply this patch
    4. Repeat 2.
    => SUCCESS: Tests pass!
    5. Sign off :-D
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit e3382d89cd3616f171863e328abd0f83bbcebce8
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Mon Apr 27 18:55:32 2020 -0300

    Bug 25297: Regression tests
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 6ccad9a14a2f72fde26295350aa3353ddcbc6ddd
Author: Agustin Moyano <agustinmoyano at theke.io>
Date:   Tue Mar 31 17:56:22 2020 -0300

    Bug 24980: (follow-up) return '' when date is null
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 03ea4bd0cc058bd3ca1c2e339371f45afc6c0244
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Wed Mar 25 20:41:45 2020 +0000

    Bug 24980: Only add timezone if passed a date-time
    
    This patch prevents a timezone from being assigned to the js moment if
    the input string is only at the full-date and not date-time resolution
    
    To test:
    1. Do not apply this patch
    2. Set your system time zone to CET
    3. Apply previous patch (It's just for test)
    4. In your browser go to koha main page, open a console and type $date('2020-03-25', {tz:
       'UTC'})
    CHECK => you sould get '03/24/2020' (notice day is 24 instead of 25)
    5. Apply this patch and reload the browser
    6. repeat step 4
    SUCCESS => now you get '03/25/2020' (day is correct)
    7. Sing off
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Agustin Moyano <agustinmoyano at theke.io>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 5b2c79f1ea8313f6e0328d3efa2ea190b184c1d1
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>

commit 2d80fb494c0cb7f142ed1f0e0d29b96ca3dc8640
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>

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

Summary of changes:
 C4/Auth.pm                                         |  1 -
 Koha.pm                                            |  2 +-
 Koha/Acquisition/Order.pm                          | 13 +++++-----
 installer/data/mysql/sysprefs.sql                  |  1 -
 installer/data/mysql/updatedatabase.pl             | 30 ++++++++++++++++++++++
 .../prog/en/includes/js-date-format.inc            |  4 ++-
 .../prog/en/modules/admin/preferences/opac.pref    |  6 -----
 .../prog/en/modules/tools/koha-news.tt             |  2 +-
 koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js  | 13 +++-------
 .../bootstrap/en/includes/js-date-format.inc       | 12 +++++++--
 .../opac-tmpl/bootstrap/en/modules/opac-main.tt    |  9 +++++--
 t/db_dependent/Koha/Acquisition/Order.t            | 15 ++++++++---
 12 files changed, 72 insertions(+), 36 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list