Skip to content

Commit 00efdd3

Browse files
author
Richard Jones
committed
couple of bugfixes from latest patch integration
1 parent b9f61c1 commit 00efdd3

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

roundup/cgi_client.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: cgi_client.py,v 1.65 2001-11-26 23:00:53 richard Exp $
18+
# $Id: cgi_client.py,v 1.66 2001-11-27 03:00:50 richard Exp $
1919

2020
__doc__ = """
2121
WWW request handler (also used in the stand-alone server).
@@ -496,7 +496,8 @@ def _post_editnode(self, nid, changes=None):
496496
summary = note
497497
m = [edit_msg + '%s\n'%note]
498498
else:
499-
m = [edit_msg]
499+
summary = edit_msg
500+
m = [summary]
500501

501502
first = 1
502503
for name, prop in props.items():
@@ -1040,6 +1041,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
10401041

10411042
#
10421043
# $Log: not supported by cvs2svn $
1044+
# Revision 1.65 2001/11/26 23:00:53 richard
1045+
# This config stuff is getting to be a real mess...
1046+
#
10431047
# Revision 1.64 2001/11/26 22:56:35 richard
10441048
# typo
10451049
#

roundup/roundupdb.py

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: roundupdb.py,v 1.21 2001-11-26 22:55:56 richard Exp $
18+
# $Id: roundupdb.py,v 1.22 2001-11-27 03:00:50 richard Exp $
1919

2020
__doc__ = """
2121
Extending hyperdb with types specific to issue-tracking.
@@ -410,15 +410,24 @@ def email_signature(self, nodeid, msgid):
410410
''' Add a signature to the e-mail with some useful information
411411
'''
412412
web = self.ISSUE_TRACKER_WEB + 'issue'+ nodeid
413-
return '''%s
414-
%s
415-
%s
416-
%s
417-
'''%('_'*len(web), self.INSTANCE_NAME, self.ISSUE_TRACKER_EMAIL, web,
418-
'_'*len(web))
413+
email = '"%s" <%s>'%(self.INSTANCE_NAME, self.ISSUE_TRACKER_EMAIL)
414+
line = '_' * max(len(web), len(email))
415+
return '%s\n%s\n%s\n%s'%(line, email, web, line)
419416

420417
#
421418
# $Log: not supported by cvs2svn $
419+
# Revision 1.21 2001/11/26 22:55:56 richard
420+
# Feature:
421+
# . Added INSTANCE_NAME to configuration - used in web and email to identify
422+
# the instance.
423+
# . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
424+
# signature info in e-mails.
425+
# . Some more flexibility in the mail gateway and more error handling.
426+
# . Login now takes you to the page you back to the were denied access to.
427+
#
428+
# Fixed:
429+
# . Lots of bugs, thanks Roché and others on the devel mailing list!
430+
#
422431
# Revision 1.20 2001/11/25 10:11:14 jhermann
423432
# Typo fix
424433
#

0 commit comments

Comments
 (0)