[koha-commits] main Koha release repository branch 16.05.x updated. v16.05.05-01-16-g62e11a8

Git repo owner gitmaster at git.koha-community.org
Wed Nov 2 19:45:09 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, 16.05.x has been updated
       via  62e11a8cf6cca1f1b2f721ded5d316f33ebba0b1 (commit)
       via  3ea0d7ed993a0c1233e822f7f4db710cb9056cfd (commit)
       via  55e774f5d8d919a6142aac9bc06882de2a971f63 (commit)
       via  0e28efe9ee7b16b05624ffaf90fc3c4e53ab7f36 (commit)
       via  a2d0b69bf6f1baf9c7248b6d36b64c25dbc0f3dd (commit)
       via  7f9c1944fd7375fb393ac5424a436bb3b3c5dcb3 (commit)
       via  275253e52a67c482665adb11e40d3a54554979cb (commit)
       via  39ad5392777494e6eecd044b8db4110bd2543852 (commit)
       via  301e4880a96fd8b09fb9b92bfe65bfaf68357100 (commit)
       via  10fe2d58dd2e861c68e732b88c082429e321fc23 (commit)
       via  fa7eba3a3196c74345461934e7b5acca41be9802 (commit)
       via  23e0c8ffb50c97553dfbc368b78f1d3e7a29bacc (commit)
       via  b57fb0a9b20333ce52536b319342c2dd5021e3da (commit)
       via  db1bf801e6ad9f9f051d51672a744179beb48bc8 (commit)
       via  0d9e1667bfc64a3d6dfaefacf304f329549c0bf4 (commit)
       via  41a1796ab19c6aef05d58b75a5c6a32ae9c04c21 (commit)
       via  d879b8106c0ce999d612c60a5e1c72612807215d (commit)
      from  7395b536de74725a62c7aa7212f5226d9070b0c2 (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 62e11a8cf6cca1f1b2f721ded5d316f33ebba0b1
Author: Frédéric Demians <f.demians at tamil.fr>
Date:   Wed Nov 2 11:02:09 2016 +0000

    Bug 17518 - DBRev 16.05.05.001

commit 3ea0d7ed993a0c1233e822f7f4db710cb9056cfd
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Wed Oct 26 22:53:04 2016 +0000

    Bug 17518: Displayed language name for Czech is wrong
    
    It's "Ceština" and should be "Čeština"
    
    Test plan:
    1) apply the patch
    1.1) update database
    2) install Czech translation for Koha
    3) note the language name in language switcher (in staff client and
        opac) is right: "Čeština"
    
    Signed-off-by: radiuscz <radek.siman at centrum.cz>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit de2ba75c25f9f348a312093483dea52168fa5d6e)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 55e774f5d8d919a6142aac9bc06882de2a971f63
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Wed Oct 26 11:34:08 2016 -0300

    Bug 17504: Make the installer show the right dmbs help if wrong permissions
    
    This patch changes the installer template for step 2 (DB rights check)
    so it correctly displays MySQL-related message.
    The previous code was doing the wrong comparisson, thus yielding
    PostgreSQL documentation.
    
    To test:
    - Run:
      $ sudo koha-mysql kohadev
      > DROP DATABASE koha_kohadev ; CREATE DATABASE koha_kohadev;
      > REVOKE INSERT ON koha_kohadev.* FROM 'koha_kohadev'@'localhost';
      > FLUSH PRIVILEGES; \q
    - Run the webinstaller through step 2
    => FAIL: You get the message in the attached screenshot
    - Apply the patch, reload
    => SUCCESS: You are displayed a different warning message, with a link
    to up-to-date MySQL docs on GRANT
    - Fix permissions for the user:
      $ sudo koha-mysql kohadev
      > GRANT ALL PRIVILEGES on koha_kohadev.* TO 'koha_kohadev'@'localhost';
      > FLUSH PRIVILEGES; \q
    - Reload
    => SUCCESS: All checks are correct and you can move on
    - Sign off :-D
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 1191ea4f448dd9ae994cf703e8e0a4970fdbb57e)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 0e28efe9ee7b16b05624ffaf90fc3c4e53ab7f36
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Oct 31 14:40:51 2016 +0000

    Bug 17524: Fix datepicker check for iso dates
    
    Iso dates are yyyy-mm-dd, the is_valid JS function
    expects \d{2}-\d{2}-\d{4} when it should be \d{4}-\d{2}-\d{2}
    
    Test plan:
    Switch DateFormat to iso
    Set a due date using the datepicker
    => Should work as expected
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 23f4830095d64d9a421a458fe5582930aa229aa7)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit a2d0b69bf6f1baf9c7248b6d36b64c25dbc0f3dd
Author: Chris Cormack <chrisc at catalyst.net.nz>
Date:   Wed Oct 19 08:53:26 2016 +1300

    Bug 17459: Follow up
    
    Adding POD and --userid and --password options
    
    1/ To test, use the same routine as before, with no options.
    2/ You should have a user with koha/koha as userid and passwords
    3/ Delete that user
    4/ Run the script with --userid <userid> --password <password>
    5/ You should have a user in koha with userid/password set
    
    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>
    (cherry picked from commit f9da6f9739b334a1e14b75a1aa49b2f5569b032e)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 7f9c1944fd7375fb393ac5424a436bb3b3c5dcb3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Oct 17 18:01:07 2016 +0100

    Bug 17459: Add a script to create a superlibrarian user
    
    This is for developers: it's quite long (many clics) to create a new
    superlibrarian user.
    This new script creates a new user with superlibrarian permissions with
    the easy to remember credential koha/koha
    
    Test plan:
      perl misc/devel/create_superlibrarian.pl
    Log in to Koha using koha/koha
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    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>
    (cherry picked from commit a462d46b02c01a25ebffb85d3b1e462813c77de1)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 275253e52a67c482665adb11e40d3a54554979cb
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Oct 20 11:58:32 2016 -0300

    Bug 4880: Make koha-remove stop all instance's services
    
    This patch makes koha-remove stop all instance's services before
    attempting to remove the system user,
    
    Before this patch, only zebra was stopped.
    
    To test:
    - Run:
      $ sudo koha-create --created-db favourite_name
    - Run:
      $ sudo koha-remove favourite_name
    => FAIL: koha-indexer is still running for user favourite_name-koha
    - Run:
      $ sudo koha-create --created-db another_name
      $ sudo koha-plack --enable another_name
      $ sudo koha-plack --start another_name
      $ sudo koha-indexer --stop another_name
      $ sudo koha-remove another_name
    => FAIL: koha-plack is still running for user another_name-koha
    - Apply the patch
    - Repeat the previous tests, with new names
    => SUCCESS: Everything works as expected :-D
    - Sign off :-D
    
    Signed-off-by: Lucio Moraes <lmoraes at catalyst.net.nz>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 607dac69a95e7bcb454661bfde71a45ee20d0155)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 39ad5392777494e6eecd044b8db4110bd2543852
Author: Andreas Roussos <arouss1980 at gmail.com>
Date:   Sat Sep 10 14:41:54 2016 +0300

    Bug 7039 - Link to existing record from result list in acquisition search
    
    In the Staff client -> Acquisitions, when creating orders from
    existing records the result list should link to the existing
    records so that it's possible to check for existing items.
    
    This patch adds that functionality.
    
    Test plan:
    1) In the Staff client, go to Acquisitions and try to add an order
       from existing records.
    2) Observe that the titles in the Summary column are not hyperlinks.
    3) Apply the patch.
    4) Repeat step 1), and confirm that the titles are now links
       pointing to each biblio's details page.
    
    Followed test plan, works as expected.
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Katrin Fischer  <katrin.fischer at bsz-bw.de>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit d25840fc68bcacd8a8509713549b10753bdcd128)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 301e4880a96fd8b09fb9b92bfe65bfaf68357100
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Thu Jul 21 07:46:23 2016 +0200

    Bug 16952: Czech language definitions for sorting in Zebra
    
    Test plan:
    1) Apply patch
    2) Create new instance with parameter --zebralang cs
    3) Insert some record with basic latin characters and some with "czech" characters (for example: "č" - should be sorted after "c", "š" - should be sorted after "s")
    4) Try to search in katalog (staff and opac) and sort by other field then relevance - title or author for instance
    5) Records should be sorted correctly by Czech rules
    6) Look at code and confirm it is ok
    
    Signed-off-by: radiuscz <radek.siman at centrum.cz>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    I did not test this patch, but trust in the author and signoffer
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit bd13efd8ac1121286dd565c40111b491b61d54cf)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 10fe2d58dd2e861c68e732b88c082429e321fc23
Author: kohamaster <preprod at kohaVM>
Date:   Wed Oct 12 16:17:04 2016 +0200

    Bug 17435: Gives ability to display stocknumber in search results
    
    Adds stocknumber to data provided for xslt transformation
    
    Test plan :
    1) go to Administration module, MARC default frameworks and add, if not already done, a stocknumber subfield (a priori under the 995 tag). It will be linked to items.stocknumber in the koha.link zone of Advanced constraints section.
    2) edit an item in staff interface and add a number in the stocknumber field.
    3) Edit the xslt opac Results file that you are using and customize it. For a basic test, you can just replace "itemcallnumber" occurrences by "stocknumber".
    4) make a search in a way to get several results including the title from which you modified an item.
    5) You will see the added stocknumber displayed (between square brackets in the default xslt).
    
    Same can be done through staff interface and staff xslt files.
    
    Olivier Crouzet
    
    Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
    
    Signed-off-by: Katrin Fischer  <katrin.fischer at bsz-bw.de>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit f74e467550c4d6f6e8e9becdc61b7df572de5f09)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit fa7eba3a3196c74345461934e7b5acca41be9802
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Tue Oct 18 00:03:08 2016 +0000

    Bug 17434: Moremember displaying primary and secondary phone number twice
    
    Test plan:
    1) Create patron category with category code "P" and create a patron
    with this category
    2) Fill in either the primary or other phone number
    3) Go to patron details page (moremember.pl)
    => without patch you see primary/other phone duplicated
    => with patch you should see the number only once as expected
    
    Signed-off-by: Lucio Moraes <lmoraes at catalyst.net.nz>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit e17209de48f3c9d3184dfd430d882a4e8f8d5d4f)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 23e0c8ffb50c97553dfbc368b78f1d3e7a29bacc
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Mon Oct 10 08:10:29 2016 -0400

    Bug 17417 [Revised] Correct invalid markup around news on the staff client home page
    
    This patch fixes two minor errors in the markup around displaying news
    on the staff client home page: Adding a missing "class" attribute, and
    changing the container around news items from <p> to <div> (because news
    items might contain <p> and nesting them is incorrect).
    
    To test, apply the patch and view the staff client home page with news
    items showing. Validate the page and confirm that there are no errors.
    
    Signed-off-by: Marc <veron at veron.ch>
    
    Revision for QA removes an extra </div> from elsewhere in the template
    to make the validator return no errors.
    
    Signed-off-by: Katrin Fischer  <katrin.fischer at bsz-bw.de>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit d08076e7e55a7c78a7ab3d79c33151dd4c469101)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit b57fb0a9b20333ce52536b319342c2dd5021e3da
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed Aug 24 11:44:55 2016 +0200

    Bug 16935 - launch export_records.pl with deleted_barcodes param fails
    
    When launching misc/export_records.pl with this command line :
    
     misc/export_records.pl --date=`date +%d/%m/%Y` --deleted_barcodes --filename=/tmp/koha.mrc
    
    You get this error message :
    
    DBD::mysql::db selectall_arrayref failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 4 [for Statement " (
                SELECT DISTINCT barcode
                FROM deleteditems
                WHERE deleteditems.biblionumber = ?
            "] at misc/export_records.pl line 189.
    
    This is because of a '(' after 'q|', looks like a typo.
    Also, this patch removes useless var $q.
    
    Test plan :
    - Delete an item with barcode
    - Without patch, run : misc/export_records.pl --date=`date +%d/%m/%Y` --deleted_barcodes --filename=/tmp/koha.mrc
    => You get dirty MySQL
    - Without patch, run the same command
    => No error and the file is generated
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit dbab260afccc04fac8d088839d6017242c818917)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit db1bf801e6ad9f9f051d51672a744179beb48bc8
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Thu Sep 29 16:19:48 2016 +0200

    Bug 17376 - rebuild_zebra.pl in daemon mode no database access kills the process
    
    When running rebuild_zebra.pl in daemon mode, a while loop runs the script for ever.
    But if something crashes inside the rebuild process, the all daemon crashes.
    For example when it can not access database.
    This problem may be temporary so daemon should keep running.
    
    This patch add eval around the rebuild process to allow a run to fail without killing the daemon.
    Also moves the DB handler get inside daemon loop because it is broken is DB stoppes.
    
    This is a big issue for indexer running in a systemd service.
    
    Test plan :
    - run rebuild_zebra.pl in daemon mode :
    /home/koha/src/misc/migration_tools/rebuild_zebra.pl -daemon -z -a -b -x --sleep 30
    - stop the database
    - wait a minute
    => you see an error on database connexion
    => the daemon is still running
    - restart the database
    - test the indexer by creating a new record (wait for a minute)
    
    Signed-off-by: Jacek Ablewicz <abl at biblos.pk.edu.pl>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit bfcc7cad70bfc23163865b2ff39eb592d6d9d152)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 0d9e1667bfc64a3d6dfaefacf304f329549c0bf4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Oct 4 11:55:25 2016 +0100

    Bug 17375: Search by dateofbirth - handle invalid dates
    
    Prevent internal software error when searching patron with invalid birth date
    
    To reproduce:
    
    - Go to Home > Patron
    - Expand patron search (click on + at the left of the search button)
    - In drop down 'Search fields', select 'Date of birth'
    - Enter a valid date (e.g. 11.02.1995 if syspref 'dateformat' is set to dmydot)
    Result: Search works OK
    - Enter an invalid date, e.g. 11.02 or abcd...
    Result: Internal server error
    
    - Do a patron search with many results
    - Use filter on results screen, select 'Date of birth' as search field and
      enter an invalid date to search (e.g. 'a')
    Result: Endless message 'Processing'
    
    To test:
    - Apply patch
    - Repeat steps above
    - In both cases, you should get "No results"
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    Signed-off-by: Lucio Moraes <lmoraes at catalyst.net.nz>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 9b34b07d62588713405f31481cb363661b1a5d0c)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit 41a1796ab19c6aef05d58b75a5c6a32ae9c04c21
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Oct 4 11:55:02 2016 +0100

    Bug 17375: Search by dateofbirth - Add tests
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 12167c57d0608637504a011627a0256e28e515cd)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

commit d879b8106c0ce999d612c60a5e1c72612807215d
Author: Frédéric Demians <f.demians at tamil.fr>
Date:   Sun Oct 23 12:32:02 2016 +0200

    Revert "Bug 16687 - Translatability: Fix issues in Administration preferences"
    
    This reverts commit 41e12f0af2149c2b858dc63fd6242854f2da444d.

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

Summary of changes:
 C4/Utils/DataTables/Members.pm                     |   31 ++--
 C4/XSLT.pm                                         |    2 +
 Koha.pm                                            |    2 +-
 Makefile.PL                                        |    2 +-
 debian/scripts/koha-create                         |    2 +-
 debian/scripts/koha-remove                         |   16 +-
 debian/templates/koha-sites.conf                   |    2 +-
 etc/zebradb/lang_defs/cs/sort-string-utf.chr       |   42 +++++
 installer/data/mysql/mandatory/subtag_registry.sql |    2 +-
 installer/data/mysql/updatedatabase.pl             |   10 ++
 .../intranet-tmpl/prog/en/includes/calendar.inc    |    2 +-
 .../prog/en/modules/acqui/neworderbiblio.tt        |    2 +-
 .../prog/en/modules/admin/preferences/admin.pref   |  168 ++++++++++----------
 .../prog/en/modules/installer/step2.tt             |   11 +-
 .../intranet-tmpl/prog/en/modules/intranet-main.tt |    5 +-
 .../prog/en/modules/members/moremember.tt          |    4 -
 members/member.pl                                  |    4 -
 misc/devel/create_superlibrarian.pl                |  103 ++++++++++++
 misc/export_records.pl                             |    6 +-
 misc/migration_tools/rebuild_zebra.pl              |   11 +-
 svc/members/search                                 |    4 -
 t/db_dependent/Utils/Datatables_Members.t          |   23 ++-
 22 files changed, 328 insertions(+), 126 deletions(-)
 create mode 100644 etc/zebradb/lang_defs/cs/sort-string-utf.chr
 create mode 100755 misc/devel/create_superlibrarian.pl


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list