diff roundup/cgi_client.py @ 492:a8fa8439afa7

*mutter* stupid cutnpaste
author Richard Jones <richard@users.sourceforge.net>
date Mon, 07 Jan 2002 20:24:45 +0000
parents a1a44636bace
children 86943fdcca18
line wrap: on
line diff
--- a/roundup/cgi_client.py	Mon Jan 07 10:43:48 2002 +0000
+++ b/roundup/cgi_client.py	Mon Jan 07 20:24:45 2002 +0000
@@ -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 @@
         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 @@
 
         # 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 @@
 
 #
 # $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 :)

Roundup Issue Tracker: http://roundup-tracker.org/