[koha-commits] main Koha release repository branch master updated. v17.11.00-762-g775adc1
Git repo owner
gitmaster at git.koha-community.org
Mon Feb 26 17:33:36 CET 2018
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 775adc1e9adbc647b3389019ded546b81e46c6e3 (commit)
via ec6fe57db001ddfd659b894a534286cdf923f502 (commit)
via c39ea95e3806e55bd12a4f5e993b4f79ba87ba4a (commit)
via d88c0803e6f76db99aefc1b44b14789818fb69ae (commit)
via b241555b0abe0ade8aa5fb088acdf2bc26cefe60 (commit)
via 053d9a58ac057b8e72c050751540dda1f827ddbe (commit)
via badaf236c9d49d852cb4bcb5754b9f032cd8b6c6 (commit)
via e466f0d1e390530de317ad34bb9495ef8a3b64f3 (commit)
via 4dd344d6d6c95afd0bbb1f0095a256fea7a8d8dd (commit)
via b3d46287a992e946039c03c84d3327f7c4b43413 (commit)
via 0f0a5a4f48cf4c70dd18d5a316eef3f22c0199d8 (commit)
via 0cd75a0eb28db29779de85e29e4c485dd2dbb6fa (commit)
via 912824a9b187aac7c09d31c91b3c6056e3ec538e (commit)
via c1df9aad54cb1acdacfb0e5681ef83e1b7f24eec (commit)
via 2f06cc501be05fe6c2cc6099d2122006dee12496 (commit)
via dd8775c53aa2818cd9434821ce6f96ffbd62cb0f (commit)
via c2a376db26904e30f4eec51e17c976652a0fe8b2 (commit)
via 5db0f7e4c6514b137cfe08e32260dd9694bf33c8 (commit)
via 1b25d81dc69a758f900b72fbff0c7fc99bc59fa2 (commit)
via 08aba08a926f3956324cb66a049942f38810b525 (commit)
via 42ed26660b7c8c05a66a99a1e458f303481119dd (commit)
from 45bb8a8225d88f43125803c0994245915cd4b3cc (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 775adc1e9adbc647b3389019ded546b81e46c6e3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Feb 26 13:23:38 2018 -0300
Bug 13287: DBRev 17.12.00.021
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit ec6fe57db001ddfd659b894a534286cdf923f502
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Feb 26 13:01:05 2018 -0300
Bug 13287: Remove warning if --days is not passed and pref empty
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit c39ea95e3806e55bd12a4f5e993b4f79ba87ba4a
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Feb 23 10:33:49 2018 +0100
Bug 13287: (QA follow-up) Final polishing
Cosmetic changes.
And: adding a confirm flag (see earlier comment too). Without this flag but
with having a filled pref, the script would purge when you do not pass any
parameter. This might not be appreciated.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit d88c0803e6f76db99aefc1b44b14789818fb69ae
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Feb 23 10:00:13 2018 +0100
Bug 13287: (QA follow-up) Extend Suggestions.t for DelSuggestionsOlderThan
Adding a days>0 test in the sub with a POD line.
Specific subtest for this sub added in Suggestions.t.
Test plan:
Run t/db_dependent/Suggestions.t again.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit b241555b0abe0ade8aa5fb088acdf2bc26cefe60
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Feb 23 09:15:55 2018 +0100
Bug 13287: (QA follow-up) Prepare Suggestions.t for changes
Just rearranging some modules here.
Adding Koha::Database and schema calls.
Test plan:
Run t/db_dependent/Suggestions.t
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 053d9a58ac057b8e72c050751540dda1f827ddbe
Author: Mark Tompsett <mtompset at hotmail.com>
Date: Tue Feb 23 19:29:36 2016 -0500
Bug 13287: (QA follow-up) Add db revision
Added missing upgrade SQL system preference.
Corrected system preference screen message
Fixes on purge_suggestions.pl
- perlcritic friendlier
- address $PERL5LIB comment by using $PROGRAM_NAME (comment #10)
- used STDERR (comment #10)
- perltidy
TEST PLAN
---------
$ ./installer/data/mysql/updatedatabase.pl
-- should run upgrade and generate new systempreference in table
$ ./misc/cronjobs/purge_suggestions.pl --help
-- should give help with a real path used instead of $PERL5LIB.
$ ./misc/cronjobs/purge_suggestions.pl -days -1
-- should give error message as expected
$ ./misc/cronjobs/purge_suggestions.pl -days 0
-- should give error message as expected
Go to OPAC system preferences tab and check the
PurgeSuggestionsOlderThan system preference
-- message should be as expected (see comment #9)
run koha qa test tools
-- all should pass
Signed-off-by: Marc Veron <veron at veron.ch>
Signed-off-by: Jon Knight <J.P.Knight at lboro.ac.uk>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Amended: Moved new pref from OPAC to Acquisitions preferences.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit badaf236c9d49d852cb4bcb5754b9f032cd8b6c6
Author: remi <remi.mayrand-provencher at inLibro.com>
Date: Tue Jul 28 12:10:59 2015 -0400
Bug 13287: Add a system preference to define the number of days used in purge_suggestions.pl
The system preferences value is used whenever purge_suggestions.pl is called without the 'days' parameter.
This patch uses the preference description suggested by comment #9.
This version should now be cleanly applicable.
I Apply the patch
II Run updatedatabase.pl
a) Run purge_suggestions.pl without the days parameter
- validate that there is an error message
b) Run purge_suggestions.pl with the days parameter
- validate that there is no error message
c) Insert a number of days in the system variable PurgeSuggestionsOlderThan
d) Run purge_suggestions.pl without the days parameter
- validate that there is no error message
Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Tested per plan, all tests pass.
Signed-off-by: Marc Veron <veron at veron.ch>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit e466f0d1e390530de317ad34bb9495ef8a3b64f3
Author: Pasi Kallinen <pasi.kallinen at joensuu.fi>
Date: Tue Feb 6 10:11:27 2018 +0200
Bug 20140: Allow translating more of OAI sets
Allow translating two strings in the OAI set config:
"setDescription" and "Remove"
Test plan:
1) Go to Home -> Administrator -> OAI sets config -> Add a new OAI set
2) Click on "New set"
3) Click on "Add description"
4) Note the "setDescription:" and "Remove" -texts
5) Install patch, update language, translate the new strings
6) Redo 1-4, note how the strings in part 4 are now translated
Signed-off-by: Pasi Kallinen <pasi.kallinen at joensuu.fi>
Signed-off-by: Roch D'Amour <roch.damour at inlibro.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 4dd344d6d6c95afd0bbb1f0095a256fea7a8d8dd
Author: Julian Maurice <julian.maurice at biblibre.com>
Date: Fri Feb 16 11:21:09 2018 +0100
Bug 20225: Remove unused script reports/stats.print.pl
Test plan:
1. Verify that there is no remaining references to this script
Signed-off-by: Roch D'Amour <roch.damour at inlibro.com>
Signed-off-by: Maksim Sen <maksim at inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
https://bugs.koha-community.org/show_bug.cgi?id=20255
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit b3d46287a992e946039c03c84d3327f7c4b43413
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Feb 26 13:09:18 2018 -0300
Bug 20082: DBRev 17.12.00.020
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 0f0a5a4f48cf4c70dd18d5a316eef3f22c0199d8
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Thu Feb 1 07:42:13 2018 +0100
Bug 20082: Correct description of Vietnamese language and add German translation
Fixes the language description of Vietnamese according to the
bug report and adds the German translation for the language
name.
To test:
- Run the database update
- Verify that the new descriptions Tiếng Việt shows
in advanced search language pull down
- Install German translations
- Verify that the German translation 'Vietnamesisch'
shows in the pull down when German is selected.
Signed-off-by: Roch D'Amour <roch.damour at inlibro.com>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 0cd75a0eb28db29779de85e29e4c485dd2dbb6fa
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Feb 14 14:17:58 2018 -0300
Bug 20199: Send a DateTime to DBIC instead of an iso formatted date
We do not need to format the date, DBIC handles DateTime correctly.
It fixes t/db_dependent/Letters.t with new SQL modes
Test plan:
prove t/db_dependent/Letters.t
prove t/db_dependent/Koha/Acquisition/Order.t
Must return green
Signed-off-by: Roch D'Amour <roch.damour at inlibro.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 912824a9b187aac7c09d31c91b3c6056e3ec538e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Feb 14 14:13:15 2018 -0300
Bug 20199: Add tests for Koha::Acq::Order->store
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit c1df9aad54cb1acdacfb0e5681ef83e1b7f24eec
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Mon Feb 26 10:59:13 2018 +0100
Bug 20075: Update installer files for uk-UA
Instead of the very laborious task of going thru all these files line by
line, I am adding a statement at the very end to correct hidden values.
Test plan:
Run a new Ukrainian install or run a few files on an empty database.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 2f06cc501be05fe6c2cc6099d2122006dee12496
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Mon Feb 26 10:48:50 2018 +0100
Bug 20075: Update installer files for ru-RU
Instead of the very laborious task of going thru all these files line by
line, I am adding a statement at the very end to correct hidden values.
Test plan:
Run a new Russian install or run a few files on an empty database.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit dd8775c53aa2818cd9434821ce6f96ffbd62cb0f
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Mon Feb 26 09:59:03 2018 +0100
Bug 20075: Adjust installer files for de-DE up to pl-PL
We are replacing the values -5 or 8 here by 1 for the hidden field in
auth_subfield_structure.
Note that 1 is mainly used in MARC21 and -5 in UNIMARC.
Since it is a boolean, I choose here for keeping 0 and 1.
The value 8 was only used for field 942 in MARC21 files.
The value -5 was replaced in
en/marcflavour/unimarc/mandatory/authorities_normal_unimarc.sql
it-IT/marcflavour/unimarc/necessari/authority_framework.sql
pl-PL/marcflavour/unimarc/mandatory/authorities_normal_unimarc.sql
NOTE: The french unimarc files
fr-FR/marcflavour/unimarc_complet/Obligatoire/autorite_default.sql
fr-FR/marcflavour/unimarc_complet/Obligatoire/autorites_norme_unimarc.sql
fr-FR/marcflavour/unimarc_lecture_pub/Obligatoire/autorites_norme_unimarc.sql
seem to display all fields, since hidden is 0 everywhere.
Test plan:
Test a new install in one of the languages.
Or run the sql script on an empty database.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit c2a376db26904e30f4eec51e17c976652a0fe8b2
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Feb 26 13:06:15 2018 -0300
Bug 20074: DBRev 17.12.00.019
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 5db0f7e4c6514b137cfe08e32260dd9694bf33c8
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Mon Feb 26 11:43:43 2018 +0100
Bug 20074: (follow-up) Replace hidden value -5 by 1 in data and interface
[ Moved from 20075 to 20074 ]
Since hidden is used as a boolean, it makes more sense to save the values
0 and 1 instead of 0 and -5.
Test plan:
Test toggling between Show all and Hide all in the auth frameworks.
Run the db rev.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 1b25d81dc69a758f900b72fbff0c7fc99bc59fa2
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Tue Jan 23 15:59:06 2018 +0100
Bug 20074: (follow-up) Remove another remainder of biblio hidden logic
Script authorities.pl still contains a module 2 calculation on the hidden
attribute, although it is used as a boolean.
Since -5 mod 2 == 1, it does no harm, but we better remove it.
Test plan:
Edit and save an authority. Verify that everything still works as expected.
Signed-off-by: Josef Moravec <josef.moravec at gmail.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 08aba08a926f3956324cb66a049942f38810b525
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Tue Jan 23 15:21:27 2018 +0100
Bug 20074: Database revision to convert hidden to -5
The hidden value is used as a boolean in authority frameworks (in contrast
with biblio framework).
It is consistent to apply the same value (-5) to all non-zero values.
Test plan:
Check if you a have 0, 1 and 8 value in hidden somewhere.
Run the dbrev.
Verify that 1 and 8 are converted to -5.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Josef Moravec <josef.moravec at gmail.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 42ed26660b7c8c05a66a99a1e458f303481119dd
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Tue Jan 23 15:16:35 2018 +0100
Bug 20074: Fix hidden value in auth_subfields_structure
The template included an else branch where a value not equal to 0 or -5
was interpreted as 0 (Show all).
This effectively converted hidden values 1 and 8 to 0.
This patch removes that else branch.
Test plan:
Toggle a authority field between Hide all and Show all. Check what happens.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
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/Suggestions.pm | 3 +-
Koha.pm | 2 +-
Koha/Acquisition/Order.pm | 2 +-
authorities/authorities.pl | 2 +-
.../marc21/mandatory/authorities_normal_marc21.sql | 2 +-
.../marc21/mandatory/authorities_normal_marc21.sql | 2 +-
.../mandatory/authorities_normal_unimarc.sql | 462 +++----
.../marc21/mandatory/authorities_normal_marc21.sql | 2 +-
.../mandatory/authorities_normal_unimarc.sql | 462 +++----
.../obligatoire/authorities_normal_marc21.sql | 2 +-
.../Obligatoire/authorities_normal_marc21.sql | 18 +-
.../marc21/mandatory/authorities_normal_marc21.sql | 2 +-
.../unimarc/necessari/authority_framework.sql | 1390 ++++++++++----------
installer/data/mysql/mandatory/subtag_registry.sql | 5 +-
.../marc21/mandatory/authorities_normal_marc21.sql | 18 +-
.../marc21/mandatory/authorities_normal_marc21.sql | 18 +-
.../mandatory/authorities_normal_unimarc.sql | 462 +++----
.../mandatory/marc21_authorities_DEFAULT_local.sql | 3 +
.../marc21_authorities_CHRON_TERM_general.sql | 3 +
.../marc21_authorities_CHRON_TERM_local.sql | 3 +
.../marc21_authorities_CORPO_NAME_general.sql | 3 +
.../marc21_authorities_CORPO_NAME_local.sql | 3 +
.../marc21_authorities_GENRE-FORM_general.sql | 3 +
.../marc21_authorities_GENRE-FORM_local.sql | 3 +
.../marc21_authorities_GEOGR_NAME_general.sql | 3 +
.../marc21_authorities_GEOGR_NAME_local.sql | 3 +
.../marc21_authorities_MEETI_NAME_general.sql | 3 +
.../marc21_authorities_MEETI_NAME_local.sql | 3 +
.../marc21_authorities_PERSO_NAME_general.sql | 3 +
.../marc21_authorities_PERSO_NAME_local.sql | 3 +
.../marc21_authorities_TOPIC_TERM_general.sql | 3 +
.../marc21_authorities_TOPIC_TERM_local.sql | 3 +
.../marc21_authorities_UNIF_TITLE_general.sql | 3 +
.../marc21_authorities_UNIF_TITLE_local.sql | 3 +
.../unimarc_authorities_DEFAULT_general.sql | 3 +
.../optional/unimarc_authorities_CO_general.sql | 3 +
.../optional/unimarc_authorities_NP_general.sql | 3 +
.../unimarc_authorities_SAUTTIT_general.sql | 3 +
.../optional/unimarc_authorities_SAUT_general.sql | 3 +
.../optional/unimarc_authorities_SCO_general.sql | 3 +
.../optional/unimarc_authorities_SNC_general.sql | 3 +
.../optional/unimarc_authorities_SNG_general.sql | 3 +
.../optional/unimarc_authorities_STU_general.sql | 3 +
.../optional/unimarc_authorities_TU_general.sql | 3 +
installer/data/mysql/sysprefs.sql | 1 +
.../marc21_authorities_DEFAULT_general.sql | 3 +
.../mandatory/marc21_authorities_DEFAULT_local.sql | 3 +
.../marc21_authorities_CHRON_TERM_general.sql | 3 +
.../marc21_authorities_CHRON_TERM_local.sql | 3 +
.../marc21_authorities_CORPO_NAME_general.sql | 3 +
.../marc21_authorities_CORPO_NAME_local.sql | 3 +
.../marc21_authorities_GENRE-FORM_general.sql | 3 +
.../marc21_authorities_GENRE-FORM_local.sql | 3 +
.../marc21_authorities_GEOGR_NAME_general.sql | 3 +
.../marc21_authorities_GEOGR_NAME_local.sql | 3 +
.../marc21_authorities_MEETI_NAME_general.sql | 3 +
.../marc21_authorities_MEETI_NAME_local.sql | 3 +
.../marc21_authorities_PERSO_NAME_general.sql | 3 +
.../marc21_authorities_PERSO_NAME_local.sql | 3 +
.../marc21_authorities_TOPIC_TERM_general.sql | 3 +
.../marc21_authorities_TOPIC_TERM_local.sql | 3 +
.../marc21_authorities_UNIF_TITLE_general.sql | 3 +
.../marc21_authorities_UNIF_TITLE_local.sql | 3 +
.../unimarc_authorities_DEFAULT_general.sql | 3 +
.../optional/unimarc_authorities_CO_general.sql | 3 +
.../optional/unimarc_authorities_NP_general.sql | 3 +
.../unimarc_authorities_SAUTTIT_general.sql | 3 +
.../optional/unimarc_authorities_SAUT_general.sql | 3 +
.../optional/unimarc_authorities_SCO_general.sql | 3 +
.../optional/unimarc_authorities_SNC_general.sql | 3 +
.../optional/unimarc_authorities_SNG_general.sql | 3 +
.../optional/unimarc_authorities_STU_general.sql | 3 +
.../optional/unimarc_authorities_TU_general.sql | 3 +
installer/data/mysql/updatedatabase.pl | 38 +
.../en/modules/admin/auth_subfields_structure.tt | 8 +-
.../prog/en/modules/admin/oai_sets.tt | 4 +-
.../en/modules/admin/preferences/acquisitions.pref | 8 +
misc/cronjobs/crontab.example | 2 +-
misc/cronjobs/purge_suggestions.pl | 52 +-
reports/stats.print.pl | 177 ---
t/db_dependent/Koha/Acquisition/Order.t | 42 +-
t/db_dependent/Suggestions.t | 64 +-
82 files changed, 1766 insertions(+), 1649 deletions(-)
delete mode 100755 reports/stats.print.pl
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list