summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8b11924)
raw | patch | inline | side by side (parent: 8b11924)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 22 Jan 2002 22:27:43 +0000 (22:27 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 22 Jan 2002 22:27:43 +0000 (22:27 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@585 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/mailgw.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 53b56c4a4141d9d7d2ff4f8efe616973e8b41f65..15126c7c24dd2c97c5502f61b385b1d9ad1ef27c 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
. fixed back_bsddb so it passed the journal tests
. fixed status changes in mail gateway (eg. unread -> chatting)
. we'll actually distribute the frontends directory now, as advertised...
+ . handle stripping of "AW:" from subject line
2002-01-16 - 0.4.0b2
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index b80ee8f4fd4cc2f4b14a0efbf08d7e4a72dac011..6560af256bc04676840fce79f09009e6dfd941c1 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
an exception, the original message is bounced back to the sender with the
explanatory message given in the exception.
-$Id: mailgw.py,v 1.56 2002-01-22 11:54:45 rochecompaan Exp $
+$Id: mailgw.py,v 1.57 2002-01-22 22:27:43 richard Exp $
'''
s.seek(0)
return Message(s)
-subject_re = re.compile(r'(?P<refwd>\s*\W?\s*(fwd|re)\s*\W?\s*)*'
+subject_re = re.compile(r'(?P<refwd>\s*\W?\s*(fwd|re|aw)\s*\W?\s*)*'
r'\s*(\[(?P<classname>[^\d\s]+)(?P<nodeid>\d+)?\])'
r'\s*(?P<title>[^[]+)?(\[(?P<args>.+?)\])?', re.I)
#
# $Log: not supported by cvs2svn $
+# Revision 1.56 2002/01/22 11:54:45 rochecompaan
+# Fixed status change in mail gateway.
+#
# Revision 1.55 2002/01/21 10:05:47 rochecompaan
# Feature:
# . the mail gateway now responds with an error message when invalid