[koha-commits] main Koha release repository branch master updated. v19.11.00-231-g16413c2

Git repo owner gitmaster at git.koha-community.org
Wed Jan 8 16:08:33 CET 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  16413c24ca514205aaa5c5a9c93aaa68345cffee (commit)
       via  08936de74b6e7a3eda2b86e6321ac13cc4dc5b71 (commit)
       via  1fd210a093e81a3f457efdf11d591e0c1ab3f17f (commit)
       via  9d0a11c2b6b767762707d3d4473e15ba3318d8e2 (commit)
       via  d22b0cefa9d22a1fdb3162939483afddae51e1db (commit)
       via  f909333a9ffee89212243ac2f2e7432ef4d1ae23 (commit)
       via  a6218a1cdc2bd63354353ccafdf4cbdc7c1573a3 (commit)
       via  4ba67994a9f9aabf24ce3e9b59b4e2820cdbedc6 (commit)
       via  3ac92ea881c99ee997d42dac483b26db36848b45 (commit)
       via  8fbb7caed3ac43386b44379501ec48ebd4d74d5a (commit)
       via  477fa63fad94943ab6bc09891a091e2cffc613e5 (commit)
       via  ee14689d5151838d62b244b5cae721fac2109c2a (commit)
       via  451e7dacd2df7ac731c4a721c1f6c6ab4602719d (commit)
       via  fabcedca05e4c5ba21888974bba31d0fe4b079e2 (commit)
       via  badbd7d85913749e33d9bdba397dc79836080719 (commit)
       via  4104f782d89d2b16ab4f8379da8afea3823be8ab (commit)
       via  8d9b93b7bc5e1928906710403dabee78f569b0d4 (commit)
       via  9b48de9cad3e48793353c4a2ac8701646bdc4b31 (commit)
       via  09bfdddc7af2a93b61280b1d2d6059ef23c31586 (commit)
       via  c46c86b3e7f6c7eb7e482a7c18745d02fd11e346 (commit)
       via  340f77732a82d368cdafc622ae636bff19f997af (commit)
       via  b9af3d71b130ed72db899a9191249d9bc9505ec6 (commit)
       via  474f5a3bfdb31bcab3cd04523c206807f09ed7ba (commit)
       via  ae5728020ae7ab5330d191a8800fc32aadc1125a (commit)
       via  b1f198600f02b1f0389ddf63c809a312b77e8f2a (commit)
       via  6fb8b680c0a3bc50b5a2cf772b624d382e80ea44 (commit)
       via  234dbc65f7df31876eadd33e917c462254a6f972 (commit)
      from  f5739acdd8154fd18a50e3265f35f3f9ae1aab45 (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 16413c24ca514205aaa5c5a9c93aaa68345cffee
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Tue Jan 7 11:30:53 2020 +0000

    Bug 24321: (follow-up) Fix number of tests in t/db_dependent/Koha/Objects.t
    
    Test plan:
    prove t/db_dependent/Koha/Objects.t
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 08936de74b6e7a3eda2b86e6321ac13cc4dc5b71
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Jan 2 11:04:10 2020 -0300

    Bug 24321: Clean /patrons
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 1fd210a093e81a3f457efdf11d591e0c1ab3f17f
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 12:53:26 2019 -0300

    Bug 24321: Clean /holds
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 9d0a11c2b6b767762707d3d4473e15ba3318d8e2
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 12:35:43 2019 -0300

    Bug 24321: Clean /patrons/{patron_id}/account
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit d22b0cefa9d22a1fdb3162939483afddae51e1db
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 12:31:24 2019 -0300

    Bug 24321: Clean /items
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit f909333a9ffee89212243ac2f2e7432ef4d1ae23
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 12:26:46 2019 -0300

    Bug 24321: Clean /biblios
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit a6218a1cdc2bd63354353ccafdf4cbdc7c1573a3
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 11:50:36 2019 -0300

    Bug 24321: Clean /checkouts
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 4ba67994a9f9aabf24ce3e9b59b4e2820cdbedc6
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 11:07:37 2019 -0300

    Bug 24321: Clean /libraries
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 3ac92ea881c99ee997d42dac483b26db36848b45
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 10:50:15 2019 -0300

    Bug 24321: Clean /acquisitions/vendors
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 8fbb7caed3ac43386b44379501ec48ebd4d74d5a
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 10:42:38 2019 -0300

    Bug 24321: Clean /acquisitions/funds
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 477fa63fad94943ab6bc09891a091e2cffc613e5
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 10:35:15 2019 -0300

    Bug 24321: Clean /cities
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit ee14689d5151838d62b244b5cae721fac2109c2a
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 10:23:44 2019 -0300

    Bug 24321: Make objects.search use mappings from Koha::Object(s)
    
    This patch simplifies the objects.search helper so it relies entirely on
    the result set object for the attribute mappings.
    
    The result is no more to_api or to_model mappings are passed. The
    controllers need to be cleaned up after this patch.
    
    To test:
    1. Apply this patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/REST/Plugin/Objects.t
    => SUCCESS: Tests pass!
    3. Sign off :-D
    
    Note: the original version of this helpers accepted arbitrary mappings
    and are now constrianed to real mappings on the Koha::Object level. As
    such, the number of tests got reduced.
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 451e7dacd2df7ac731c4a721c1f6c6ab4602719d
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 09:48:54 2019 -0300

    Bug 24321: Make dbic_merge_sorting accept a result set as parameter
    
    This patch makes dbic_merge_sorting accept a result set as parameter and
    solves a FIXME in _build_order_atom.
    
    To test:
    1. Apply this patch
    2. Run:
       $ kshell
      k$ prove t/Koha/REST/Plugin/Query.t
    => SUCCESS: Tests pass!
    3. Sign off :-D
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit fabcedca05e4c5ba21888974bba31d0fe4b079e2
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Dec 31 09:16:17 2019 -0300

    Bug 24321: Add Koha::Objects->attributes_from_api
    
    This patch makes the 'attributes_from_api' method from the singular
    class available from the result set class.
    
    To test:
    1. Apply this patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/Objects.t
    => SUCCESS: Tests pass!
    4. Sign off :-D
    5. Yeah, I skipped 3 :-P
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit badbd7d85913749e33d9bdba397dc79836080719
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Dec 27 15:21:30 2019 -0300

    Bug 23893: Catch dt_from_string exceptions
    
    This patch adds exception handling to the attributes_from_api() method.
    This can happen with invalid date/datetimes, for example.
    
    Tests are added:
    
    1. Apply this patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/Object.t
    => SUCCESS: Tests pass!
    3. Sign off :-D
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 4104f782d89d2b16ab4f8379da8afea3823be8ab
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Dec 27 17:03:16 2019 +0100

    Bug 23893: Remove Overloaded method from Koha::Patron
    
    That way we are dealing with any date fields for any Koha::Object
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 8d9b93b7bc5e1928906710403dabee78f569b0d4
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Dec 27 12:15:39 2019 -0300

    Bug 23893: (QA follow-up) Explicit date format
    
    This patch makes the input date format explicit. It also adds a missing
    POD.
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 9b48de9cad3e48793353c4a2ac8701646bdc4b31
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Dec 27 15:21:27 2019 +0100

    Bug 23893: No special care for booleans
    
    Tests pass without that changes. If we need them they should be at
    Koha::Object anyway.
    
    About the date, I also think that that should be moved to Koha::Object
    (we can guess it, like we do in Koha::Object->store, retrieve the
    datatype and adjust). Also we can send a DT object to DBIC, no need for
    an sql formatted date
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 09bfdddc7af2a93b61280b1d2d6059ef23c31586
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Nov 12 10:00:14 2019 -0300

    Bug 23893: Use in /patrons
    
    This patch makes the patrons endpoint use the new methods from
    Koha::Object.
    
    To test:
    1. Apply this patch
    2. Run:
      $ kshell
     k$ prove t/db_dependent/api/v1/patrons.t
    => SUCCESS: Tests pass!
    3. Sign off :-D
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit c46c86b3e7f6c7eb7e482a7c18745d02fd11e346
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Nov 12 09:59:53 2019 -0300

    Bug 23893: Use in /cities
    
    This patch makes the cities controller use the new methods from
    Koha::Object.
    
    To test:
    1. Apply this patch
    2. Run:
      $ kshell
     k$ prove t/db_dependent/api/v1/cities.t
    => SUCCESS: Tests pass!
    3. Sign off :-D
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 340f77732a82d368cdafc622ae636bff19f997af
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Mon Nov 11 16:07:03 2019 -0300

    Bug 23893: Add new_from_api and set_from_api to Koha::Object
    
    This patch introduces the following methods to the Koha::Object class:
    - set_from_api
    - new_from_api
    
    This methods are going to be used when writing API controllers that map
    to the attributes to the DB schema ones.
    
    To test:
    1. Apply this patchset
    2. Run:
      $ kshell
     k$ prove t/db_dependent/Koha/Object.t
    => SUCCESS: Tests pass!
    3. Sign off :-D
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit b9af3d71b130ed72db899a9191249d9bc9505ec6
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Mon Nov 11 15:03:28 2019 -0300

    Bug 23893: Implement Koha::Object->from_api_mapping
    
    This patch implements the from_api_mapping method, that calculates (and
    caches) the reserve mapping from the to_api_mapping method.
    
    A generic to_api_mapping is added to simplify things a bit in the generic
    to_api method and so the mappings are reusable in the way they are in
    from_api_mapping.
    
    To test:
    1. Apply this patches
    2. Run:
      $ kshell
     k$ prove t/db_dependent/Koha/Object.t
    => SUCCESS: Tests pass!
    3. Sign off :-D
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 474f5a3bfdb31bcab3cd04523c206807f09ed7ba
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Mon Nov 11 15:03:29 2019 -0300

    Bug 23893: Unit tests
    
    This patch introduces tests for the implemented methods.
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit ae5728020ae7ab5330d191a8800fc32aadc1125a
Author: Alex Arnaud <alex.arnaud at biblibre.com>
Date:   Tue Apr 2 16:14:39 2019 +0200

    Bug 21959: allow only i and g regex modifiers
    
    Signed-off-by: Mathilde Formery <mathilde.formery at ville-nimes.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 b1f198600f02b1f0389ddf63c809a312b77e8f2a
Author: Alex Arnaud <alex.arnaud at biblibre.com>
Date:   Tue Apr 2 15:20:34 2019 +0200

    Bug 21959: use a link instead of a checkbox
    
    Signed-off-by: Mathilde Formery <mathilde.formery at ville-nimes.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 6fb8b680c0a3bc50b5a2cf772b624d382e80ea44
Author: Alex Arnaud <alex.arnaud at biblibre.com>
Date:   Thu Dec 6 09:43:42 2018 +0100

    Bug 21959: Batch item modification - ability to apply regular expression on text fields
    
    Test plan:
      - go to Tools > Batch item modification,
      - select items to modify,
      - for one or some text fields, check the second checkbox (Use regular
        expression) and type your regex,
      - check the regex has been applied.
    
    Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault at inLibro.com>
    Signed-off-by: Mathilde Formery <mathilde.formery at ville-nimes.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 234dbc65f7df31876eadd33e917c462254a6f972
Author: Lucas Gass <lucas at bywatersolutions.com>
Date:   Thu Dec 26 17:12:25 2019 +0000

    Bug 24308: Suggestions table on suggestions.pl should have separate columns for dates
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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

Summary of changes:
 Koha/Biblio.pm                                     |   20 ++
 Koha/Biblioitem.pm                                 |   34 ++-
 Koha/Object.pm                                     |  138 +++++++++--
 Koha/Objects.pm                                    |   15 ++
 Koha/Old/Checkout.pm                               |   29 ++-
 Koha/REST/Plugin/Objects.pm                        |   27 +--
 Koha/REST/Plugin/Query.pm                          |   18 +-
 Koha/REST/V1/Acquisitions/Funds.pm                 |   88 +------
 Koha/REST/V1/Acquisitions/Vendors.pm               |   84 ++-----
 Koha/REST/V1/Biblios.pm                            |   73 +-----
 Koha/REST/V1/Checkouts.pm                          |  131 ++++------
 Koha/REST/V1/Cities.pm                             |   94 +-------
 Koha/REST/V1/Holds.pm                              |  151 +-----------
 Koha/REST/V1/Items.pm                              |  166 +------------
 Koha/REST/V1/{Library.pm => Libraries.pm}          |  126 +---------
 Koha/REST/V1/Patrons.pm                            |  254 +++-----------------
 Koha/REST/V1/Patrons/Account.pm                    |   96 --------
 api/v1/swagger/paths/acquisitions_funds.json       |   14 +-
 api/v1/swagger/paths/acquisitions_vendors.json     |   18 +-
 api/v1/swagger/paths/libraries.json                |   24 +-
 .../prog/en/modules/suggestion/suggestion.tt       |   14 +-
 .../prog/en/modules/tools/batchMod-edit.tt         |   31 +++
 t/Koha/REST/Plugin/Query.t                         |   26 +-
 t/db_dependent/Koha/Object.t                       |  192 ++++++++++++++-
 t/db_dependent/Koha/Objects.t                      |   24 +-
 t/db_dependent/Koha/REST/Plugin/Objects.t          |  160 ++----------
 t/db_dependent/api/v1/acquisitions_vendors.t       |    2 +-
 t/db_dependent/api/v1/cities.t                     |   16 +-
 t/db_dependent/api/v1/items.t                      |    4 +-
 t/db_dependent/api/v1/libraries.t                  |    6 +-
 t/db_dependent/api/v1/patrons_accounts.t           |    6 +-
 tools/batchMod.pl                                  |   51 +++-
 32 files changed, 757 insertions(+), 1375 deletions(-)
 rename Koha/REST/V1/{Library.pm => Libraries.pm} (58%)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list