changeset 2109:a981d3b96397 maint-0.6

add line to rego email to help URL detection [SF#906247]
author Richard Jones <richard@users.sourceforge.net>
date Wed, 24 Mar 2004 20:31:43 +0000
parents f4550f7f93cb
children e53972f581e3
files CHANGES.txt demo.py roundup/cgi/client.py
diffstat 3 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Mon Mar 22 00:16:33 2004 +0000
+++ b/CHANGES.txt	Wed Mar 24 20:31:43 2004 +0000
@@ -8,6 +8,7 @@
   appended (so the demo tracker's template name is "classic-demo")
 - handle bad multilink input at item creation time better (sf bug 917834)
 - make sure email signature starts on a newline (sf bug 919759)
+- add line to rego email to help URL detection (sf bug 906247)
 
 
 2004-03-01 0.6.7
--- a/demo.py	Mon Mar 22 00:16:33 2004 +0000
+++ b/demo.py	Wed Mar 24 20:31:43 2004 +0000
@@ -2,7 +2,7 @@
 #
 # Copyright (c) 2003 Richard Jones (richard@mechanicalcat.net)
 # 
-# $Id: demo.py,v 1.5.2.2 2004-01-08 21:24:46 richard Exp $
+# $Id: demo.py,v 1.5.2.3 2004-03-24 20:31:43 richard Exp $
 
 import sys, os, string, re, urlparse
 import shutil, socket, errno, BaseHTTPServer
@@ -21,7 +21,7 @@
     except os.error, error:
         if error.errno != errno.ENOENT:
             raise
-    init.write_select_db(home, 'anydbm')
+    init.write_select_db(home, 'sqlite')
 
     # figure basic params for server
     hostname = socket.gethostname()
@@ -49,6 +49,13 @@
     s = f.read().replace('http://tracker.example/cgi-bin/roundup.cgi/bugs/',
         url)
     f.close()
+    s = s + """
+MYSQL_DBHOST = 'localhost'
+MYSQL_DBUSER = 'rounduptest'
+MYSQL_DBPASSWORD = 'rounduptest'
+MYSQL_DBNAME = 'rounduptest'
+MYSQL_DATABASE = (MYSQL_DBHOST, MYSQL_DBUSER, MYSQL_DBPASSWORD, MYSQL_DBNAME)
+"""
     f = open(os.path.join(home, 'config.py'), 'w')
     f.write(s)
     f.close()
--- a/roundup/cgi/client.py	Mon Mar 22 00:16:33 2004 +0000
+++ b/roundup/cgi/client.py	Wed Mar 24 20:31:43 2004 +0000
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.130.2.14 2004-02-26 22:20:43 richard Exp $
+# $Id: client.py,v 1.130.2.15 2004-03-24 20:31:43 richard Exp $
 
 __doc__ = """
 WWW request handler (also used in the stand-alone server).
@@ -794,6 +794,7 @@
 please visit the following URL:
 
    %(url)s?@action=confrego&otk=%(otk)s
+
 '''%{'name': props['username'], 'tracker': tracker_name, 'url': self.base,
                 'otk': otk}
         if not self.sendEmail(props['address'], subject, body):

Roundup Issue Tracker: http://roundup-tracker.org/