Skip to content

Commit

Permalink
mailgw test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
richard committed Feb 7, 2008
1 parent d9a0c3f commit fa25ba9
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 34 deletions.
52 changes: 21 additions & 31 deletions doc/announcement.txt
@@ -1,34 +1,24 @@
I'm proud to release version 1.4.1 of Roundup.

The metakit backend has been removed due to lack of maintenance and
presence of good alternatives (in particular sqlite built into Python 2.5)

Release 1.4.1 removes an old trace of the metakit backend that was
preventing new tracker installation.

New Features in 1.4.0:

- Roundup has a new xmlrpc frontend that gives access to a tracker using
XMLRPC.
- Dates can now be in the year-range 1-9999
- Add simple anti-spam recipe to docs
- Allow customisation of regular expressions used in email parsing, thanks
Bruno Damour
- Italian translation by Marco Ghidinelli
- Multilinks take any iterable
- config option: specify port and local hostname for SMTP connections
- Tracker index templating (i.e. when roundup_server is serving multiple
trackers) (sf bug 1058020)
- config option: Limit nosy attachments based on size (Philipp Gortan)
- roundup_server supports SSL via pyopenssl
- templatable 404 not found messages (sf bug 1403287)
- Unauthorized email includes a link to the registration page for
the tracker
- config options: control whether author info/email is included in email
sent by roundup
- support for receiving OpenPGP MIME messages (signed or encrypted)

There's also a ton of bugfixes.
I'm proud to release version 1.4.2 of Roundup.

New Features in 1.4.2:
- New config option in mail section: ignore_alternatives allows to
ignore alternatives besides the text/plain part used for the content
of a message in multipart/alternative attachments.
- Admin copy of error email from mailgw includes traceback (thanks Ulrik
Mikaelsson)
- Messages created through the web are now given an in-reply-to header
when email out to nosy (thanks Martin v. Löwis)
- Nosy messages now include more information about issues (all link
properties with a "name" attribute) (thanks Martin v. Löwis)

And things fixed:
- Searching date range by supplying just a date as the filter spec
- Handle no time.tzset under Windows (sf #1825643)
- Fix race condition in file storage transaction commit (sf #1883580)
- Make user utils JS work with firstname/lastname again (sf #1868323)
- Fix ZRoundup to work with Zope 2.8.5 (sf #1806125)
- Fix race condition for key properties in rdbms backends (sf #1876683)
- Handle Reject in mailgw final set/create (sf #1826425)

If you're upgrading from an older version of Roundup you *must* follow
the "Software Upgrade" guidelines given in the maintenance documentation.
Expand Down
22 changes: 19 additions & 3 deletions test/test_mailgw.py
Expand Up @@ -8,7 +8,7 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# $Id: test_mailgw.py,v 1.92 2007/11/14 16:19:41 schlatterbeck Exp $
# $Id: test_mailgw.py,v 1.93 2008/02/07 03:55:14 richard Exp $

# TODO: test bcc

Expand Down Expand Up @@ -50,8 +50,9 @@ def compareMessages(self, new, old):
if new[key] != __version__:
res.append(' %s: %s != %s' % (key, __version__,
new[key]))
elif new[key] != old[key]:
res.append(' %s: %s != %s' % (key, old[key], new[key]))
elif new.get(key, '') != old.get(key, ''):
res.append(' %s: %s != %s' % (key, old.get(key, ''),
new.get(key, '')))

body_diff = self.compareStrings(new.fp.read(), old.fp.read())
if body_diff:
Expand Down Expand Up @@ -238,6 +239,7 @@ def testNewIssueAuthMsg(self):
Message-Id: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: unread
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -281,6 +283,7 @@ def testNewIssueNoAuthorInfo(self):
Message-Id: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: unread
Content-Transfer-Encoding: quoted-printable
This is a test submission of a new issue.
Expand Down Expand Up @@ -321,6 +324,7 @@ def testNewIssueNoAuthorEmail(self):
Message-Id: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: unread
Content-Transfer-Encoding: quoted-printable
New submission from Bork, Chef:
Expand Down Expand Up @@ -466,6 +470,7 @@ def testSimpleFollowup(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -513,6 +518,7 @@ def testFollowup(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -556,6 +562,7 @@ def testPropertyChangeOnly(self):
From: "Bork, Chef" <issue_tracker@your.tracker.email.domain.example>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: unread
X-Roundup-Version: 1.3.3
MIME-Version: 1.0
Reply-To: Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
Expand Down Expand Up @@ -602,6 +609,7 @@ def testFollowupTitleMatch(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -711,6 +719,7 @@ def testFollowupNosyAuthor(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -756,6 +765,7 @@ def testFollowupNosyRecipients(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -801,6 +811,7 @@ def testFollowupNosyAuthorAndCopy(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -845,6 +856,7 @@ def testFollowupNoNosyAuthor(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -889,6 +901,7 @@ def testFollowupNoNosyRecipients(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -1069,6 +1082,7 @@ def testEnc01(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -1122,6 +1136,7 @@ def testMultipartEnc01(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down Expand Up @@ -1198,6 +1213,7 @@ def testFollowupStupidQuoting(self):
In-Reply-To: <dummy_test_message_id>
X-Roundup-Name: Roundup issue tracker
X-Roundup-Loop: hello
X-Roundup-Issue-Status: chatting
Content-Transfer-Encoding: quoted-printable
Expand Down

0 comments on commit fa25ba9

Please sign in to comment.