Commit Graph

478 Commits

Author SHA1 Message Date
tonnesen 50bb69bc26 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.
2002-07-27 04:37:12 +00:00
tonnesen 38fef99a0e Added Digest::MD5 to the list of required perl modules in Install.pm 2002-07-27 04:34:43 +00:00
tonnesen 706a299eb6 Beginning flags based authentication. All of the member*pl scripts now require
the borrower to have either the "borrowers" or "superlibrarian" flags set.
2002-07-27 04:33:57 +00:00
tonnesen 740e362dde 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.
2002-07-26 18:23:54 +00:00
tonnesen 6a6cd90e22 added some new modular code to koha.upgrade 2002-07-26 13:46:50 +00:00
tonnesen 46427ca307 Finished modularizing installer.pl 2002-07-25 18:07:32 +00:00
tonnesen 4408b9c1fb Almost done modularizing installer.pl 2002-07-25 17:34:38 +00:00
tonnesen c82627b6a0 shell scripts now parse the config file to get working directories and apache
userid
2002-07-25 17:34:02 +00:00
tonnesen 25f047fb29 Fixed bug that broke searches with spaces in them. 2002-07-25 04:05:59 +00:00
tonnesen 55a4367f81 A bit further on modularizing intaller.pl 2002-07-24 22:23:13 +00:00
tonnesen 4d1c621c69 More work on modularizing the installation scripts. Also adding more extensive
error checking.
2002-07-24 17:37:26 +00:00
tonnesen 3718908de4 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.
2002-07-23 20:59:04 +00:00
tonnesen 7a75722dd6 Fix to permissions on koha.conf on initial install. 2002-07-23 06:05:26 +00:00
tonnesen 6ae2332d1f Removing circulation2.pl from other branches 2002-07-22 22:51:31 +00:00
tonnesen d7aedb5192 Test for Net::Z3950 2002-07-22 22:41:59 +00:00
tonnesen c273fdd785 New script copied over from trunk. Templates call this script. 2002-07-22 17:38:06 +00:00
rangi 3ed74ac3d6 Fixing missing column (budgetdate) in aqorders
re bug 69
2002-07-20 22:28:13 +00:00
pate 6441378d72 sync test with testing doc 2002-07-17 03:23:36 +00:00
tonnesen f6648cf1cf Used wrong environment variable for basic authentication support 2002-07-14 19:37:13 +00:00
tonnesen e725ce8d27 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 2002-07-12 23:58:35 +00:00
tonnesen 068afffd33 Adding some missing opac scripts 2002-07-11 21:17:31 +00:00
tonnesen 254f352e62 Missed dependency on Koha.pm for new configfile routine 2002-07-11 21:06:19 +00:00
tonnesen 4dc8c48c1f 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.
2002-07-11 20:48:22 +00:00
tonnesen 5c54bb7e5e 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.
2002-07-11 19:56:33 +00:00
tonnesen 15498e985c Removed warning lines 2002-07-11 19:48:22 +00:00
tonnesen 187cf8c486 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.
2002-07-11 19:43:10 +00:00
tonnesen 9fd009b4b0 Added module check to koha.upgrade and added HTML::Template and Digest::MD5 to
the list of required modules.
2002-07-11 18:43:51 +00:00
tonnesen 686eaaa4b8 New fields and tables for authentication module. 2002-07-11 18:36:39 +00:00
tonnesen 9ed1964576 Committing changes to add authentication and opac templating to rel-1-2 branch 2002-07-11 18:05:28 +00:00
tonnesen 47c2a429b1 Added warnings if the version to be installed has 'RC' in ther version. 2002-07-09 20:16:41 +00:00
tonnesen f8433566ac Moved koha.conf write to after Z39.50 daemon was configured (to get kohalogdir
variable)
2002-07-09 19:45:02 +00:00
tonnesen 46bb67bb60 koha.upgrade wasn't rewriting the variables in the z3950 daemon scripts.
Modified installer.pl to store the $kohalogdir variable in /etc/koha.conf
2002-07-09 19:39:23 +00:00
tonnesen 5d8f1fce5f koha.conf hostname configuration variable was mistakenly labelled host. 2002-07-09 19:03:19 +00:00
tonnesen bf79cbbcad Checks the MySQL root password is correct and allows reentry of password. 2002-07-09 17:58:56 +00:00
tonnesen 401aba3fe1 Adds subjectsearch.pl to the OPAC cgi-bin 2002-07-09 17:57:43 +00:00
tonnesen 0e311a2066 Bug fix. 2002-07-09 17:57:14 +00:00
tonnesen 7900e54d8e uses loadmodules.pl to load the acquisitions page 2002-07-09 13:15:41 +00:00
tonnesen de5136ce1f Bug fix. 2002-07-09 13:05:49 +00:00
tonnesen 8ccb3359d5 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.
2002-07-09 03:06:42 +00:00
amillar b6e5a2d18c Second arg of requireDBI is calling subroutine name 2002-07-05 19:30:14 +00:00
tonnesen 504479d7e4 Added check that programs are being run as root. 2002-07-05 19:18:16 +00:00
tonnesen 3d6b078859 Fixing some bugs in marcimport.pl that broke uploading marc records. 2002-07-05 16:04:04 +00:00
tonnesen e90baa1c72 Fixed logic bug in checkvalidisbn routine 2002-07-05 04:45:13 +00:00
tonnesen f8b9603a81 Bug fixes 2002-07-04 18:05:07 +00:00
tonnesen 7636b0157f Fatal bug in installer.pl was trying to set httpduser variable in koha.conf
before the variable had been initialized.
2002-07-04 17:42:23 +00:00
tonnesen 89cc4c18ce Merged with trunk... added websites table even though it isn't used yet in 1.2 2002-07-04 16:40:22 +00:00
tonnesen cd7c23b7ff store httpduser variable in /etc/koha.conf 2002-07-03 17:07:09 +00:00
tonnesen f38f71eab9 Modifies /etc/koha.conf, adding any missing entries. 2002-07-03 17:00:53 +00:00
tipaul 996a864365 merging 1.2 and main branches. Mostly spaces and typo diffs 2002-07-03 12:41:34 +00:00
tonnesen 44abf9522e max(barcode) was getting incremented twice when adding new items. 2002-07-03 05:04:42 +00:00