koha.git
16 years agoAvoid double renew button when subscription is over
Henri-Damien LAURENT [Tue, 15 Jan 2008 17:39:12 +0000 (11:39 -0600)]
Avoid double renew button when subscription is over

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding syspref PatronsPerPage
Henri-Damien LAURENT [Tue, 15 Jan 2008 17:39:11 +0000 (11:39 -0600)]
adding syspref PatronsPerPage

PatronsPerPage stores the number of patrons to display per page.
Default is 20

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1541, Show area name rather than number
Chris Cormack [Mon, 14 Jan 2008 23:00:29 +0000 (17:00 -0600)]
Fix for bug 1541, Show area name rather than number

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing a broken redirect in the reports dictionary
Chris Cormack [Mon, 14 Jan 2008 23:00:28 +0000 (17:00 -0600)]
Fixing a broken redirect in the reports dictionary

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing a bug where a cgi object wasnt being passed, in the reports dictionary
Chris Cormack [Mon, 14 Jan 2008 23:00:27 +0000 (17:00 -0600)]
Fixing a bug where a cgi object wasnt being passed, in the reports dictionary

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFinishing off bug 1427, if the person has ReturnBeforeExpiry set they are
Chris Cormack [Mon, 14 Jan 2008 20:38:03 +0000 (14:38 -0600)]
Finishing off bug 1427, if the person has ReturnBeforeExpiry set they are

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSmall change to fix alignment of login menu
Owen Leonard [Mon, 14 Jan 2008 18:59:00 +0000 (12:59 -0600)]
Small change to fix alignment of login menu

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOverhaul to Koha's js-menu systems. New language-picker in the footer required more...
Owen Leonard [Mon, 14 Jan 2008 18:58:59 +0000 (12:58 -0600)]
Overhaul to Koha's js-menu systems. New language-picker in the footer required more flexibility than jquery's clickmenu plugin offered, so both the language picker and the main navigation menu now use YUI's menu plugin. The necessary dependencies have been added, and ClickMenu-related files removed.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoPatch
Frédéric DEMIANS [Mon, 14 Jan 2008 18:58:58 +0000 (12:58 -0600)]
Patch

See attached file. Thanks.

>From b0d40589f4fa0921ee05073b14903ed79b90c474 Mon Sep 17 00:00:00 2001
From: Frederic DEMIANS <f.demians@tamil.fr>
Date: Mon, 14 Jan 2008 14:20:35 +0100
Subject: [PATCH] Sample News in French

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging Libraryname heading style so it displays
Russel Garlick [Mon, 14 Jan 2008 18:58:57 +0000 (12:58 -0600)]
Changing Libraryname heading style so it displays

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1539
Chris Cormack [Mon, 14 Jan 2008 01:43:07 +0000 (19:43 -0600)]
Fix for bug 1539

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for if a supplier is added without a name
Chris Cormack [Mon, 14 Jan 2008 00:39:05 +0000 (18:39 -0600)]
Fix for if a supplier is added without a name

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1428
Chris Cormack [Sun, 13 Jan 2008 23:59:41 +0000 (17:59 -0600)]
Fix for bug 1428

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1762, links on bookcount.pl dont work
Chris Cormack [Sun, 13 Jan 2008 18:42:59 +0000 (12:42 -0600)]
Fix for bug 1762, links on bookcount.pl dont work

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoGoing to next line for each search line in searchbox
Paul POULAIN [Sun, 13 Jan 2008 07:39:13 +0000 (01:39 -0600)]
Going to next line for each search line in searchbox

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding OpacRenewalAllowed systempref (bump to 047)
Paul POULAIN [Sun, 13 Jan 2008 07:39:12 +0000 (01:39 -0600)]
Adding OpacRenewalAllowed systempref (bump to 047)

to let the library decide wheter their patrons can or can't renew checked-out items directly from their account.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoA book can be renewed if renewalsallowed > to renewals done, not >=
Paul POULAIN [Sun, 13 Jan 2008 07:39:11 +0000 (01:39 -0600)]
A book can be renewed if renewalsallowed > to renewals done, not >=

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agodisplay notforloanvalue correctly
Paul POULAIN [Sun, 13 Jan 2008 07:39:10 +0000 (01:39 -0600)]
display notforloanvalue correctly

Not displaying Available if itemnotforloan is set (& item is not for loan)
The description of the status is enough (being repaired, excluded from loan, ...)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosome reindenting
Paul POULAIN [Sun, 13 Jan 2008 07:39:09 +0000 (01:39 -0600)]
some reindenting

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitemtypes.pl - partial revisions, incl. replacement of invalid META Refresh calls
Joe Atzberger [Sat, 12 Jan 2008 13:25:01 +0000 (07:25 -0600)]
itemtypes.pl - partial revisions, incl. replacement of invalid META Refresh calls

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoDates - remove extra newlines from carps, add partial "00" date tests to Dates.t
Joe Atzberger [Sat, 12 Jan 2008 13:25:00 +0000 (07:25 -0600)]
Dates - remove extra newlines from carps, add partial "00" date tests to Dates.t

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOutput.pm - silence unconditional warn.
Joe Atzberger [Sat, 12 Jan 2008 13:24:59 +0000 (07:24 -0600)]
Output.pm - silence unconditional warn.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoShelves consolidation to C4::VirtualShelves::Page. I can tell the consolidation
Joe Atzberger [Sat, 12 Jan 2008 13:24:58 +0000 (07:24 -0600)]
Shelves consolidation to C4::VirtualShelves::Page. I can tell the consolidation

worked b/c the pages still display their previous behavior, including unfixed bugs.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadd three missing packages to Debian list
Galen Charlton [Sat, 12 Jan 2008 13:24:56 +0000 (07:24 -0600)]
add three missing packages to Debian list

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding a few _() for translator
Paul POULAIN [Fri, 11 Jan 2008 08:57:12 +0000 (02:57 -0600)]
adding a few _() for translator

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agohdl has added a Text::Iconv dependancy yesterday, checking it in installer
Paul POULAIN [Fri, 11 Jan 2008 08:57:10 +0000 (02:57 -0600)]
hdl has added a Text::Iconv dependancy yesterday, checking it in installer

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agotranslation for subtag_registry
Paul POULAIN [Fri, 11 Jan 2008 08:57:09 +0000 (02:57 -0600)]
translation for subtag_registry

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocategory entry javascript fix
Ryan Higgins [Fri, 11 Jan 2008 07:32:09 +0000 (01:32 -0600)]
category entry javascript fix

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRevert "adding TRUNCATES before INSERTS"
Mason James [Thu, 10 Jan 2008 22:45:42 +0000 (16:45 -0600)]
Revert "adding TRUNCATES before INSERTS"

This reverts commit 732c11be895b3b2c79942c1071d11f497d87f1dc.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for 1599 getting expiry date prepopulating on member entry
Chris Cormack [Thu, 10 Jan 2008 21:22:42 +0000 (15:22 -0600)]
Fix for 1599 getting expiry date prepopulating on member entry

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoLabels.pm - BEGIN block VERSION and vars related to export.
Joe Atzberger [Thu, 10 Jan 2008 21:22:41 +0000 (15:22 -0600)]
Labels.pm - BEGIN block VERSION and vars related to export.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocatalogue - exit after redirect in detail.pl and updateitem.pl
Joe Atzberger [Thu, 10 Jan 2008 21:22:40 +0000 (15:22 -0600)]
catalogue - exit after redirect in detail.pl and updateitem.pl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofix record->field call on autobarcode
Ryan Higgins [Thu, 10 Jan 2008 21:18:19 +0000 (15:18 -0600)]
fix record->field call on autobarcode

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoPopulate serialitems table, bugfix
Ryan Higgins [Thu, 10 Jan 2008 18:29:19 +0000 (12:29 -0600)]
Populate serialitems table, bugfix

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agonomenclature changes and hide advanced numbering by default
Ryan Higgins [Thu, 10 Jan 2008 16:14:39 +0000 (10:14 -0600)]
nomenclature changes and hide advanced numbering by default

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoEscaping the $title in the regexes with \Q and \E to handle nested quantifiers, cheer...
Mason James [Thu, 10 Jan 2008 05:47:34 +0000 (23:47 -0600)]
Escaping the $title in the regexes with \Q and \E to handle nested quantifiers, cheers chris :)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoShelves reworking - fix handling of itemtype images, symlink to opac icons.
Joe Atzberger [Thu, 10 Jan 2008 05:47:33 +0000 (23:47 -0600)]
Shelves reworking - fix handling of itemtype images, symlink to opac icons.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding TRUNCATES before INSERTS
Mason James [Thu, 10 Jan 2008 05:47:32 +0000 (23:47 -0600)]
adding TRUNCATES before INSERTS

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoShelves - bugfix, toggle "Holds" link, add "Author" column to intranet
Joe Atzberger [Wed, 9 Jan 2008 21:52:49 +0000 (15:52 -0600)]
Shelves - bugfix, toggle "Holds" link, add "Author" column to intranet

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofix for 1754; fixing I18N BiDi, improvements to handling of language
Joshua Ferraro [Wed, 9 Jan 2008 21:02:40 +0000 (15:02 -0600)]
fix for 1754; fixing I18N BiDi, improvements to handling of language

TODO: clean up the OPAC similarly

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing unclosed TMPL_UNLESS, reported in Bug 1757.
Owen Leonard [Wed, 9 Jan 2008 21:02:39 +0000 (15:02 -0600)]
Fixing unclosed TMPL_UNLESS, reported in Bug 1757.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding yuipath variable to help.pl, and doing some cleanup of help templates (standar...
Owen Leonard [Wed, 9 Jan 2008 20:38:58 +0000 (14:38 -0600)]
Adding yuipath variable to help.pl, and doing some cleanup of help templates (standardizing structure, mostly, and correcting some nomenclature).

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1686
Chris Cormack [Wed, 9 Jan 2008 20:37:43 +0000 (14:37 -0600)]
Fix for bug 1686

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCalendar (js) tweaks: histsearch fixed, viewlog template updated
Joe Atzberger [Wed, 9 Jan 2008 20:02:15 +0000 (14:02 -0600)]
Calendar (js) tweaks: histsearch fixed, viewlog template updated

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving unused include
Owen Leonard [Wed, 9 Jan 2008 20:02:14 +0000 (14:02 -0600)]
Removing unused include

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCleanup for member entry: XHTML-compliance (close inputs, ids must match labels)...
Owen Leonard [Wed, 9 Jan 2008 20:02:13 +0000 (14:02 -0600)]
Cleanup for member entry: XHTML-compliance (close inputs, ids must match labels) and translator-friendliness (can't embed TMPL_IF inside tags); Cleanup of circ and members menus; Menu context flag for readingrec.pl; Correction to Auth.pm (updatecharge -> updatecharges)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging circ redirect to use borrowernumber instead of cardnumber: If you edited...
Owen Leonard [Wed, 9 Jan 2008 20:02:12 +0000 (14:02 -0600)]
Changing circ redirect to use borrowernumber instead of cardnumber: If you edited a patron's record to change their cardnumber the redirect would fail because it used the old number.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1400, some variables not being passed to the branch transfers
Chris Cormack [Wed, 9 Jan 2008 19:36:40 +0000 (13:36 -0600)]
Fix for bug 1400, some variables not being passed to the branch transfers

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agonewordersuggestion.tmpl - minor clarification on empty list message
Joe Atzberger [Wed, 9 Jan 2008 19:14:28 +0000 (13:14 -0600)]
newordersuggestion.tmpl - minor clarification on empty list message

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSuggestions.pm - bugfix need CGI argument to gettemplate
Joe Atzberger [Wed, 9 Jan 2008 19:14:27 +0000 (13:14 -0600)]
Suggestions.pm - bugfix need CGI argument to gettemplate

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoVirtualShelves.pm - expanded SQL for shelf contents, fixes bug of no itemtypes displa...
Joe Atzberger [Wed, 9 Jan 2008 19:14:26 +0000 (13:14 -0600)]
VirtualShelves.pm - expanded SQL for shelf contents, fixes bug of no itemtypes displaying.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCirculation.pm - cleanup, clarification of HLT-specific behavior. Please confirm...
Joe Atzberger [Wed, 9 Jan 2008 19:14:25 +0000 (13:14 -0600)]
Circulation.pm - cleanup, clarification of HLT-specific behavior. Please confirm HLT-specific code is still needed and OK.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1624
Chris Cormack [Wed, 9 Jan 2008 19:10:21 +0000 (13:10 -0600)]
Fix for bug 1624

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoUse serialitems table to link to serial in Items.pm
Ryan Higgins [Wed, 9 Jan 2008 03:36:49 +0000 (21:36 -0600)]
Use serialitems table to link to serial in Items.pm

Also update staff client with serialseq and publisheddate for serial items.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding a few missing sysprefs
Joshua Ferraro [Wed, 9 Jan 2008 03:04:55 +0000 (22:04 -0500)]
adding a few missing sysprefs

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocouple of commas out of place
Joshua Ferraro [Wed, 9 Jan 2008 02:29:33 +0000 (21:29 -0500)]
couple of commas out of place

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for typo, leftover index on 046 updatedb commit.
Ryan Higgins [Wed, 9 Jan 2008 02:08:41 +0000 (20:08 -0600)]
Fix for typo, leftover index on 046 updatedb commit.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMore replace statements, this time admin/printers.pl
Chris Cormack [Wed, 9 Jan 2008 01:41:25 +0000 (19:41 -0600)]
More replace statements, this time admin/printers.pl

Bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving replace from stopwords.pl
Chris Cormack [Wed, 9 Jan 2008 01:41:24 +0000 (19:41 -0600)]
Removing replace from stopwords.pl

More bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoWhoops fixing the update call, had params round the wrong way
Chris Cormack [Wed, 9 Jan 2008 01:41:23 +0000 (19:41 -0600)]
Whoops fixing the update call, had params round the wrong way

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving replace from admin/roadtype.pl
Chris Cormack [Wed, 9 Jan 2008 01:41:22 +0000 (19:41 -0600)]
Removing replace from admin/roadtype.pl

Bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoKilling more replace statements, bug 1546
Chris Cormack [Wed, 9 Jan 2008 01:41:21 +0000 (19:41 -0600)]
Killing more replace statements, bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving replace sql from admin/letter.pl as per bug 1546
Chris Cormack [Wed, 9 Jan 2008 01:01:37 +0000 (19:01 -0600)]
Removing replace sql from admin/letter.pl as per bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving replace statement from C4::Branch as per bug 1546
Chris Cormack [Wed, 9 Jan 2008 00:03:25 +0000 (18:03 -0600)]
Removing replace statement from C4::Branch as per bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoImproving encoding Support for z3950 clients.
Henri-Damien LAURENT [Tue, 8 Jan 2008 22:43:22 +0000 (16:43 -0600)]
Improving encoding Support for z3950 clients.

Adding encoding for z3950 server information.
Uses Text::Iconv for conversion (ISO6937 and ISO_5428 and ISO5427)
For ISO 5426 (ANSEL or MARC-8) new char_decode5426 based on marc4j tool.

Not Tested on LOC or any USMARC z3950 source. But tested OK on BNF and SUDOC.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding encoding management to z3950
Henri-Damien LAURENT [Tue, 8 Jan 2008 22:43:21 +0000 (16:43 -0600)]
adding encoding management to z3950

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomore logs for MARC::Charset problems
Henri-Damien LAURENT [Tue, 8 Jan 2008 22:43:20 +0000 (16:43 -0600)]
more logs for MARC::Charset problems

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding generic OPAC translation
Joshua Ferraro [Wed, 9 Jan 2008 00:50:58 +0000 (19:50 -0500)]
adding generic OPAC translation

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoupdating generic translation POT file
Joshua Ferraro [Tue, 8 Jan 2008 23:37:45 +0000 (18:37 -0500)]
updating generic translation POT file

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agorenaming translation files to conform to our standard convention. Moving stats.pl...
Joshua Ferraro [Tue, 8 Jan 2008 23:23:55 +0000 (18:23 -0500)]
renaming translation files to conform to our standard convention. Moving stats.pl and update.pl out of the po/ dir to avoid conflicts with kartouche stats system

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing renewal error messages for todays issues in circulation.tmpl
Chris Cormack [Tue, 8 Jan 2008 22:08:16 +0000 (16:08 -0600)]
Fixing renewal error messages for todays issues in circulation.tmpl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1740
Chris Cormack [Tue, 8 Jan 2008 22:08:15 +0000 (16:08 -0600)]
Fix for bug 1740

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSwitching debug back off ... whoops
Chris Cormack [Tue, 8 Jan 2008 21:44:18 +0000 (15:44 -0600)]
Switching debug back off ... whoops

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging CanBookBeRenewed to pass back the reason a renewal cannot proceed
Chris Cormack [Tue, 8 Jan 2008 21:44:17 +0000 (15:44 -0600)]
Changing CanBookBeRenewed to pass back the reason a renewal cannot proceed

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCHANGE TO PREVIOUS .046 DATABASE UPDATE
Ryan Higgins [Tue, 8 Jan 2008 21:17:00 +0000 (15:17 -0600)]
CHANGE TO PREVIOUS .046 DATABASE UPDATE

This commit changes .046 updatedatebase , where itemnumber was changed
to int and keyed on items table.  As there is code in serials module that
uses itemnumber (text) as a list of itemnumbers, this change would cause data
loss if that field had multiple items in it.
Instead, we add a new table to link serial and items tables, so that
(1) we can have many items per serial issue, and
(2) staged upgrades that use the serial.itemnumber (text) list won't be affected.
Further commits will make use of the serialitems linking table.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding redirect parameter to opac-userupdate.pl so that message can be displayed...
Owen Leonard [Tue, 8 Jan 2008 21:16:59 +0000 (15:16 -0600)]
Adding redirect parameter to opac-userupdate.pl so that message can be displayed on opac-user.pl when patron submits changes. Copying dialog styles from staff client.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSome cleanup of new till reconciliation page, including adding menu item to sidebar...
Owen Leonard [Tue, 8 Jan 2008 21:16:58 +0000 (15:16 -0600)]
Some cleanup of new till reconciliation page, including adding menu item to sidebar menu and adding date format system pref to the script.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging z3950 search in cataloguing to use the name rather than the host
Chris Cormack [Tue, 8 Jan 2008 20:31:54 +0000 (14:31 -0600)]
Changing z3950 search in cataloguing to use the name rather than the host

when listing z3950 servers to search

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1753
Chris Cormack [Tue, 8 Jan 2008 20:31:53 +0000 (14:31 -0600)]
Fix for bug 1753

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremove extra warn left in by mistake
Galen Charlton [Tue, 8 Jan 2008 19:44:29 +0000 (13:44 -0600)]
remove extra warn left in by mistake

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoimproved instructions for installing DBD::mysql
Galen Charlton [Tue, 8 Jan 2008 18:57:34 +0000 (12:57 -0600)]
improved instructions for installing DBD::mysql

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agotest suite cleanup
Galen Charlton [Tue, 8 Jan 2008 18:57:33 +0000 (12:57 -0600)]
test suite cleanup

Many of the tests were failing or putting warnings
because a valid systempreferences table is
usaully absent by the time 'make test' is run.

Fortunately, only a few modules try to invoke
C4::Context->preference during module initialization,
so added to the test suite override_context_prefs.pm,
which replaces preference() with a sub to return
testing values for three variables: 'dateformat',
'marcflavour', and 'LibraryName'.

Also fixed bug in t/Boolean.t

With this patch and the patch to move the DB-dependent
tests off to the side for the moment, 'make test'
now runs cleanly, at least on Debian.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMakefile.PL - set KOHA_CONF for make test
Galen Charlton [Tue, 8 Jan 2008 18:57:32 +0000 (12:57 -0600)]
Makefile.PL - set KOHA_CONF for make test

KOHA_CONF now set to blib/KOHA_CONF_DIR/koha-conf.xml
for the purpose of running the test suite.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoDB-dependent tests moved
Galen Charlton [Tue, 8 Jan 2008 18:57:31 +0000 (12:57 -0600)]
DB-dependent tests moved

Moved test cases that depend on the DBMS and having
an initialized Koha database to a subdirectory
of t so that they will not be swept up into
the default 'make test'.  Goal is to have
these DB-dependent tests runnable either via
a special make target or perhaps from the
web installer.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agot/Date.t - now uses Test::More
Galen Charlton [Tue, 8 Jan 2008 18:57:30 +0000 (12:57 -0600)]
t/Date.t - now uses Test::More

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoved t/Charset.t
Galen Charlton [Tue, 8 Jan 2008 18:57:29 +0000 (12:57 -0600)]
removed t/Charset.t

Functions being tested no longer exist

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoC4::Output tests -- removed inccorect tests
Galen Charlton [Tue, 8 Jan 2008 18:57:28 +0000 (12:57 -0600)]
C4::Output tests -- removed inccorect tests

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBugFix for Circulation
Henri-Damien LAURENT [Tue, 8 Jan 2008 18:57:27 +0000 (12:57 -0600)]
BugFix for Circulation

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding feature : multiple returns via moremember page.
Henri-Damien LAURENT [Tue, 8 Jan 2008 18:57:26 +0000 (12:57 -0600)]
Adding feature : multiple returns via moremember page.

Adding Connection for renewScript
Adding javascript functions to moremeber.tmpl
Adding error management for returns.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFramework update: make cn_itempart visible, rm mandatory on 300$a.
Ryan Higgins [Tue, 8 Jan 2008 18:57:25 +0000 (12:57 -0600)]
Framework update: make cn_itempart visible, rm mandatory on 300$a.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoUndo strange copy-paste error from last commit
MJ Ray [Tue, 8 Jan 2008 18:57:24 +0000 (12:57 -0600)]
Undo strange copy-paste error from last commit

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agodie on db connection failure
MJ Ray [Tue, 8 Jan 2008 18:57:23 +0000 (12:57 -0600)]
die on db connection failure

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoLanguages.pm - add a carp for bad arg, return undef upon failure
Joe Atzberger [Tue, 8 Jan 2008 18:57:22 +0000 (12:57 -0600)]
Languages.pm - add a carp for bad arg, return undef upon failure

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoedithelp.pl - cleanup, refactor and error feedback to user
Joe Atzberger [Tue, 8 Jan 2008 18:57:21 +0000 (12:57 -0600)]
edithelp.pl - cleanup, refactor and error feedback to user

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOutput.pm - integrity checks prevent warns, author should judge FIXME's
Joe Atzberger [Tue, 8 Jan 2008 18:57:20 +0000 (12:57 -0600)]
Output.pm - integrity checks prevent warns, author should judge FIXME's

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agohelp.pl - bugfix module usage (HTML::Template::Pro)
Joe Atzberger [Tue, 8 Jan 2008 18:57:19 +0000 (12:57 -0600)]
help.pl - bugfix module usage (HTML::Template::Pro)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoborrowers_stats.pl - silence warning
Joe Atzberger [Tue, 8 Jan 2008 18:57:18 +0000 (12:57 -0600)]
borrowers_stats.pl - silence warning

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agohelp templates and includes - cleanup for XHTML validation, error display
Joe Atzberger [Tue, 8 Jan 2008 18:57:17 +0000 (12:57 -0600)]
help templates and includes - cleanup for XHTML validation, error display

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding translations to OPAC
Joshua Ferraro [Tue, 8 Jan 2008 17:14:29 +0000 (12:14 -0500)]
adding translations to OPAC

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomisc/translator/po/hy-Armn-i-staff-prog-v-30000.pot update
Joshua Ferraro [Tue, 8 Jan 2008 06:50:40 +0000 (01:50 -0500)]
misc/translator/po/hy-Armn-i-staff-prog-v-30000.pot update

Signed-off-by: Joshua Ferraro <jmf@liblime.com>