koha.git
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....

21 years agoMore checkauth() calls added to intranet scripts
tonnesen [Wed, 11 Sep 2002 21:28:28 +0000 (21:28 +0000)]
More checkauth() calls added to intranet scripts

21 years agoAltered to use the new themelanguage method in Output.pm
finlayt [Wed, 11 Sep 2002 03:56:26 +0000 (03:56 +0000)]
Altered to use the new themelanguage method in Output.pm

21 years agoadded a themelanguage subroutine that searchs for templates according to the opacthem...
finlayt [Wed, 11 Sep 2002 03:55:30 +0000 (03:55 +0000)]
added a themelanguage subroutine that searchs for templates according to the opacthemes and opaclanguages fields in the systempreferences table. These fields can be space seperated names. Templates are searched for in those orders, over themes first.

21 years agoadded these opac files temporarily as I sort out the new directory structure....
finlayt [Wed, 11 Sep 2002 01:58:20 +0000 (01:58 +0000)]
added these opac files temporarily as I sort out the new directory structure....

21 years agoAdding authentication calls to intranet scripts
uid41696 [Mon, 9 Sep 2002 19:56:55 +0000 (19:56 +0000)]
Adding authentication calls to intranet scripts

21 years agoAdding authentication calls to intranet scripts
uid41696 [Mon, 9 Sep 2002 19:45:40 +0000 (19:45 +0000)]
Adding authentication calls to intranet scripts

21 years agoBug that broke access flag checking when logging in using a borrower card
tonnesen [Mon, 9 Sep 2002 18:44:39 +0000 (18:44 +0000)]
Bug that broke access flag checking when logging in using a borrower card
number instead of a userid.

21 years agoAdding cookie-based authentication calls
tonnesen [Mon, 9 Sep 2002 17:41:49 +0000 (17:41 +0000)]
Adding cookie-based authentication calls

21 years agoFix for Auth.pm when using "super user" account from /etc/koha.conf. Auth.pm R_1-2-3RC13
tonnesen [Sun, 8 Sep 2002 05:04:46 +0000 (05:04 +0000)]
Fix for Auth.pm when using "super user" account from /etc/koha.conf.   Auth.pm
was not checking if this account was being used except on initial
authentication, ie superlibrarian flag was not getting set when cookie was read
for authentication on subsequent connections.

21 years agoBug fix... user access flags were not getting set properly in sub
tonnesen [Fri, 6 Sep 2002 16:21:07 +0000 (16:21 +0000)]
Bug fix... user access flags were not getting set properly in sub
getpatroninformation.

21 years agoBug fix... question should have defaulted to y, but was defaulting to n
tonnesen [Fri, 6 Sep 2002 13:52:35 +0000 (13:52 +0000)]
Bug fix... question should have defaulted to y, but was defaulting to n

21 years agoFixed small bug... my on $borrowerinfo caused the field to always be blank when R_1-2-3RC12
tonnesen [Thu, 5 Sep 2002 22:27:12 +0000 (22:27 +0000)]
Fixed small bug... my on $borrowerinfo caused the field to always be blank when
returning books.

21 years agologout.pl checks if the server is using basic authentication. If it is, is displays...
tonnesen [Thu, 5 Sep 2002 19:44:00 +0000 (19:44 +0000)]
logout.pl checks if the server is using basic authentication.  If it is, is displays a message stating that the user must exit their browser to log out.

21 years agoFixed typo.
tonnesen [Tue, 3 Sep 2002 22:35:50 +0000 (22:35 +0000)]
Fixed typo.

21 years agoCall kohareporter from installer.pl and koha.upgrade
tonnesen [Tue, 3 Sep 2002 21:59:48 +0000 (21:59 +0000)]
Call kohareporter from installer.pl and koha.upgrade

21 years agoScript that will be called by installer/upgrader if the user agrees to fill out
tonnesen [Tue, 3 Sep 2002 21:17:51 +0000 (21:17 +0000)]
Script that will be called by installer/upgrader if the user agrees to fill out
a survey.

21 years agoRemoving hard coded values for apache user and pid-file directory (note that
tonnesen [Tue, 3 Sep 2002 21:15:35 +0000 (21:15 +0000)]
Removing hard coded values for apache user and pid-file directory (note that
these hard coded values were never actually used unless processz3950queue was
run as root in any case).

21 years agoreplaced > with >= and < with <= in date comparisons.
tonnesen [Tue, 3 Sep 2002 21:04:22 +0000 (21:04 +0000)]
replaced > with >= and < with <= in date comparisons.

21 years agoremoved hard coded budget date from sub bookfunds();
tonnesen [Tue, 3 Sep 2002 21:03:51 +0000 (21:03 +0000)]
removed hard coded budget date from sub bookfunds();
Replaced with a check that today's date is after the startdate and before the enddate of the budget.

21 years agoWas checking for 'RC' in installed version
tonnesen [Fri, 30 Aug 2002 16:30:10 +0000 (16:30 +0000)]
Was checking for 'RC' in installed version

21 years agosmall tidy up of branch table output
dragon28 [Tue, 27 Aug 2002 05:10:27 +0000 (05:10 +0000)]
small tidy up of branch table output

21 years agoRemoved hard coded directories (as reported by Ville Huhtala). R_1-2-3RC11
tonnesen [Mon, 26 Aug 2002 17:08:56 +0000 (17:08 +0000)]
Removed hard coded directories (as reported by Ville Huhtala).

21 years agomerged in the version 1.5 from the main branch
finlayt [Fri, 23 Aug 2002 01:56:04 +0000 (01:56 +0000)]
merged in the version 1.5 from the main branch

21 years agofixed image alt tag
dragon28 [Tue, 20 Aug 2002 09:26:10 +0000 (09:26 +0000)]
fixed image alt tag

21 years agofixed image alt tag
dragon28 [Tue, 20 Aug 2002 09:18:13 +0000 (09:18 +0000)]
fixed image alt tag

21 years agoFix for item search
rangi [Mon, 19 Aug 2002 06:20:48 +0000 (06:20 +0000)]
Fix for item search

21 years agoMerging across print.pm fixes bug 80
rangi [Fri, 16 Aug 2002 22:50:05 +0000 (22:50 +0000)]
Merging across print.pm fixes bug 80
missing printslip routine

21 years agobranchrelations fix needed to be done in two places...
tonnesen [Fri, 16 Aug 2002 21:02:09 +0000 (21:02 +0000)]
branchrelations fix needed to be done in two places...

21 years agoAdded 'IS' and 'CU' flags for default MAIN branch.
tonnesen [Fri, 16 Aug 2002 21:01:20 +0000 (21:01 +0000)]
Added 'IS' and 'CU' flags for default MAIN branch.

21 years agoSet all .pl scripts in intranet-cgi executable
tonnesen [Fri, 16 Aug 2002 20:53:23 +0000 (20:53 +0000)]
Set all .pl scripts in intranet-cgi executable

21 years agoFixed '_' character between issues, returns, and transfers buttons.
tonnesen [Fri, 16 Aug 2002 20:44:42 +0000 (20:44 +0000)]
Fixed '_' character between issues, returns, and transfers buttons.

21 years agoAdded missing $accessflagshash chunk to getpatroninformation
tonnesen [Fri, 16 Aug 2002 20:42:32 +0000 (20:42 +0000)]
Added missing $accessflagshash chunk to getpatroninformation

21 years agoFix for itemissues, fetching the right dates for last borrowers for use on
rangi [Thu, 15 Aug 2002 02:04:59 +0000 (02:04 +0000)]
Fix for itemissues, fetching the right dates for last borrowers for use on
the moredetail.pl page

21 years agoMerging branchtransfers and lots of circulation fixes into the rel-1-2 branch
rangi [Thu, 15 Aug 2002 00:46:26 +0000 (00:46 +0000)]
Merging branchtransfers and lots of circulation fixes into the rel-1-2 branch
Needs testing.

21 years agoAdding copyright statements to all .pl and .pm files in rel-1-2 branch
tonnesen [Wed, 14 Aug 2002 18:30:50 +0000 (18:30 +0000)]
Adding copyright statements to all .pl and .pm files in rel-1-2 branch

21 years agoLittle script to add a copyright statement to all .pl and .pm files
tonnesen [Tue, 13 Aug 2002 23:04:08 +0000 (23:04 +0000)]
Little script to add a copyright statement to all .pl and .pm files

21 years agoTemplate => HTML::Template
tonnesen [Sat, 27 Jul 2002 07:00:14 +0000 (07:00 +0000)]
Template => HTML::Template

21 years agonow checks for HTML::Template
dragon28 [Sat, 27 Jul 2002 06:52:27 +0000 (06:52 +0000)]
now checks for HTML::Template

21 years agoRenamed button appropriately.
tonnesen [Sat, 27 Jul 2002 05:39:10 +0000 (05:39 +0000)]
Renamed button appropriately.

21 years agoFixed bugs with variable scope after switching some functions to Install.pm
tonnesen [Sat, 27 Jul 2002 05:38:53 +0000 (05:38 +0000)]
Fixed bugs with variable scope after switching some functions to Install.pm

21 years agoNew script for setting user flags. Link from member modification page
tonnesen [Sat, 27 Jul 2002 05:30:12 +0000 (05:30 +0000)]
New script for setting user flags.  Link from member modification page
(moremember.pl).

21 years agoUnintentional duplication of Set::Scalar requirement.
tonnesen [Sat, 27 Jul 2002 04:43:39 +0000 (04:43 +0000)]
Unintentional duplication of Set::Scalar requirement.

21 years agoRemoved use C4::Koha line, which caused a looped dependency between Koha.pm and
tonnesen [Sat, 27 Jul 2002 04:41:30 +0000 (04:41 +0000)]
Removed use C4::Koha line, which caused a looped dependency between Koha.pm and
Database.pm

21 years agoAdded new flags field for sample data borrowers. The librarian user has the
tonnesen [Sat, 27 Jul 2002 04:37:12 +0000 (04:37 +0000)]
Added new flags field for sample data borrowers.  The librarian user has the
"superlibrarian" flag set, the jdoe and jsmith users are normal patrons with
only the "borrow" flag set.  All three passwords are set to "koha" in the
sample data.