From: richard Date: Thu, 30 Aug 2001 06:01:17 +0000 (+0000) Subject: Fixed missing import in mailgw :( X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=733090b377106f1c2457690c1ce2226af6c6ee9d;p=roundup.git Fixed missing import in mailgw :( git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@252 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 2c5b122..f59f4d8 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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. +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 diff --git a/doc/announcement.txt b/doc/announcement.txt index 802fe27..19b5dd4 100644 --- a/doc/announcement.txt +++ b/doc/announcement.txt @@ -1,8 +1,10 @@ - Roundup [version] - an issue tracking system + Roundup 0.2.8 - an issue tracking system 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 diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index 3d9d69e..7e9eb90 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -15,7 +15,7 @@ # 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 @@ -328,13 +328,14 @@ class List(Base): ''' 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() - args['show_display_form'] = 0 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) @@ -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)) - w('%s\n'%( + w('%s\n'%( anchor, cname)) else: - w('%s\n'%cname) + w('%s\n'%cname) w('\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 $ +# 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. diff --git a/roundup/mailgw.py b/roundup/mailgw.py index f715ee8..19151b2 100644 --- a/roundup/mailgw.py +++ b/roundup/mailgw.py @@ -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. -$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 date +import hyperdb, date 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 $ +# 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 # diff --git a/setup.py b/setup.py index 78f4315..3e06aac 100644 --- 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. # -# $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 @@ -42,7 +42,7 @@ for t in templates: setup ( name = "roundup", - version = "0.2.7", + version = "0.2.8", 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 $ +# 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 #