Code

Fixed missing import in mailgw :(
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 30 Aug 2001 06:01:17 +0000 (06:01 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 30 Aug 2001 06:01:17 +0000 (06:01 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@252 57a73879-2fb5-44c3-a270-3262357dd7e2

CHANGES.txt
doc/announcement.txt
roundup/htmltemplate.py
roundup/mailgw.py
setup.py

index 2c5b122e32d4e92f21d08b3c9f0518bbe30d8531..f59f4d8e00dd9f53332e300a53d4e3217239e1da 100644 (file)
@@ -1,6 +1,11 @@
 This file contains the changes to the Roundup system over time. The entries
 are given with the most recent entry first.
 
 This file contains the changes to the Roundup system over time. The entries
 are given with the most recent entry first.
 
+2001-08-30 - 0.2.8
+Fixed:
+ . Missing import in mailgw.
+
+
 2001-08-29 - 0.2.7
 Feature:
  . Text searches are now case insensitive. All forms of text search use
 2001-08-29 - 0.2.7
 Feature:
  . Text searches are now case insensitive. All forms of text search use
index 802fe272ab358b781667a94590c53e214c70ab6b..19b5dd492d73cedd98b2cb04b3502b64c6f22897 100644 (file)
@@ -1,8 +1,10 @@
-            Roundup [version] - an issue tracking system
+            Roundup 0.2.8 - an issue tracking system
 
 This is a bugfix release.
 
 
 This is a bugfix release.
 
-[CHANGES.txt entries for this version go here]
+Fixed:
+ . Missing import in mailgw.
+
 
 Roundup is a simple-to-use and -install issue-tracking system with 
 command-line, web and e-mail interfaces. It is based on the winning design 
 
 Roundup is a simple-to-use and -install issue-tracking system with 
 command-line, web and e-mail interfaces. It is based on the winning design 
index 3d9d69e70b3933f21ab964327230d44135fe302f..7e9eb907f0cd935897903a41a1396aff92f1c14e 100644 (file)
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: htmltemplate.py,v 1.21 2001-08-16 07:34:59 richard Exp $
+# $Id: htmltemplate.py,v 1.22 2001-08-30 06:01:17 richard Exp $
 
 import os, re, StringIO, urllib, cgi, errno
 
 
 import os, re, StringIO, urllib, cgi, errno
 
@@ -328,13 +328,14 @@ class List(Base):
     ''' list the items specified by property using the standard index for
         the class
     '''
     ''' list the items specified by property using the standard index for
         the class
     '''
-    def __call__(self, property, **args):
+    def __call__(self, property, reverse=0):
         propclass = self.properties[property]
         if isinstance(not propclass, hyperdb.Multilink):
             return '[List: not a Multilink]'
         fp = StringIO.StringIO()
         propclass = self.properties[property]
         if isinstance(not propclass, hyperdb.Multilink):
             return '[List: not a Multilink]'
         fp = StringIO.StringIO()
-        args['show_display_form'] = 0
         value = self.cl.get(self.nodeid, property)
         value = self.cl.get(self.nodeid, property)
+        if reverse:
+            value.reverse()
         # TODO: really not happy with the way templates is passed on here
         index(fp, self.templates, self.db, propclass.classname, nodeids=value,
             show_display_form=0)
         # TODO: really not happy with the way templates is passed on here
         index(fp, self.templates, self.db, propclass.classname, nodeids=value,
             show_display_form=0)
@@ -512,10 +513,10 @@ def index(client, templates, db, classname, filterspec={}, filter=[],
         if show_display_form:
             anchor = "%s?%s"%(classname, sortby(name, columns, filter,
                 sort, group, filterspec))
         if show_display_form:
             anchor = "%s?%s"%(classname, sortby(name, columns, filter,
                 sort, group, filterspec))
-            w('<td><span class="list-item"><a href="%s">%s</a></span></td>\n'%(
+            w('<td><span class="list-header"><a href="%s">%s</a></span></td>\n'%(
                 anchor, cname))
         else:
                 anchor, cname))
         else:
-            w('<td><span class="list-item">%s</span></td>\n'%cname)
+            w('<td><span class="list-header">%s</span></td>\n'%cname)
     w('</tr>\n')
 
     # this stuff is used for group headings - optimise the group names
     w('</tr>\n')
 
     # this stuff is used for group headings - optimise the group names
@@ -742,6 +743,9 @@ def newitem(client, templates, db, classname, form, replace=re.compile(
 
 #
 # $Log: not supported by cvs2svn $
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.21  2001/08/16 07:34:59  richard
+# better CGI text searching - but hidden filter fields are disappearing...
+#
 # Revision 1.20  2001/08/15 23:43:18  richard
 # Fixed some isFooTypes that I missed.
 # Refactored some code in the CGI code.
 # Revision 1.20  2001/08/15 23:43:18  richard
 # Fixed some isFooTypes that I missed.
 # Refactored some code in the CGI code.
index f715ee82c477bcd81c1a3a97bb5379f186f1300b..19151b2108934e9c711511fe468dcfcd023e0a7c 100644 (file)
@@ -72,13 +72,13 @@ are calling the create() method to create a new node). If an auditor raises
 an exception, the original message is bounced back to the sender with the
 explanatory message given in the exception. 
 
 an exception, the original message is bounced back to the sender with the
 explanatory message given in the exception. 
 
-$Id: mailgw.py,v 1.14 2001-08-13 23:02:54 richard Exp $
+$Id: mailgw.py,v 1.15 2001-08-30 06:01:17 richard Exp $
 '''
 
 
 import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
 import traceback
 '''
 
 
 import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
 import traceback
-import date
+import hyperdb, date
 
 class MailUsageError(ValueError):
     pass
 
 class MailUsageError(ValueError):
     pass
@@ -398,6 +398,9 @@ def parseContent(content, blank_line=re.compile(r'[\r\n]+\s*[\r\n]+'),
 
 #
 # $Log: not supported by cvs2svn $
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.14  2001/08/13 23:02:54  richard
+# Make the mail parser a little more robust.
+#
 # Revision 1.13  2001/08/12 06:32:36  richard
 # using isinstance(blah, Foo) now instead of isFooType
 #
 # Revision 1.13  2001/08/12 06:32:36  richard
 # using isinstance(blah, Foo) now instead of isFooType
 #
index 78f4315d466182d945e0fec8eef8695bb173b4cf..3e06aacd17b77239aa3dfecc60708019c64d5c9e 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: setup.py,v 1.17 2001-08-08 03:29:35 richard Exp $
+# $Id: setup.py,v 1.18 2001-08-30 06:01:17 richard Exp $
 
 from distutils.core import setup, Extension
 from distutils.util import get_platform
 
 from distutils.core import setup, Extension
 from distutils.util import get_platform
@@ -42,7 +42,7 @@ for t in templates:
 
 
 setup ( name = "roundup", 
 
 
 setup ( name = "roundup", 
-        version = "0.2.7",
+        version = "0.2.8",
         description = "Roundup issue tracking system.",
         author = "Richard Jones",
         author_email = "richard@sourceforge.net",
         description = "Roundup issue tracking system.",
         author = "Richard Jones",
         author_email = "richard@sourceforge.net",
@@ -53,6 +53,9 @@ setup ( name = "roundup",
 
 #
 # $Log: not supported by cvs2svn $
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.17  2001/08/08 03:29:35  richard
+# Next release is 0.2.6
+#
 # Revision 1.16  2001/08/07 00:24:42  richard
 # stupid typo
 #
 # Revision 1.16  2001/08/07 00:24:42  richard
 # stupid typo
 #