Commit Graph

187 Commits

Author SHA1 Message Date
tonnesen 0f52289a5b Merging from trunk to rel-1-2 2002-10-28 17:45:14 +00:00
tonnesen df078a8956 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.  :)
2002-10-28 17:16:49 +00:00
tonnesen 32e55e62d9 Strips userid and password parameters off URL parameters list. 2002-10-25 21:52:31 +00:00
tonnesen 6ccf06542f Fixes mysql syntax errors logged to apache log files when performing subject
searches.
2002-10-25 16:36:32 +00:00
tonnesen 914d664347 Added use C4::Database for configfile() routine 2002-10-24 20:55:01 +00:00
tonnesen a06fd42826 Removing ReserveWaiting from returnbook() pending further discussion. 2002-10-24 20:10:48 +00:00
tonnesen 9ef537b840 Merging files from trunk and rel-1-2, hoping to find some fixes to reserve
problems in the trunk code.  Didn't find any.  :(
2002-10-24 18:20:29 +00:00
tonnesen e6971374ac returnbook() was not marking reserved books as waiting. 2002-10-24 17:43:00 +00:00
tonnesen a3ef11df1a Fix for bug in moremember.pl... calc_charges() in Circ2.pm wasn't returning the
itemtype.
2002-10-24 16:21:38 +00:00
tonnesen 49d8dfb577 Added config checks for printing circulation slips. 2002-10-24 16:20:40 +00:00
tonnesen 8bbd4de78d gettemplate() routine will assume htdocs is in $configfile{opacdir}."/htdocs"
if the opachtdocs variable isn't set in koha.conf
2002-10-21 17:39:42 +00:00
finlayt 3e079dfd35 Totally rewrote CalcReserveCharge. It now gets the reservecharge from the categoryitem table. 2002-10-15 04:42:16 +00:00
finlayt ff30d4fbfe fixed itemcount2 and ItemInfo so that they give the same information about items. 2002-10-11 05:25:12 +00:00
finlayt 54df974a6b 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.
2002-10-03 08:24:02 +00:00
finlayt 8ed8166e77 added fix for opac do-it-yourself reserves into rel-1-2 2002-10-03 04:14:04 +00:00
finlayt fe459d2279 Cleaned out some warn statements. 2002-10-02 00:41:41 +00:00
finlayt 93ad640179 Added a getborrowernumber method here to get borrowernumber from the userid that checkauth returns. Needed in opac-user.pl 2002-10-01 07:15:55 +00:00
finlayt 0da8baa064 changes to getissues so that it can be used in opac-user.pl 2002-10-01 07:12:52 +00:00
finlayt c643f3e3a1 small conflict resolution 2002-09-30 23:08:47 +00:00
pate 91a5af2ce0 commiting POD patches from Andrew Arenburger 2002-09-20 12:51:51 +00:00
tonnesen 4f7175882c Fixes broken issues list in moremember.pl output 2002-09-18 22:53:27 +00:00
finlayt 6abefa4f11 Added the "global_vars" option to the gettemplate sub. 2002-09-16 05:58:26 +00:00
tonnesen c60cf38d99 Removing conflicting lines 2002-09-12 13:17:04 +00:00
rangi 366e1257cc quick fix to throw away searches with less than 3 characters in the search
term
2002-09-12 04:37:27 +00:00
finlayt 661d926936 added a gettemplate routine that does all the template intialisation and theme/lang stuff... 2002-09-12 04:22:35 +00:00
finlayt f487468e2f bugg fixes 2002-09-11 22:23:31 +00:00
finlayt a0de95edbd 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. 2002-09-11 03:55:30 +00:00
tonnesen c90b87fe42 Bug that broke access flag checking when logging in using a borrower card
number instead of a userid.
2002-09-09 18:44:39 +00:00
tonnesen e1c477eb43 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.
2002-09-08 05:04:46 +00:00
tonnesen 9c4fb6c825 Bug fix... user access flags were not getting set properly in sub
getpatroninformation.
2002-09-06 16:21:07 +00:00
tonnesen df9cc8ba93 Fixed typo. 2002-09-03 22:35:50 +00:00
tonnesen fdd0879379 replaced > with >= and < with <= in date comparisons. 2002-09-03 21:04:22 +00:00
tonnesen 6bcbfd23eb 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.
2002-09-03 21:03:51 +00:00
rangi d11888b0c6 Fix for item search 2002-08-19 06:20:48 +00:00
rangi 5341dc0172 Merging across print.pm fixes bug 80
missing printslip routine
2002-08-16 22:50:05 +00:00
tonnesen 90c9edffc5 Added missing $accessflagshash chunk to getpatroninformation 2002-08-16 20:42:32 +00:00
rangi a5349c29ea Fix for itemissues, fetching the right dates for last borrowers for use on
the moredetail.pl page
2002-08-15 02:04:59 +00:00
rangi 473629ea97 Merging branchtransfers and lots of circulation fixes into the rel-1-2 branch
Needs testing.
2002-08-15 00:46:26 +00:00
tonnesen 4f76806f50 Adding copyright statements to all .pl and .pm files in rel-1-2 branch 2002-08-14 18:30:50 +00:00
tonnesen 847c220030 New script for setting user flags. Link from member modification page
(moremember.pl).
2002-07-27 05:30:12 +00:00
tonnesen 7c3f6564df Removed use C4::Koha line, which caused a looped dependency between Koha.pm and
Database.pm
2002-07-27 04:41:30 +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 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 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 9ed1964576 Committing changes to add authentication and opac templating to rel-1-2 branch 2002-07-11 18:05:28 +00:00