diff roundup/roundupdb.py @ 499:9ad589d0a60f

Changed message-id format to "<%s.%s.%s%s@%s>" so it complies with RFC822
author Richard Jones <richard@users.sourceforge.net>
date Tue, 08 Jan 2002 04:12:05 +0000
parents a1a44636bace
children 4291a31bfa89
line wrap: on
line diff
--- a/roundup/roundupdb.py	Tue Jan 08 04:03:47 2002 +0000
+++ b/roundup/roundupdb.py	Tue Jan 08 04:12:05 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundupdb.py,v 1.36 2002-01-02 02:31:38 richard Exp $
+# $Id: roundupdb.py,v 1.37 2002-01-08 04:12:05 richard Exp $
 
 __doc__ = """
 Extending hyperdb with types specific to issue-tracking.
@@ -331,7 +331,7 @@
         if not messageid:
             # this is an old message that didn't get a messageid, so
             # create one
-            messageid = "%s.%s.%s%s-%s"%(time.time(), random.random(),
+            messageid = "<%s.%s.%s%s@%s>"%(time.time(), random.random(),
                 self.classname, nodeid, self.MAIL_DOMAIN)
             messages.set(msgid, messageid=messageid)
 
@@ -530,6 +530,21 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.36  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.35  2001/12/20 15:43:01  rochecompaan
 # Features added:
 #  .  Multilink properties are now displayed as comma separated values in

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