Commit Graph

1745 Commits

Author SHA1 Message Date
Liz Rea d533076c38 Update release notes for 3.18.12 release
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-11-02 12:27:30 +13:00
Bernardo Gonzalez Kriegel 7bb9088ce2 Translation updates for Koha 3.18.12 release 2015-10-30 11:15:41 -03:00
Liz Rea 2ff022ec80 3.18.11 Release notes 2015-09-23 15:08:30 +12:00
Jonathan Druart ea3ec5ed3d Bug 6756: Add info messages
NOTE: Before patch "./misc/cronjobs/batch_anonymise.pl --help" had no
      message, and neither did the anonymizing tool in the staff client.
      After the patch, both had informative messages.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit 1acddd0f1b)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
(cherry picked from commit 715a7bf4f5)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-09-23 12:25:30 +12:00
Liz Rea f9adbd885a 3.18.10 Release Notes
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-08-24 13:43:44 +12:00
Bernardo Gonzalez Kriegel 3b0829199d Translation updates for Koha 3.18.10 release 2015-08-24 13:42:58 +12:00
Ulrich Kleiber 6a8871e26d Bug 14534: Stop overdue_notices.pl from issuing the warning: Use of uninitialized value $borrowernumber
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

To test:

1/ Run the overdue_notices.pl script (don't do this on production
obviously :))
2/ Notice the warns
3/ Apply patch
4/ Run again
5/ Notice no warns, but notices are still generated ok

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit d873ed3b5d)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-08-17 09:48:13 +12:00
Liz Rea fecc5666c1 Merge remote-tracking branch 'translation/3.18.09' 2015-07-22 12:25:28 +12:00
Bernardo Gonzalez Kriegel 9ea6df96e0 Translation updates for Koha 3.18.09 release 2015-07-21 20:50:47 -03:00
Liz Rea 536876521a Updating release notes for 3.18.09 release
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-07-21 16:19:15 +12:00
Liz Rea d50680852a Revert "Update release notes for 3.18.09 release"
This reverts commit 9b158d3887.

Too soon, executus!
2015-07-21 16:16:20 +12:00
Liz Rea 9b158d3887 Update release notes for 3.18.09 release
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-07-21 12:01:43 +12:00
Liz Rea c4d16bba02 Minor release note update 2015-06-23 21:13:13 +12:00
Liz Rea a55fd078e9 Revert "Bug 13815 - plack loose CGI qw(-utf8) flag creating incorrect utf-8 encoding everywhere"
This reverts commit af127c124f.

Oops.
2015-06-23 20:27:09 +12:00
Liz Rea e4ec3edf8a Merge branch 'security-3.18.x' into rmaint-3.18.x 2015-06-23 13:41:22 +12:00
Liz Rea adc35d736e Update release notes for 3.18.8 release
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-06-23 13:28:42 +12:00
Bernardo Gonzalez Kriegel bea822e633 Translation updates for Koha 3.18.08 release
Fix Bengali files :)
2015-06-23 12:28:28 +12:00
Dobrica Pavlinusic af127c124f Bug 13815 - plack loose CGI qw(-utf8) flag creating incorrect utf-8 encoding everywhere
This is major problem for plack installations with utf-8 encoding.

In this case, we are overriding CGI->new to setup utf-8 flag and
get correctly decoded $cgi->params, and reset syspref cache using
C4::Context->clear_syspref_cache

Test scenario:
1. under plack try to search with utf-8 charactes
2. try to find patron with utf-8 characters

Signed-off-by: Gaetan Boisson <gaetan.boisson@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 3cd086b6b6)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-06-16 09:21:14 +12:00
Bernardo Gonzalez Kriegel 0e7d728400 Bug 14285: Bengali locale needs to be re-defined
This patch renames translation files for Bengali
language, from ben-* to bn-IN-*.
Also adds India as region

To test:
1) Apply the patch
2) Run updatedatabase
3) Install Bengali language
cd misc/translator
perl translate install bn-IN
enable

Check correct description

4) Create and install a fake Bengali variant
cd misc/translator
perl translate create bn-XX
perl translate install bn-XX
enable both variants

Check correct rendering of region

Results comply with expected test plan outcome. Signed off for bn-IN
Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit e365e6e535)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Conflicts:
	misc/translator/po/bn-IN-marc-MARC21.po
	misc/translator/po/bn-IN-marc-NORMARC.po
	misc/translator/po/bn-IN-marc-UNIMARC.po
	misc/translator/po/bn-IN-staff-prog.po
2015-06-08 16:02:58 +12:00
Chris Cormack c3b31a499c Release notes for 3.18.7 2015-05-26 12:19:07 +12:00
Bernardo Gonzalez Kriegel d2f27039b4 Translation updates for Koha 3.18.07 release
New language Georgian (ka)
2015-05-25 20:42:01 -03:00
Colin Campbell 44eb102ef0 Bug 13591: Pass OPACBaseURL to rss creation process
Links in rss templates were hardcoded to library.org.nz. Should pass and
use the system's OPACBaseURL.

Tested and verified.

Signed-off-by: Eivin Giske Skaaren <eskaaren@yahoo.no>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 607b224f00)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2015-05-18 11:34:47 +12:00
Bernardo Gonzalez Kriegel a68b6cfbf1 Bug 12192: Template toolkit code in HTML attributes is picked up into po-files
This patch gives a partial solution for this problem.
It ignores strings like "[% something %]", but not
"[% IF ( value )  %][% value %][% END %]"

We get 100+ strings less to translate

To test:
1) Update translation files for your preferred language
2) Apply the patch
3) Update again
4) Compare, you must find 100+ strings removed from
translation files

eg.
-msgid "[% SEARCH_RESULT.biblionumber |url %]"
-msgid "[% accepteddate | $KohaDates %]"
-msgid "[% amountoutstanding | format('%.2f') %]"
-msgid "[% authtypetext |html %]"
-msgid "[% barcode_llx |html %]"
-msgid "[% barcode_lly |html %]"
-msgid "[% biblio.quantity.length ? biblio.quantity : 1 %]"
-msgid "[% billingdate | $KohaDates %]"
-msgid "[% borname |html %]"
...

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Verified all strings removed from the po files were
pure TT.
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

(cherry picked from commit 5caa05104d)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-05-17 17:52:30 +12:00
Chris Cormack d40955ac3f Merge remote-tracking branch 'bernardo/3.18.07-fix-translations' into 3.18.x 2015-05-01 10:13:56 +12:00
Bernardo Gonzalez Kriegel c33cb79496 Fix pure TT entities translations 2015-04-29 12:09:19 -03:00
Chris Cormack 509613a86e Release notes for 3.18.6 2015-04-23 09:24:50 +12:00
Bernardo Gonzalez Kriegel a3b13adecf Translation updates for Koha 3.18.07 release 2015-04-22 17:51:43 -03:00
Jonathan Druart 3569c43a46 Bug 9978: (followup) Replace license header with the correct license (GPLv3+)
There was another form of the v2.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit ba0f84b46c)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-04-22 11:28:58 +12:00
Jonathan Druart 02bcbadc95 Bug 9978: Replace license header with the correct license (GPLv3+)
Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

http://bugs.koha-community.org/show_bug.cgi?id=9987

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit a6c9bd0eb5)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-04-22 11:28:36 +12:00
Jonathan Druart ad3121e388 Bug 13975: Remove compilation warning about encoding pragma deprecation
Test plan:
0/ Does not apply the patch
1/ Launch the export_borrowers.pl script to export data with unicode characters
 % perl misc/export_borrowers.pl -w "borrowernumber=42" --field borrowernumber --field surname --field firstname
  Use of the encoding pragma is deprecated at misc/export_borrowers.pl
  7874,JOUBU,صةصةصة
2/ Apply this patch
3/ Repeat 1
 % perl misc/export_borrowers.pl -w "borrowernumber=42" --field borrowernumber --field surname --field firstname
  7874,JOUBU,صةصةصة

Note that the deprecated message is gone and the encoding is correct.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>

  I confirm the warning (on Perl version above 5.14). And that the patch fix
  the warning.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit dbd8602280)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-04-22 11:21:14 +12:00
Thomas b885421716 Bug 13531 - Follow up
Add logging of errors.

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
More errors are indeed showing up in the log.
(I took the liberty of changing the commit message a little bit.)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 482f2f31a8)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-04-03 16:43:33 +13:00
Thomas 87a294010e Bug 13531: QA follow up
A minor QA comment.

::: misc/migration_tools/bulkmarcimport.pl
@@ +271,5 @@
>          my ( $error, $results, $totalhits ) = C4::Search::SimpleSearch( $query, 0, 3, [$server] );
> +        # changed to warn so able to continue with one broken record
> +        if ( defined $error ) {
> +            warn "unable to search the database for duplicates : $error";
> +            next;

For consistency with the rest of the script, should this perhaps be:

next RECORD;

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 002b79c200)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-04-03 16:43:00 +13:00
Thomas 6dbb2ccb95 Bug 13531 - bulkmarcimport bombs if no match is found Changed the die statment to a warn allowing the import to continue.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit e1cdb4ebfa)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-04-03 16:42:03 +13:00
Jonathan Druart b10ef9005d Bug 11120: the date input should be in a iso format (YYYY-MM-DD)
Note that it cans also accept a date in the same format defined in the
dateformat system preference.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 39bb5fd43f)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-03-31 18:39:10 +13:00
Katrin Fischer 46d8457f04 Bug 11120: Follow-up: adding a hint about the date format
Adding 2 hints about the expected date format to the error
message and the help.

To test:
- Run overdue_notices.pl --date <someinvaliddate>
- Run overdue_notices.pl -man
- Verify hint about date format shows up

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit e6d987180f)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-03-31 18:38:54 +13:00
Jonathan Druart 891d921408 Bug 11120: FIX the --date option for overdue_notices cronjob
Bug 7447 introduces the --date option for overdue notices.
This option has never worked: the code is waiting for a value but the
option is defined as a boolean.

This patch fixes the option and change the way to calculate the range of
dates.
This range is now managed in Perl instead of in the SQL query. To do it
in Perl allows to build dates simply using the DateTime and
DateTime::Duration modules.

To test this patch you should have a DB with a lot of overdues, (I
tested on a DB with 512 overdues).
A test plan could be:
1/ Dump your message_queue table
2/ Verify the number of overdues in the database before applying the
  patch:
  mysql> DELETE FROM message_queue;
  perl misc/cronjobs/overdue_notices.pl -v -t
  (the triggered option will generate overdue for today)
  mysql> SELECT COUNT(*) FROM message_queue;
  Note this value 2A

  mysql> DELETE FROM message_queue;
  perl misc/cronjobs/overdue_notices.pl -v
  mysql> SELECT COUNT(*) FROM message_queue;
  Note this value 2B

2/ Apply the patch
4/ Verify the number of overdues generated by the patched script:
  mysql> DELETE FROM message_queue;
  perl misc/cronjobs/overdue_notices.pl -v -t
  mysql> SELECT COUNT(*) FROM message_queue;
  Note this value 4A

  mysql> DELETE FROM message_queue;
  perl misc/cronjobs/overdue_notices.pl -v
  mysql> SELECT COUNT(*) FROM message_queue;
  Note this value 4B

  mysql> DELETE FROM message_queue;
  # The date should be defined depending your dateformat preference
  # and should be the date of the current day
  perl misc/cronjobs/overdue_notices.pl -v -t --date="YYYY-MM-DD"
  mysql> SELECT COUNT(*) FROM message_queue;
  Note this value 4C

  mysql> DELETE FROM message_queue;
  # The date should be defined depending your dateformat preference
  # and should be the date of the current day
  perl misc/cronjobs/overdue_notices.pl -v --date="YYYY-MM-DD"
  mysql> SELECT COUNT(*) FROM message_queue;
  Note this value 4D

5/ Compare the values: All values generated with the -t options should
be equals. Same for values without the -t options.
=> 2A == 4A == 4C and 2B == 4B == 4D

6/ Go back to a normal activity for 3 days or manually change the
date_due for issues in the DB:
  mysql> update issues SET date_due = DATE_SUB(date_due, INTERVAL 3 DAY);
Do again step 4C and 4D with a date equals to today - 3 days.
Values should be the same as 4C and 4D.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested with my own test data, checked generating overdues
with and without the --date option.
All worked as expected.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 0f4a831344)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-03-31 18:38:40 +13:00
Chris Cormack 58e10601ce Merge branch '3.18.x' of git://git.koha-community.org/koha into 3.18.x 2015-03-28 12:51:08 +13:00
Galen Charlton 8a56c41073 Update release notes for 3.18.5.1
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2015-03-23 23:22:22 +00:00
mxbeaulieu a0a2cea1c4 Bug 13794: Text input field values not translated
I left the code logic intact, and simply removed "text" from the regex.
Text input field values are now translated, no other logical changes are introduced.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Test:
1) Update, install and enable es-ES language
2) Go to Reports > Acquisition wizard
3) On page bottom, there is a text field with the word 'Export'
4) Switch language, the word is not translated
5) Apply the patch
6) Update and install again es-ES language
7) Reload page, text now reads 'Exportar'

No koha-qa errors.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit c9a52f739c)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-03-23 20:34:35 +13:00
Chris Cormack 2be314d9f0 Plaintext release notes 2015-03-22 18:52:57 +13:00
Chris Cormack 0d69c03530 Release notes 2015-03-22 18:51:02 +13:00
Bernardo Gonzalez Kriegel 8b46552287 Translation updates for Koha 3.18.05 release 2015-03-21 16:55:02 -03:00
Chris Cormack 24f4bdab31 Adding release notes 2015-02-23 12:55:36 +13:00
Chris Cormack dd91aec752 Bug 13679 : Bug in listing overdues
To test
1/ Create some overdues and some issues due in the future
2/ Run the overdues script
3/ Notice item due in the future is in the list
4/ Apply patch
5/ Run script again
6/ Notice in the future not in the list

Signed-off-by: Nick <Nick@quechelibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 07f9dd9f8c)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2015-02-23 12:04:29 +13:00
Bernardo Gonzalez Kriegel cc5dfd1039 Translation updates for Koha 3.18.04 release 2015-02-22 19:13:10 -03:00
Chris Cormack 59407a0e38 Updating release notes 2015-01-23 09:36:50 +13:00
Chris Cormack c344e2e46a Merge remote-tracking branch 'bernardo/3.18.03-translate' into 3.18.x 2015-01-23 09:01:05 +13:00
Bernardo Gonzalez Kriegel 9cbc005cf3 Translation updates for 3.18.03 release 2015-01-22 09:01:51 -03:00
Chris Cormack c9500b2b08 Release notes 2015-01-22 20:13:51 +13:00
Morag Hills 819562fd18 Bug 13530: Typo in bulkmarcimport
GetFrameworkCode was incorrectly spelt as GetFrameworkcode on line 401.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit f831176787)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-01-18 14:52:58 +13:00