Commit Graph

1094 Commits

Author SHA1 Message Date
Chris Cormack d0c80f1b1a Dutch, German and Turkish language updates 2009-08-08 20:25:50 +12:00
Chris Cormack c8be5c0f87 German and French updates 2009-08-05 14:58:22 +12:00
Chris Cormack 587cddf618 German, French, NZ english, and Tagalog updates 2009-08-01 07:29:25 +12:00
Chris Cormack 66a52cd2d2 German, French, Italian, Dutch and Tetum updates 2009-07-28 20:17:39 +12:00
Chris Cormack b5cb46d241 Tagalog added for translation 2009-07-09 15:54:41 +12:00
Chris Cormack 0a5face5df German updates 2009-07-09 15:53:08 +12:00
Chris Cormack 449d705ea9 Little fix to Maori 2009-07-06 13:33:00 +12:00
Chris Cormack 979883d2b3 Maori Opac Translation finished 2009-07-06 13:18:20 +12:00
Chris Cormack ab8053f376 Bengali, french canadian and tetun updates 2009-07-04 22:44:37 +12:00
Henri-Damien LAURENT b2a4853fc5 Preparing 3.0.3 2009-06-26 15:57:18 +02:00
Chris Cormack 676f8059b7 French and greek updates 2009-06-23 11:23:30 +12:00
Chris Cormack 31bb66a8cb Tetun, German and Turkish updates 2009-06-19 01:57:56 +12:00
Chris Cormack c2d419b147 Turkish updates 2009-06-16 14:53:17 +12:00
Chris Cormack b06857bb49 German and Turkish updates 2009-06-15 07:31:27 +12:00
Chris Cormack 331dab859f Turkish updates 2009-06-11 23:01:05 +12:00
Chris Cormack 5a5fbf6306 Hindi and Turkish translations 2009-06-10 07:46:20 +12:00
Chris Cormack e2c7abae77 Turkish and Greek updates 2009-06-07 23:08:06 +12:00
Chris Cormack 94b32bac6a Hindi, German and Turkish updates 2009-06-06 07:03:24 +12:00
Henri-Damien LAURENT 65ac4e38ab minor update on release notes 2009-06-04 14:18:46 +02:00
Henri-Damien LAURENT 0d92114107 Update release tarball upload proceedings 2009-06-04 14:04:22 +02:00
Henri-Damien LAURENT d010503b80 release notes and version 3.0.2 2009-06-04 00:02:05 +02:00
Chris Cormack 4b812f1b40 Turkish and Tetun updates 2009-06-03 20:18:17 +12:00
Chris Cormack f18bd4530b Spanish and Turkish updates 2009-06-02 07:19:57 +12:00
Chris Cormack d8c6e142d7 Slovakian and Turkish updates 2009-05-29 19:41:43 +12:00
Chris Cormack ef3cfdb209 Portuguese changes 2009-05-29 13:48:51 +12:00
Chris Cormack cb62b8e3e0 Portuguese and Turkish 2009-05-29 10:38:24 +12:00
Chris Cormack 873ac186d5 Spanish, Turkish and Portuguese Translations 2009-05-29 09:26:14 +12:00
Chris Cormack 711aacd7b8 French, Italian, Portuguese, Tetun and Turkish updates 2009-05-29 09:08:47 +12:00
Chris Cormack f9ce23a08c Portuguese, Slovakian and Turkish updates 2009-05-27 12:36:46 +12:00
Henri-Damien LAURENT 1b7c8f84e1 Updating french translations 2009-05-26 21:15:37 +02:00
Joe Atzberger 4e3249091a Prevent fines failure on NULL borrowernumber.
The problem is that we do not ensure that the issues table has valid
borrowernumber in each line.  This is exacerbated by Getoverdues()
returning data sorted BY borrowernumber.  So one NULL borrowernumber
in issues prevented ALL fines from being assessed.  The actual error
from fines.pl cron log is:
  No branchcode argument to new.  Should be C4::Calendar->new(branchcode => $branchcode)
  at /home/user/kohaclone/misc/cronjobs/fines.pl line 98

This patch deals only with getting fines to avoid crashing.  It does
not fix the underlying data integrity problem.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:31 +02:00
Frédéric Demians df6430df63 Bugfix 3199 - batchRebuildBiblioTables.pl failed due to missing argument [3.0.x]
Thanks G. Henry

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:26 +02:00
Nahuel ANGELINETTI 4911b601f2 (bug #3011) csv export doesn't fill all the fields
This patch just fix the script which export to csv the overdue, and field the missing fields
2009-05-26 21:15:23 +02:00
Nahuel ANGELINETTI ea7aabe77a Repair the old repairmissingbiblionumbers script
This patch refound all the script which fix all records without any biblionumber.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:12 +02:00
Joe Atzberger c84ff8d2af Bug 3133 - correct typos
This corrects 3 typographical errors.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:11 +02:00
Joe Atzberger 0de0981480 Multi-bug fix - SetMarcUnicodeFlag for records coming from Koha
This has bearing on bugs 2905, 2665, 2514 and other "wide character" crashes
related to diacritics and Unicode.  This should help open the door for reliable
input of diacriticals via acquisitions.

MARC21_utf8_flag_fix.pl diagnoses and fixes existing problems with MARC data
affected by the bug.

Adding SetMarcUnicodeFlag to TransformKohaToMarc prevents the bug from corrupting
further data.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:10 +02:00
Joe Atzberger fa10183204 Tweak perldoc (--help) for leader_fix.pl
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:10 +02:00
Joe Atzberger f52c1226bb Script to repair MARC21 leader/09.
Acquisitions process seems to be adding records with incorrect
representation of the MARC encoding in leader/09.  It should be
'a' meaning UTF-8, for all Koha's internalized records, but in
many cases it appears blank (for MARC-8).  This script diagnoses
and repairs the value in the leader, depending on runtime options.

The symptom of this problem is that high-value UNICODE characters
in the record will cause Koha to crash whenever it tries to parse
the MARCXML, giving a "Wide character" fatal.  While we work on
fixing the input, this script will fix the existing data.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:10 +02:00
Joe Atzberger 42e0f5c873 Bug 3090 - Add perldoc details
This is half of the fix for 3090.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:08 +02:00
Henri-Damien LAURENT dace9673b4 3040 : seriestitle mistaken as collection title
If series title was previously taken as collectiontitle
then you should launch
misc/maintenance/UNIMARC_fix_collectiontitle.pl
misc/batchRebuildBiblioTables.pl

[RM note: applies only to UNIMARC users - MARC21
users should not run the batch jobs.]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:07 +02:00
Joe Atzberger 2419838963 Bug 3066 - Overhaul guided reports
execute_query now refactored, returns reliable results, does
zero presentation-layer crap.  Arguments reduced, client scripts
adapted to new API and performance improved.  Text::CSV now used
to generate CSV output, ensuring portability, encoding and accuracy.

Replaced tools/runreport.pl with misc/cronjobs/runreport.pl:
    ~ security fixed
    ~ documentation improved
    ~ TODO: finish sendmail option.

Bug 3077 also fixed.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:07 +02:00
Joe Atzberger 4319a13d8c runreport.pl and prep work on Guided.pm
The old location of runreport.pl was under tools, leaving it exposed
to web requests.  This is a security flaw since it does NOT check any
Auth and allows the user to request any Saved Report be run.  This is
not a problem under misc/crontab/ and it suggests the more appropriate use.

Guided.pm is not fixed here (see bug 3066), but it is prepared to be fixed
and made compatible with runreport as detailed in the perldoc.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:07 +02:00
J. David Bavousett ddea584788 Changes to bulkmarcimport.pl
Adds three new switches:

-idmap <filename> - optional output file of
                    map of source record ID numbers
                    to Koha biblionumber
-x                - if idmap is supplied, MARC tag
                    to get source record ID from
-y                - if idmap is supplied, MARC subfield
                    to get source record ID from

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:06 +02:00
Joe Atzberger 7f5c71598e Improve performance and fault tolerance for sync_items...
Pulled the GetMarcFromKohaField outside the loop, since we only need to
check it once.  Same for $item_sth.  Added safety checks for success of
delete_field and GetMarcItem, with warnings on failure.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:04 +02:00
Galen Charlton 5473a35070 bug 3028: remove reservefix.pl cronjob
Removed cronjob, which was written to work around
a bug in 2.2 that no longer applies and is specific
to a single library in any event.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:02 +02:00
Joe Atzberger d0370b1144 Bug 2617: Add strict (and warnings), partial fix.
These are some of the simpler scripts to add strict to.
Corrected perldoc for Bookfund.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:01 +02:00
Joe Atzberger 42b94b22e9 Remove outmoded (and possibly dangerous) cronjob.
This script is superceded by rebuild_zebra and the sync_items scripts.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:01 +02:00
Joe Atzberger 8e7682b736 Bug 2883 - longoverdue cronjob fails to implement required functionality.
This does not fix all problems recorded in 2883 (see all the FIXME's), but
it does improve the script's basic feedback to an intelligible level.
It also adjusts the documentation and examples to correct bogus usage
instructions.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:14:59 +02:00
Brian Harrington 4c4817bf92 bug 2924 fixed rebuild_zebra.pl to work when export is skipped
reindexing now occurs if there are $num_records_exported or if
$skip_export is set

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:14:58 +02:00
Joe Atzberger c549a4396b Cleanup and perltidy.
Add "use warnings", remove unused variables and unnecessary finish/disconnect
at the end.  This script could be improved to run only on tables that need to
be altered instead of touching all of them.  It should also probably contain
warnings to the effect that it does not rescue your DATA that was forced into
whatever encoding the table used previously.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:14:55 +02:00