From dbefb5b8876f101fc52733479352a0667d8ec62d Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 21 Nov 2001 02:34:18 +0000 Subject: [PATCH] Added a target version field to the extended issue schema git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@405 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 1 + MIGRATION.txt | 5 ++++- roundup/backends/back_anydbm.py | 10 ++++++++-- roundup/backends/back_bsddb.py | 10 ++++++++-- roundup/backends/back_bsddb3.py | 10 ++++++++-- roundup/templates/extended/dbinit.py | 10 ++++++++-- roundup/templates/extended/html/issue.item | 16 ++++++++++++---- 7 files changed, 49 insertions(+), 13 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 11b5ada..6bb1a52 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -15,6 +15,7 @@ Feature: . users may attach files to issues (and support in ext) through the web now . incorporated patch from Roch'e Compaan implementing attachments in nosy e-mail + . added a target version field to the extended issue schema Fixed: . Fixed a bug in HTMLTemplate changes. diff --git a/MIGRATION.txt b/MIGRATION.txt index 3c9ead1..03cb38c 100644 --- a/MIGRATION.txt +++ b/MIGRATION.txt @@ -79,7 +79,8 @@ template in the core source. MESSAGES_TO_AUTHOR has been added to the IssueClass in dbinit.py. Set to 'yes' to send nosy messages to the author. Default behaviour is to not send nosy -messages to the author. +messages to the author. You will need to add MESSAGES_TO_AUTHOR to your +dbinit.py in your instance home. CGI script roundup.cgi @@ -89,3 +90,5 @@ need to install it again from the cgi-bin directory of the source distribution. Make sure you update the ROUNDUP_INSTANCE_HOMES after the copy. + + diff --git a/roundup/backends/back_anydbm.py b/roundup/backends/back_anydbm.py index 0dc2f1d..eb2c143 100644 --- a/roundup/backends/back_anydbm.py +++ b/roundup/backends/back_anydbm.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: back_anydbm.py,v 1.10 2001-10-09 23:58:10 richard Exp $ +#$Id: back_anydbm.py,v 1.11 2001-11-21 02:34:18 richard Exp $ import anydbm, os, marshal from roundup import hyperdb, date, password @@ -179,7 +179,7 @@ class Database(hyperdb.Database): we can be del'ed and the underlying anydbm connections closed cleanly. ''' - self.classes = None + self.classes = {} # @@ -201,6 +201,12 @@ class Database(hyperdb.Database): # #$Log: not supported by cvs2svn $ +#Revision 1.10 2001/10/09 23:58:10 richard +#Moved the data stringification up into the hyperdb.Class class' get, set +#and create methods. This means that the data is also stringified for the +#journal call, and removes duplication of code from the backends. The +#backend code now only sees strings. +# #Revision 1.9 2001/10/09 07:25:59 richard #Added the Password property type. See "pydoc roundup.password" for #implementation details. Have updated some of the documentation too. diff --git a/roundup/backends/back_bsddb.py b/roundup/backends/back_bsddb.py index cc4e924..baa8070 100644 --- a/roundup/backends/back_bsddb.py +++ b/roundup/backends/back_bsddb.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: back_bsddb.py,v 1.11 2001-10-09 23:58:10 richard Exp $ +#$Id: back_bsddb.py,v 1.12 2001-11-21 02:34:18 richard Exp $ import bsddb, os, marshal from roundup import hyperdb, date, password @@ -179,7 +179,7 @@ class Database(hyperdb.Database): we can be del'ed and the underlying bsddb connections closed cleanly. ''' - self.classes = None + self.classes = {} # @@ -200,6 +200,12 @@ class Database(hyperdb.Database): # #$Log: not supported by cvs2svn $ +#Revision 1.11 2001/10/09 23:58:10 richard +#Moved the data stringification up into the hyperdb.Class class' get, set +#and create methods. This means that the data is also stringified for the +#journal call, and removes duplication of code from the backends. The +#backend code now only sees strings. +# #Revision 1.10 2001/10/09 07:25:59 richard #Added the Password property type. See "pydoc roundup.password" for #implementation details. Have updated some of the documentation too. diff --git a/roundup/backends/back_bsddb3.py b/roundup/backends/back_bsddb3.py index e710e08..9393aef 100644 --- a/roundup/backends/back_bsddb3.py +++ b/roundup/backends/back_bsddb3.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: back_bsddb3.py,v 1.9 2001-10-09 23:58:10 richard Exp $ +#$Id: back_bsddb3.py,v 1.10 2001-11-21 02:34:18 richard Exp $ import bsddb3, os, marshal from roundup import hyperdb, date, password @@ -180,7 +180,7 @@ class Database(hyperdb.Database): we can be del'ed and the underlying bsddb connections closed cleanly. ''' - self.classes = None + self.classes = {} # @@ -201,6 +201,12 @@ class Database(hyperdb.Database): # #$Log: not supported by cvs2svn $ +#Revision 1.9 2001/10/09 23:58:10 richard +#Moved the data stringification up into the hyperdb.Class class' get, set +#and create methods. This means that the data is also stringified for the +#journal call, and removes duplication of code from the backends. The +#backend code now only sees strings. +# #Revision 1.8 2001/10/09 07:25:59 richard #Added the Password property type. See "pydoc roundup.password" for #implementation details. Have updated some of the documentation too. diff --git a/roundup/templates/extended/dbinit.py b/roundup/templates/extended/dbinit.py index a730a5c..45754cb 100644 --- a/roundup/templates/extended/dbinit.py +++ b/roundup/templates/extended/dbinit.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: dbinit.py,v 1.13 2001-10-30 00:54:45 richard Exp $ +# $Id: dbinit.py,v 1.14 2001-11-21 02:34:18 richard Exp $ import os @@ -110,7 +110,7 @@ def open(name=None): assignedto=Link("user"), priority=Link("priority"), status=Link("status"), product=Link("product"), platform=Multilink("platform"), version=String(), - supportcall=Multilink("support")) + targetversion=String(), supportcall=Multilink("support")) import detectors detectors.init(db) @@ -176,6 +176,12 @@ def init(adminpw): # # $Log: not supported by cvs2svn $ +# Revision 1.13 2001/10/30 00:54:45 richard +# Features: +# . #467129 ] Lossage when username=e-mail-address +# . #473123 ] Change message generation for author +# . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue. +# # Revision 1.12 2001/10/09 07:25:59 richard # Added the Password property type. See "pydoc roundup.password" for # implementation details. Have updated some of the documentation too. diff --git a/roundup/templates/extended/html/issue.item b/roundup/templates/extended/html/issue.item index 7c7573a..7e83264 100644 --- a/roundup/templates/extended/html/issue.item +++ b/roundup/templates/extended/html/issue.item @@ -1,4 +1,4 @@ - + @@ -13,11 +13,19 @@ - - + version: + + + + + + + +
Product - version:PlatformPlatform
 Target Version + +
Created -- 2.30.2