Skip to content

Commit bf9f76e

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent f40c6f8 commit bf9f76e

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Fixed:
5757
- removed rlog module (py 2.3 is minimum version now)
5858
- fixed class "help" listing paging (sf bug 1106329)
5959
- nicer error looking up values of None (response to sf bug 1108697)
60+
- added "imapServer.py" script (sf patch 934567)
6061
- fallback for (list) popups if javascript disabled (sf patch 1101626)
6162

6263

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.161.2.10 $
5+
:Version: $Revision: 1.161.2.11 $
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
@@ -3689,6 +3689,7 @@ resolved. To achieve this:
36893689

36903690
The contents of the detector should be something like this::
36913691

3692+
36923693
def blockresolution(db, cl, nodeid, newvalues):
36933694
''' If the issue has blockers, don't allow it to be resolved.
36943695
'''
@@ -3719,18 +3720,21 @@ resolved. To achieve this:
37193720
if newvalues['status'] == resolved_id:
37203721
raise ValueError, "This issue can't be resolved until %s resolved."%s
37213722

3722-
def resolveblockers(db, cl, nodeid, newvalues):
3723+
3724+
def resolveblockers(db, cl, nodeid, oldvalues):
37233725
''' When we resolve an issue that's a blocker, remove it from the
37243726
blockers list of the issue(s) it blocks.
37253727
'''
3726-
if not newvalues.has_key('status'):
3728+
newstatus = cl.get(nodeid,'status')
3729+
3730+
# no change?
3731+
if oldvalues.get('status', None) == newstatus:
37273732
return
37283733

3729-
# get the resolved state ID
37303734
resolved_id = db.status.lookup('resolved')
37313735

37323736
# interesting?
3733-
if newvalues['status'] != resolved_id:
3737+
if newstatus != resolved_id:
37343738
return
37353739

37363740
# yes - find all the blocked issues, if any, and remove me from
@@ -3742,7 +3746,6 @@ resolved. To achieve this:
37423746
blockers.remove(nodeid)
37433747
cl.set(issueid, blockers=blockers)
37443748

3745-
37463749
def init(db):
37473750
# might, in an obscure situation, happen in a create
37483751
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,

doc/upgrading.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ Class.get() instead.
5252
0.8.0 New tracker layout
5353
------------------------
5454

55+
You will need to remove any reference to the "Web Registration" and
56+
"Email Registration" Permissions from your dbinit.py file before running
57+
the "genconfig" command.
58+
5559
The ``config.py`` file has been replaced by ``config.ini``. You may use the
5660
roundup-admin command "genconfig" to generate a new config file::
5761

@@ -111,6 +115,10 @@ assignation of the Edit Permission::
111115
p = db.security.getPermission('Create', cl)
112116
db.security.addPermissionToRole('User', p)
113117

118+
You should remove any reference to the "Web Registration" and "Email
119+
Registration" Permissions from your schema.py file as the "Create" "user"
120+
Permission replaces them.
121+
114122
You will need to explicitly let anonymous users access the web interface so
115123
that regular users are able to see the login form. Note that almost all
116124
trackers will need this Permission. The only situation where it's not

0 commit comments

Comments
 (0)