changeset 3258:1cbde34afa77

fix to doc
author Richard Jones <richard@users.sourceforge.net>
date Tue, 05 Apr 2005 01:06:54 +0000
parents 1a572fffd9a2
children e41e1540a287
files CHANGES.txt doc/customizing.txt doc/index.txt roundup/__init__.py
diffstat 4 files changed, 14 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Mon Apr 04 08:47:14 2005 +0000
+++ b/CHANGES.txt	Tue Apr 05 01:06:54 2005 +0000
@@ -44,6 +44,7 @@
 - fix roundup-server log and PID file paths to be absolute
 - fix initialisation of roundup-server in daemon mode so initialisation
   errors are visible
+- fix: 'Logout' link was enabled on issue index page only
 - have Permissions only test the check function if itemid is suppled
 - modify cgi templating system to check item-level permissions in listings
 - enable batching in message and file listings
@@ -61,6 +62,7 @@
 - removed rlog module (py 2.3 is minimum version now)
 - fixed class "help" listing paging (sf bug 1106329)
 - nicer error looking up values of None (response to sf bug 1108697)
+- added "imapServer.py" script (sf patch 934567)
 - fallback for (list) popups if javascript disabled (sf patch 1101626)
 
 
--- a/doc/customizing.txt	Mon Apr 04 08:47:14 2005 +0000
+++ b/doc/customizing.txt	Tue Apr 05 01:06:54 2005 +0000
@@ -2,7 +2,7 @@
 Customising Roundup
 ===================
 
-:Version: $Revision: 1.174 $
+:Version: $Revision: 1.175 $
 
 .. This document borrows from the ZopeBook section on ZPT. The original is at:
    http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -3692,6 +3692,7 @@
 
    The contents of the detector should be something like this::
 
+
     def blockresolution(db, cl, nodeid, newvalues):
         ''' If the issue has blockers, don't allow it to be resolved.
         '''
@@ -3722,18 +3723,21 @@
         if newvalues['status'] == resolved_id:
             raise ValueError, "This issue can't be resolved until %s resolved."%s
 
-    def resolveblockers(db, cl, nodeid, newvalues):
+
+    def resolveblockers(db, cl, nodeid, oldvalues):
         ''' When we resolve an issue that's a blocker, remove it from the
             blockers list of the issue(s) it blocks.
         '''
-        if not newvalues.has_key('status'):
+        newstatus = cl.get(nodeid,'status')
+
+        # no change?
+        if oldvalues.get('status', None) == newstatus:
             return
 
-        # get the resolved state ID
         resolved_id = db.status.lookup('resolved')
 
         # interesting?
-        if newvalues['status'] != resolved_id:
+        if newstatus != resolved_id:
             return
 
         # yes - find all the blocked issues, if any, and remove me from
@@ -3745,7 +3749,6 @@
                 blockers.remove(nodeid)
                 cl.set(issueid, blockers=blockers)
 
-
     def init(db):
         # might, in an obscure situation, happen in a create
         db.issue.audit('create', blockresolution)
--- a/doc/index.txt	Mon Apr 04 08:47:14 2005 +0000
+++ b/doc/index.txt	Tue Apr 05 01:06:54 2005 +0000
@@ -133,7 +133,7 @@
 Klamer Schutte,
 Dougal Scott,
 Stefan Seefeld,
-Jouni K Seppänen,
+Jouni K Seppanen,
 Jeffrey P Shell,
 Joel Shprentz,
 Terrel Shumway,
--- a/roundup/__init__.py	Mon Apr 04 08:47:14 2005 +0000
+++ b/roundup/__init__.py	Tue Apr 05 01:06:54 2005 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: __init__.py,v 1.31 2004-12-08 02:21:52 richard Exp $
+# $Id: __init__.py,v 1.32 2005-04-05 01:06:54 richard Exp $
 
 '''Roundup - issue tracking for knowledge workers.
 
@@ -68,6 +68,6 @@
 '''
 __docformat__ = 'restructuredtext'
 
-__version__ = '0.8.0b1'
+__version__ = '0.9.0b1'
 
 # vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/