[koha-commits] main Koha release repository branch master updated. v3.22.00-690-g447b1ea

Git repo owner gitmaster at git.koha-community.org
Fri Feb 26 15:30:38 CET 2016


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  447b1ea93938319f42031636694a0036913cd83c (commit)
       via  69364a41db8879d0b3524d7cf0d31cd48079e35b (commit)
       via  b52e8792093b8e26cf473437694458a52f251c3b (commit)
       via  77abb023cb396d96f5362df46a633ed0d5d1a386 (commit)
      from  4489270c5157c40ab0c2b9947ab5a4b9b0b9a57a (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 447b1ea93938319f42031636694a0036913cd83c
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Fri Feb 26 14:33:27 2016 +0000

    Bug 14395 - DBRev 3.23.00.031

commit 69364a41db8879d0b3524d7cf0d31cd48079e35b
Author: Holger Meißner <h.meissner.82 at web.de>
Date:   Mon Jul 27 15:18:53 2015 +0200

    Bug 14395: Unit tests
    
    This patch adds test cases for the new syspref NoRenewalBeforePrecision.
    Tests if GetSoonestRenewDate returns correct values for both 'date' and
    'exact_time' settings.
    Also adds a few comments related to bugs 7413 and 14101.
    
    To test:
    
    1) prove t/db_dependent/Circulation.t
    
    Sponsored-by: Hochschule für Gesundheit (hsg), Germany
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>

commit b52e8792093b8e26cf473437694458a52f251c3b
Author: Holger Meißner <h.meissner.82 at web.de>
Date:   Thu Jul 16 15:22:55 2015 +0200

    Bug 14395: Code changes
    
    This patch updates the calculation of 'No renewal before' to include the
    new syspref NoRenewalBeforePrecision.
    
    To test:
    
    1) Check out an hour-based loan with 'No renewal before' set to 1.
       Switch syspref NoRenewalBeforePrecision between 'date' and 'exact
       time'. Confirm that with both settings the item cannot be renewed
       until exactly one hour before due.
    
    2) Check out a day-based loan with 'No renewal before' set to 1 day.
       Confirm that:
       * with NoRenewalBeforePrecision set to 'date', renewal is possible
         at 12:00 AM on the day before due.
       * with NoRenewalBeforePrecision set to 'exact time', renewal is
         possible at 11:59 PM on the day before due.
    
    Sponsored-by: Hochschule für Gesundheit (hsg), Germany
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>

commit 77abb023cb396d96f5362df46a633ed0d5d1a386
Author: Holger Meißner <h.meissner.82 at web.de>
Date:   Wed Jul 15 10:49:41 2015 +0200

    Bug 14395: Add new syspref NoRenewalBeforePrecision
    
    Currently the 'NoRenwalBefore' setting is always based on the exact
    DateTime of the due date. This patch introduces a new global syspref for
    choosing if 'NoRenewalBefore' should instead be calculated based on date
    only. This is only relevant for loans caluclated in days. Hourly loans
    are not affected.
    
    To test:
    
    1) Apply bug 14101, then apply this patch.
    
    2) Run installer/data/mysql/updatedatabase.pl
    
    3) Confirm that a new syspref NoRenewalBeforePrecision is available
       in administration. It should let you choose between 'date' (default)
       and 'exact time'.
    
    Sponsored-by: Hochschule für Gesundheit (hsg), Germany
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>

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

Summary of changes:
 C4/Circulation.pm                                  |   33 ++++++++++------
 Koha.pm                                            |    2 +-
 .../Bug_15311-OpacMaintenanceNotice_syspref.sql    |    1 -
 installer/data/mysql/kohastructure.sql             |    2 +-
 installer/data/mysql/updatedatabase.pl             |   11 ++++++
 .../en/modules/admin/preferences/circulation.pref  |    7 ++++
 t/db_dependent/Circulation.t                       |   40 ++++++++++++++------
 7 files changed, 71 insertions(+), 25 deletions(-)
 delete mode 100644 installer/data/mysql/atomicupdate/Bug_15311-OpacMaintenanceNotice_syspref.sql


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list