Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lisa Casino
slapos
Commits
d2a327c8
Commit
d2a327c8
authored
Apr 09, 2021
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move to CMF2.3
parent
c4b68ad5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
48 deletions
+28
-48
component/egg-patch/Products.DCWorkflow/workflow_method.patch
...onent/egg-patch/Products.DCWorkflow/workflow_method.patch
+22
-22
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+6
-26
No files found.
component/egg-patch/Products.DCWorkflow/workflow_method.patch
View file @
d2a327c8
diff -uNr Products.DCWorkflow-2.
2.4/Products/DCWorkflow/DCWorkflow.py Products.DCWorkflow-2.2.4
nxd001/Products/DCWorkflow/DCWorkflow.py
diff -uNr Products.DCWorkflow-2.
3.0/Products/DCWorkflow/DCWorkflow.py Products.DCWorkflow-2.3.0
nxd001/Products/DCWorkflow/DCWorkflow.py
--- Products.DCWorkflow-2.
2.4/Products/DCWorkflow/DCWorkflow.py 2011-11-01 18:55:01.000000000 +01
00
--- Products.DCWorkflow-2.
3.0/Products/DCWorkflow/DCWorkflow.py 2017-05-04 11:35:48.000000000 +02
00
+++ Products.DCWorkflow-2.
2.4nxd001/Products/DCWorkflow/DCWorkflow.py 2013-10-31 16:42:05.021141352 +01
00
+++ Products.DCWorkflow-2.
3.0nxd001/Products/DCWorkflow/DCWorkflow.py 2019-09-13 17:51:27.396181694 +02
00
@@ -
40,6 +40
,7 @@
@@ -
37,6 +37
,7 @@
from Products.DCWorkflow.permissions import ManagePortal
from Products.DCWorkflow.permissions import ManagePortal
from Products.DCWorkflow.Transitions import TRIGGER_AUTOMATIC
from Products.DCWorkflow.Transitions import TRIGGER_AUTOMATIC
from Products.DCWorkflow.Transitions import TRIGGER_USER_ACTION
from Products.DCWorkflow.Transitions import TRIGGER_USER_ACTION
...
@@ -9,7 +9,7 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/DCWorkflow.py Products.D
...
@@ -9,7 +9,7 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/DCWorkflow.py Products.D
from Products.DCWorkflow.utils import Message as _
from Products.DCWorkflow.utils import Message as _
from Products.DCWorkflow.utils import modifyRolesForGroup
from Products.DCWorkflow.utils import modifyRolesForGroup
from Products.DCWorkflow.utils import modifyRolesForPermission
from Products.DCWorkflow.utils import modifyRolesForPermission
@@ -2
81,6 +282
,52 @@
@@ -2
77,6 +278
,52 @@
raise Unauthorized(action)
raise Unauthorized(action)
self._changeStateOf(ob, tdef, kw)
self._changeStateOf(ob, tdef, kw)
...
@@ -62,9 +62,9 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/DCWorkflow.py Products.D
...
@@ -62,9 +62,9 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/DCWorkflow.py Products.D
security.declarePrivate('isInfoSupported')
security.declarePrivate('isInfoSupported')
def isInfoSupported(self, ob, name):
def isInfoSupported(self, ob, name):
'''
'''
diff -uNr Products.DCWorkflow-2.
2.4/Products/DCWorkflow/dtml/transition_properties.dtml Products.DCWorkflow-2.2.4
nxd001/Products/DCWorkflow/dtml/transition_properties.dtml
diff -uNr Products.DCWorkflow-2.
3.0/Products/DCWorkflow/dtml/transition_properties.dtml Products.DCWorkflow-2.3.0
nxd001/Products/DCWorkflow/dtml/transition_properties.dtml
--- Products.DCWorkflow-2.
2.4/Products/DCWorkflow/dtml/transition_properties.dtml 2011-11-01 18:55:01.000000000 +01
00
--- Products.DCWorkflow-2.
3.0/Products/DCWorkflow/dtml/transition_properties.dtml 2017-05-04 11:35:48.000000000 +02
00
+++ Products.DCWorkflow-2.
2.4nxd001/Products/DCWorkflow/dtml/transition_properties.dtml 2013-10-31 16:42:05.021141352 +01
00
+++ Products.DCWorkflow-2.
3.0nxd001/Products/DCWorkflow/dtml/transition_properties.dtml 2019-09-13 17:53:15.309111199 +02
00
@@ -56,6 +56,16 @@
@@ -56,6 +56,16 @@
</tr>
</tr>
...
@@ -82,9 +82,9 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/dtml/transition_properti
...
@@ -82,9 +82,9 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/dtml/transition_properti
<th align="left">Script (before)</th>
<th align="left">Script (before)</th>
<td>
<td>
<select name="script_name">
<select name="script_name">
diff -uNr Products.DCWorkflow-2.
2.4/Products/DCWorkflow/dtml/transitions.dtml Products.DCWorkflow-2.2.4
nxd001/Products/DCWorkflow/dtml/transitions.dtml
diff -uNr Products.DCWorkflow-2.
3.0/Products/DCWorkflow/dtml/transitions.dtml Products.DCWorkflow-2.3.0
nxd001/Products/DCWorkflow/dtml/transitions.dtml
--- Products.DCWorkflow-2.
2.4/Products/DCWorkflow/dtml/transitions.dtml 2011-11-01 18:55:01.000000000 +01
00
--- Products.DCWorkflow-2.
3.0/Products/DCWorkflow/dtml/transitions.dtml 2017-05-04 11:35:48.000000000 +02
00
+++ Products.DCWorkflow-2.
2.4nxd001/Products/DCWorkflow/dtml/transitions.dtml 2013-10-31 16:42:05.021141352 +01
00
+++ Products.DCWorkflow-2.
3.0nxd001/Products/DCWorkflow/dtml/transitions.dtml 2019-09-13 17:54:18.323989786 +02
00
@@ -17,7 +17,8 @@
@@ -17,7 +17,8 @@
<td>
<td>
Destination state: <code><dtml-if new_state_id>&dtml-new_state_id;<dtml-else>(Remain in state)</dtml-if></code> <br />
Destination state: <code><dtml-if new_state_id>&dtml-new_state_id;<dtml-else>(Remain in state)</dtml-if></code> <br />
...
@@ -95,26 +95,26 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/dtml/transitions.dtml Pr
...
@@ -95,26 +95,26 @@ diff -uNr Products.DCWorkflow-2.2.4/Products/DCWorkflow/dtml/transitions.dtml Pr
<br />
<br />
<dtml-if script_name>
<dtml-if script_name>
Script (before): &dtml-script_name;
Script (before): &dtml-script_name;
diff -uNr Products.DCWorkflow-2.
2.4/Products/DCWorkflow/exportimport.py Products.DCWorkflow-2.2.4
nxd001/Products/DCWorkflow/exportimport.py
diff -uNr Products.DCWorkflow-2.
3.0/Products/DCWorkflow/exportimport.py Products.DCWorkflow-2.3.0
nxd001/Products/DCWorkflow/exportimport.py
--- Products.DCWorkflow-2.
2.4/Products/DCWorkflow/exportimport.py 2011-11-01 18:55:01.000000000 +01
00
--- Products.DCWorkflow-2.
3.0/Products/DCWorkflow/exportimport.py 2017-05-04 11:35:48.000000000 +02
00
+++ Products.DCWorkflow-2.
2.4nxd001/Products/DCWorkflow/exportimport.py 2013-10-31 16:42:09.221141578 +01
00
+++ Products.DCWorkflow-2.
3.0nxd001/Products/DCWorkflow/exportimport.py 2019-09-13 17:55:03.758065281 +02
00
@@ -3
4,7 +34
,7 @@
@@ -3
2,7 +32
,7 @@
from Products.GenericSetup.interfaces import ISetupEnviron
from Products.GenericSetup.interfaces import ISetupEnviron
from Products.GenericSetup.utils import BodyAdapterBase
from Products.GenericSetup.utils import BodyAdapterBase
-TRIGGER_TYPES = (
'AUTOMATIC', 'USER'
)
-TRIGGER_TYPES = (
'AUTOMATIC', 'USER'
)
+TRIGGER_TYPES = (
'AUTOMATIC', 'USER', 'METHOD'
)
+TRIGGER_TYPES = (
'AUTOMATIC', 'USER', 'METHOD'
)
_FILENAME = 'workflows.xml'
_FILENAME = 'workflows.xml'
diff -uNr Products.DCWorkflow-2.
2.4/Products/DCWorkflow/Transitions.py Products.DCWorkflow-2.2.4
nxd001/Products/DCWorkflow/Transitions.py
diff -uNr Products.DCWorkflow-2.
3.0/Products/DCWorkflow/Transitions.py Products.DCWorkflow-2.3.0
nxd001/Products/DCWorkflow/Transitions.py
--- Products.DCWorkflow-2.
2.4/Products/DCWorkflow/Transitions.py 2011-11-01 18:55:01.000000000 +01
00
--- Products.DCWorkflow-2.
3.0/Products/DCWorkflow/Transitions.py 2017-05-04 11:35:48.000000000 +02
00
+++ Products.DCWorkflow-2.
2.4nxd001/Products/DCWorkflow/Transitions.py 2013-10-31 16:42:12.389141749 +01
00
+++ Products.DCWorkflow-2.
3.0nxd001/Products/DCWorkflow/Transitions.py 2019-09-13 17:56:55.071150292 +02
00
@@ -
31,6 +31
,7 @@
@@ -
29,6 +29
,7 @@
TRIGGER_AUTOMATIC = 0
TRIGGER_AUTOMATIC = 0
TRIGGER_USER_ACTION = 1
TRIGGER_USER_ACTION = 1
+TRIGGER_WORKFLOW_METHOD = 2
+TRIGGER_WORKFLOW_METHOD = 2
class TransitionDefinition
(SimpleItem):
class TransitionDefinition(SimpleItem):
stack/erp5/buildout.cfg
View file @
d2a327c8
...
@@ -385,21 +385,11 @@ setup-eggs =
...
@@ -385,21 +385,11 @@ setup-eggs =
eggtestinfo
eggtestinfo
egg = ${:_buildout_section_name_}
egg = ${:_buildout_section_name_}
[Products.CMFUid]
<= zope-product-with-eggtestinfo
[Products.CMFActionIcons]
<= zope-product-with-eggtestinfo
[Products.CMFCalendar]
<= zope-product-with-eggtestinfo
[Products.CMFCore]
[Products.CMFCore]
<= zope-product-with-eggtestinfo
<= zope-product-with-eggtestinfo
[Products.CMFDefault]
<= zope-product-with-eggtestinfo
[Products.CMFTopic]
<= zope-product-with-eggtestinfo
[Products.DCWorkflow]
[Products.DCWorkflow]
<= zope-product-with-eggtestinfo
<= zope-product-with-eggtestinfo
Products.DCWorkflow-patches = ${:_profile_base_location_}/../../component/egg-patch/Products.DCWorkflow/workflow_method.patch#
975b49e96bae33ac8563454fe5fa989
9
Products.DCWorkflow-patches = ${:_profile_base_location_}/../../component/egg-patch/Products.DCWorkflow/workflow_method.patch#
0bd00af377750253bd275f2ccfdf937
9
Products.DCWorkflow-patch-options = -p1
Products.DCWorkflow-patch-options = -p1
[Products.GenericSetup]
[Products.GenericSetup]
<= zope-product-with-eggtestinfo
<= zope-product-with-eggtestinfo
...
@@ -497,13 +487,8 @@ eggs = ${neoppod:eggs}
...
@@ -497,13 +487,8 @@ eggs = ${neoppod:eggs}
Products.PluggableAuthService
Products.PluggableAuthService
Products.PluginRegistry
Products.PluginRegistry
# CMF 2.2
# CMF 2.3
${Products.CMFActionIcons:egg}
${Products.CMFCalendar:egg}
${Products.CMFCore:egg}
${Products.CMFCore:egg}
${Products.CMFDefault:egg}
${Products.CMFTopic:egg}
${Products.CMFUid:egg}
${Products.DCWorkflow:egg}
${Products.DCWorkflow:egg}
${Products.GenericSetup:egg}
${Products.GenericSetup:egg}
five.localsitemanager
five.localsitemanager
...
@@ -607,7 +592,7 @@ depends =
...
@@ -607,7 +592,7 @@ depends =
# patched eggs
# patched eggs
Acquisition = 2.13.12+SlapOSPatched001
Acquisition = 2.13.12+SlapOSPatched001
Products.DCWorkflow = 2.
2.4
+SlapOSPatched001
Products.DCWorkflow = 2.
3.0
+SlapOSPatched001
ocropy = 1.0+SlapOSPatched001
ocropy = 1.0+SlapOSPatched001
pysvn = 1.7.10+SlapOSPatched002
pysvn = 1.7.10+SlapOSPatched002
python-ldap = 2.4.32+SlapOSPatched001
python-ldap = 2.4.32+SlapOSPatched001
...
@@ -630,12 +615,8 @@ rdiff-backup = 1.0.5+SlapOSPatched001
...
@@ -630,12 +615,8 @@ rdiff-backup = 1.0.5+SlapOSPatched001
# modified version that works fine for buildout installation
# modified version that works fine for buildout installation
SOAPpy = 0.12.0nxd001
SOAPpy = 0.12.0nxd001
# CMF 2.3 is not yet supported.
# CMF 2.3
Products.CMFCalendar = 2.2.3
Products.CMFCore = 2.3.1
Products.CMFCore = 2.2.10
Products.CMFDefault = 2.2.4
Products.CMFTopic = 2.2.1
Products.CMFUid = 2.2.1
# newer version requires zope.traversing>=4.0.0a2.
# newer version requires zope.traversing>=4.0.0a2.
zope.app.appsetup = 3.16.0
zope.app.appsetup = 3.16.0
...
@@ -649,11 +630,10 @@ zope.app.testing = 3.8.1
...
@@ -649,11 +630,10 @@ zope.app.testing = 3.8.1
# Pinned versions
# Pinned versions
APacheDEX = 1.8
APacheDEX = 1.8
Pillow = 6.2.2
Pillow = 6.2.2
Products.CMFActionIcons = 2.1.3
Products.DCWorkflowGraph = 0.4.1
Products.DCWorkflowGraph = 0.4.1
# Products.ExternalEditor 2.0.0's dtml is not based on Zope2 OFS's one.
# Products.ExternalEditor 2.0.0's dtml is not based on Zope2 OFS's one.
Products.ExternalEditor = 1.1.1
Products.ExternalEditor = 1.1.1
Products.GenericSetup = 1.8.
6
Products.GenericSetup = 1.8.
7
Products.LongRequestLogger = 2.1.0
Products.LongRequestLogger = 2.1.0
# Products.MimetypesRegistry 2.1 requires AccessControl>=3.0.0Acquisition.
# Products.MimetypesRegistry 2.1 requires AccessControl>=3.0.0Acquisition.
Products.MimetypesRegistry = 2.0.10
Products.MimetypesRegistry = 2.0.10
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment