summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f09b3fe)
raw | patch | inline | side by side (parent: f09b3fe)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 10 Sep 2002 02:37:28 +0000 (02:37 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 10 Sep 2002 02:37:28 +0000 (02:37 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1116 57a73879-2fb5-44c3-a270-3262357dd7e2
TODO.txt | patch | blob | history | |
roundup/mailgw.py | patch | blob | history | |
roundup/roundupdb.py | patch | blob | history | |
test/test_mailgw.py | patch | blob | history |
diff --git a/TODO.txt b/TODO.txt
index 23319012e389d7b854a47ffc99a1ddf1a13e88ff..eb01a9f09dc449a264124528383905498b7c35d5 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
pending admin: add "unset" command
pending dist: include the HTML in docs
-bug: request.url is incorrect in cgi-bin environments
-bug: query editing not translated to new templating
-bug: document insance_config -> config
+bug web: request.url is incorrect in cgi-bin environments
+bug web: query editing not translated to new templating
+bug web: need to indicate that generated pages shouldn't be cached
done web: Re-enable link backrefs from messages (feature request #568714)
done web: have the page layout (header/footer) be templatable
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index 80462780a91f6d88d6b231470d51bff2c5a08f05..26b66dcd4d6f8f7a52bffd68ad409eb83a4502d9 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.83 2002-09-10 00:18:20 richard Exp $
+$Id: mailgw.py,v 1.84 2002-09-10 02:37:27 richard Exp $
'''
-
import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
import time, random
import traceback, MimeWriter
classname = m.group('classname')
if classname is None:
# no classname, fallback on the default
- if hasattr(self.instance, 'MAIL_DEFAULT_CLASS') and \
+ if hasattr(self.instance.config, 'MAIL_DEFAULT_CLASS') and \
self.instance.config.MAIL_DEFAULT_CLASS:
classname = self.instance.config.MAIL_DEFAULT_CLASS
else:
diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index 8cbf92bee02dbfbf1815bf89ff9b5ae919be26c4..9af9735dc732d9b68d6d1200e26a6438e2b70ec6 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.64 2002-09-10 00:18:20 richard Exp $
+# $Id: roundupdb.py,v 1.65 2002-09-10 02:37:28 richard Exp $
__doc__ = """
Extending hyperdb with types specific to issue-tracking.
else:
l.append(entry)
if l:
+ l.sort()
change = '+%s'%(', '.join(l))
l = []
# check for removals
else:
l.append(entry)
if l:
+ l.sort()
change += ' -%s'%(', '.join(l))
else:
change = '%s -> %s'%(oldvalue, value)
diff --git a/test/test_mailgw.py b/test/test_mailgw.py
index 63fe8d840ca91946652c5c731fa41122ae5a7b2d..26e4195d645de925c60ac20ebc246dad461e2df6 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.28 2002-09-10 01:27:13 richard Exp $
+# $Id: test_mailgw.py,v 1.29 2002-09-10 02:37:28 richard Exp $
import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys, difflib
self.instance = instance.open(self.dirname)
# and open the database
self.db = self.instance.open('sekrit')
- self.db.user.create(username='Chef', address='chef@bork.bork.bork')
- self.db.user.create(username='richard', address='richard@test')
- self.db.user.create(username='mary', address='mary@test')
+ self.db.user.create(username='Chef', address='chef@bork.bork.bork',
+ roles='User')
+ self.db.user.create(username='richard', address='richard@test',
+ roles='User')
+ self.db.user.create(username='mary', address='mary@test',
+ roles='User')
self.db.user.create(username='john', address='john@test',
- alternate_addresses='jondoe@test\njohn.doe@test')
+ alternate_addresses='jondoe@test\njohn.doe@test', roles='User')
def tearDown(self):
if os.path.exists(os.environ['SENDMAILDEBUG']):
----------
assignedto: -> mary
-nosy: +mary, john
+nosy: +john, mary
status: unread -> chatting
_________________________________________________________________________
"Roundup issue tracker" <issue_tracker@your.tracker.email.domain.example>
----------
assignedto: -> mary
-nosy: +mary, john
+nosy: +john, mary
status: unread -> chatting
_________________________________________________________________________
"Roundup issue tracker" <issue_tracker@your.tracker.email.domain.example>