Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 1170:af104fa52746
Added some words to the installation doc about choosing backends.
Added hyperdb Class.filter unit tests - gadfly currently fails
substring searching, but I knew it would :(
Lots of fixes to the RDBMS backend - it works a treat now!
A couple of other cleanups in CGI land...
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 19 Sep 2002 02:37:41 +0000 |
| parents | 75e5f2055ca9 |
| children | ee204fb67798 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Wed Sep 18 22:26:07 2002 +0000 +++ b/roundup/cgi/client.py Thu Sep 19 02:37:41 2002 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.39 2002-09-18 06:33:06 richard Exp $ +# $Id: client.py,v 1.40 2002-09-19 02:37:41 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -474,19 +474,6 @@ self.userid = self.db.user.lookup('anonymous') self.user = 'anonymous' - def logout(self): - ''' Make us really anonymous - nuke the cookie too - ''' - self.make_user_anonymous() - - # construct the logout cookie - now = Cookie._getdate() - path = '/'.join((self.env['SCRIPT_NAME'], self.env['TRACKER_NAME'], - '')) - self.additional_headers['Set-Cookie'] = \ - 'roundup_user_2=deleted; Max-Age=0; expires=%s; Path=%s;'%(now, path) - self.login() - def opendb(self, user): ''' Open the database. '''
