[CMF-checkins] CVS: CMF/DCWorkflow - CHANGES.txt:1.10
WorkflowUIMixin.py:1.10
Shane Hathaway
shane at zope.com
Mon Feb 9 16:40:16 EST 2004
Update of /cvs-repository/CMF/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv16344
Modified Files:
CHANGES.txt WorkflowUIMixin.py
Log Message:
Added a pop-up expression reference and elaborated CHANGES.txt.
=== CMF/DCWorkflow/CHANGES.txt 1.9 => 1.10 ===
--- CMF/DCWorkflow/CHANGES.txt:1.9 Thu Jan 30 16:26:08 2003
+++ CMF/DCWorkflow/CHANGES.txt Mon Feb 9 16:39:45 2004
@@ -1,4 +1,18 @@
+Next release
+
+- Added support for groups. Although the implementation is currently
+tied to a particular implementation of groups, it should be
+easy to generalize to any product that adds groups to Zope.
+
+- Added a pop-up expression reference.
+
+- Gave Managers the option to bypass all guards.
+
+- Workflow can now help decide whether object types appear in add
+menus. This requires help from the types tool.
+
+
Version 0.5
- Help documentation contributed by John Morton.
@@ -17,6 +31,7 @@
- Expression.py was moved to CMFCore.
+
Version 0.4.2
- Fixed getInfoFor() using patch from Sebastien.Bigaret at inqual.com. Thanks!
@@ -28,6 +43,7 @@
- Added scripts that get executed after a transition.
+
Version 0.4.1
- Corrected an expression in the classic workflow implementation.
@@ -35,6 +51,7 @@
- Made expressions work again in scripts by removing the requirement
that "REQUEST" exist.
+
Version 0.4
- Thanks to Ulrich Eck (ueck at net-labs.de), you can now set variables
@@ -49,6 +66,7 @@
- Added a second default workflow that closely resembles the "classic"
default workflow. Just visit a workflow tool and click "Add workflow"
then select "Web-configurable workflow [Classic]".
+
Version 0.3 (never officially released)
=== CMF/DCWorkflow/WorkflowUIMixin.py 1.9 => 1.10 ===
--- CMF/DCWorkflow/WorkflowUIMixin.py:1.9 Wed Feb 4 15:35:20 2004
+++ CMF/DCWorkflow/WorkflowUIMixin.py Mon Feb 9 16:39:45 2004
@@ -15,6 +15,8 @@
$Id$
"""
+import os
+
from Globals import DTMLFile
import Globals
from AccessControl import ClassSecurityInfo
@@ -202,5 +204,18 @@
else:
return Guard().__of__(self) # Create a temporary guard.
+ security.declarePublic('guardExprDocs')
+ def guardExprDocs(self):
+ """Returns documentation on guard expressions.
+ """
+ here = os.path.dirname(__file__)
+ fn = os.path.join(here, 'doc', 'expressions.stx')
+ f = open(fn, 'rt')
+ try:
+ text = f.read()
+ finally:
+ f.close()
+ from DocumentTemplate.DT_Var import structured_text
+ return structured_text(text)
Globals.InitializeClass(WorkflowUIMixin)
More information about the CMF-checkins
mailing list