koha-ffzg.git
21 years agoFormatting dollar outputs ($8.50 instead of 8.5) R_1-2-3RC22
tonnesen [Tue, 29 Oct 2002 22:53:28 +0000 (22:53 +0000)]
Formatting dollar outputs ($8.50 instead of 8.5)

21 years agobuildrelease now puts the test scripts in $intranetdir/scripts/t/ R_1-2-3RC21
tonnesen [Tue, 29 Oct 2002 20:22:32 +0000 (20:22 +0000)]
buildrelease now puts the test scripts in $intranetdir/scripts/t/

21 years agoAdded check for environment variable 'nonproductioneserver' before running
tonnesen [Tue, 29 Oct 2002 20:05:44 +0000 (20:05 +0000)]
Added check for environment variable 'nonproductioneserver' before running
these tests.

21 years ago3 more circ tests.
tonnesen [Tue, 29 Oct 2002 19:59:05 +0000 (19:59 +0000)]
3 more circ tests.

21 years agoNew test script for circulation module.
tonnesen [Tue, 29 Oct 2002 19:47:57 +0000 (19:47 +0000)]
New test script for circulation module.

21 years agoRemoved "warn" line.
tonnesen [Tue, 29 Oct 2002 19:46:05 +0000 (19:46 +0000)]
Removed "warn" line.

21 years agoAdded some more tests to catalog.t
tonnesen [Tue, 29 Oct 2002 19:26:27 +0000 (19:26 +0000)]
Added some more tests to catalog.t

21 years agoAdded some more cataloging tests.
tonnesen [Tue, 29 Oct 2002 18:05:09 +0000 (18:05 +0000)]
Added some more cataloging tests.

21 years agoBug fixes... some found through new catalog.t test!
tonnesen [Tue, 29 Oct 2002 16:48:51 +0000 (16:48 +0000)]
Bug fixes... some found through new catalog.t test!

21 years agoTest script for testing actual web scripts. This test will require Koha to be
tonnesen [Tue, 29 Oct 2002 16:47:35 +0000 (16:47 +0000)]
Test script for testing actual web scripts.  This test will require Koha to be
installed with the sample data.  It will run the web scripts with sample form
input data and check for strings in the resulting web page (ie biblionumbers in
search results).

21 years agobuildrelease now supports 1.2 and 1.3 branches automatically
tonnesen [Mon, 28 Oct 2002 22:59:46 +0000 (22:59 +0000)]
buildrelease now supports 1.2 and 1.3 branches automatically

21 years agoRemoving file
tonnesen [Mon, 28 Oct 2002 22:07:49 +0000 (22:07 +0000)]
Removing file

21 years agoMerging new files from trunk to rel-1-2
tonnesen [Mon, 28 Oct 2002 22:06:48 +0000 (22:06 +0000)]
Merging new files from trunk to rel-1-2

21 years agoMoving member templates to member subdir to match location in trunk
tonnesen [Mon, 28 Oct 2002 22:05:55 +0000 (22:05 +0000)]
Moving member templates to member subdir to match location in trunk

21 years agoAdded hint for KohaAdminEmailAddress
tonnesen [Mon, 28 Oct 2002 21:00:24 +0000 (21:00 +0000)]
Added hint for KohaAdminEmailAddress

21 years agoMade patron update request email address into a system preference: KohaAdminEmailAddress.
tonnesen [Mon, 28 Oct 2002 20:54:33 +0000 (20:54 +0000)]
Made patron update request email address into a system preference: KohaAdminEmailAddress.

21 years agoMerging from trunk to rel-1-2
tonnesen [Mon, 28 Oct 2002 19:56:01 +0000 (19:56 +0000)]
Merging from trunk to rel-1-2

21 years agoWas loading 'printcirculationslips' parameter from config file instead of
tonnesen [Mon, 28 Oct 2002 18:24:23 +0000 (18:24 +0000)]
Was loading 'printcirculationslips' parameter from config file instead of
system preferences.  Switched to using Context.pm to load system prefs.

21 years agoBug broke illustrator searching.
tonnesen [Mon, 28 Oct 2002 18:01:48 +0000 (18:01 +0000)]
Bug broke illustrator searching.

21 years agoMerging from trunk to rel-1-2
tonnesen [Mon, 28 Oct 2002 17:45:14 +0000 (17:45 +0000)]
Merging from trunk to rel-1-2

21 years agoAdding Context.pm to rel-1-2 branch to allow more complete merging of scripts
tonnesen [Mon, 28 Oct 2002 17:16:49 +0000 (17:16 +0000)]
Adding Context.pm to rel-1-2 branch to allow more complete merging of scripts
with main trunk, and because it's just too cool to leave out any longer.  :)

21 years agoAdded three new systempreferences hints (dateformat, printcirculationslips, and
tonnesen [Fri, 25 Oct 2002 22:30:18 +0000 (22:30 +0000)]
Added three new systempreferences hints (dateformat, printcirculationslips, and
printreserveslips).

21 years agoFix to form for setting z39.50 server parameters. Sanity checks were broken.
tonnesen [Fri, 25 Oct 2002 22:22:21 +0000 (22:22 +0000)]
Fix to form for setting z39.50 server parameters.  Sanity checks were broken.

21 years agoStrips userid and password parameters off URL parameters list. R_1-2-3RC20
tonnesen [Fri, 25 Oct 2002 21:52:31 +0000 (21:52 +0000)]
Strips userid and password parameters off URL parameters list.

21 years agoFixes form focusing bug in Internet Explorer
tonnesen [Fri, 25 Oct 2002 19:43:33 +0000 (19:43 +0000)]
Fixes form focusing bug in Internet Explorer

21 years agoMoved bulkmracimport.pl to scripts directory (through buildrelease script)
tonnesen [Fri, 25 Oct 2002 18:52:46 +0000 (18:52 +0000)]
Moved bulkmracimport.pl to scripts directory (through buildrelease script)
Made bulkmarcimport.pl and updatedatabase able to run from the command line
without specifying the location of the C4 module directory (determines the
directory from /etc/koha.conf).

21 years agoAdded admin script for editing z39.50 server list.
tonnesen [Fri, 25 Oct 2002 18:28:39 +0000 (18:28 +0000)]
Added admin script for editing z39.50 server list.

21 years agoInitialize the dateformat systempreference variable to 'metric' if it doesn't
tonnesen [Fri, 25 Oct 2002 17:34:33 +0000 (17:34 +0000)]
Initialize the dateformat systempreference variable to 'metric' if it doesn't
exist.

21 years agoNew system preference for setting date format when entering patron birth dates.
tonnesen [Fri, 25 Oct 2002 17:23:41 +0000 (17:23 +0000)]
New system preference for setting date format when entering patron birth dates.
Defaults to non-us if not set.

21 years agoAdded system parameters links to bottom navigation bar and removed HLT links.
tonnesen [Fri, 25 Oct 2002 17:04:00 +0000 (17:04 +0000)]
Added system parameters links to bottom navigation bar and removed HLT links.

21 years agoRemoving Finlay's demo information from login screen.
tonnesen [Fri, 25 Oct 2002 16:40:01 +0000 (16:40 +0000)]
Removing Finlay's demo information from login screen.

21 years agoFixes mysql syntax errors logged to apache log files when performing subject
tonnesen [Fri, 25 Oct 2002 16:36:32 +0000 (16:36 +0000)]
Fixes mysql syntax errors logged to apache log files when performing subject
searches.

21 years agoAdded use C4::Database for configfile() routine
tonnesen [Thu, 24 Oct 2002 20:55:01 +0000 (20:55 +0000)]
Added use C4::Database for configfile() routine

21 years agoRemoving ReserveWaiting from returnbook() pending further discussion.
tonnesen [Thu, 24 Oct 2002 20:10:48 +0000 (20:10 +0000)]
Removing ReserveWaiting from returnbook() pending further discussion.

21 years agoNext and Previous buttons were broken in subject.tmpl
tonnesen [Thu, 24 Oct 2002 19:27:49 +0000 (19:27 +0000)]
Next and Previous buttons were broken in subject.tmpl

21 years agoCall to subsearch() wasn't including the offset and num variables so nothing
tonnesen [Thu, 24 Oct 2002 19:20:12 +0000 (19:20 +0000)]
Call to subsearch() wasn't including the offset and num variables so nothing
was getting returned.

21 years agoMerging files from trunk and rel-1-2, hoping to find some fixes to reserve
tonnesen [Thu, 24 Oct 2002 18:20:29 +0000 (18:20 +0000)]
Merging files from trunk and rel-1-2, hoping to find some fixes to reserve
problems in the trunk code.  Didn't find any.  :(

21 years agoreturnbook() was not marking reserved books as waiting.
tonnesen [Thu, 24 Oct 2002 17:43:00 +0000 (17:43 +0000)]
returnbook() was not marking reserved books as waiting.

21 years agoFixes bug in request.pl output. barcodes() subroutine is returning and array
tonnesen [Thu, 24 Oct 2002 16:30:26 +0000 (16:30 +0000)]
Fixes bug in request.pl output.  barcodes() subroutine is returning and array
of hashes, not an array of barcodes.

21 years agoRemoved warning line...
tonnesen [Thu, 24 Oct 2002 16:22:50 +0000 (16:22 +0000)]
Removed warning line...

21 years agoFix for bug in moremember.pl... calc_charges() in Circ2.pm wasn't returning the
tonnesen [Thu, 24 Oct 2002 16:21:38 +0000 (16:21 +0000)]
Fix for bug in moremember.pl... calc_charges() in Circ2.pm wasn't returning the
itemtype.

21 years agoAdded config checks for printing circulation slips.
tonnesen [Thu, 24 Oct 2002 16:20:40 +0000 (16:20 +0000)]
Added config checks for printing circulation slips.

21 years agoFixed seriestitle bug in detail templates. R_1-2-3RC18
tonnesen [Wed, 23 Oct 2002 20:27:51 +0000 (20:27 +0000)]
Fixed seriestitle bug in detail templates.
Fixed bug in circulation module when there was only one branch/printer or when
the cookie was set to a non-existent branch/printer

21 years agoFix branches.pl admin script so that it sets the IS and CU branchrelations on R_1-2-3RC17
tonnesen [Wed, 23 Oct 2002 17:03:31 +0000 (17:03 +0000)]
Fix branches.pl admin script so that it sets the IS and CU branchrelations on
by default.

21 years agoFixed a couple of bad bugs in installer.pl. New koha.conf.tmp file was causing R_1-2-3RC16
tonnesen [Wed, 23 Oct 2002 16:30:14 +0000 (16:30 +0000)]
Fixed a couple of bad bugs in installer.pl.  New koha.conf.tmp file was causing
problems.  In particular, updatedatabase couldn't work because koha.conf didn't
exist yet when it was run.  This, in turn, broke installing the sample data
because the necessary fields weren't in place in the tables yet.  Also, the
installer was trying to set the apache user's access to directories before it
knew what the apache user was.

21 years agoFixed warning messsage "v-string in use/require non-portable" when using Perl
tonnesen [Wed, 23 Oct 2002 15:38:51 +0000 (15:38 +0000)]
Fixed warning messsage "v-string in use/require non-portable" when using Perl
5.8

21 years agoInstaller script wasn't renaming koha.conf.tmp to koha.conf
tonnesen [Wed, 23 Oct 2002 15:34:11 +0000 (15:34 +0000)]
Installer script wasn't renaming koha.conf.tmp to koha.conf

21 years agoRemoved temporary files in the tmpl subdirectory
tonnesen [Tue, 22 Oct 2002 15:40:55 +0000 (15:40 +0000)]
Removed temporary files in the tmpl subdirectory

21 years agoMoved intranet templated scripts to new template directory structure.
tonnesen [Mon, 21 Oct 2002 20:10:18 +0000 (20:10 +0000)]
Moved intranet templated scripts to new template directory structure.

21 years agoMoved mainpage.pl template to new location
tonnesen [Mon, 21 Oct 2002 19:55:55 +0000 (19:55 +0000)]
Moved mainpage.pl template to new location

21 years agoCVS tagging now defaults to "no" and added koha-tmpl directory R_1-2-3RC15
tonnesen [Mon, 21 Oct 2002 18:38:16 +0000 (18:38 +0000)]
CVS tagging now defaults to "no" and added koha-tmpl directory

21 years agogettemplate() routine will assume htdocs is in $configfile{opacdir}."/htdocs"
tonnesen [Mon, 21 Oct 2002 17:39:42 +0000 (17:39 +0000)]
gettemplate() routine will assume htdocs is in $configfile{opacdir}."/htdocs"
if the opachtdocs variable isn't set in koha.conf

21 years agoAddign koha-tmpl directory to rel-1-2 branch
tonnesen [Mon, 21 Oct 2002 17:05:06 +0000 (17:05 +0000)]
Addign koha-tmpl directory to rel-1-2 branch

21 years agoAdding template files to rel-1-2 branch
tonnesen [Mon, 21 Oct 2002 16:59:22 +0000 (16:59 +0000)]
Adding template files to rel-1-2 branch

21 years agoadded request button, and check to see if it is requestable.
finlayt [Tue, 15 Oct 2002 23:36:01 +0000 (23:36 +0000)]
added request button, and check to see if it is requestable.

21 years agomore fixes according to hlt requests
finlayt [Tue, 15 Oct 2002 04:43:09 +0000 (04:43 +0000)]
more fixes according to hlt requests

21 years agoTotally rewrote CalcReserveCharge. It now gets the reservecharge from the categoryite...
finlayt [Tue, 15 Oct 2002 04:42:16 +0000 (04:42 +0000)]
Totally rewrote CalcReserveCharge. It now gets the reservecharge from the categoryitem table.

21 years agohave added a couple of images for the password and modify user flags links
finlayt [Tue, 15 Oct 2002 02:00:56 +0000 (02:00 +0000)]
have added a couple of images for the password and modify user flags links

21 years agochanged some wording for rosalie
finlayt [Tue, 15 Oct 2002 01:34:21 +0000 (01:34 +0000)]
changed some wording for rosalie

21 years agodisplays the users account record.
finlayt [Mon, 14 Oct 2002 22:48:46 +0000 (22:48 +0000)]
displays the users account record.

21 years agogeneral fixes and tinkering
finlayt [Mon, 14 Oct 2002 22:47:54 +0000 (22:47 +0000)]
general fixes and tinkering

21 years agoadded a flagsrequired line.
finlayt [Mon, 14 Oct 2002 09:39:36 +0000 (09:39 +0000)]
added a flagsrequired line.

21 years agofixed itemcount2 and ItemInfo so that they give the same information about items.
finlayt [Fri, 11 Oct 2002 05:25:12 +0000 (05:25 +0000)]
fixed itemcount2 and ItemInfo so that they give the same information about items.

21 years agofixed so that it displays using itemtypes only
finlayt [Fri, 11 Oct 2002 05:24:26 +0000 (05:24 +0000)]
fixed so that it displays using itemtypes only

21 years agoHave templated this module, uses opac-auth.tmpl at the mo, will probably have to...
finlayt [Thu, 3 Oct 2002 08:24:02 +0000 (08:24 +0000)]
Have templated this module, uses opac-auth.tmpl at the mo, will probably have to fix that later
also it not preserves post and get inputs through the authentification process.

21 years agoadded fix for opac do-it-yourself reserves into rel-1-2
finlayt [Thu, 3 Oct 2002 04:14:04 +0000 (04:14 +0000)]
added fix for opac do-it-yourself reserves into rel-1-2

21 years agoAdded do it yourself reserves feature to the opac
finlayt [Thu, 3 Oct 2002 03:53:06 +0000 (03:53 +0000)]
Added do it yourself reserves feature to the opac

21 years agoLimit the number of page index icons that are displayed to 15 maximum.
tonnesen [Wed, 2 Oct 2002 19:40:53 +0000 (19:40 +0000)]
Limit the number of page index icons that are displayed to 15 maximum.

21 years agoMaking sure that the logged in user is loaded into the template.
finlayt [Wed, 2 Oct 2002 00:50:16 +0000 (00:50 +0000)]
Making sure that the logged in user is loaded into the template.

21 years agoNew script that provides a form for public members to update their personal details.
finlayt [Wed, 2 Oct 2002 00:43:17 +0000 (00:43 +0000)]
New script that provides a form for public members to update their personal details.

21 years agoCleaned out some warn statements.
finlayt [Wed, 2 Oct 2002 00:41:41 +0000 (00:41 +0000)]
Cleaned out some warn statements.

21 years agoAdded reserves and account.
finlayt [Tue, 1 Oct 2002 10:56:08 +0000 (10:56 +0000)]
Added reserves and account.

21 years agoreplaced with opac-user.pl
finlayt [Tue, 1 Oct 2002 09:28:29 +0000 (09:28 +0000)]
replaced with opac-user.pl

21 years agoAdded a getborrowernumber method here to get borrowernumber from the userid that...
finlayt [Tue, 1 Oct 2002 07:15:55 +0000 (07:15 +0000)]
Added a getborrowernumber method here to get borrowernumber from the userid that checkauth returns. Needed in opac-user.pl

21 years agofixed the Findgroupreserves bug. Now calls CheckReserves instead
finlayt [Tue, 1 Oct 2002 07:14:07 +0000 (07:14 +0000)]
fixed the Findgroupreserves bug. Now calls CheckReserves instead

21 years agochanges to getissues so that it can be used in opac-user.pl
finlayt [Tue, 1 Oct 2002 07:12:52 +0000 (07:12 +0000)]
changes to getissues so that it can be used in opac-user.pl

21 years agoThis is a first draft of this script. It presents borrowers information to themselves.
finlayt [Tue, 1 Oct 2002 07:11:12 +0000 (07:11 +0000)]
This is a first draft of this script. It presents borrowers information to themselves.
It uses the template opac-user.tmpl

21 years agoprocesses the "logout" link. taken from logout.pl
finlayt [Tue, 1 Oct 2002 07:09:03 +0000 (07:09 +0000)]
processes the "logout" link. taken from logout.pl

21 years agochanged the redirect from these pages to take you back to the moremember page.
finlayt [Tue, 1 Oct 2002 01:44:35 +0000 (01:44 +0000)]
changed the redirect from these pages to take you back to the moremember page.
added a field on member-password to enter the userid

21 years agosmall conflict resolution
finlayt [Mon, 30 Sep 2002 23:08:47 +0000 (23:08 +0000)]
small conflict resolution

21 years agocommiting POD patches from Andrew Arenburger
pate [Fri, 20 Sep 2002 12:51:51 +0000 (12:51 +0000)]
commiting POD patches from Andrew Arenburger

21 years agoIncorporated A.C.Li's fixes for install script. His patches were against the
tonnesen [Thu, 19 Sep 2002 19:34:26 +0000 (19:34 +0000)]
Incorporated A.C.Li's fixes for install script.  His patches were against the
old installer.pl in the trunk of CVS.  His fixes were applied to the new
installer.pl and Install.pm in the rel-1-2 branch.  These files will eventually
replace the old installer in the trunk branch as well when we start
distributiong 1.3.x packages.

21 years agoFixes broken issues list in moremember.pl output
tonnesen [Wed, 18 Sep 2002 22:53:27 +0000 (22:53 +0000)]
Fixes broken issues list in moremember.pl output

21 years agoBug fix for broken dewey search.
tonnesen [Wed, 18 Sep 2002 22:45:37 +0000 (22:45 +0000)]
Bug fix for broken dewey search.

21 years agofixing up few loose ends. Also made opac-searchresults.pl use only on tmplate: opac...
finlayt [Wed, 18 Sep 2002 07:53:42 +0000 (07:53 +0000)]
fixing up few loose ends. Also made opac-searchresults.pl use only on tmplate: opac-searchresults.tmpl

21 years agocleaning out old files.
finlayt [Wed, 18 Sep 2002 06:28:58 +0000 (06:28 +0000)]
cleaning out old files.

21 years agoHave moved all the fully templated cgi-bin scripts for the opac into here. Also given...
finlayt [Wed, 18 Sep 2002 06:25:55 +0000 (06:25 +0000)]
Have moved all the fully templated cgi-bin scripts for the opac into here. Also given them a new naming convention :-)

21 years agoVarious fixes for buildrelease script contributed by a.c.li
tonnesen [Wed, 18 Sep 2002 03:56:51 +0000 (03:56 +0000)]
Various fixes for buildrelease script contributed by a.c.li

(1) Guess the location of koha-html in a hopefully more sensible way

(2) Use getpwuid() to figure where root's home directory is; traditionally /root
is usually not right

(3) Check for the return code of chdir calls

(4) Removed compilation warning messages (replaced \RC with explicit use of
concatenation operator)

(5) The questions about tagging and updates could be quite confusing to the new
user (of buildrelease); I tried to reword a couple of sentences a bit, and
rearranged their orders a bit, to reduce the likelihood of getting confused.
Needless questions need not be asked (confirming whether to tag when the user
says he/she doesn't want to tag).

(6) Don't say it is tagging the CVS files when it is not.

21 years agoFound the real culprit. The printers table did not have a primary key so R_1-2-3RC14
tonnesen [Tue, 17 Sep 2002 22:30:36 +0000 (22:30 +0000)]
Found the real culprit.  The printers table did not have a primary key so
replace was not working.

21 years agoAdded a routine to check the definitions of individual fields in a table.
tonnesen [Tue, 17 Sep 2002 22:01:36 +0000 (22:01 +0000)]
Added a routine to check the definitions of individual fields in a table.

21 years agoFixed printers.pl so that printers can be edited (would previously just add a
tonnesen [Tue, 17 Sep 2002 20:23:27 +0000 (20:23 +0000)]
Fixed printers.pl so that printers can be edited (would previously just add a
new printer instead of editing an existing one).

21 years agoAdded the "global_vars" option to the gettemplate sub.
finlayt [Mon, 16 Sep 2002 05:58:26 +0000 (05:58 +0000)]
Added the "global_vars" option to the gettemplate sub.

21 years agodosearch.pl replaces search.pl for the new templated opac. I thought it should have...
finlayt [Mon, 16 Sep 2002 05:42:23 +0000 (05:42 +0000)]
dosearch.pl replaces search.pl for the new templated opac. I thought it should have another name because there are so many search.pl around! However dosearch.pl isnt actually that great a name :)

detail.pl now uses the new templating mechanism.

21 years agoRemoving conflicting lines
tonnesen [Thu, 12 Sep 2002 13:17:04 +0000 (13:17 +0000)]
Removing conflicting lines

21 years agochanged to use the new gettemplate method.
finlayt [Thu, 12 Sep 2002 04:42:07 +0000 (04:42 +0000)]
changed to use the new gettemplate method.

21 years agoquick fix to throw away searches with less than 3 characters in the search
rangi [Thu, 12 Sep 2002 04:37:27 +0000 (04:37 +0000)]
quick fix to throw away searches with less than 3 characters in the search
term

21 years agouses the gettemplate method from Output.pm now. Has only ten lines :-)
finlayt [Thu, 12 Sep 2002 04:23:25 +0000 (04:23 +0000)]
uses the gettemplate method from Output.pm now. Has only ten lines :-)

21 years agoadded a gettemplate routine that does all the template intialisation and theme/lang...
finlayt [Thu, 12 Sep 2002 04:22:35 +0000 (04:22 +0000)]
added a gettemplate routine that does all the template intialisation and theme/lang stuff...

21 years agobugg fixes
finlayt [Wed, 11 Sep 2002 22:23:31 +0000 (22:23 +0000)]
bugg fixes

21 years agoA little more refactoring....
finlayt [Wed, 11 Sep 2002 22:11:17 +0000 (22:11 +0000)]
A little more refactoring....