Skip to content

Commit 696fc8a

Browse files
author
Richard Jones
committed
mailgw test updates
1 parent ae57e3b commit 696fc8a

File tree

2 files changed

+40
-34
lines changed

2 files changed

+40
-34
lines changed

doc/announcement.txt

Lines changed: 21 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,24 @@
1-
I'm proud to release version 1.4.1 of Roundup.
2-
3-
The metakit backend has been removed due to lack of maintenance and
4-
presence of good alternatives (in particular sqlite built into Python 2.5)
5-
6-
Release 1.4.1 removes an old trace of the metakit backend that was
7-
preventing new tracker installation.
8-
9-
New Features in 1.4.0:
10-
11-
- Roundup has a new xmlrpc frontend that gives access to a tracker using
12-
XMLRPC.
13-
- Dates can now be in the year-range 1-9999
14-
- Add simple anti-spam recipe to docs
15-
- Allow customisation of regular expressions used in email parsing, thanks
16-
Bruno Damour
17-
- Italian translation by Marco Ghidinelli
18-
- Multilinks take any iterable
19-
- config option: specify port and local hostname for SMTP connections
20-
- Tracker index templating (i.e. when roundup_server is serving multiple
21-
trackers) (sf bug 1058020)
22-
- config option: Limit nosy attachments based on size (Philipp Gortan)
23-
- roundup_server supports SSL via pyopenssl
24-
- templatable 404 not found messages (sf bug 1403287)
25-
- Unauthorized email includes a link to the registration page for
26-
the tracker
27-
- config options: control whether author info/email is included in email
28-
sent by roundup
29-
- support for receiving OpenPGP MIME messages (signed or encrypted)
30-
31-
There's also a ton of bugfixes.
1+
I'm proud to release version 1.4.2 of Roundup.
2+
3+
New Features in 1.4.2:
4+
- New config option in mail section: ignore_alternatives allows to
5+
ignore alternatives besides the text/plain part used for the content
6+
of a message in multipart/alternative attachments.
7+
- Admin copy of error email from mailgw includes traceback (thanks Ulrik
8+
Mikaelsson)
9+
- Messages created through the web are now given an in-reply-to header
10+
when email out to nosy (thanks Martin v. Löwis)
11+
- Nosy messages now include more information about issues (all link
12+
properties with a "name" attribute) (thanks Martin v. Löwis)
13+
14+
And things fixed:
15+
- Searching date range by supplying just a date as the filter spec
16+
- Handle no time.tzset under Windows (sf #1825643)
17+
- Fix race condition in file storage transaction commit (sf #1883580)
18+
- Make user utils JS work with firstname/lastname again (sf #1868323)
19+
- Fix ZRoundup to work with Zope 2.8.5 (sf #1806125)
20+
- Fix race condition for key properties in rdbms backends (sf #1876683)
21+
- Handle Reject in mailgw final set/create (sf #1826425)
3222

3323
If you're upgrading from an older version of Roundup you *must* follow
3424
the "Software Upgrade" guidelines given in the maintenance documentation.

test/test_mailgw.py

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# but WITHOUT ANY WARRANTY; without even the implied warranty of
99
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1010
#
11-
# $Id: test_mailgw.py,v 1.92 2007-11-14 16:19:41 schlatterbeck Exp $
11+
# $Id: test_mailgw.py,v 1.93 2008-02-07 03:55:14 richard Exp $
1212

1313
# TODO: test bcc
1414

@@ -50,8 +50,9 @@ def compareMessages(self, new, old):
5050
if new[key] != __version__:
5151
res.append(' %s: %s != %s' % (key, __version__,
5252
new[key]))
53-
elif new[key] != old[key]:
54-
res.append(' %s: %s != %s' % (key, old[key], new[key]))
53+
elif new.get(key, '') != old.get(key, ''):
54+
res.append(' %s: %s != %s' % (key, old.get(key, ''),
55+
new.get(key, '')))
5556

5657
body_diff = self.compareStrings(new.fp.read(), old.fp.read())
5758
if body_diff:
@@ -238,6 +239,7 @@ def testNewIssueAuthMsg(self):
238239
Message-Id: <dummy_test_message_id>
239240
X-Roundup-Name: Roundup issue tracker
240241
X-Roundup-Loop: hello
242+
X-Roundup-Issue-Status: unread
241243
Content-Transfer-Encoding: quoted-printable
242244
243245
@@ -281,6 +283,7 @@ def testNewIssueNoAuthorInfo(self):
281283
Message-Id: <dummy_test_message_id>
282284
X-Roundup-Name: Roundup issue tracker
283285
X-Roundup-Loop: hello
286+
X-Roundup-Issue-Status: unread
284287
Content-Transfer-Encoding: quoted-printable
285288
286289
This is a test submission of a new issue.
@@ -321,6 +324,7 @@ def testNewIssueNoAuthorEmail(self):
321324
Message-Id: <dummy_test_message_id>
322325
X-Roundup-Name: Roundup issue tracker
323326
X-Roundup-Loop: hello
327+
X-Roundup-Issue-Status: unread
324328
Content-Transfer-Encoding: quoted-printable
325329
326330
New submission from Bork, Chef:
@@ -466,6 +470,7 @@ def testSimpleFollowup(self):
466470
In-Reply-To: <dummy_test_message_id>
467471
X-Roundup-Name: Roundup issue tracker
468472
X-Roundup-Loop: hello
473+
X-Roundup-Issue-Status: chatting
469474
Content-Transfer-Encoding: quoted-printable
470475
471476
@@ -513,6 +518,7 @@ def testFollowup(self):
513518
In-Reply-To: <dummy_test_message_id>
514519
X-Roundup-Name: Roundup issue tracker
515520
X-Roundup-Loop: hello
521+
X-Roundup-Issue-Status: chatting
516522
Content-Transfer-Encoding: quoted-printable
517523
518524
@@ -556,6 +562,7 @@ def testPropertyChangeOnly(self):
556562
From: "Bork, Chef" <[email protected]>
557563
X-Roundup-Name: Roundup issue tracker
558564
X-Roundup-Loop: hello
565+
X-Roundup-Issue-Status: unread
559566
X-Roundup-Version: 1.3.3
560567
MIME-Version: 1.0
561568
Reply-To: Roundup issue tracker <[email protected]>
@@ -602,6 +609,7 @@ def testFollowupTitleMatch(self):
602609
In-Reply-To: <dummy_test_message_id>
603610
X-Roundup-Name: Roundup issue tracker
604611
X-Roundup-Loop: hello
612+
X-Roundup-Issue-Status: chatting
605613
Content-Transfer-Encoding: quoted-printable
606614
607615
@@ -711,6 +719,7 @@ def testFollowupNosyAuthor(self):
711719
In-Reply-To: <dummy_test_message_id>
712720
X-Roundup-Name: Roundup issue tracker
713721
X-Roundup-Loop: hello
722+
X-Roundup-Issue-Status: chatting
714723
Content-Transfer-Encoding: quoted-printable
715724
716725
@@ -756,6 +765,7 @@ def testFollowupNosyRecipients(self):
756765
In-Reply-To: <dummy_test_message_id>
757766
X-Roundup-Name: Roundup issue tracker
758767
X-Roundup-Loop: hello
768+
X-Roundup-Issue-Status: chatting
759769
Content-Transfer-Encoding: quoted-printable
760770
761771
@@ -801,6 +811,7 @@ def testFollowupNosyAuthorAndCopy(self):
801811
In-Reply-To: <dummy_test_message_id>
802812
X-Roundup-Name: Roundup issue tracker
803813
X-Roundup-Loop: hello
814+
X-Roundup-Issue-Status: chatting
804815
Content-Transfer-Encoding: quoted-printable
805816
806817
@@ -845,6 +856,7 @@ def testFollowupNoNosyAuthor(self):
845856
In-Reply-To: <dummy_test_message_id>
846857
X-Roundup-Name: Roundup issue tracker
847858
X-Roundup-Loop: hello
859+
X-Roundup-Issue-Status: chatting
848860
Content-Transfer-Encoding: quoted-printable
849861
850862
@@ -889,6 +901,7 @@ def testFollowupNoNosyRecipients(self):
889901
In-Reply-To: <dummy_test_message_id>
890902
X-Roundup-Name: Roundup issue tracker
891903
X-Roundup-Loop: hello
904+
X-Roundup-Issue-Status: chatting
892905
Content-Transfer-Encoding: quoted-printable
893906
894907
@@ -1069,6 +1082,7 @@ def testEnc01(self):
10691082
In-Reply-To: <dummy_test_message_id>
10701083
X-Roundup-Name: Roundup issue tracker
10711084
X-Roundup-Loop: hello
1085+
X-Roundup-Issue-Status: chatting
10721086
Content-Transfer-Encoding: quoted-printable
10731087
10741088
@@ -1122,6 +1136,7 @@ def testMultipartEnc01(self):
11221136
In-Reply-To: <dummy_test_message_id>
11231137
X-Roundup-Name: Roundup issue tracker
11241138
X-Roundup-Loop: hello
1139+
X-Roundup-Issue-Status: chatting
11251140
Content-Transfer-Encoding: quoted-printable
11261141
11271142
@@ -1198,6 +1213,7 @@ def testFollowupStupidQuoting(self):
11981213
In-Reply-To: <dummy_test_message_id>
11991214
X-Roundup-Name: Roundup issue tracker
12001215
X-Roundup-Loop: hello
1216+
X-Roundup-Issue-Status: chatting
12011217
Content-Transfer-Encoding: quoted-printable
12021218
12031219

0 commit comments

Comments
 (0)