]> git.koha-community.org Git - koha.git/log
koha.git
22 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.

22 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.

22 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).

22 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.

22 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.

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

22 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.

22 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

22 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 :-)

22 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...

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

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

22 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

22 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

22 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.

22 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....

22 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

22 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

22 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.

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

22 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.

22 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.

22 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

22 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.

22 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.

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

22 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

22 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.

22 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).

22 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.

22 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.

22 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

22 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

22 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).

22 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

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

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

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

22 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

22 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...

22 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.

22 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

22 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.

22 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

22 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

22 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.

22 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

22 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

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

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

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

22 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

22 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).

22 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.

22 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

22 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.

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

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

22 years agoAdded flags to borrowers table and userflags table. Also, OPAC scripts now
tonnesen [Fri, 26 Jul 2002 18:23:54 +0000 (18:23 +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.

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

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

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

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

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

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

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

22 years agoCreating a separate Install.pm module that will be shared by installer.pl and
tonnesen [Tue, 23 Jul 2002 20:59:04 +0000 (20:59 +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.

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

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

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

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

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

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

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

22 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 (23:58 +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

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

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

22 years agoAdded authentication information to installer.pl, modified sample data to work
tonnesen [Thu, 11 Jul 2002 20:48:22 +0000 (20:48 +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.

22 years agoAdded info about the new authentication to koha.upgrade, and changed inactivity
tonnesen [Thu, 11 Jul 2002 19:56:33 +0000 (19:56 +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.

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

22 years agoCreated a subroutine for loading /etc/koha.conf settings. Auth.pm will now
tonnesen [Thu, 11 Jul 2002 19:43:10 +0000 (19:43 +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.

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

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

22 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 (18:05 +0000)]
Committing changes to add authentication and opac templating to rel-1-2 branch

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

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

22 years agokoha.upgrade wasn't rewriting the variables in the z3950 daemon scripts.
tonnesen [Tue, 9 Jul 2002 19:39:23 +0000 (19:39 +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

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

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

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

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

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

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

22 years agoOriginal logic removed all spaces, then replaced every occurence of a comma
tonnesen [Tue, 9 Jul 2002 03:06:42 +0000 (03:06 +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.

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

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

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

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

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

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