Commit 0e770859 authored by Rafael Monnerat's avatar Rafael Monnerat

General update for frontend Selector

See merge request nexedi/slapos.core!517
parents 71a5bf71 61cd2a8c
Pipeline #27689 failed with stage
in 0 seconds
......@@ -144,11 +144,13 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -194,7 +196,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -6,32 +6,32 @@
relative_url_path = "/app",
test_url_list = [
{ name : 'Europe 1',
testurl: "http://demoapp-eu1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-eu1.erp5.cn" + relative_url_path },
testurl: "https://demoapp-eu1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-eu1.erp5.cn" + relative_url_path },
{ name : 'Europe 2',
testurl: "http://demoapp-eu1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-eu2.erp5.cn" + relative_url_path },
testurl: "https://demoapp-eu1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-eu2.erp5.cn" + relative_url_path },
{ name : 'North America 1',
testurl: "http://demoapp-na1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-na1.erp5.cn" + relative_url_path },
testurl: "https://demoapp-na1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-na1.erp5.cn" + relative_url_path },
{ name : 'North America 2',
testurl: "http://demoapp-na2.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-na2.erp5.cn" + relative_url_path },
testurl: "https://demoapp-na2.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-na2.erp5.cn" + relative_url_path },
{ name : 'China CT',
testurl: "http://demoapp-ct1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-ct1.erp5.cn" + relative_url_path },
testurl: "https://demoapp-ct1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-ct1.erp5.cn" + relative_url_path },
{ name : 'China CU',
testurl: "http://demoapp-cu1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-cu1.erp5.cn" + relative_url_path },
testurl: "https://demoapp-cu1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-cu1.erp5.cn" + relative_url_path },
{ name : 'China CM',
testurl: "http://demoapp-cm1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-cm1.erp5.cn" + relative_url_path },
testurl: "https://demoapp-cm1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-cm1.erp5.cn" + relative_url_path },
{ name : 'Asia 1',
testurl: "http://demoapp-as1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-as1.erp5.cn" + relative_url_path },
testurl: "https://demoapp-as1.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-as1.erp5.cn" + relative_url_path },
{ name : 'Asia 2',
testurl: "http://demoapp-as2.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "http://demoapp-as2.erp5.cn" + relative_url_path }
testurl: "https://demoapp-as2.erp5.cn/WebSite_getTestFrontendResponse",
redirect: "https://demoapp-as2.erp5.cn" + relative_url_path }
];
function ajax(param) {
......
......@@ -146,11 +146,13 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -196,16 +198,20 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -228,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>976.42511.63989.11229</string> </value>
<value> <string>1007.46143.36434.62122</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1561539709.69</float>
<float>1681410019.96</float>
<string>UTC</string>
</tuple>
</state>
......@@ -257,7 +263,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -140,11 +140,13 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -190,7 +192,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<p>Please access <a href="http://demoapp.node.grandenet.cn">demoapp.node.grandenet.cn </a></p>
\ No newline at end of file
<p>Please access <a href="./demo">demo</a></p>
\ No newline at end of file
......@@ -132,6 +132,12 @@
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>edit_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
......@@ -140,11 +146,13 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -190,7 +198,74 @@
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.46172.20739.40328</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="DateTime" module="DateTime.DateTime"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
<tuple>
<float>1681409796.97</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -93,9 +93,13 @@
<value>
<object>
<klass>
<global name="MultiHook" module="ZPublisher.BeforeTraverse"/>
<global name="_reconstructor" module="copy_reg"/>
</klass>
<tuple/>
<tuple>
<global name="MultiHook" module="ZPublisher.BeforeTraverse"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
<dictionary>
<item>
......@@ -375,11 +379,13 @@
</record>
<record id="9" aka="AAAAAAAAAAk=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -425,16 +431,20 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="10" aka="AAAAAAAAAAo=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -486,7 +496,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -58,9 +58,13 @@
<value>
<object>
<klass>
<global name="MultiHook" module="ZPublisher.BeforeTraverse"/>
<global name="_reconstructor" module="copy_reg"/>
</klass>
<tuple/>
<tuple>
<global name="MultiHook" module="ZPublisher.BeforeTraverse"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
<dictionary>
<item>
......
......@@ -58,9 +58,13 @@
<value>
<object>
<klass>
<global name="MultiHook" module="ZPublisher.BeforeTraverse"/>
<global name="_reconstructor" module="copy_reg"/>
</klass>
<tuple/>
<tuple>
<global name="MultiHook" module="ZPublisher.BeforeTraverse"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
<dictionary>
<item>
......
......@@ -13,7 +13,7 @@ response.setHeader('Content-Type', 'text/plain')
response.setHeader("Content-Security-Policy", "default-src 'none'; img-src 'self' data:; media-src 'self'; connect-src 'self' mail.tiolive.com *.erp5.cn; script-src 'self' 'unsafe-eval'; font-src netdna.bootstrapcdn.com; style-src 'self' netdna.bootstrapcdn.com 'unsafe-inline' data:; frame-src 'self' data:")
response.setHeader("Access-Control-Allow-Origin", "http://demoapp.node.grandenet.cn")
response.setHeader("Access-Control-Allow-Origin", "https://selector.node.grandenet.cn")
return """
###################################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment