summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eac706a)
raw | patch | inline | side by side (parent: eac706a)
author | rochecompaan <rochecompaan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 22 Jan 2002 11:54:45 +0000 (11:54 +0000) | ||
committer | rochecompaan <rochecompaan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 22 Jan 2002 11:54:45 +0000 (11:54 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@583 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/mailgw.py | patch | blob | history | |
test/test_mailgw.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index d2d9add6e61e2bc52f4f86a0ff0b30958b64cbd2..611884307c65e828d28f20ba3a0d0bc27f1c533f 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
. handle attachments with no name (eg tnef)
. fixed setting nosy as argument in subject line
. fixed back_bsddb so it passed the journal tests
+ . fixed status changes in mail gateway (eg. unread -> chatting)
2002-01-16 - 0.4.0b2
Fixed:
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index a47db26c0a6e6348a891974ac973aa2c38bf20f1..b80ee8f4fd4cc2f4b14a0efbf08d7e4a72dac011 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.55 2002-01-21 10:05:47 rochecompaan Exp $
+$Id: mailgw.py,v 1.56 2002-01-22 11:54:45 rochecompaan Exp $
'''
except KeyError:
pass
else:
+ current_status = cl.get(nodeid, 'status')
if (not props.has_key('status') and
- properties['status'] == unread_id or
- properties['status'] == resolved_id):
+ current_status == unread_id or
+ current_status == resolved_id):
props['status'] = chatting_id
# add nosy in arguments to issue's nosy list
#
# $Log: not supported by cvs2svn $
+# Revision 1.55 2002/01/21 10:05:47 rochecompaan
+# Feature:
+# . the mail gateway now responds with an error message when invalid
+# values for arguments are specified for link or multilink properties
+# . modified unit test to check nosy and assignedto when specified as
+# arguments
+#
+# Fixed:
+# . fixed setting nosy as argument in subject line
+#
# Revision 1.54 2002/01/16 09:14:45 grubert
# . if the attachment has no name, name it unnamed, happens with tnefs.
#
diff --git a/test/test_mailgw.py b/test/test_mailgw.py
index 0762d0e6b36ec02fdc5d8db059b22fa73685d0c5..d385334375b1bf3b60a6c0f4643a24deea4d6fde 100644 (file)
--- a/test/test_mailgw.py
+++ b/test/test_mailgw.py
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
-# $Id: test_mailgw.py,v 1.6 2002-01-21 10:05:48 rochecompaan Exp $
+# $Id: test_mailgw.py,v 1.7 2002-01-22 11:54:45 rochecompaan Exp $
import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys
----------
assignedto: -> mary
nosy: +mary, john
+status: unread -> chatting
___________________________________________________
"Roundup issue tracker" <issue_tracker@fill.me.in.>
http://some.useful.url/issue1
This is a second followup
+
+----------
+status: unread -> chatting
___________________________________________________
"Roundup issue tracker" <issue_tracker@fill.me.in.>
http://some.useful.url/issue1
#
# $Log: not supported by cvs2svn $
+# Revision 1.6 2002/01/21 10:05:48 rochecompaan
+# Feature:
+# . the mail gateway now responds with an error message when invalid
+# values for arguments are specified for link or multilink properties
+# . modified unit test to check nosy and assignedto when specified as
+# arguments
+#
+# Fixed:
+# . fixed setting nosy as argument in subject line
+#
# Revision 1.5 2002/01/15 00:12:40 richard
# #503340 ] creating issue with [asignedto=p.ohly]
#