summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb6a1e0)
raw | patch | inline | side by side (parent: bb6a1e0)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 17 Feb 2003 06:45:38 +0000 (06:45 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 17 Feb 2003 06:45:38 +0000 (06:45 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1517 57a73879-2fb5-44c3-a270-3262357dd7e2
doc/upgrading.txt | patch | blob | history | |
roundup/rfc2822.py | patch | blob | history | |
roundup/roundupdb.py | patch | blob | history |
diff --git a/doc/upgrading.txt b/doc/upgrading.txt
index 85dbe8d4c6421a5b0227bd69de6c421af4472d02..8b722239d65adcc0c914912c625b237d1792634b 100644 (file)
--- a/doc/upgrading.txt
+++ b/doc/upgrading.txt
XXX Form handling changed significantly! Document it!
+lose :multilink
+name:confirm -> :confirm:name
+
0.6.0 Multilingual character set support
----------------------------------------
diff --git a/roundup/rfc2822.py b/roundup/rfc2822.py
index 7cee7150592c359e322623de8afd822f77653516..d601ee13ae857d00e8a5194679987cbe7caff5f3 100644 (file)
--- a/roundup/rfc2822.py
+++ b/roundup/rfc2822.py
if not header:
return header
- global hqre
# return plain header if it is not contains non-ascii characters
if hqre.match(header):
return header
diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index b75b6115f357ad3546ed90bef40266511368386a..ca310e2f54f43ad9d087cf2153b73aeb8149a52c 100644 (file)
--- a/roundup/roundupdb.py
+++ b/roundup/roundupdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundupdb.py,v 1.80 2003-01-27 17:02:46 kedder Exp $
+# $Id: roundupdb.py,v 1.81 2003-02-17 06:45:38 richard Exp $
__doc__ = """
Extending hyperdb with types specific to issue-tracking.
# create the message
message = cStringIO.StringIO()
writer = MimeWriter.MimeWriter(message)
- writer.addheader('Subject', '[%s%s] %s'%(cn, nodeid, encode_header(title)))
+ writer.addheader('Subject', '[%s%s] %s'%(cn, nodeid,
+ encode_header(title)))
writer.addheader('To', ', '.join(sendto))
writer.addheader('From', straddr((encode_header(authname) +
from_tag, from_address)))
- writer.addheader('Reply-To', straddr((self.db.config.TRACKER_NAME,
- from_address)))
+ tracker_name = encode_header(self.db.config.TRACKER_NAME)
+ writer.addheader('Reply-To', straddr((tracker_name, from_address)))
writer.addheader('Date', time.strftime("%a, %d %b %Y %H:%M:%S +0000",
time.gmtime()))
writer.addheader('MIME-Version', '1.0')
writer.addheader('In-Reply-To', inreplyto)
# add a uniquely Roundup header to help filtering
- writer.addheader('X-Roundup-Name', self.db.config.TRACKER_NAME)
+ writer.addheader('X-Roundup-Name', tracker_name)
# avoid email loops
writer.addheader('X-Roundup-Loop', 'hello')