From e98ae4aebd0f75f492a7eb1448d9c645ab6c861a Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 27 Nov 2001 03:00:50 +0000 Subject: [PATCH] couple of bugfixes from latest patch integration git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@426 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi_client.py | 8 ++++++-- roundup/roundupdb.py | 23 ++++++++++++++++------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py index 4b8c7c4..4ce3bba 100644 --- a/roundup/cgi_client.py +++ b/roundup/cgi_client.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: cgi_client.py,v 1.65 2001-11-26 23:00:53 richard Exp $ +# $Id: cgi_client.py,v 1.66 2001-11-27 03:00:50 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -496,7 +496,8 @@ class Client: summary = note m = [edit_msg + '%s\n'%note] else: - m = [edit_msg] + summary = edit_msg + m = [summary] first = 1 for name, prop in props.items(): @@ -1040,6 +1041,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0): # # $Log: not supported by cvs2svn $ +# Revision 1.65 2001/11/26 23:00:53 richard +# This config stuff is getting to be a real mess... +# # Revision 1.64 2001/11/26 22:56:35 richard # typo # diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py index dde58df..e5fe104 100644 --- a/roundup/roundupdb.py +++ b/roundup/roundupdb.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundupdb.py,v 1.21 2001-11-26 22:55:56 richard Exp $ +# $Id: roundupdb.py,v 1.22 2001-11-27 03:00:50 richard Exp $ __doc__ = """ Extending hyperdb with types specific to issue-tracking. @@ -410,15 +410,24 @@ class IssueClass(Class): ''' Add a signature to the e-mail with some useful information ''' web = self.ISSUE_TRACKER_WEB + 'issue'+ nodeid - return '''%s -%s -%s -%s -'''%('_'*len(web), self.INSTANCE_NAME, self.ISSUE_TRACKER_EMAIL, web, - '_'*len(web)) + email = '"%s" <%s>'%(self.INSTANCE_NAME, self.ISSUE_TRACKER_EMAIL) + line = '_' * max(len(web), len(email)) + return '%s\n%s\n%s\n%s'%(line, email, web, line) # # $Log: not supported by cvs2svn $ +# Revision 1.21 2001/11/26 22:55:56 richard +# Feature: +# . Added INSTANCE_NAME to configuration - used in web and email to identify +# the instance. +# . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup +# signature info in e-mails. +# . Some more flexibility in the mail gateway and more error handling. +# . Login now takes you to the page you back to the were denied access to. +# +# Fixed: +# . Lots of bugs, thanks Roché and others on the devel mailing list! +# # Revision 1.20 2001/11/25 10:11:14 jhermann # Typo fix # -- 2.30.2