From ca1a117664362e9c32a5ae869fa1df0b42224f4a Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 7 Jan 2002 20:24:45 +0000 Subject: [PATCH] *mutter* stupid cutnpaste git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@504 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi_client.py | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py index e319181..30c0403 100644 --- a/roundup/cgi_client.py +++ b/roundup/cgi_client.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: cgi_client.py,v 1.88 2002-01-02 02:31:38 richard Exp $ +# $Id: cgi_client.py,v 1.89 2002-01-07 20:24:45 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -433,7 +433,7 @@ class Client: props = cl.getprops() note = None # in a nutshell, don't do anything if there's no note or there's no - # nosy + # NOSY if self.form.has_key('__note'): note = self.form['__note'].value if not props.has_key('messages'): @@ -458,8 +458,8 @@ class Client: # handle the messageid # TODO: handle inreplyto - messageid = "%s.%s.%s%s-%s"%(time.time(), random.random(), - classname, nodeid, self.MAIL_DOMAIN) + messageid = "%s.%s.%s-%s"%(time.time(), random.random(), + self.classname, self.MAIL_DOMAIN) # now create the message, attaching the files content = '\n'.join(m) @@ -1168,6 +1168,21 @@ def parsePropsFromForm(db, cl, form, nodeid=0): # # $Log: not supported by cvs2svn $ +# Revision 1.88 2002/01/02 02:31:38 richard +# Sorry for the huge checkin message - I was only intending to implement #496356 +# but I found a number of places where things had been broken by transactions: +# . modified ROUNDUPDBSENDMAILDEBUG to be SENDMAILDEBUG and hold a filename +# for _all_ roundup-generated smtp messages to be sent to. +# . the transaction cache had broken the roundupdb.Class set() reactors +# . newly-created author users in the mailgw weren't being committed to the db +# +# Stuff that made it into CHANGES.txt (ie. the stuff I was actually working +# on when I found that stuff :): +# . #496356 ] Use threading in messages +# . detectors were being registered multiple times +# . added tests for mailgw +# . much better attaching of erroneous messages in the mail gateway +# # Revision 1.87 2001/12/23 23:18:49 richard # We already had an admin-specific section of the web heading, no need to add # another one :) -- 2.30.2