summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c03acba)
raw | patch | inline | side by side (parent: c03acba)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 12 Dec 2001 21:47:45 +0000 (21:47 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 12 Dec 2001 21:47:45 +0000 (21:47 +0000) |
(which still appears in the Reply-To:)
. envelope-from is now set to the roundup-admin and not roundup itself so
delivery reports aren't sent to roundup (thanks Patrick Ohly)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@457 57a73879-2fb5-44c3-a270-3262357dd7e2
. envelope-from is now set to the roundup-admin and not roundup itself so
delivery reports aren't sent to roundup (thanks Patrick Ohly)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@457 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup-admin | patch | blob | history | |
roundup/roundupdb.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index a352a967656f9a15a744a48a32c13c2b247622ad..dd83622290435d7892bad00e46e99a0d5ce4960d 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
if there are unsaved changes. A "rollback" removes all changes made
during the session (up to the last commit).
. Added the "display" command to the admin tool - displays a node's values
+ . Message author's name appears in From: instead of roundup instance name
+ (which still appears in the Reply-To:)
Fixed:
. Lots of bugs, thanks Roché and others on the devel mailing list!
. we were assuming database files created by anydbm had the same name, but
this is not the case for dbm. We now perform a much better check _and_
cope with the anydbm implementation module changing too!
+ . envelope-from is now set to the roundup-admin and not roundup itself so
+ delivery reports aren't sent to roundup (thanks Patrick Ohly)
2001-11-23 - 0.3.0
diff --git a/roundup-admin b/roundup-admin
index b9cdc9f9a0267eddbd22a7e84ac8e913a910f250..83306f6b9744e4b728c1be6aab0192cc117d67c1 100755 (executable)
--- a/roundup-admin
+++ b/roundup-admin
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundup-admin,v 1.51 2001-12-10 00:57:38 richard Exp $
+# $Id: roundup-admin,v 1.52 2001-12-12 21:47:45 richard Exp $
import sys
if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1):
# figure the property names to display
if len(args) > 1:
prop_names = args[1].split(',')
+ all_props = cl.getprops()
+ for prop_name in prop_names:
+ if not all_props.has_key(prop_name):
+ raise UsageError, '%s has no property "%s"'%(classname,
+ prop_name)
else:
prop_names = cl.getprops().keys()
try:
value = str(cl.get(nodeid, name))
except KeyError:
- raise UsageError, '%s has no property "%s"'%(classname,
- name)
+ # we already checked if the property is valid - a
+ # KeyError here means the node just doesn't have a
+ # value for it
+ value = ''
else:
value = str(nodeid)
f = '%%-%ds'%width
#
# $Log: not supported by cvs2svn $
+# Revision 1.51 2001/12/10 00:57:38 richard
+# From CHANGES:
+# . Added the "display" command to the admin tool - displays a node's values
+# . #489760 ] [issue] only subject
+# . fixed the doc/index.html to include the quoting in the mail alias.
+#
+# Also:
+# . fixed roundup-admin so it works with transactions
+# . disabled the back_anydbm module if anydbm tries to use dumbdbm
+#
# Revision 1.50 2001/12/02 05:06:16 richard
# . We now use weakrefs in the Classes to keep the database reference, so
# the close() method on the database is no longer needed.
diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index 0cec95fd8f636d0d872174528c889ca103c35734..609a626372544e1b5a55c7e9945e91831b48a102 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.29 2001-12-11 04:50:49 richard Exp $
+# $Id: roundupdb.py,v 1.30 2001-12-12 21:47:45 richard Exp $
__doc__ = """
Extending hyperdb with types specific to issue-tracking.
writer = MimeWriter.MimeWriter(message)
writer.addheader('Subject', '[%s%s] %s'%(cn, nodeid, title))
writer.addheader('To', ', '.join(sendto))
- writer.addheader('From', '%s <%s>'%(self.INSTANCE_NAME,
- self.ISSUE_TRACKER_EMAIL))
+ writer.addheader('From', '%s <%s>'%(authname, self.ISSUE_TRACKER_EMAIL))
writer.addheader('Reply-To', '%s <%s>'%(self.INSTANCE_NAME,
self.ISSUE_TRACKER_EMAIL))
writer.addheader('MIME-Version', '1.0')
# now try to send the message
try:
smtp = smtplib.SMTP(self.MAILHOST)
- smtp.sendmail(self.ISSUE_TRACKER_EMAIL, sendto, message.getvalue())
+ # send the message as admin so bounces are sent there instead
+ # of to roundup
+ smtp.sendmail(self.ADMIN_EMAIL, sendto, message.getvalue())
except socket.error, value:
raise MessageSendError, \
"Couldn't send confirmation email: mailhost %s"%value
#
# $Log: not supported by cvs2svn $
+# Revision 1.29 2001/12/11 04:50:49 richard
+# fixed the order of the blank line and '-------' line
+#
# Revision 1.28 2001/12/10 22:20:01 richard
# Enabled transaction support in the bsddb backend. It uses the anydbm code
# where possible, only replacing methods where the db is opened (it uses the