koha.git
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]
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]
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]
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]
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]
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]
Removing conflicting lines

21 years agochanged to use the new gettemplate method.
finlayt [Thu, 12 Sep 2002 04:42:07 +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]
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]
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]
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]
bugg fixes

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

21 years agoMore checkauth() calls added to intranet scripts
tonnesen [Wed, 11 Sep 2002 21:28: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]
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]
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]
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]
Adding authentication calls to intranet scripts

21 years agoAdding authentication calls to intranet scripts
uid41696 [Mon, 9 Sep 2002 19:45:40 +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]
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]
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]
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]
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]
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]
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]
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]
Fixed typo.

21 years agoCall kohareporter from installer.pl and koha.upgrade
tonnesen [Tue, 3 Sep 2002 21:59:48 +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]
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]
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]
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]
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]
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]
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]
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]
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]
fixed image alt tag

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

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

21 years agoMerging across print.pm fixes bug 80
rangi [Fri, 16 Aug 2002 22:50:05 +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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
Template => HTML::Template

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

21 years agoRenamed button appropriately.
tonnesen [Sat, 27 Jul 2002 05:39:10 +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]
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]
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]
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]
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]
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.

21 years agoAdded Digest::MD5 to the list of required perl modules in Install.pm
tonnesen [Sat, 27 Jul 2002 04:34:43 +0000]
Added Digest::MD5 to the list of required perl modules in Install.pm

21 years agoBeginning flags based authentication. All of the member*pl scripts now require
tonnesen [Sat, 27 Jul 2002 04:33:57 +0000]
Beginning flags based authentication.  All of the member*pl scripts now require
the borrower to have either the "borrowers" or "superlibrarian" flags set.

21 years agoAdded flags to borrowers table and userflags table. Also, OPAC scripts now
tonnesen [Fri, 26 Jul 2002 18:23:54 +0000]
Added flags to borrowers table and userflags table.  Also, OPAC scripts now
check for the existence of a file named 'opac' in the directory they are run
from and set the $type variable to 'opac' if it exists.  No longer have to
"trust" that the type query parameter is correct.

21 years agoadded some new modular code to koha.upgrade
tonnesen [Fri, 26 Jul 2002 13:46:50 +0000]
added some new modular code to koha.upgrade

21 years agoFinished modularizing installer.pl
tonnesen [Thu, 25 Jul 2002 18:07:32 +0000]
Finished modularizing installer.pl

21 years agoAlmost done modularizing installer.pl
tonnesen [Thu, 25 Jul 2002 17:34:38 +0000]
Almost done modularizing installer.pl

21 years agoshell scripts now parse the config file to get working directories and apache
tonnesen [Thu, 25 Jul 2002 17:34:02 +0000]
shell scripts now parse the config file to get working directories and apache
userid

21 years agoFixed bug that broke searches with spaces in them.
tonnesen [Thu, 25 Jul 2002 04:05:59 +0000]
Fixed bug that broke searches with spaces in them.

21 years agoA bit further on modularizing intaller.pl
tonnesen [Wed, 24 Jul 2002 22:23:13 +0000]
A bit further on modularizing intaller.pl

21 years agoMore work on modularizing the installation scripts. Also adding more extensive
tonnesen [Wed, 24 Jul 2002 17:37:26 +0000]
More work on modularizing the installation scripts.  Also adding more extensive
error checking.

21 years agoCreating a separate Install.pm module that will be shared by installer.pl and
tonnesen [Tue, 23 Jul 2002 20:59:04 +0000]
Creating a separate Install.pm module that will be shared by installer.pl and
koha.upgrade.  Also providing for eventual translation of messages in the
installer and upgrader tools.

21 years agoFix to permissions on koha.conf on initial install.
tonnesen [Tue, 23 Jul 2002 06:05:26 +0000]
Fix to permissions on koha.conf on initial install.

21 years agoRemoving circulation2.pl from other branches
tonnesen [Mon, 22 Jul 2002 22:51:31 +0000]
Removing circulation2.pl from other branches

21 years agoTest for Net::Z3950
tonnesen [Mon, 22 Jul 2002 22:41:59 +0000]
Test for Net::Z3950

21 years agoNew script copied over from trunk. Templates call this script.
tonnesen [Mon, 22 Jul 2002 17:38:06 +0000]
New script copied over from trunk.  Templates call this script.

21 years agoFixing missing column (budgetdate) in aqorders
rangi [Sat, 20 Jul 2002 22:28:13 +0000]
Fixing missing column (budgetdate) in aqorders
re bug 69

21 years agosync test with testing doc
pate [Wed, 17 Jul 2002 03:23:36 +0000]
sync test with testing doc

21 years agoUsed wrong environment variable for basic authentication support
tonnesen [Sun, 14 Jul 2002 19:37:13 +0000]
Used wrong environment variable for basic authentication support

21 years agoI had Koha.pm using Database.pm and vice versa. Subroutines don't get exported prope...
tonnesen [Fri, 12 Jul 2002 23:58:35 +0000]
I had Koha.pm using Database.pm and vice versa.  Subroutines don't get exported properly when this is done.  Moved configfile subroutine to Database.pm

21 years agoAdding some missing opac scripts
tonnesen [Thu, 11 Jul 2002 21:17:31 +0000]
Adding some missing opac scripts

21 years agoMissed dependency on Koha.pm for new configfile routine
tonnesen [Thu, 11 Jul 2002 21:06:19 +0000]
Missed dependency on Koha.pm for new configfile routine

21 years agoAdded authentication information to installer.pl, modified sample data to work
tonnesen [Thu, 11 Jul 2002 20:48:22 +0000]
Added authentication information to installer.pl, modified sample data to work
with new authentication scheme, fix to Auth.pm that was causing userid and
password to show up in the URL after logging out and logging back in again.

21 years agoAdded info about the new authentication to koha.upgrade, and changed inactivity
tonnesen [Thu, 11 Jul 2002 19:56:33 +0000]
Added info about the new authentication to koha.upgrade, and changed inactivity
timeout to 2 hours in Auth.pm.  This will be configurable in the final version.

21 years agoRemoved warning lines
tonnesen [Thu, 11 Jul 2002 19:48:22 +0000]
Removed warning lines

21 years agoCreated a subroutine for loading /etc/koha.conf settings. Auth.pm will now
tonnesen [Thu, 11 Jul 2002 19:43:10 +0000]
Created a subroutine for loading /etc/koha.conf settings.  Auth.pm will now
accept the user and pass values from /etc/koha.conf as valid authentication.

21 years agoAdded module check to koha.upgrade and added HTML::Template and Digest::MD5 to
tonnesen [Thu, 11 Jul 2002 18:43:51 +0000]
Added module check to koha.upgrade and added HTML::Template and Digest::MD5 to
the list of required modules.

21 years agoNew fields and tables for authentication module.
tonnesen [Thu, 11 Jul 2002 18:36:39 +0000]
New fields and tables for authentication module.

21 years agoCommitting changes to add authentication and opac templating to rel-1-2 branch R_1-2-3RC5
tonnesen [Thu, 11 Jul 2002 18:05:28 +0000]
Committing changes to add authentication and opac templating to rel-1-2 branch

21 years agoAdded warnings if the version to be installed has 'RC' in ther version.
tonnesen [Tue, 9 Jul 2002 20:16:41 +0000]
Added warnings if the version to be installed has 'RC' in ther version.

21 years agoMoved koha.conf write to after Z39.50 daemon was configured (to get kohalogdir
tonnesen [Tue, 9 Jul 2002 19:45:02 +0000]
Moved koha.conf write to after Z39.50 daemon was configured (to get kohalogdir
variable)

21 years agokoha.upgrade wasn't rewriting the variables in the z3950 daemon scripts.
tonnesen [Tue, 9 Jul 2002 19:39:23 +0000]
koha.upgrade wasn't rewriting the variables in the z3950 daemon scripts.
Modified installer.pl to store the $kohalogdir variable in /etc/koha.conf

21 years agokoha.conf hostname configuration variable was mistakenly labelled host.
tonnesen [Tue, 9 Jul 2002 19:03:19 +0000]
koha.conf hostname configuration variable was mistakenly labelled host.

21 years agoChecks the MySQL root password is correct and allows reentry of password.
tonnesen [Tue, 9 Jul 2002 17:58:56 +0000]
Checks the MySQL root password is correct and allows reentry of password.

21 years agoAdds subjectsearch.pl to the OPAC cgi-bin
tonnesen [Tue, 9 Jul 2002 17:57:43 +0000]
Adds subjectsearch.pl to the OPAC cgi-bin

21 years agoBug fix.
tonnesen [Tue, 9 Jul 2002 17:57:14 +0000]
Bug fix.

21 years agouses loadmodules.pl to load the acquisitions page
tonnesen [Tue, 9 Jul 2002 13:15:41 +0000]
uses loadmodules.pl to load the acquisitions page

21 years agoBug fix.
tonnesen [Tue, 9 Jul 2002 13:05:49 +0000]
Bug fix.

21 years agoOriginal logic removed all spaces, then replaced every occurence of a comma
tonnesen [Tue, 9 Jul 2002 03:06:42 +0000]
Original logic removed all spaces, then replaced every occurence of a comma
with a comma and space.  I'm not sure what the reasoning behind this was, but
it breaks authors names with spaces in them for searching.  I changed it to
just replace every space with a %20.

21 years agoSecond arg of requireDBI is calling subroutine name
amillar [Fri, 5 Jul 2002 19:30:14 +0000]
Second arg of requireDBI is calling subroutine name

21 years agoAdded check that programs are being run as root.
tonnesen [Fri, 5 Jul 2002 19:18:16 +0000]
Added check that programs are being run as root.

21 years agoFixing some bugs in marcimport.pl that broke uploading marc records.
tonnesen [Fri, 5 Jul 2002 16:04:04 +0000]
Fixing some bugs in marcimport.pl that broke uploading marc records.

21 years agoFixed logic bug in checkvalidisbn routine
tonnesen [Fri, 5 Jul 2002 04:45:13 +0000]
Fixed logic bug in checkvalidisbn routine

21 years agoBug fixes R_1-2-1
tonnesen [Thu, 4 Jul 2002 18:05:07 +0000]
Bug fixes

21 years agoFatal bug in installer.pl was trying to set httpduser variable in koha.conf
tonnesen [Thu, 4 Jul 2002 17:42:23 +0000]
Fatal bug in installer.pl  was trying to set httpduser variable in koha.conf
before the variable had been initialized.