Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4129259
commit 0149074
Showing
21 changed files
with
263 additions
and
167 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
Products/CMFPlacefulWorkflow/profiles/base/componentregistry.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<componentregistry> | ||
<adapters/> | ||
<utilities> | ||
<utility | ||
interface="Products.CMFPlacefulWorkflow.interfaces.IPlacefulWorkflowTool" | ||
object="portal_placeful_workflow"/> | ||
</utilities> | ||
<adapters /> | ||
<utilities> | ||
<utility interface="Products.CMFPlacefulWorkflow.interfaces.IPlacefulWorkflowTool" | ||
object="portal_placeful_workflow" | ||
/> | ||
</utilities> | ||
</componentregistry> |
32 changes: 18 additions & 14 deletions
32
Products/CMFPlacefulWorkflow/profiles/base/controlpanel.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<object | ||
name="portal_controlpanel" | ||
meta_type="Plone Control Panel Tool" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
i18n:domain="plone"> | ||
<configlet | ||
title="Workflow Policies" action_id="placefulworkflow" | ||
appId="CMFPlacefulWorkflow" category="Products" condition_expr="" | ||
icon_expr="string:toolbar-action/workflow" | ||
url_expr="string:$portal_url/@@workflow-policies-controlpanel" visible="True" | ||
i18n:attributes="title"> | ||
<permission>Manage portal</permission> | ||
</configlet> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
meta_type="Plone Control Panel Tool" | ||
name="portal_controlpanel" | ||
i18n:domain="plone" | ||
> | ||
<configlet action_id="placefulworkflow" | ||
appId="CMFPlacefulWorkflow" | ||
category="Products" | ||
condition_expr="" | ||
icon_expr="string:toolbar-action/workflow" | ||
title="Workflow Policies" | ||
url_expr="string:$portal_url/@@workflow-policies-controlpanel" | ||
visible="True" | ||
i18n:attributes="title" | ||
> | ||
<permission>Manage portal</permission> | ||
</configlet> | ||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<metadata> | ||
<version>1001</version> | ||
</metadata> |
14 changes: 9 additions & 5 deletions
14
Products/CMFPlacefulWorkflow/profiles/base/portal_placeful_workflow.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<object name="portal_placeful_workflow" meta_type="Placeful Workflow Tool"> | ||
<property name="title"></property> | ||
<property name="max_chain_length" type="int">1</property> | ||
</object> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object meta_type="Placeful Workflow Tool" | ||
name="portal_placeful_workflow" | ||
> | ||
<property name="title" /> | ||
<property name="max_chain_length" | ||
type="int" | ||
>1</property> | ||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<tool-setup> | ||
<required | ||
tool_id="portal_placeful_workflow" | ||
class="Products.CMFPlacefulWorkflow.PlacefulWorkflowTool.PlacefulWorkflowTool" | ||
/> | ||
<required class="Products.CMFPlacefulWorkflow.PlacefulWorkflowTool.PlacefulWorkflowTool" | ||
tool_id="portal_placeful_workflow" | ||
/> | ||
</tool-setup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<metadata> | ||
<version>1001</version> | ||
<dependencies> | ||
|
28 changes: 20 additions & 8 deletions
28
Products/CMFPlacefulWorkflow/profiles/default/portal_placeful_workflow.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
<?xml version="1.0"?> | ||
<object name="portal_placeful_workflow" meta_type="Placeful Workflow Tool"> | ||
<property name="title"></property> | ||
<property name="max_chain_length" type="int">1</property> | ||
<object name="intranet" meta_type="WorkflowPolicy"/> | ||
<object name="old-plone" meta_type="WorkflowPolicy"/> | ||
<object name="one-state" meta_type="WorkflowPolicy"/> | ||
<object name="simple-publication" meta_type="WorkflowPolicy"/> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object meta_type="Placeful Workflow Tool" | ||
name="portal_placeful_workflow" | ||
> | ||
<property name="title" /> | ||
<property name="max_chain_length" | ||
type="int" | ||
>1</property> | ||
<object meta_type="WorkflowPolicy" | ||
name="intranet" | ||
/> | ||
<object meta_type="WorkflowPolicy" | ||
name="old-plone" | ||
/> | ||
<object meta_type="WorkflowPolicy" | ||
name="one-state" | ||
/> | ||
<object meta_type="WorkflowPolicy" | ||
name="simple-publication" | ||
/> | ||
</object> |
54 changes: 34 additions & 20 deletions
54
Products/CMFPlacefulWorkflow/profiles/default/portal_placeful_workflow/intranet.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<object name="intranet" meta_type="WorkflowPolicy"> | ||
<property name="title">Intranet</property> | ||
<bindings> | ||
<default> | ||
<bound-workflow workflow_id="intranet_workflow"/> | ||
</default> | ||
<type default_chain="true" type_id="Document"/> | ||
<type default_chain="true" type_id="Event"/> | ||
<type default_chain="true" type_id="File"/> | ||
<type type_id="Folder"> | ||
<bound-workflow workflow_id="intranet_folder_workflow"/> | ||
</type> | ||
<type default_chain="true" type_id="Image"/> | ||
<type default_chain="true" type_id="Link"/> | ||
<type default_chain="true" type_id="News Item"/> | ||
<type type_id="Collection"> | ||
<bound-workflow workflow_id="intranet_folder_workflow"/> | ||
</type> | ||
</bindings> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object meta_type="WorkflowPolicy" | ||
name="intranet" | ||
> | ||
<property name="title">Intranet</property> | ||
<bindings> | ||
<default> | ||
<bound-workflow workflow_id="intranet_workflow" /> | ||
</default> | ||
<type default_chain="true" | ||
type_id="Document" | ||
/> | ||
<type default_chain="true" | ||
type_id="Event" | ||
/> | ||
<type default_chain="true" | ||
type_id="File" | ||
/> | ||
<type type_id="Folder"> | ||
<bound-workflow workflow_id="intranet_folder_workflow" /> | ||
</type> | ||
<type default_chain="true" | ||
type_id="Image" | ||
/> | ||
<type default_chain="true" | ||
type_id="Link" | ||
/> | ||
<type default_chain="true" | ||
type_id="News Item" | ||
/> | ||
<type type_id="Collection"> | ||
<bound-workflow workflow_id="intranet_folder_workflow" /> | ||
</type> | ||
</bindings> | ||
</object> |
54 changes: 34 additions & 20 deletions
54
Products/CMFPlacefulWorkflow/profiles/default/portal_placeful_workflow/old-plone.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<object name="old-plone" meta_type="WorkflowPolicy"> | ||
<property name="title">Old Plone</property> | ||
<bindings> | ||
<default> | ||
<bound-workflow workflow_id="plone_workflow"/> | ||
</default> | ||
<type default_chain="true" type_id="Document"/> | ||
<type default_chain="true" type_id="Event"/> | ||
<type default_chain="true" type_id="File"/> | ||
<type type_id="Folder"> | ||
<bound-workflow workflow_id="folder_workflow"/> | ||
</type> | ||
<type default_chain="true" type_id="Image"/> | ||
<type default_chain="true" type_id="Link"/> | ||
<type default_chain="true" type_id="News Item"/> | ||
<type type_id="Collection"> | ||
<bound-workflow workflow_id="folder_workflow"/> | ||
</type> | ||
</bindings> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object meta_type="WorkflowPolicy" | ||
name="old-plone" | ||
> | ||
<property name="title">Old Plone</property> | ||
<bindings> | ||
<default> | ||
<bound-workflow workflow_id="plone_workflow" /> | ||
</default> | ||
<type default_chain="true" | ||
type_id="Document" | ||
/> | ||
<type default_chain="true" | ||
type_id="Event" | ||
/> | ||
<type default_chain="true" | ||
type_id="File" | ||
/> | ||
<type type_id="Folder"> | ||
<bound-workflow workflow_id="folder_workflow" /> | ||
</type> | ||
<type default_chain="true" | ||
type_id="Image" | ||
/> | ||
<type default_chain="true" | ||
type_id="Link" | ||
/> | ||
<type default_chain="true" | ||
type_id="News Item" | ||
/> | ||
<type type_id="Collection"> | ||
<bound-workflow workflow_id="folder_workflow" /> | ||
</type> | ||
</bindings> | ||
</object> |
50 changes: 32 additions & 18 deletions
50
Products/CMFPlacefulWorkflow/profiles/default/portal_placeful_workflow/one-state.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
<?xml version="1.0"?> | ||
<object name="one-state" meta_type="WorkflowPolicy"> | ||
<property name="title">One state</property> | ||
<bindings> | ||
<default> | ||
<bound-workflow workflow_id="one_state_workflow"/> | ||
</default> | ||
<type default_chain="true" type_id="Document"/> | ||
<type default_chain="true" type_id="Event"/> | ||
<type type_id="File"> | ||
</type> | ||
<type default_chain="true" type_id="Folder"/> | ||
<type type_id="Image"> | ||
</type> | ||
<type default_chain="true" type_id="Link"/> | ||
<type default_chain="true" type_id="News Item"/> | ||
<type default_chain="true" type_id="Collection"/> | ||
</bindings> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object meta_type="WorkflowPolicy" | ||
name="one-state" | ||
> | ||
<property name="title">One state</property> | ||
<bindings> | ||
<default> | ||
<bound-workflow workflow_id="one_state_workflow" /> | ||
</default> | ||
<type default_chain="true" | ||
type_id="Document" | ||
/> | ||
<type default_chain="true" | ||
type_id="Event" | ||
/> | ||
<type type_id="File"> | ||
</type> | ||
<type default_chain="true" | ||
type_id="Folder" | ||
/> | ||
<type type_id="Image"> | ||
</type> | ||
<type default_chain="true" | ||
type_id="Link" | ||
/> | ||
<type default_chain="true" | ||
type_id="News Item" | ||
/> | ||
<type default_chain="true" | ||
type_id="Collection" | ||
/> | ||
</bindings> | ||
</object> |
50 changes: 32 additions & 18 deletions
50
...ucts/CMFPlacefulWorkflow/profiles/default/portal_placeful_workflow/simple-publication.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
<?xml version="1.0"?> | ||
<object name="simple-publication" meta_type="WorkflowPolicy"> | ||
<property name="title">Simple publication</property> | ||
<bindings> | ||
<default> | ||
<bound-workflow workflow_id="simple_publication_workflow"/> | ||
</default> | ||
<type default_chain="true" type_id="Document"/> | ||
<type default_chain="true" type_id="Event"/> | ||
<type type_id="File"> | ||
</type> | ||
<type default_chain="true" type_id="Folder"/> | ||
<type type_id="Image"> | ||
</type> | ||
<type default_chain="true" type_id="Link"/> | ||
<type default_chain="true" type_id="News Item"/> | ||
<type default_chain="true" type_id="Collection"/> | ||
</bindings> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object meta_type="WorkflowPolicy" | ||
name="simple-publication" | ||
> | ||
<property name="title">Simple publication</property> | ||
<bindings> | ||
<default> | ||
<bound-workflow workflow_id="simple_publication_workflow" /> | ||
</default> | ||
<type default_chain="true" | ||
type_id="Document" | ||
/> | ||
<type default_chain="true" | ||
type_id="Event" | ||
/> | ||
<type type_id="File"> | ||
</type> | ||
<type default_chain="true" | ||
type_id="Folder" | ||
/> | ||
<type type_id="Image"> | ||
</type> | ||
<type default_chain="true" | ||
type_id="Link" | ||
/> | ||
<type default_chain="true" | ||
type_id="News Item" | ||
/> | ||
<type default_chain="true" | ||
type_id="Collection" | ||
/> | ||
</bindings> | ||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<rolemap> | ||
<permissions> | ||
<permission name="CMFPlacefulWorkflow: Manage workflow policies" | ||
acquire="True"> | ||
<role name="Manager"/> | ||
<role name="Owner"/> | ||
<role name="Site Administrator"/> | ||
<permission acquire="True" | ||
name="CMFPlacefulWorkflow: Manage workflow policies" | ||
> | ||
<role name="Manager" /> | ||
<role name="Owner" /> | ||
<role name="Site Administrator" /> | ||
</permission> | ||
</permissions> | ||
</rolemap> | ||
</rolemap> |
12 changes: 6 additions & 6 deletions
12
Products/CMFPlacefulWorkflow/profiles/uninstall/componentregistry.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<componentregistry> | ||
<adapters/> | ||
<adapters /> | ||
<utilities> | ||
<utility | ||
remove="true" | ||
interface="Products.CMFPlacefulWorkflow.interfaces.IPlacefulWorkflowTool" | ||
object="portal_placeful_workflow"/> | ||
<utility interface="Products.CMFPlacefulWorkflow.interfaces.IPlacefulWorkflowTool" | ||
object="portal_placeful_workflow" | ||
remove="true" | ||
/> | ||
</utilities> | ||
</componentregistry> |
6 changes: 4 additions & 2 deletions
6
Products/CMFPlacefulWorkflow/profiles/uninstall/controlpanel.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object name="portal_controlpanel"> | ||
<configlet action_id="placefulworkflow" remove="true" /> | ||
<configlet action_id="placefulworkflow" | ||
remove="true" | ||
/> | ||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<metadata> | ||
<version>1000</version> | ||
</metadata> |
Oops, something went wrong.