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