Skip to content

Commit fb941be

Browse files
author
Richard Jones
committed
fix to doc
1 parent 06d1aca commit fb941be

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Fixed:
4444
- fix roundup-server log and PID file paths to be absolute
4545
- fix initialisation of roundup-server in daemon mode so initialisation
4646
errors are visible
47+
- fix: 'Logout' link was enabled on issue index page only
4748
- have Permissions only test the check function if itemid is suppled
4849
- modify cgi templating system to check item-level permissions in listings
4950
- enable batching in message and file listings
@@ -61,6 +62,7 @@ Fixed:
6162
- removed rlog module (py 2.3 is minimum version now)
6263
- fixed class "help" listing paging (sf bug 1106329)
6364
- nicer error looking up values of None (response to sf bug 1108697)
65+
- added "imapServer.py" script (sf patch 934567)
6466
- fallback for (list) popups if javascript disabled (sf patch 1101626)
6567

6668

doc/customizing.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.174 $
5+
:Version: $Revision: 1.175 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -3692,6 +3692,7 @@ resolved. To achieve this:
36923692

36933693
The contents of the detector should be something like this::
36943694

3695+
36953696
def blockresolution(db, cl, nodeid, newvalues):
36963697
''' If the issue has blockers, don't allow it to be resolved.
36973698
'''
@@ -3722,18 +3723,21 @@ resolved. To achieve this:
37223723
if newvalues['status'] == resolved_id:
37233724
raise ValueError, "This issue can't be resolved until %s resolved."%s
37243725

3725-
def resolveblockers(db, cl, nodeid, newvalues):
3726+
3727+
def resolveblockers(db, cl, nodeid, oldvalues):
37263728
''' When we resolve an issue that's a blocker, remove it from the
37273729
blockers list of the issue(s) it blocks.
37283730
'''
3729-
if not newvalues.has_key('status'):
3731+
newstatus = cl.get(nodeid,'status')
3732+
3733+
# no change?
3734+
if oldvalues.get('status', None) == newstatus:
37303735
return
37313736

3732-
# get the resolved state ID
37333737
resolved_id = db.status.lookup('resolved')
37343738

37353739
# interesting?
3736-
if newvalues['status'] != resolved_id:
3740+
if newstatus != resolved_id:
37373741
return
37383742

37393743
# yes - find all the blocked issues, if any, and remove me from
@@ -3745,7 +3749,6 @@ resolved. To achieve this:
37453749
blockers.remove(nodeid)
37463750
cl.set(issueid, blockers=blockers)
37473751

3748-
37493752
def init(db):
37503753
# might, in an obscure situation, happen in a create
37513754
db.issue.audit('create', blockresolution)

doc/index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Florian Schulze,
133133
Klamer Schutte,
134134
Dougal Scott,
135135
Stefan Seefeld,
136-
Jouni K Sepp�nen,
136+
Jouni K Seppanen,
137137
Jeffrey P Shell,
138138
Joel Shprentz,
139139
Terrel Shumway,

roundup/__init__.py

Lines changed: 2 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: __init__.py,v 1.31 2004-12-08 02:21:52 richard Exp $
18+
# $Id: __init__.py,v 1.32 2005-04-05 01:06:54 richard Exp $
1919

2020
'''Roundup - issue tracking for knowledge workers.
2121
@@ -68,6 +68,6 @@
6868
'''
6969
__docformat__ = 'restructuredtext'
7070

71-
__version__ = '0.8.0b1'
71+
__version__ = '0.9.0b1'
7272

7373
# vim: set filetype=python ts=4 sw=4 et si

0 commit comments

Comments
 (0)