Commit graph

1231 commits

Author SHA1 Message Date
8598291f06 Spam removal 2010-07-29 10:05:59 +12:00
9b8455093a Updates and spam removal 2010-07-29 10:05:58 +12:00
5eb1c4b5cd Removing spam from Amharic 2010-07-29 10:05:52 +12:00
e1ad55f71a Removing spam from albanian 2010-07-29 10:05:52 +12:00
151ed50519 Amharic; Ethiopian updates getting ready for 3.2 2010-07-29 10:05:52 +12:00
73c0fa1dba Intranet .po updates 2010-07-29 10:05:49 +12:00
b6b126f33d Lots of opac .po file updates 2010-07-29 10:05:46 +12:00
29d9358ffe Language updates from pootle 2010-07-29 10:05:46 +12:00
de7a174ddc Updating german prefs 2010-07-29 10:05:42 +12:00
c2b4d0acc6 Language updates from pootle 2010-07-29 10:05:42 +12:00
Chris Cormack
e0c72d37fa Bug 4472 - Missing / in img tags breaking xslt (and other img tags)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-06-17 19:37:57 -04:00
f4e77ec1df System Preference updates 2010-05-31 22:11:40 +12:00
6a495a010d Raft of language updates 2010-05-31 22:10:17 +12:00
bd10c738d7 Language updates 2010-05-31 22:07:05 +12:00
beedb9fc30 bug 4505: updated release notes
Minimum version of Perl required to run Koha is
now 5.8.8.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-24 07:51:19 -04:00
46cbf7806c Bug 4465 Fixes translated boolean syspref inversion
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-07 10:39:14 -04:00
cbc9858323 another FSF address fix
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-06 20:31:26 -04:00
Lars Wirzenius
1fe2b9f613 Convert to UTF-8.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-06 17:58:45 -04:00
Lars Wirzenius
3e7e386148 Convert to UTF-8.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-06 17:58:24 -04:00
67be4bd118 release notes updates suggested by Nicole Engard
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-04 11:13:22 -04:00
a2e6c16ecc start of release notes for 3.2
NOTE: this is not exhaustive; please send me additions for
features you have written.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-04 09:29:08 -04:00
Henri-Damien LAURENT
6af71eb13a MT3346 : overdue_notices
-csv was not working as advertised.
This feature is now working as it is forecast

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-01 09:11:54 -04:00
J. David Bavousett
55492a640f Bug 4257: Make advance notices actually go out by avoiding null selects
The wrong variable was used to select the number of days-until-due; this fixes it to use
the borrower's preference setting.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-29 22:36:38 -04:00
c9ba8c899d Merge branch 'bug2505_patches' of git://git.catalyst.net.nz/koha into to-push
* 'bug2505_patches' of git://git.catalyst.net.nz/koha: (24 commits)
  Bug 2505 - use strict and warnings in sax_parser_test
  Bug 2505 - enable warnings for link_bibs_to_authorities
  Bug 2505 - add strict and warnings to perlmodule_ls
  Bug 2505 - add strict and warnings to check_sysprefs
  Bug 2505 - Add commented use warnings where missing in *.t
  Bug 2505 - Add commented use warnings where missing in *.pm
  Bug 2505 - Add commented use warnings where missing in the cataloguing/ directory
  Bug 2505 - Add commented use warnings where missing in the misc/ directory
  Bug 2505 - Add commented use warnings where missing in the tools/ directory
  Bug 2505 - Add commented use warnings where missing in the installer/ directory
  Bug 2505 - Add commented use warnings where missing in the rotating_collections/ directory
  Bug 2505 - Add commented use warnings where missing in the C4/ directory
  Bug 2505 - Add commented use warnings where missing in the serials/ directory
  Bug 2505 - Add commented use warnings where missing in the catalogue/ directory
  Bug 2505 - Add commented use warnings where missing in the sms/ directory
  Bug 2505 - Add commented use warnings where missing in the opac/ directory
  Bug 2505 - Add commented use warnings where missing in the virtualshelves/ directory
  Bug 2505 - Add commented use warnings where missing in the suggestion/ directory
  Bug 2505 - Add commented use warnings where missing in the admin/ directory
  Bug 2505 - Add commented use warnings where missing in the circ/ directory
  ...

Conflicts:
	C4/Auth_with_cas.pm
	acqui/supplier.pl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-23 07:13:37 -04:00
Henri-Damien LAURENT
ea331251a4 Followup : d31ac1 reintroducing submit buttons
this reintroduces translation of submit values

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-23 07:06:34 -04:00
Donovan Jones
3e4044ad5c Bug 2505 - use strict and warnings in sax_parser_test 2010-04-21 20:31:23 +12:00
Donovan Jones
36d43bab0a Bug 2505 - enable warnings for link_bibs_to_authorities 2010-04-21 20:31:10 +12:00
Donovan Jones
5647479f70 Bug 2505 - add strict and warnings to perlmodule_ls 2010-04-21 20:30:52 +12:00
Donovan Jones
1726a06253 Bug 2505 - add strict and warnings to check_sysprefs 2010-04-21 20:30:41 +12:00
Donovan Jones
593a7d8e6a Bug 2505 - Add commented use warnings where missing in *.pm 2010-04-21 20:28:51 +12:00
Donovan Jones
5e0b850d49 Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
Lars Wirzenius
ce0a89c89e Change #! line for cronjob to refer to sh using canonical path.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-16 00:50:58 -04:00
Lars Wirzenius
4523a2df0d Fix file permissions: if it is not a script, it should not be executable.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-16 00:40:34 -04:00
Donovan Jones
cf7926889b Bug 2505 - remove unnecessary -w and replace with use warnings;
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-07 13:27:07 -04:00
Lars Wirzenius
160e01daa3 Update copyright license to GPL version 2 or later for two cronjobs.
See http://lists.koha.org/pipermail/koha-devel/2010-March/011067.html
for confirmation that this is OK.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-07 08:43:31 -04:00
Lars Wirzenius
87d845969e Fix FSF address in directory misc/
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-03-16 20:17:54 -04:00
J. David Bavousett
f34da84ed6 Bug 3482 changed name of notices file 2010-02-22 10:52:32 -05:00
Jesse Weaver
63e871dd40 Bug 3482 Allow hold notices to be sent in print form
This is done by saving the notices in the message_queue table with
type 'print'. The notices are generated from a notice named
HOLD_PRINT. At the end of the day, they are dumped to an HTML file and
marked as sent by a new cronjob.

This setup is intended to be temporary; modules/batch/ shouldn't be around
forever.

Mandatory SQL:
INSERT INTO message_transport_types (message_transport_type) values ('print');
2010-02-22 10:52:04 -05:00
J. David Bavousett
68bbe0d596 Modified to use dirspec only
This commit modifies overdue_notices so that the -html parameter
only requires a directory specification.
2010-02-22 10:51:36 -05:00
Kyle M Hall
af5ad339f7 Bug 3482 Print Notices via HTML
Modified overdue_notices.pl to support output of html for printing.
The -html option will e-mail notices to those with e-mail, and output
html to print for borrowers without e-mail.

When system preference PrintNoticesMaxLines is set to a positive
integer, it will limit the number of items on the notice to that
number, and append a message to the end telling the borrower to
check his or her account for the full listing of items.  This only
affects print notices, not emailed ones.

Mandatory SQL:

INSERT INTO `systempreferences`
  ( `variable` , `value` , `options` , `explanation` , `type` ) i
  VALUES ( 'PrintNoticesMaxLines', '0', '', i
  'If greater than 0, sets the maximum number of lines an overdue notice will print. If the number of items is greater than this number, the notice will end with a warning asking the borrower to check their online account for a full list of overdue items.',
  'Integer' );

Conflicts:

	installer/data/mysql/en/mandatory/sysprefs.sql
	installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
	misc/cronjobs/overdue_notices.pl
2010-02-22 10:51:26 -05:00
807c1a51dc Last 2 pref files 2010-02-22 12:20:41 +13:00
c061b15646 Russian prefs 2010-02-22 12:17:23 +13:00
cbfc3e8f43 Last of the syspref fixes 2010-02-22 12:14:19 +13:00
c13ead066d More pref fixing, somehow the french got used rather than the english 2010-02-22 11:39:42 +13:00
487f536177 Fixing arabic and maori prefs 2010-02-22 11:34:32 +13:00
d73936ce7d Fixing Malaysian preferences 2010-02-22 11:30:35 +13:00
7540389f09 Removing doubled up file 2010-02-22 11:27:58 +13:00
d3e36ed533 Systempref files 2010-02-22 11:27:58 +13:00
17f3a2ab68 Last of the template updates 2010-02-22 11:27:56 +13:00
a21d476d30 Adding a few new languages and more updates 2010-02-22 11:27:54 +13:00
2f5c85aefd Continuing updates 2010-02-22 11:27:52 +13:00
8a46c87eb3 Continuing po updates 2010-02-22 11:27:48 +13:00
b9325ff260 Continuing language updates 2010-02-22 11:27:38 +13:00
0327a0fcdc More language updates 2010-02-22 11:27:36 +13:00
6349385d82 Language updates 2010-02-22 11:27:26 +13:00
8ae65c0aaa More updated po files 2010-02-22 11:27:23 +13:00
c64a7f812a Adding preference po files 2010-02-22 11:27:16 +13:00
25cf7fbc22 Updating templates 2010-02-22 11:27:16 +13:00
f71b8e6202 French updates 2010-02-22 11:27:08 +13:00
38dd795cd9 Intranet po files before updating 2010-02-22 11:27:05 +13:00
095895f4c1 Opac files before updates 2010-02-22 11:27:05 +13:00
a2b11f5f9d German updates 2010-02-22 11:27:04 +13:00
eae2174493 German Updates 2010-02-22 11:27:02 +13:00
2267253afa Dutch (Nederlands) updates 2010-02-22 11:27:02 +13:00
0c30ac49e5 Dutch (nederlands) and German updates 2010-02-22 11:27:02 +13:00
ecc2d13efb Nepalese and Dutch (Nederlands) 2010-02-22 11:27:01 +13:00
fd6d7a3063 Dutch flemish opac update 2010-02-22 11:27:01 +13:00
f9678594b5 Language updates 2010-02-22 11:27:00 +13:00
af8f7fc3b1 Shifting dutch to dutch, flemish 2010-02-22 11:26:53 +13:00
21c7f786bf bug 1532: various code cleanup
* export C4::Reserves::CancelExpiredReserves
* rename  misc/cronjobs/cancel_expired_reserves.pl
  to misc/cronjobs/holds/cancel_expired_holds.pl
* added cancel_expired_holds.pl to example crontab
* fix staff crash if AllowHoldDateInFuture is on
* expirationdate is now nullable instead of relying
  on 0000-00-00

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 22:49:48 -05:00
Kyle M Hall
3502810346 (bug 1532) Reserves Updates Ported From Dev_Week
This is a much improved re-implementation of the reserves updates from dev_week.
Less new code has been added, and more existing functions are used instead of adding new ones.

The 'Lock Hold' function has been removed due to it not working as intended.

[RM note for documentation: this adds the following features:

* ability to specify an expiration date for a hold request
  when placing it via the staff interface or OPAC
* daily batch job to cancel expired holds
* nice interface to change the priority of hold
  requests for a bib in the staff interface]

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 22:49:47 -05:00
Michael Hafen
0d2095072e add memcached questions to koha-install-log
Add the use_memcached question to rewrite-config.pl and all three questions
to koha-install-log.  So that we don't have to keep answering these questions
when we upgrade/install with the --prev-install-log option.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 13:46:55 -05:00
66aaf0726e update RM notes for new translation wrapper script
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 12:06:50 -05:00
3c3aac0848 Follow up for new translation wrapper
(cherry picked from commit 17bdeb66e041f295214d1406620669c090b4e4de)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 11:43:42 -05:00
c05b7747b9 New wrapper script for handling translation process
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 11:39:24 -05:00
Chris Nighswonger
599887a185 Bugfix: [1/3] overdue_notices.pl does not process all advertised fields
Note: overdue_notices.pl really needs to be completely re-written.

The script does not process all fields advertised in tools/letter.pl
This patch adds code to process all fields advertised as well as any
from the items table.

It also adds two additional tags for use in the letter templates:

<item></item> which should enclose all fields from the biblio, biblioitems,
and items tables.

<fine></fine> which should be enclosed by the item tag and should
enclose a currency identifier per ISO 4217. If this tag is present with
a proper identifier, the fine for that item will be displayed in the
proper currency format. Note: ISO 4217 changes from time to time therefore
all currencies may not be supported. If you find one that is not
supported, please file a bug with the Locale::Currency::Format author
Tan D Nguyen <tnguyen at cpan doe org>.

An example of the implimentation of these two tags in a notice template
might be like:

The following item(s) is/are currently overdue:

<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <fine>GBP</fine></item>

Which, assuming two items were overdue, would result in a notice like:

The following item(s) is/are currently overdue:

"A Short History of Western Civilization" by Harrison, John B, 909.09821 H2451, Barcode: 08030003 Fine: £3.50
"History of Western Civilization" by Hayes, Carlton Joseph Huntley, 909.09821 H3261 v.1, Barcode: 08030004 Fine: £3.50

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-17 06:36:01 -05:00
84b3c05c0d Bug 2959 - Add a timeout parameter to the URL checker
Could improve performances for DB containing URLs which can't be fetched
(good or bad) quickly.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-16 06:48:01 -05:00
4b186cc95b Update fr-FR preferences
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-16 06:09:50 -05:00
9dee98a0c9 Bug 2959 - Cache already failed URLs to speedup check-url.pl
Based on David Schuster improvement patch.

For David:

- To send the output into an HTML file, there is no need to add a
  paramater to this script, just redirect to a file:

  check-url --html --host-prot=http://koha-pro.mylib.org \\
    > /usr/local/koha/koha-tmpl/badurls.html

- If you want as a result a table with alternate rows, use CSS and
  JavaScript. For example, with jQuery (found with google):

  <style type="text/css">
  table {width:400px; border:1px solid blue;}
  .oddrow {background-color:#E5E5E5;}
  </style>
  <script type="text/javascript"
   src="http://code.jquery.com/jquery-latest.min.js"></script>
  <script type="text/javascript">
  $(function(){
    $("table.tiger-stripe tr:even").addClass("oddrow");
  });

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-14 19:45:54 -05:00
33230acc29 Bug 4154 - Include preferences translation into install.pl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-12 07:17:32 -05:00
2da4f30214 Bug 4154 - Follow-up
- Modify install-code.pl to install prefs with templates
- Update .po preferences file in order to get last 'en' preferences

For 3.4, I will do a script which will handle together the 3 .po file:
opac, intranet and preferences (and .tt files if necessary). Don't do it
now, since it will change files naming convention.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-11 18:00:20 -05:00
01c619fc17 Bug 4154 - Add a .po based mechanism to translate preferences
Add to previous patch (and replace it):
  - update function
  - translation of tab subsection labels
  - GPL2
  - fix last minute bug catched by Galen

Cut-and-past of pref-trans script perldoc:

NAME
       pref-trans - Handle preferences translation

SYNOPSYS
         pref-trans init fr-FR
         pref-trans update fr-FR
         pref-trans install fr-FR

USAGE
       pref-trans init lang
           Create a .po file in po directory, named lang-pref.po. This
           file contains text to translate extracted from .pref files.

       pref-trans update lang
           Update a .po file in po directory, named lang-pref.po. This
           file contains new text to translate extracted from .pref files.
           Previous translated text are kept. There is a minor bug, which can’t
           be fixed due to preferences data struture: preferences tab
           subsection labels are lost when updating .po file.

       pref-trans install lang
           Use lang-pref.po file to translate the english version of
           preferences files and copy those files in the appropriate
           directory.

DESCRIPTION
       Koha preferences are stored in a data structure found in
       koha-tmpl/intranet-tmpl/en/module/admin/preferences/ files.
       Depending of user language, other files are used. This script extract text
       from ’en’ preference files, and put them in one .po file.  This .po
       file can be updated. When completed, a .po file can be applied to create
       localized versions of preferences templates.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-11 05:52:50 -05:00
d3df9899fb French .po file for preferences
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-11 05:52:35 -05:00
f13f4b287c forward-port rest of changes to 3.0.1 release notes
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:38:01 -05:00
Henri-Damien LAURENT
932e937422 Adding a translation note.
(cherry picked from commit bd385c2248)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:34:23 -05:00
Henri-Damien LAURENT
b858912f5f Adding release notes for 3.0.1
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
(cherry picked from commit 7ce704ad98)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:34:09 -05:00
Henri-Damien LAURENT
c4ef8aaead minor update on release notes
(cherry picked from commit 65ac4e38ab)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:33:15 -05:00
eb6a87d401 Henri-Damien Laurent's release notes and version 3.0.2
(cherry picked from commit d010503b80)

Conflicts:

	Makefile.PL

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:32:23 -05:00
Henri-Damien LAURENT
abcb402f0a Preparing 3.0.3
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:31:05 -05:00
Ricardo Dias Marques
407da250e2 Updated references to Portuguese translation in Release Notes
Updated references to Portuguese translation in Release Notes
for the 3.0.4 Release:

- For OPAC, removed pt-PT from the list of Partial translations
  (because it already correctly appears in the list of complete ones)

- For Staff client, added pt-PT to the list of Partial translations
(cherry picked from commit f4eb63c728)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:29:31 -05:00
Henri-Damien LAURENT
59b67df036 Followup release notes
list involved in release notes for koha-devel were wrong
Thanks ricardo
(cherry picked from commit 0521828140)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:29:10 -05:00
Henri-Damien LAURENT
a37cc5b27e Adding release notes
(cherry picked from commit 2eba46985b)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:28:50 -05:00
Henri-Damien LAURENT
feb5cdfc8a Update on release notes
(cherry picked from commit 5983a8c381)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:28:14 -05:00
Henri-Damien LAURENT
7407f0af72 Adding 3.0.5 release notes
(cherry picked from commit cbaa3da19f)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:27:50 -05:00
5916908e35 Bug 4125 - Reformat with perldoc bulkmarcimport.pl doc
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-06 08:06:07 -05:00
f36c042b80 Merge commit 'workbuffer.org-koha/translation' into to-push
Conflicts:
	installer/data/mysql/updatedatabase.pl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-02 19:10:41 -05:00
3cddfae927 Adding source files for Koha logo and OPAC button background. Bug 3680.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-02 18:35:25 -05:00
721c1047ee German updates 2010-01-29 08:45:29 +13:00
d3421476cc Tetun and English(NZ) updates 2010-01-29 08:45:28 +13:00
b739da5d5e German, Italian and Polish updates 2010-01-29 08:45:28 +13:00