Skip to content

Commit a8adde2

Browse files
author
Richard Jones
committed
[SF#551483] assignedto in Client.make_index_link
1 parent 3f052a7 commit a8adde2

File tree

4 files changed

+39
-12
lines changed

4 files changed

+39
-12
lines changed

CHANGES.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ Fixed:
4444
. fixed some sorting issues that were breaking some unit tests under py2.2
4545
. mailgw test output dir was confusing the init test (but only on 2.2 *shrug*)
4646
. node caching now works, and gives a small boost in performance
47-
. bsddb3 backend now works, reinstating
47+
. #449374 ] re-enable bsddb3 backend
48+
bsddb3 backend now works, reinstating
49+
. #551483 ] assignedto in Client.make_index_link
50+
4851

4952
2002-03-25 - 0.4.1
5053
Feature:

roundup/cgi_client.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: cgi_client.py,v 1.119 2002-05-15 06:21:21 richard Exp $
18+
# $Id: cgi_client.py,v 1.120 2002-05-21 06:05:53 richard Exp $
1919

2020
__doc__ = """
2121
WWW request handler (also used in the stand-alone server).
@@ -126,7 +126,7 @@ def make_index_link(self, name):
126126
# now format the filterspec
127127
for k, l in filterspec.items():
128128
# fix up the assignedto if needed
129-
if k == 'assignedto' and l is None:
129+
if l == 'CURRENT USER':
130130
l = [self.db.user.lookup(self.user)]
131131

132132
# add
@@ -1383,6 +1383,14 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
13831383

13841384
#
13851385
# $Log: not supported by cvs2svn $
1386+
# Revision 1.119 2002/05/15 06:21:21 richard
1387+
# . node caching now works, and gives a small boost in performance
1388+
#
1389+
# As a part of this, I cleaned up the DEBUG output and implemented TRACE
1390+
# output (HYPERDBTRACE='file to trace to') with checkpoints at the start of
1391+
# CGI requests. Run roundup with python -O to skip all the DEBUG/TRACE stuff
1392+
# (using if __debug__ which is compiled out with -O)
1393+
#
13861394
# Revision 1.118 2002/05/12 23:46:33 richard
13871395
# ehem, part 2
13881396
#

roundup/templates/classic/instance_config.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: instance_config.py,v 1.15 2002-05-02 07:56:34 richard Exp $
18+
# $Id: instance_config.py,v 1.16 2002-05-21 06:05:54 richard Exp $
1919

2020
MAIL_DOMAIN=MAILHOST=HTTP_HOST=None
2121
HTTP_PORT=0
@@ -144,8 +144,8 @@
144144
},
145145
}
146146

147-
# The "my issues" index -- note that the user's id will replace the None
148-
# valud of the "assignedto" filterspec
147+
# The "my issues" index -- note that the user's id will replace the
148+
# 'CURRENT USER' value of the "assignedto" filterspec
149149
USER_INDEX = {
150150
'LABEL': 'My Issues',
151151
'CLASS': 'issue',
@@ -155,13 +155,21 @@
155155
'COLUMNS': ['id','activity','title','creator','status'],
156156
'FILTERSPEC': {
157157
'status': ['-1', '1', '2', '3', '4', '5', '6', '7'],
158-
'assignedto': None,
158+
'assignedto': 'CURRENT USER',
159159
},
160160
}
161161

162162

163163
#
164164
# $Log: not supported by cvs2svn $
165+
# Revision 1.15 2002/05/02 07:56:34 richard
166+
# . added option to automatically add the authors and recipients of messages
167+
# to the nosy lists with the options ADD_AUTHOR_TO_NOSY (default 'new') and
168+
# ADD_RECIPIENTS_TO_NOSY (default 'new'). These settings emulate the current
169+
# behaviour. Setting them to 'yes' will add the author/recipients to the nosy
170+
# on messages that create issues and followup messages.
171+
# . added missing documentation for a few of the config option values
172+
#
165173
# Revision 1.14 2002/04/23 15:46:49 rochecompaan
166174
# . stripping of the email message body can now be controlled through
167175
# the config variables EMAIL_KEEP_QUOTED_TEST and

roundup/templates/extended/instance_config.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: instance_config.py,v 1.15 2002-05-02 07:56:34 richard Exp $
18+
# $Id: instance_config.py,v 1.16 2002-05-21 06:05:54 richard Exp $
1919

2020
MAIL_DOMAIN=MAILHOST=HTTP_HOST=None
2121
HTTP_PORT=0
@@ -169,8 +169,8 @@
169169
},
170170
}
171171

172-
# The "my issues" indexes -- note that the user's id will replace the None
173-
# valud of the "assignedto" filterspec
172+
# The "my issues" index -- note that the user's id will replace the
173+
# 'CURRENT USER' value of the "assignedto" filterspec
174174
MY_ISSUE_INDEX = {
175175
'LABEL': 'My Issues',
176176
'CLASS': 'issue',
@@ -180,7 +180,7 @@
180180
'COLUMNS': ['id','activity','title','creator','status'],
181181
'FILTERSPEC': {
182182
'status': ['-1', '1', '2', '3', '4', '5', '6', '7'],
183-
'assignedto': None,
183+
'assignedto': 'CURRENT USER',
184184
},
185185
}
186186

@@ -193,12 +193,20 @@
193193
'COLUMNS': ['id','activity','title','creator','status'],
194194
'FILTERSPEC': {
195195
'status': ['-1', '1', '2', '3', '4', '5', '6', '7'],
196-
'assignedto': None,
196+
'assignedto': 'CURRENT USER',
197197
},
198198
}
199199

200200
#
201201
# $Log: not supported by cvs2svn $
202+
# Revision 1.15 2002/05/02 07:56:34 richard
203+
# . added option to automatically add the authors and recipients of messages
204+
# to the nosy lists with the options ADD_AUTHOR_TO_NOSY (default 'new') and
205+
# ADD_RECIPIENTS_TO_NOSY (default 'new'). These settings emulate the current
206+
# behaviour. Setting them to 'yes' will add the author/recipients to the nosy
207+
# on messages that create issues and followup messages.
208+
# . added missing documentation for a few of the config option values
209+
#
202210
# Revision 1.14 2002/04/23 15:46:49 rochecompaan
203211
# . stripping of the email message body can now be controlled through
204212
# the config variables EMAIL_KEEP_QUOTED_TEST and

0 commit comments

Comments
 (0)