[koha-commits] main Koha release repository branch 18.11.x updated. v18.11.04-35-g1c31c10

Git repo owner gitmaster at git.koha-community.org
Mon Apr 1 16:27:23 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, 18.11.x has been updated
       via  1c31c10539d2393ab640e103fe8829e6422e4717 (commit)
       via  a7738f6177477baef332ddf8b13d85d1186e8cf6 (commit)
       via  a1ff8ba5e1de2047e8e5ee6afd268a7c2a889e91 (commit)
       via  22d46b5d307f64fb7a4e2a553624ed42e6566bab (commit)
       via  9cf4f1a30d0aeb62bd3c37504c6ab447bedf778e (commit)
       via  701aec8443e99268f12ad0a3f54c48cee16b9d7d (commit)
       via  ab1895b1adc2d2175907e2ca922b22df00dec3fe (commit)
       via  1a4a1170eedc79723cf46f6b44f82198702330e2 (commit)
       via  8192499d5b5e72a3d3ced773378dfa9f8df82dba (commit)
       via  cb724e71474b7d4f998a1a4996c9971ac9a86de2 (commit)
       via  3736f2f1888d246947c09f220a9db474b0452c36 (commit)
       via  0a1b3d10843c6e9dcfd208810dfc24c224f29647 (commit)
       via  34dba63bfe8d6ce4b5b1838b07581b629cac9f33 (commit)
       via  b37bb2bbada259602c4f66922bd673d4dbcc4438 (commit)
      from  16e250542de43eadf62bc9354329912be84c3420 (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 1c31c10539d2393ab640e103fe8829e6422e4717
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Fri Mar 29 13:17:14 2019 +0000

    Bug 13895: (follow-up) Add Modern::Perl
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 94206510d7a7641e0e283738f56249c90f7d632e)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit a7738f6177477baef332ddf8b13d85d1186e8cf6
Author: Lucas Gass <lucas at bywatersolutions.com>
Date:   Tue Mar 26 11:17:31 2019 +0000

    Bug 22586: IntranetReportsHomeHTML no longer renders as HTML on reports-home.pl
    
    As of 18.11 the IntranetReportsHomeHTML syspref no longer renders HTML
    on report-home.pl. I think this is being filtered wrong in the template.
    
    Test Plan:
    
    1) Edit IntranetReportsHomeHTML, set to "<p>Test</p>"
    2) View a report, note that you see the html p tags are displayed
    litterly
    3) Apply this patch
    4) Reload the page
    5) Note the p tags are rendered as html
    
    Signed-off-by: George Williams <george at nekls.org>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 7aaa10e0922b21f1c9ed40ede0d3dfc0a63c2832)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit a1ff8ba5e1de2047e8e5ee6afd268a7c2a889e91
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed Mar 27 15:37:51 2019 +0100

    Bug 22596: use raw TT filter in items search with custom field
    
    When items search is with a custom field using authorised values, html TT filter is breaking the JS, it should use raw.
    
    Test plan :
    1) Go to Administration > Item search fields
    2) Define a search field with an authorised values category
    3) Go to items search
    4) Use the "New field" link
    5) Check use of custom field is OK
    
    Signed-off-by: Liz Rea <wizzyrea at gmail.com>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit eb7e0f018c479024f0ceacb9f0c235b556ec2979)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 22d46b5d307f64fb7a4e2a553624ed42e6566bab
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Wed Mar 27 14:23:18 2019 -0300

    Bug 13895: (QA follow-up) Make the class plural
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit eabcec1d6c172e0e590aa497eae0c264bcd2b5dc)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 9cf4f1a30d0aeb62bd3c37504c6ab447bedf778e
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Wed Mar 13 16:25:38 2019 +0000

    Bug 13895: Fix test
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 583328e3f8c2e1827419185628069ad8c9979943)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 701aec8443e99268f12ad0a3f54c48cee16b9d7d
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Wed Mar 13 16:03:09 2019 +0000

    Bug 13895: Adapt naming according to voted RFC
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit a142369b309068ed2ba5d34f033f4e047483401d)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit ab1895b1adc2d2175907e2ca922b22df00dec3fe
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Mon Feb 25 22:17:01 2019 +0000

    Bug 13895: (follow-up) Fix POST response
    
    Test plan:
    prove t/db_dependent/api/v1/chcekouts.t
    
    Signed-off-by: Michal Denar <black23 at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 47ad7afccaf1ca0ae7b8dbfad9998aaac6d9a938)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 1a4a1170eedc79723cf46f6b44f82198702330e2
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Thu Feb 21 00:26:17 2019 +0000

    Bug 13895: Change renewal endpoint
    
    Instead of PUT on /checkout/{checkout_id} endpoint, you should now call
    POST on /checkouts/{checkout_id}/renewal
    
    Test plan:
    prove t/db_dependent/api/v1/checkouts.t
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 95d23bc3c38f3cd6a4e6be3aac451c3899cccc83)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 8192499d5b5e72a3d3ced773378dfa9f8df82dba
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Thu Feb 21 00:15:22 2019 +0000

    Bug 13895: Refactor test using REST Basic auth
    
    Test plan:
    prove t/db_dependent/api/v1/checkouts.t
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit a0148b440a4f05c6a6d216c85b03ea502b0da95b)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit cb724e71474b7d4f998a1a4996c9971ac9a86de2
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Wed Feb 20 21:42:36 2019 +0000

    Bug 13895: Remove create_item and create_biblio subs from test
    
    Test plan:
    prove t/db_dependent/api/v1/checkouts.t
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit a7e704382fa97ba08c8d2d57f6a818e76e858770)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 3736f2f1888d246947c09f220a9db474b0452c36
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Wed Feb 20 21:30:49 2019 +0000

    Bug 13895: Remove the opac checks in privileged endpoint
    
    Test plan:
    prove t/db_dependent/api/v1/checkouts.t
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 4672e6e6c40cf595da7e836525e5b6e486f78efe)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 0a1b3d10843c6e9dcfd208810dfc24c224f29647
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Mon Feb 4 14:22:54 2019 +0000

    Bug 13895: (follow-up) Adapt checkout endpoint to openapi, update terminology
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 1dfb57164fd6d986b110caa695a3baf9800ff93a)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 34dba63bfe8d6ce4b5b1838b07581b629cac9f33
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Nov 10 16:16:49 2017 -0300

    Bug 13895: (QA follow-up) Adjust OpenAPI definitions for checkouts
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit b63fd774c181b96e514122c0d693f222b99b1cdd)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit b37bb2bbada259602c4f66922bd673d4dbcc4438
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Mon Mar 23 13:10:46 2015 +0100

    Bug 13895: Add API routes for checkouts retrieval and renewal
    
    GET /checkouts?borrowernumber={borrowernumber}
    GET /checkouts/{checkout_id}
    PUT /checkouts/{checkout_id}
    
    + unit tests in t/db_dependent/api/v1/checkouts.t
    
    Test plan:
    1. Open a browser tab on Koha staff and log in (to create CGISESSID
       cookie). You should have permission circulate_remaining_permissions.
    2. Go to http://yourlibrary/api/v1/checkouts?borrowernumber=XXX (replace
       XXX with a borrowernumber that has checkouts) and check you receive
       correct data
    3. Go to http://yourlibrary/api/v1/checkouts/YYY (replace YYY with an
       existing checkout id) and check you receive correct data
    4. Send PUT requests to http://yourlibrary/api/v1/checkouts/YYY until
       the maximum number of renewals is reached (you should have a 403
       error)
    5. Run unit tests in t/db_dependent/api/v1/checkouts.t
    
    Depends on bugs 16699 and 14868
    
    Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>
    
    Signed-off-by: Lari Taskula <larit at student.uef.fi>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit e3f2e346f884e2ba6e4a8f43709955f776a259de)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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

Summary of changes:
 Koha/REST/V1/Checkouts.pm                          |  211 ++++++++++++++++++++
 Koha/Schema/Result/Issue.pm                        |    5 +
 api/v1/swagger/definitions.json                    |    6 +
 api/v1/swagger/definitions/checkout.json           |   69 +++++++
 .../definitions/{holds.json => checkouts.json}     |    2 +-
 api/v1/swagger/parameters.json                     |    3 +
 api/v1/swagger/parameters/checkout.json            |    9 +
 api/v1/swagger/paths.json                          |    9 +
 api/v1/swagger/paths/checkouts.json                |   96 +++++++++
 .../prog/en/modules/catalogue/itemsearch.tt        |    2 +-
 .../prog/en/modules/reports/reports-home.tt        |    3 +-
 t/db_dependent/api/v1/checkouts.t                  |  156 +++++++++++++++
 12 files changed, 568 insertions(+), 3 deletions(-)
 create mode 100644 Koha/REST/V1/Checkouts.pm
 create mode 100644 api/v1/swagger/definitions/checkout.json
 copy api/v1/swagger/definitions/{holds.json => checkouts.json} (58%)
 create mode 100644 api/v1/swagger/parameters/checkout.json
 create mode 100644 api/v1/swagger/paths/checkouts.json
 create mode 100644 t/db_dependent/api/v1/checkouts.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list