Mercurial > p > roundup > code
changeset 394:f43af1e97fdd
Added a target version field to the extended issue schema
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 21 Nov 2001 02:34:18 +0000 |
| parents | f40388721e40 |
| children | d4b19c2ee740 |
| files | CHANGES.txt MIGRATION.txt roundup/backends/back_anydbm.py roundup/backends/back_bsddb.py roundup/backends/back_bsddb3.py roundup/templates/extended/dbinit.py roundup/templates/extended/html/issue.item |
| diffstat | 7 files changed, 49 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Thu Nov 15 10:36:17 2001 +0000 +++ b/CHANGES.txt Wed Nov 21 02:34:18 2001 +0000 @@ -15,6 +15,7 @@ . 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.
--- a/MIGRATION.txt Thu Nov 15 10:36:17 2001 +0000 +++ b/MIGRATION.txt Wed Nov 21 02:34:18 2001 +0000 @@ -79,7 +79,8 @@ 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 @@ distribution. Make sure you update the ROUNDUP_INSTANCE_HOMES after the copy. + +
--- a/roundup/backends/back_anydbm.py Thu Nov 15 10:36:17 2001 +0000 +++ b/roundup/backends/back_anydbm.py Wed Nov 21 02:34:18 2001 +0000 @@ -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 @@ we can be del'ed and the underlying anydbm connections closed cleanly. ''' - self.classes = None + self.classes = {} # @@ -201,6 +201,12 @@ # #$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.
--- a/roundup/backends/back_bsddb.py Thu Nov 15 10:36:17 2001 +0000 +++ b/roundup/backends/back_bsddb.py Wed Nov 21 02:34:18 2001 +0000 @@ -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 @@ we can be del'ed and the underlying bsddb connections closed cleanly. ''' - self.classes = None + self.classes = {} # @@ -200,6 +200,12 @@ # #$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.
--- a/roundup/backends/back_bsddb3.py Thu Nov 15 10:36:17 2001 +0000 +++ b/roundup/backends/back_bsddb3.py Wed Nov 21 02:34:18 2001 +0000 @@ -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 @@ we can be del'ed and the underlying bsddb connections closed cleanly. ''' - self.classes = None + self.classes = {} # @@ -201,6 +201,12 @@ # #$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.
--- a/roundup/templates/extended/dbinit.py Thu Nov 15 10:36:17 2001 +0000 +++ b/roundup/templates/extended/dbinit.py Wed Nov 21 02:34:18 2001 +0000 @@ -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 @@ 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 @@ # # $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.
--- a/roundup/templates/extended/html/issue.item Thu Nov 15 10:36:17 2001 +0000 +++ b/roundup/templates/extended/html/issue.item Wed Nov 21 02:34:18 2001 +0000 @@ -1,4 +1,4 @@ -<!-- $Id: issue.item,v 1.6 2001-11-14 21:35:22 richard Exp $--> +<!-- $Id: issue.item,v 1.7 2001-11-21 02:34:18 richard Exp $--> <table border=0 cellspacing=0 cellpadding=2> <tr class="strong-header"> @@ -13,12 +13,20 @@ <tr bgcolor="ffffea"> <td width=1% nowrap align=right><span class="form-label">Product</span></td> <td class="form-text" valign=middle><display call="menu('product')"> - version:<display call="field('version', 5)"></td> - <td width=1% nowrap align=right><span class="form-label">Platform</span></td> - <td class="form-text" valign=middle><display call="checklist('platform')"></td> + <span class="form-label">version:</span><display call="field('version', 5)"></td> + <td rowspan=2 width=1% nowrap align=right><span class="form-label">Platform</span></td> + <td rowspan=2 class="form-text" valign=middle><display call="checklist('platform')"></td> </tr> <tr bgcolor="ffffea"> + <td width=1% nowrap align=right> </td> + <td align=left><span class="form-label">Target Version</span> + <display call="field('targetversion', 5)"> + </td> +</tr> + + +<tr bgcolor="ffffea"> <td width=1% nowrap align=right><span class="form-label">Created</span></td> <td class="form-text"><display call="reldate('creation', pretty=1)"> (<display call="plain('creator')">)</td>
