[koha-commits] main Koha release repository branch master updated. v3.20.00-98-g83c6817

Git repo owner gitmaster at git.koha-community.org
Fri Jun 5 18:00:21 CEST 2015


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  83c6817a86de68fb08cb73aef3b8b46d12587116 (commit)
       via  7928cdfbd405de9d4a8fffc535d3dcbd9a95226c (commit)
       via  2e23236c9f29cd59d9dc9d9df7ab6da49f256699 (commit)
       via  ab0a0af1cbb16b1b4578ea565ed67aae57915a2a (commit)
       via  c2650e20f9cc5c9e17eea199d19022a144c6e9c8 (commit)
       via  e6040977409ffe4dc6a23f6d76c3bd1f528837d0 (commit)
       via  8e9f89e92b48f1aac786e9b5608338a14603f52f (commit)
      from  fed5e7b6bb1be35b2bd8e0177cba96292cdba8ee (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 83c6817a86de68fb08cb73aef3b8b46d12587116
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Tue May 26 14:52:07 2015 +0200

    Bug 14276: Keep highlight on the active item in item editor
    
    The highlight only works on even items.
    This patch should resolve it.
    
    Test plan:
    Edit biblio with multiple items.
    Verify that the highlight is visible on the selected item you edit.
    And that there is no highlight for a new item.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 7928cdfbd405de9d4a8fffc535d3dcbd9a95226c
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Mon Jun 1 15:34:00 2015 -0300

    Bug 14173: Paging on 'recent comments' page in OPAC is not displaying correctly
    
    This patch corrects the display of current page on
    a multipage recent comments.
    
    To test:
    1) Enable OpacShowRecentComments
    
    2) Add multiple comments to multiple records
    I used a script to add multiple lines like
    "insert into reviews values ($i, 51, $i, 'Comment $i', 1, '2015-06-01 00:00:00')"
    to table reviews
    
    3) On OPAC, go to 'Recent comments', verify the bug
    
    4) Apply the patch
    
    5) Reload and check correct display
    
    Can't found missing space near 'by' from description.
    Display is correct for me.
    
    Followed test plan, displays as expected.
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 2e23236c9f29cd59d9dc9d9df7ab6da49f256699
Author: David Cook <dcook at prosentient.com.au>
Date:   Thu Sep 5 15:21:51 2013 +1000

    Bug 10824: OAI-PMH repository/server not handling time in 'until' and 'from'
    
    This patch removes the DATE() function from a query on timestamp, and adds a
    sub that strips the UTC designators "T" and "Z" from incoming "from" and
    "until" arguments in OAI-PMH requests so that they're more compliant with
    MySQL (and probably other databases as well). This means that the date
    and time for the 'from' and 'until' arguments will be matched correctly
    in the database.
    
    This patch also adds 'T00:00:00Z' to 'from' arguments and 'T23:59:59Z' to
    until arguments, when only dates are provided via the OAI parameters.
    
    The zero time isn't necessary, since MySQL treats '2013-09-30' as
    '2013-09-30 00:00:00' by default. However, the near midnight time
    is needed for 'until'. Otherwise, you'll never be able to retrieve
    a record with a date/time matching the 'until' argument.
    
    In summary, this patch adds handling for times as well as dates, which
    is necessary so that Koha is closer to meeting the actual OAI-PMH spec.
    
    TEST PLAN:
    
    0) Note down a selection of timestamps from your biblio table
    
    1) Enable your OAI-PMH server through the global system preferences
    Web services tab.
    
    2) Craft and submit a similar request to the following in your browser:
    KOHAINSTANCE/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=oai_dc&
    from=2013-09-02T13:44:33Z&until=2013-09-05T13:44:33Z
    
    Change the exact dates to accord with your timestamps, but keep the
    YYYY-MM-DDTHH:MM:SSZ format.
    
    3) Note the unexpected behaviour. A "from" argument with the timestamp
    2013-09-02T13:44:33Z will show records from 2013-09-03 but not records
    from 2013-09-02 even though the timestamp in the database will say
    "2013-09-02 13:44:33".
    
    Also note that records with a timestamp later than 13:44:33 will show
    up for the day 2013-09-05, even though they shouldn't.
    
    4) APPLY THE PATCH
    
    5) Resubmit the links you tried above
    
    6) Note that the applicable records now appear (or do not appear) in
    accordance with the precise date/time ranges!
    
    --
    
    Developer Note: We could've not stripped the UTC designators and used
    DATE() around the parameters in the SQL queries, but that would have
    lost the whole purpose of using times in the "from" arguments, since
    they would've been generalized to just the dates.
    
    I think this is probably the best solution. Admittedly, creating
    "form_arg" and "until_arg" hashrefs in the ResumptionToken object
    might not be ideal, but I preferred that to copying the
    _strip_UTC_designator subroutine into two other objects. Perhaps this
    sub could go somewhere else and be imported into those other two objects
    but this seemed to be the most sensible decision. I'm open to other
    opinions though.
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    Works, find results with correct timestamp
    No koha-qa errors
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit ab0a0af1cbb16b1b4578ea565ed67aae57915a2a
Author: Katrin Fischer <Katrin.Fischer.83 at web.de>
Date:   Mon May 25 09:21:53 2015 +0200

    Bug 13619: Acq home: ensure 'manage suggestions' goes to pending suggestions
    
    The link on the start page of Koha goes to the pending suggestions tab
    explicitly. The link on the acquisition start page doesn't do that so
    when you have your own status it might show another tab first.
    Patch links to be the same and explicitly target the pending tab.
    
    To test:
    - create a new suggestion
    - verify link from the acq start page leads to the pending tab
    - verify link from the Koha start page does the same
    
    Signed-off-by: Marjorie <marjorie.barry-vila at ccsr.qc.ca>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit c2650e20f9cc5c9e17eea199d19022a144c6e9c8
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Fri May 15 11:03:21 2015 +0200

    Bug 13656: "Change"/"Set to patron" button for linking a member to an organisation (or child to guarantor) not translatable
    
    Test plan:
    1. install and activate an additional language
    2. create patron in organization category
    3. create professional patron
    4. try to add this patron to an organization (Guarantor information section)
    5. note that the left button text changed to "Change" - untranslated english string
    6. push the "Delete" button, the guarantor patron field is cleared and the left button text changed to "Set to patron" - again original english text
    7. apply the patch
    7.1. update translation (koha-translate -u language_code)
    8. repeat 4-6, note, that button text are still translated in all sitations
    9. sign off ;)
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    Work as described, no errors
    Fixed message capitalization
    
    Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit e6040977409ffe4dc6a23f6d76c3bd1f528837d0
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Tue Feb 3 13:25:47 2015 +0100

    Bug 13662: Fix the serials.receive_serials permissions
    
    There are some issues with serial permissions.
    For instance it's not possible to receive serials if the
    edit_subscription is not set.
    Also the toolbar is empty.
    
    Test plan:
    1/ Set the serials => receive_serials permissions to a patron (and only
    this one for the serials module).
    2/ Verify you cannot create a new subscription, you can search
    subscriptions but cannot edit them.
    3/ On the serial result list, receive a serial (action > Serial
    receive).
    You can now change the status and receive it.
    4/ On the serial collection, you can edit 1+ serials to reveice it.
    5/ Set the serials => edit_subscription permission and confirm there is
    no regression.
    
    QA note: I think we should introduce a C4::Serials::can_receive_serials
    subroutine, to test the IndependentBranches pref, but I don't want to
    add to much processing to check permissions.
    
    Signed-off-by: Paola Rossi <paola.rossi at cineca.it>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 8e9f89e92b48f1aac786e9b5608338a14603f52f
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Fri May 29 09:36:34 2015 -0400

    Bug 14299: Today's checkouts not always sorting correctly
    
    Sometimes the today's checkouts do not sort correctly. This is due to a
    simple typo in the comparison line where the bad key 'timstamp' is
    compared against the correct key 'timestamp'.
    
    Test Plan:
    1) Check out a decent number of items in a row ( 5+ )
    2) Hopefully you will see they are sorted incorrectly
    3) Apply this patch
    4) Reload the page
    5) Note they are now sorted correctly
    
    Followed test plan. Works as expected.
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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

Summary of changes:
 .../prog/en/includes/serials-toolbar.inc           |   95 ++++++++++----------
 .../prog/en/modules/acqui/acqui-home.tt            |    2 +-
 .../prog/en/modules/cataloguing/additem.tt         |   11 +--
 .../prog/en/modules/members/memberentrygen.tt      |    4 +-
 .../prog/en/modules/serials/serials-collection.tt  |    2 +-
 .../bootstrap/en/modules/opac-showreviews.tt       |    2 +-
 opac/oai.pl                                        |   20 ++++-
 serials/serials-edit.pl                            |    1 +
 svc/checkouts                                      |    2 +-
 9 files changed, 73 insertions(+), 66 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list