[koha-commits] main Koha release repository branch master updated. v20.05.00-377-g452015c054
Git repo owner
gitmaster at git.koha-community.org
Thu Jul 23 12:17:37 CEST 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 452015c054a988ad2016dcad896be516dc318743 (commit)
via 0edaab49afec96c793477e9e790b4a9d7b6044fe (commit)
via bfb89695aa90bcb6d8c26c0a59ee68f92dd54df9 (commit)
via 81e83d250c60b9b571c15d59b1867ebdbd8d6a7f (commit)
via 1bc9765d043169dfeb569e25659f553f39dc466b (commit)
via f8c5b54acfa94f2c5e04f3376223e883deef9937 (commit)
via be1d25ba16014c5fb3c788f8a93c5ecf3f5d9dbf (commit)
via f0a0f630bb523cfcda6efa82049608474e09fb15 (commit)
via 16053574a5bff66d86ebcc906ccbabe31c45d1c7 (commit)
via 8f819ac9b97bd6c9872259f2b614543724fefbbf (commit)
via c9eb2be381bf9b6848b14bd374ba004f41198ed0 (commit)
via bd9ece8c194ffc960b5709b884620bf24e29068b (commit)
via 83d63d2302ee77c68dbae8be80fc6a038fa5ce51 (commit)
via cbd86551571260ca6daade57920e0fb3f290dfb4 (commit)
via 0fcd0fd2707188368fa5b370b808e875c6ea5814 (commit)
via 12e83a64ececa12e691d855e2454a30a9b5e0e04 (commit)
via c2d45ac0f4687fc4dcf84e9de663f8d3f3a354be (commit)
via db15f4af8dc021c0ac06c3447cb87c5e51952cd2 (commit)
via 92d0472d631817395ad71f89f962fa5166f15770 (commit)
via 478093072000d01b2b5c20f05044e4bd3bbfeecd (commit)
via ae3644a5947ea410fc3e8ac8b64307df7d1cbb18 (commit)
via 07a7dbbcf427dfcff9aa386832e9f9cf1c4b4828 (commit)
via fa1571cc0a0b2def305a500b5bd344b2ff2fcbea (commit)
via dfb70ce9f1edf54d9aad3755f1fb840b5ed4b6d3 (commit)
via 83d9a6e60289912736b0181d4e9cee090b4d0ffe (commit)
via 3b8b542f9e49ab3f7c45aaa7eda33df1607028ef (commit)
via e453f74cfd2358ea795f2f0677946fba75ad7841 (commit)
from 005219ea6fc53a52a41169e96024244abb394ee1 (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 452015c054a988ad2016dcad896be516dc318743
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 10:51:32 2020 +0200
Bug 23797: DBIC schema changes
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 0edaab49afec96c793477e9e790b4a9d7b6044fe
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 10:50:27 2020 +0200
Bug 23797: Apply DB changes to kohastructure.sql
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit bfb89695aa90bcb6d8c26c0a59ee68f92dd54df9
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 10:41:23 2020 +0200
Bug 23797: DBRev 20.06.00.015
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 81e83d250c60b9b571c15d59b1867ebdbd8d6a7f
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 10:40:18 2020 +0200
Bug 23797: DBRev 20.06.00.014
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 1bc9765d043169dfeb569e25659f553f39dc466b
Author: Owen Leonard <oleonard at myacpl.org>
Date: Tue Jul 7 18:36:32 2020 +0000
Bug 23797: (follow-up) Enable OpacLoginInstructions in header
The OpacLoginInstructions information should be available in the login
modal which is displayed when the login link in the header menu is
clicked.
Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit f8c5b54acfa94f2c5e04f3376223e883deef9937
Author: Owen Leonard <oleonard at myacpl.org>
Date: Mon Jun 29 13:07:42 2020 +0000
Bug 23797: (follow-up) Increase the size of opac_news.lang
This patch adds a database update to increase the size of the
opac_news.lang column in order to accommodate longer values.
Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit be1d25ba16014c5fb3c788f8a93c5ecf3f5d9dbf
Author: Owen Leonard <oleonard at myacpl.org>
Date: Tue Mar 24 15:06:30 2020 +0000
Bug 23797: Convert OpacLoginInstructions system preference to news block
This patch builds on Bug 22318 to move the OpacLoginInstructions system
preference into the Koha news system, making it possible to have
language- and library-specific content.
To test you should have some content in the OpacLoginInstructions system
preference. Apply the patch and run the database update process.
- Go to the OPAC and click the login link.
- In the login modal, confirm that the content which was previously in
the OpacLoginInstructions system preference displays correctly
below the login form.
- While not logged in to the OPAC, navigate directly to
/cgi-bin/koha/opac-user.pl. The OpacLoginInstructions content should
display correctly here as well.
- In the staff client, go to Tools -> News and verify that the content
from OpacLoginInstructions is now stored in news items. There
should be one entry for each of the enabled translations in your
system, for instance 'OpacLoginInstructions_en',
'OpacLoginInstructions_fr-FR', 'OpacLoginInstructions_cs-CZ'
- Go to Administration -> System preferences and confirm that the
OpacLoginInstructions preference has been removed.
- To test the correct selection of language-specific content you must
run the translation update/install process for the languages you're
updating.
Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>
Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit f0a0f630bb523cfcda6efa82049608474e09fb15
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 10:36:54 2020 +0200
Bug 23796: DBRev 20.06.00.013
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 16053574a5bff66d86ebcc906ccbabe31c45d1c7
Author: Owen Leonard <oleonard at myacpl.org>
Date: Wed Dec 11 18:20:46 2019 +0000
Bug 23796: Convert OpacCustomSearch system preference to news block
This patch moves the OpacCustomSearch system preference into the Koha
news system, making it possible to have language- and library-specific
content.
To test you should have some content in the OpacCustomSearch system
preference. Apply the patch and run the database update process.
- Go to the OPAC and confirm that the content which was previously in
the OpacCustomSearch system preference now displays correctly where
it was before.
- In the staff client, go to Tools -> News and verify that the content
from OpacCustomSearch is now stored in news items. There should be
one entry for each of the enabled translations in your system, for
instance 'OpacCustomSearch_en', 'OpacCustomSearch_fr-FR',
'OpacCustomSearch_cs-CZ'
- Go to Administration -> System preferences and confirm that the
OpacCustomSearch preference has been removed.
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 8f819ac9b97bd6c9872259f2b614543724fefbbf
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 10:35:13 2020 +0200
Bug 23795: DBRev 20.06.00.012
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit c9eb2be381bf9b6848b14bd374ba004f41198ed0
Author: Owen Leonard <oleonard at myacpl.org>
Date: Wed Dec 11 17:03:01 2019 +0000
Bug 23795: Convert opaccredits system preference to news block
This patch builds on Bug 22318 to move the opaccredits system
preference into the Koha news system, making it possible to have
language- and library-specific content.
To test you should have some content in the opaccredits system
preference. Apply the patch and run the database update process.
- Go to the OPAC and confirm that the content which was previously in
the opaccredits system preference now displays correctly where
it was before.
- In the staff client, go to Tools -> News and verify that the content
from opaccredits is now stored in news items. There should be
one entry for each of the enabled translations in your system, for
instance 'opaccredits_en', 'opaccredits_fr-FR',
'opaccredits_cs-CZ'
- Go to Administration -> System preferences and confirm that the
opaccredits preference has been removed.
Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>
Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit bd9ece8c194ffc960b5709b884620bf24e29068b
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Jul 21 16:03:54 2020 +0100
Bug 25765: (QA follow-up) Use method directly in cleanborrowers
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 83d63d2302ee77c68dbae8be80fc6a038fa5ce51
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Jul 21 15:58:02 2020 +0100
Bug 25765: (QA follow-up) Save a DB hit
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit cbd86551571260ca6daade57920e0fb3f290dfb4
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date: Tue Jun 16 14:01:39 2020 +0200
Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches template plugin
The template plugin Branches contains a method GetLoggedInBranchcode that returns current branch code.
This patch adds GetLoggedInBranchname to get current branch name.
It is used to replace vars LoginBranchname and LoginBranchcode sent to all templates in C4/Auth.pm.
In labels and patrons cards modules, I choose to remove a unseless display of
current branch in a hint.
In acqui/acqui-home.tt, I choose to remove a useless display of current
branch and also because table of founds contains a filter on library.
Test plan:
Check pages source code to see branch code or name is correct.
list of the pages:
/cgi-bin/koha/acqui/acqui-home.pl
/cgi-bin/koha/catalogue/detail.pl?biblionumber=XXX
/cgi-bin/koha/circ/branchoverdues.pl
/cgi-bin/koha/circ/set-library.pl
/cgi-bin/koha/circ/offline.pl
/cgi-bin/koha/labels/label-edit-batch.pl?op=new
/cgi-bin/koha/labels/label-manage.pl
/cgi-bin/koha/patroncards/edit-batch.pl
/cgi-bin/koha/patroncards/manage.pl
OPAC:
/cgi-bin/koha/opac-detail.pl?biblionumber=XXX
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 0fcd0fd2707188368fa5b370b808e875c6ea5814
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date: Tue Jun 16 13:59:29 2020 +0200
Bug 25765: Add GetLoggedInBranchname method
Add GetLoggedInBranchname method to Branches templates plugin.
Also changes GetName method to use Koha::Library instead of direct SQL.
Test plan :
Run prove t/db_dependent/Template/Plugin/Branches.t
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 12e83a64ececa12e691d855e2454a30a9b5e0e04
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 10:32:09 2020 +0200
Bug 5087: DBRev 20.06.00.011
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit c2d45ac0f4687fc4dcf84e9de663f8d3f3a354be
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 11:15:24 2020 +0200
Bug 5087: Add server-side check
If a user to access a CSV profile that is not available at the OPAC we
should redirect to 404.
It will also handle undefined csv_profiles
For instance:
kohadev.mydnsname.org:8080/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=1&format=3
kohadev.mydnsname.org:8080/cgi-bin/koha/opac-downloadcart.pl?bib_list=1/2/&format=3
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit db15f4af8dc021c0ac06c3447cb87c5e51952cd2
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Jul 20 12:02:14 2020 -0300
Bug 5087: (QA follow-up) Fix leakage in opac-downloadshelf.pl
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 92d0472d631817395ad71f89f962fa5166f15770
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Jul 20 11:27:27 2020 -0300
Bug 5087: (QA follow-up) used_for deserves an index
This patch introduces an index for the used_for column
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 478093072000d01b2b5c20f05044e4bd3bbfeecd
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Jul 20 11:09:01 2020 -0300
Bug 5087: (QA follow-up) Rename the attribute to fit later API usage
This patch renames the introduced attribute for later usage on the API,
and changes the logic to use it the other way around.
It also adds a KEY for the flag, as it will be used in WHERE statements.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit ae3644a5947ea410fc3e8ac8b64307df7d1cbb18
Author: Aleisha Amohia <aleishaamohia at hotmail.com>
Date: Thu Dec 20 22:52:59 2018 +0000
Bug 5087: Ability to define whether CSV profile shows in OPAC
To test:
1) Update database
2) Update schema
3) In staff side, go to Tools -> CSV profiles
4) Make a CSV profile with profile type = MARC and usage = Export
records
5) Leave 'Show option in OPAC' unchecked and save
6) Go to OPAC and add an item to your cart
7) Click Cart, click Download, confirm that your newly created CSV
profile does not show as an option
8) Go back and edit CSV profile on staff side
9) Check the 'Show option in OPAC' checkbox and save
10) Go back to download cart in OPAC
11) Confirm the CSV profile now shows in the dropdown
Sponsored-by: Catalyst IT
Signed-off-by: Maryse Simard <maryse.simard at inlibro.com>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 07a7dbbcf427dfcff9aa386832e9f9cf1c4b4828
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 23 10:30:31 2020 +0200
Bug 20815: DBRev 20.06.00.010
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit fa1571cc0a0b2def305a500b5bd344b2ff2fcbea
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Wed Jul 22 08:54:26 2020 -0400
Bug 20815: Add unit tests for changes to AddIssue
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit dfb70ce9f1edf54d9aad3755f1fb840b5ed4b6d3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Tue Jul 21 18:45:37 2020 +0200
Bug 20815: Tests refactoring
Some code were duplicated.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 83d9a6e60289912736b0181d4e9cee090b4d0ffe
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Mon Jul 6 20:53:55 2020 +0000
Bug 20815: (QA follow-up) Add message to database update / rephrase pref
- Make pref use "checked in" instead of "returned".
- Add message to database update
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 3b8b542f9e49ab3f7c45aaa7eda33df1607028ef
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Mon Jul 6 07:03:21 2020 -0400
Bug 20815: Do not use compare float with precision
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit e453f74cfd2358ea795f2f0677946fba75ad7841
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Wed Feb 12 12:55:51 2020 -0500
Bug 20815: Add ability to choose if lost fee is refunded based on length of time item has been lost
This adds the ability to not refund lost item fees on return if the item
has been lost for more than a given number of days.
Test Plan:
1) Set the new system preference NoRefundOnLostReturnedItemsAge to a number of days
2) Find a lost item that has been lost longer than that NoRefundOnLostReturnedItemsAge days which would have otherwise been refunded
3) Return the item
4) Note no refund on the lost item fee was processed, the fee remains unchanged
5) prove t/db_dependent/Circulation.t
Signed-off-by: Deb Stephenson <DStephen at dubuque.lib.ia.us>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
-----------------------------------------------------------------------
Summary of changes:
C4/Auth.pm | 5 -
C4/Circulation.pm | 32 +-
Koha.pm | 2 +-
Koha/Schema/Result/ExportFormat.pm | 16 +-
Koha/Schema/Result/OpacNews.pm | 8 +-
Koha/Template/Plugin/Branches.pm | 17 +-
circ/set-library.pl | 3 +-
installer/data/mysql/kohastructure.sql | 7 +-
installer/data/mysql/sysprefs.sql | 4 +-
installer/data/mysql/updatedatabase.pl | 129 +++++++
koha-tmpl/intranet-tmpl/prog/css/staff-global.css | 2 +-
.../intranet-tmpl/prog/en/includes/header.inc | 8 +-
.../prog/en/includes/members-toolbar.inc | 2 +-
.../prog/en/modules/acqui/acqui-home.tt | 2 +-
.../en/modules/admin/preferences/circulation.pref | 5 +
.../prog/en/modules/admin/preferences/opac.pref | 18 -
.../prog/en/modules/catalogue/detail.tt | 2 +-
.../prog/en/modules/circ/branchoverdues.tt | 6 +-
.../intranet-tmpl/prog/en/modules/circ/offline.tt | 3 +-
.../prog/en/modules/circ/set-library.tt | 2 +-
.../prog/en/modules/labels/label-edit-batch.tt | 1 -
.../prog/en/modules/labels/label-manage.tt | 1 -
.../prog/en/modules/patroncards/edit-batch.tt | 1 -
.../prog/en/modules/patroncards/manage.tt | 1 -
.../prog/en/modules/tools/cleanborrowers.tt | 2 +-
.../prog/en/modules/tools/csv-profiles.tt | 9 +
.../prog/en/modules/tools/koha-news.tt | 2 +-
.../opac-tmpl/bootstrap/en/includes/bodytag.inc | 5 +-
.../opac-tmpl/bootstrap/en/includes/masthead.inc | 14 +-
.../bootstrap/en/includes/opac-bottom.inc | 9 +-
.../opac-tmpl/bootstrap/en/modules/opac-auth.tt | 7 +-
.../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +-
.../opac-tmpl/bootstrap/en/modules/opac-main.tt | 5 +-
opac/opac-basket.pl | 6 +-
opac/opac-downloadcart.pl | 18 +-
opac/opac-downloadshelf.pl | 19 +-
t/db_dependent/Circulation.t | 383 ++++++++++++++++++++-
t/db_dependent/Template/Plugin/Branches.t | 13 +-
tools/csv-profiles.pl | 3 +
39 files changed, 680 insertions(+), 94 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list