From ae3aa55dbb3fd153eff33d0994455905135eb619 Mon Sep 17 00:00:00 2001 From: eyqs <eugene.shen@nexedi.com> Date: Mon, 3 Apr 2017 15:40:04 +0200 Subject: [PATCH] Add last workflow history --- .../officejs_todomvc_icon_png.xml | 81 +++++++++++++++++ .../officejs_todomvc_icon_svg.xml | 81 +++++++++++++++++ .../web_page_module/handlebars_js.xml | 89 ++++++++++++++++++- .../web_page_module/officejs_todomvc_css.xml | 81 +++++++++++++++++ .../officejs_todomvc_gadget_index_html.xml | 81 +++++++++++++++++ .../officejs_todomvc_gadget_index_js.xml | 81 +++++++++++++++++ .../officejs_todomvc_gadget_model_html.xml | 81 +++++++++++++++++ .../officejs_todomvc_gadget_model_js.xml | 81 +++++++++++++++++ .../officejs_todomvc_gadget_router_html.xml | 81 +++++++++++++++++ .../officejs_todomvc_gadget_router_js.xml | 81 +++++++++++++++++ .../officejs_todomvc_manifest_json.xml | 81 +++++++++++++++++ .../officejs_todomvc_serviceworker_js.xml | 81 +++++++++++++++++ .../web_site_module/officejs_todomvc.xml | 81 +++++++++++++++++ ..._keep_last_workflow_history_only_path_list | 13 +++ 14 files changed, 1072 insertions(+), 2 deletions(-) create mode 100644 bt5/officejs_todomvc/bt/template_keep_last_workflow_history_only_path_list diff --git a/bt5/officejs_todomvc/PathTemplateItem/image_module/officejs_todomvc_icon_png.xml b/bt5/officejs_todomvc/PathTemplateItem/image_module/officejs_todomvc_icon_png.xml index e88561cff2..62df7b11d5 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/image_module/officejs_todomvc_icon_png.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/image_module/officejs_todomvc_icon_png.xml @@ -149,6 +149,12 @@ <key> <string>width</string> </key> <value> <int>800</int> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> </dictionary> </pickle> </record> @@ -174,4 +180,79 @@ <none/> </pickle> </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226638.93</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/image_module/officejs_todomvc_icon_svg.xml b/bt5/officejs_todomvc/PathTemplateItem/image_module/officejs_todomvc_icon_svg.xml index e5f4c3a74b..0032feb39e 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/image_module/officejs_todomvc_icon_svg.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/image_module/officejs_todomvc_icon_svg.xml @@ -149,6 +149,12 @@ <key> <string>width</string> </key> <value> <int>-1</int> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> </dictionary> </pickle> </record> @@ -174,4 +180,79 @@ <none/> </pickle> </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226636.74</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/handlebars_js.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/handlebars_js.xml index c02f57e28c..08ad946231 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/handlebars_js.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/handlebars_js.xml @@ -10,8 +10,11 @@ <key> <string>_Access_contents_information_Permission</string> </key> <value> <tuple> + <string>Anonymous</string> <string>Assignee</string> <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> <string>Manager</string> <string>Owner</string> </tuple> @@ -24,7 +27,6 @@ <string>Assignee</string> <string>Assignor</string> <string>Manager</string> - <string>Owner</string> </tuple> </value> </item> @@ -44,7 +46,6 @@ <string>Assignee</string> <string>Assignor</string> <string>Manager</string> - <string>Owner</string> </tuple> </value> </item> @@ -52,8 +53,11 @@ <key> <string>_View_Permission</string> </key> <value> <tuple> + <string>Anonymous</string> <string>Assignee</string> <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> <string>Manager</string> <string>Owner</string> </tuple> @@ -109,7 +113,88 @@ <key> <string>version</string> </key> <value> <string>001</string> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226563.72</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_css.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_css.xml index cf01df4298..e9a7dd56e3 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_css.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_css.xml @@ -113,7 +113,88 @@ <key> <string>version</string> </key> <value> <string>001</string> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226562.7</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_index_html.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_index_html.xml index 0b32806cda..2bd22ad6f9 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_index_html.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_index_html.xml @@ -121,7 +121,88 @@ <none/> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226562.29</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_index_js.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_index_js.xml index 78147f7b2f..529e8decea 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_index_js.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_index_js.xml @@ -113,7 +113,88 @@ <key> <string>version</string> </key> <value> <string>001</string> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226562.03</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_model_html.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_model_html.xml index 8686eeebbb..0f08e772d3 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_model_html.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_model_html.xml @@ -121,7 +121,88 @@ <none/> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226560.94</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_model_js.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_model_js.xml index 231958bcc2..22d30c7aed 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_model_js.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_model_js.xml @@ -113,7 +113,88 @@ <key> <string>version</string> </key> <value> <string>001</string> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226560.36</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_html.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_html.xml index c1a9432b8f..8999b54ec2 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_html.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_html.xml @@ -121,7 +121,88 @@ <none/> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226559.86</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_js.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_js.xml index 3b0e7c1c72..26307b67ef 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_js.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_js.xml @@ -113,7 +113,88 @@ <key> <string>version</string> </key> <value> <string>001</string> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226559.37</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_manifest_json.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_manifest_json.xml index 10413db4c5..652efdaadf 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_manifest_json.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_manifest_json.xml @@ -135,7 +135,88 @@ <none/> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226561.47</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_serviceworker_js.xml b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_serviceworker_js.xml index cb9ef3f58b..d2fbd99d58 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_serviceworker_js.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_serviceworker_js.xml @@ -113,7 +113,88 @@ <key> <string>version</string> </key> <value> <string>001</string> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish_alive</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226558.8</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published_alive</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/PathTemplateItem/web_site_module/officejs_todomvc.xml b/bt5/officejs_todomvc/PathTemplateItem/web_site_module/officejs_todomvc.xml index 3bba8c46de..71ea325a6a 100644 --- a/bt5/officejs_todomvc/PathTemplateItem/web_site_module/officejs_todomvc.xml +++ b/bt5/officejs_todomvc/PathTemplateItem/web_site_module/officejs_todomvc.xml @@ -425,6 +425,12 @@ <key> <string>visible</string> </key> <value> <int>1</int> </value> </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + </value> + </item> </dictionary> </pickle> </record> @@ -488,4 +494,79 @@ <none/> </pickle> </record> + <record id="8" aka="AAAAAAAAAAg="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>category_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="9" aka="AAAAAAAAAAk="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>eyqs</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1491226611.75</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> </ZopeData> diff --git a/bt5/officejs_todomvc/bt/template_keep_last_workflow_history_only_path_list b/bt5/officejs_todomvc/bt/template_keep_last_workflow_history_only_path_list new file mode 100644 index 0000000000..8be9543d36 --- /dev/null +++ b/bt5/officejs_todomvc/bt/template_keep_last_workflow_history_only_path_list @@ -0,0 +1,13 @@ +image_module/officejs_todomvc_icon_png +image_module/officejs_todomvc_icon_svg +web_page_module/handlebars_js +web_page_module/officejs_todomvc_css +web_page_module/officejs_todomvc_gadget_index_html +web_page_module/officejs_todomvc_gadget_index_js +web_page_module/officejs_todomvc_gadget_model_html +web_page_module/officejs_todomvc_gadget_model_js +web_page_module/officejs_todomvc_gadget_router_html +web_page_module/officejs_todomvc_gadget_router_js +web_page_module/officejs_todomvc_manifest_json +web_page_module/officejs_todomvc_serviceworker_js +web_site_module/officejs_todomvc \ No newline at end of file -- 2.30.9