From: richard Date: Tue, 21 May 2002 06:05:54 +0000 (+0000) Subject: . #551483 ] assignedto in Client.make_index_link X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a70af9d32015ae2ef54acb4fc7d4dfe161696c81;p=roundup.git . #551483 ] assignedto in Client.make_index_link git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@743 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index b20519b..c929c81 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -44,7 +44,10 @@ Fixed: . fixed some sorting issues that were breaking some unit tests under py2.2 . mailgw test output dir was confusing the init test (but only on 2.2 *shrug*) . node caching now works, and gives a small boost in performance - . bsddb3 backend now works, reinstating + . #449374 ] re-enable bsddb3 backend + bsddb3 backend now works, reinstating + . #551483 ] assignedto in Client.make_index_link + 2002-03-25 - 0.4.1 Feature: diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py index 9bf6b28..031d669 100644 --- a/roundup/cgi_client.py +++ b/roundup/cgi_client.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: cgi_client.py,v 1.119 2002-05-15 06:21:21 richard Exp $ +# $Id: cgi_client.py,v 1.120 2002-05-21 06:05:53 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -126,7 +126,7 @@ function help_window(helpurl, width, height) { # now format the filterspec for k, l in filterspec.items(): # fix up the assignedto if needed - if k == 'assignedto' and l is None: + if l == 'CURRENT USER': l = [self.db.user.lookup(self.user)] # add @@ -1383,6 +1383,14 @@ def parsePropsFromForm(db, cl, form, nodeid=0): # # $Log: not supported by cvs2svn $ +# Revision 1.119 2002/05/15 06:21:21 richard +# . node caching now works, and gives a small boost in performance +# +# As a part of this, I cleaned up the DEBUG output and implemented TRACE +# output (HYPERDBTRACE='file to trace to') with checkpoints at the start of +# CGI requests. Run roundup with python -O to skip all the DEBUG/TRACE stuff +# (using if __debug__ which is compiled out with -O) +# # Revision 1.118 2002/05/12 23:46:33 richard # ehem, part 2 # diff --git a/roundup/templates/classic/instance_config.py b/roundup/templates/classic/instance_config.py index 34e5b33..4629918 100644 --- a/roundup/templates/classic/instance_config.py +++ b/roundup/templates/classic/instance_config.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: instance_config.py,v 1.15 2002-05-02 07:56:34 richard Exp $ +# $Id: instance_config.py,v 1.16 2002-05-21 06:05:54 richard Exp $ MAIL_DOMAIN=MAILHOST=HTTP_HOST=None HTTP_PORT=0 @@ -144,8 +144,8 @@ UNASSIGNED_INDEX = { }, } -# The "my issues" index -- note that the user's id will replace the None -# valud of the "assignedto" filterspec +# The "my issues" index -- note that the user's id will replace the +# 'CURRENT USER' value of the "assignedto" filterspec USER_INDEX = { 'LABEL': 'My Issues', 'CLASS': 'issue', @@ -155,13 +155,21 @@ USER_INDEX = { 'COLUMNS': ['id','activity','title','creator','status'], 'FILTERSPEC': { 'status': ['-1', '1', '2', '3', '4', '5', '6', '7'], - 'assignedto': None, + 'assignedto': 'CURRENT USER', }, } # # $Log: not supported by cvs2svn $ +# Revision 1.15 2002/05/02 07:56:34 richard +# . added option to automatically add the authors and recipients of messages +# to the nosy lists with the options ADD_AUTHOR_TO_NOSY (default 'new') and +# ADD_RECIPIENTS_TO_NOSY (default 'new'). These settings emulate the current +# behaviour. Setting them to 'yes' will add the author/recipients to the nosy +# on messages that create issues and followup messages. +# . added missing documentation for a few of the config option values +# # Revision 1.14 2002/04/23 15:46:49 rochecompaan # . stripping of the email message body can now be controlled through # the config variables EMAIL_KEEP_QUOTED_TEST and diff --git a/roundup/templates/extended/instance_config.py b/roundup/templates/extended/instance_config.py index 264f4da..291d94a 100644 --- a/roundup/templates/extended/instance_config.py +++ b/roundup/templates/extended/instance_config.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: instance_config.py,v 1.15 2002-05-02 07:56:34 richard Exp $ +# $Id: instance_config.py,v 1.16 2002-05-21 06:05:54 richard Exp $ MAIL_DOMAIN=MAILHOST=HTTP_HOST=None HTTP_PORT=0 @@ -169,8 +169,8 @@ UNASSIGNED_SUPPORT_INDEX = { }, } -# The "my issues" indexes -- note that the user's id will replace the None -# valud of the "assignedto" filterspec +# The "my issues" index -- note that the user's id will replace the +# 'CURRENT USER' value of the "assignedto" filterspec MY_ISSUE_INDEX = { 'LABEL': 'My Issues', 'CLASS': 'issue', @@ -180,7 +180,7 @@ MY_ISSUE_INDEX = { 'COLUMNS': ['id','activity','title','creator','status'], 'FILTERSPEC': { 'status': ['-1', '1', '2', '3', '4', '5', '6', '7'], - 'assignedto': None, + 'assignedto': 'CURRENT USER', }, } @@ -193,12 +193,20 @@ MY_SUPPORT_INDEX = { 'COLUMNS': ['id','activity','title','creator','status'], 'FILTERSPEC': { 'status': ['-1', '1', '2', '3', '4', '5', '6', '7'], - 'assignedto': None, + 'assignedto': 'CURRENT USER', }, } # # $Log: not supported by cvs2svn $ +# Revision 1.15 2002/05/02 07:56:34 richard +# . added option to automatically add the authors and recipients of messages +# to the nosy lists with the options ADD_AUTHOR_TO_NOSY (default 'new') and +# ADD_RECIPIENTS_TO_NOSY (default 'new'). These settings emulate the current +# behaviour. Setting them to 'yes' will add the author/recipients to the nosy +# on messages that create issues and followup messages. +# . added missing documentation for a few of the config option values +# # Revision 1.14 2002/04/23 15:46:49 rochecompaan # . stripping of the email message body can now be controlled through # the config variables EMAIL_KEEP_QUOTED_TEST and