Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
0e770859
Commit
0e770859
authored
Apr 19, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
General update for frontend Selector
See merge request
nexedi/slapos.core!517
parents
71a5bf71
61cd2a8c
Pipeline
#27689
failed with stage
in 0 seconds
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
493 additions
and
382 deletions
+493
-382
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-cdn-gadget-html.xml
..._page_module/slapos-frontend-selector-cdn-gadget-html.xml
+53
-49
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-cdn-gadget-js.js
...web_page_module/slapos-frontend-selector-cdn-gadget-js.js
+19
-19
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-cdn-gadget-js.xml
...eb_page_module/slapos-frontend-selector-cdn-gadget-js.xml
+112
-104
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-demoapp.xml
...Item/web_page_module/slapos-frontend-selector-demoapp.xml
+53
-49
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-initial-page.html
...eb_page_module/slapos-frontend-selector-initial-page.html
+1
-1
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-initial-page.xml
...web_page_module/slapos-frontend-selector-initial-page.xml
+124
-49
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_site_module/customer_frontend_selector.xml
...mplateItem/web_site_module/customer_frontend_selector.xml
+118
-106
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_site_module/customer_frontend_selector/demo.xml
...eItem/web_site_module/customer_frontend_selector/demo.xml
+6
-2
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_site_module/customer_frontend_selector/demo/app.xml
...m/web_site_module/customer_frontend_selector/demo/app.xml
+6
-2
master/bt5/slapos_web_frontend_selector/SkinTemplateItem/portal_skins/slapos_frontend_selector_theme/WebSite_getTestFrontendResponse.py
...rontend_selector_theme/WebSite_getTestFrontendResponse.py
+1
-1
No files found.
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-cdn-gadget-html.xml
View file @
0e770859
...
@@ -144,57 +144,61 @@
...
@@ -144,57 +144,61 @@
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<list>
<key>
<string>
_log
</string>
</key>
<dictionary>
<value>
<item>
<list>
<key>
<string>
action
</string>
</key>
<dictionary>
<value>
<string>
publish_alive
</string>
</value>
<item>
</item>
<key>
<string>
action
</string>
</key>
<item>
<value>
<string>
publish_alive
</string>
</value>
<key>
<string>
actor
</string>
</key>
</item>
<value>
<string>
zope
</string>
</value>
<item>
</item>
<key>
<string>
actor
</string>
</key>
<item>
<value>
<string>
zope
</string>
</value>
<key>
<string>
comment
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
comment
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
error_message
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
error_message
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
time
</string>
</key>
</item>
<value>
<item>
<object>
<key>
<string>
time
</string>
</key>
<klass>
<value>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<object>
</klass>
<klass>
<tuple>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<global
name=
"object"
module=
"__builtin__"
/>
<tuple>
<none/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</tuple>
<global
name=
"object"
module=
"__builtin__"
/>
<state>
<none/>
<tuple>
</tuple>
<float>
1560845652.04
</float>
<state>
<string>
UTC
</string>
<tuple>
</tuple>
<float>
1560845652.04
</float>
</state>
<string>
UTC
</string>
</object>
</tuple>
</value>
</state>
</item>
</object>
<item>
</value>
<key>
<string>
validation_state
</string>
</key>
</item>
<value>
<string>
published_alive
</string>
</value>
<item>
</item>
<key>
<string>
validation_state
</string>
</key>
</dictionary>
<value>
<string>
published_alive
</string>
</value>
</list>
</item>
</tuple>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
</ZopeData>
</ZopeData>
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-cdn-gadget-js.js
View file @
0e770859
...
@@ -6,32 +6,32 @@
...
@@ -6,32 +6,32 @@
relative_url_path
=
"
/app
"
,
relative_url_path
=
"
/app
"
,
test_url_list
=
[
test_url_list
=
[
{
name
:
'
Europe 1
'
,
{
name
:
'
Europe 1
'
,
testurl
:
"
http://demoapp-eu1.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-eu1.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-eu1.erp5.cn
"
+
relative_url_path
},
redirect
:
"
http
s
://demoapp-eu1.erp5.cn
"
+
relative_url_path
},
{
name
:
'
Europe 2
'
,
{
name
:
'
Europe 2
'
,
testurl
:
"
http://demoapp-eu1.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-eu1.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-eu2.erp5.cn
"
+
relative_url_path
},
redirect
:
"
http
s
://demoapp-eu2.erp5.cn
"
+
relative_url_path
},
{
name
:
'
North America 1
'
,
{
name
:
'
North America 1
'
,
testurl
:
"
http://demoapp-na1.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-na1.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-na1.erp5.cn
"
+
relative_url_path
},
redirect
:
"
http
s
://demoapp-na1.erp5.cn
"
+
relative_url_path
},
{
name
:
'
North America 2
'
,
{
name
:
'
North America 2
'
,
testurl
:
"
http://demoapp-na2.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-na2.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-na2.erp5.cn
"
+
relative_url_path
},
redirect
:
"
http
s
://demoapp-na2.erp5.cn
"
+
relative_url_path
},
{
name
:
'
China CT
'
,
{
name
:
'
China CT
'
,
testurl
:
"
http://demoapp-ct1.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-ct1.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-ct1.erp5.cn
"
+
relative_url_path
},
redirect
:
"
http
s
://demoapp-ct1.erp5.cn
"
+
relative_url_path
},
{
name
:
'
China CU
'
,
{
name
:
'
China CU
'
,
testurl
:
"
http://demoapp-cu1.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-cu1.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-cu1.erp5.cn
"
+
relative_url_path
},
redirect
:
"
http
s
://demoapp-cu1.erp5.cn
"
+
relative_url_path
},
{
name
:
'
China CM
'
,
{
name
:
'
China CM
'
,
testurl
:
"
http://demoapp-cm1.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-cm1.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-cm1.erp5.cn
"
+
relative_url_path
},
redirect
:
"
http
s
://demoapp-cm1.erp5.cn
"
+
relative_url_path
},
{
name
:
'
Asia 1
'
,
{
name
:
'
Asia 1
'
,
testurl
:
"
http://demoapp-as1.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-as1.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-as1.erp5.cn
"
+
relative_url_path
},
redirect
:
"
http
s
://demoapp-as1.erp5.cn
"
+
relative_url_path
},
{
name
:
'
Asia 2
'
,
{
name
:
'
Asia 2
'
,
testurl
:
"
http://demoapp-as2.erp5.cn/WebSite_getTestFrontendResponse
"
,
testurl
:
"
http
s
://demoapp-as2.erp5.cn/WebSite_getTestFrontendResponse
"
,
redirect
:
"
http://demoapp-as2.erp5.cn
"
+
relative_url_path
}
redirect
:
"
http
s
://demoapp-as2.erp5.cn
"
+
relative_url_path
}
];
];
function
ajax
(
param
)
{
function
ajax
(
param
)
{
...
@@ -253,4 +253,4 @@
...
@@ -253,4 +253,4 @@
runAll
();
runAll
();
}(
document
,
RSVP
,
XMLHttpRequest
));
}(
document
,
RSVP
,
XMLHttpRequest
));
\ No newline at end of file
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-cdn-gadget-js.xml
View file @
0e770859
...
@@ -146,118 +146,126 @@
...
@@ -146,118 +146,126 @@
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<list>
<key>
<string>
_log
</string>
</key>
<dictionary>
<value>
<item>
<list>
<key>
<string>
action
</string>
</key>
<dictionary>
<value>
<string>
publish_alive
</string>
</value>
<item>
</item>
<key>
<string>
action
</string>
</key>
<item>
<value>
<string>
publish_alive
</string>
</value>
<key>
<string>
actor
</string>
</key>
</item>
<value>
<string>
zope
</string>
</value>
<item>
</item>
<key>
<string>
actor
</string>
</key>
<item>
<value>
<string>
zope
</string>
</value>
<key>
<string>
comment
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
comment
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
error_message
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
error_message
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
time
</string>
</key>
</item>
<value>
<item>
<object>
<key>
<string>
time
</string>
</key>
<klass>
<value>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<object>
</klass>
<klass>
<tuple>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<global
name=
"object"
module=
"__builtin__"
/>
<tuple>
<none/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</tuple>
<global
name=
"object"
module=
"__builtin__"
/>
<state>
<none/>
<tuple>
</tuple>
<float>
1560845645.86
</float>
<state>
<string>
UTC
</string>
<tuple>
</tuple>
<float>
1560845645.86
</float>
</state>
<string>
UTC
</string>
</object>
</tuple>
</value>
</state>
</item>
</object>
<item>
</value>
<key>
<string>
validation_state
</string>
</key>
</item>
<value>
<string>
published_alive
</string>
</value>
<item>
</item>
<key>
<string>
validation_state
</string>
</key>
</dictionary>
<value>
<string>
published_alive
</string>
</value>
</list>
</item>
</tuple>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<list>
<key>
<string>
_log
</string>
</key>
<dictionary>
<value>
<item>
<list>
<key>
<string>
action
</string>
</key>
<dictionary>
<value>
<string>
edit
</string>
</value>
<item>
</item>
<key>
<string>
action
</string>
</key>
<item>
<value>
<string>
edit
</string>
</value>
<key>
<string>
actor
</string>
</key>
</item>
<value>
<string>
zope
</string>
</value>
<item>
</item>
<key>
<string>
actor
</string>
</key>
<item>
<value>
<string>
zope
</string>
</value>
<key>
<string>
comment
</string>
</key>
</item>
<value>
<item>
<none/>
<key>
<string>
comment
</string>
</key>
</value>
<value>
</item>
<none/>
<item>
</value>
<key>
<string>
error_message
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
error_message
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
serial
</string>
</key>
</item>
<value>
<string>
976.42511.63989.11229
</string>
</value>
<item>
</item>
<key>
<string>
serial
</string>
</key>
<item>
<value>
<string>
1007.46143.36434.62122
</string>
</value>
<key>
<string>
state
</string>
</key>
</item>
<value>
<string>
current
</string>
</value>
<item>
</item>
<key>
<string>
state
</string>
</key>
<item>
<value>
<string>
current
</string>
</value>
<key>
<string>
time
</string>
</key>
</item>
<value>
<item>
<object>
<key>
<string>
time
</string>
</key>
<klass>
<value>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<object>
</klass>
<klass>
<tuple>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<global
name=
"object"
module=
"__builtin__"
/>
<tuple>
<none/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</tuple>
<global
name=
"object"
module=
"__builtin__"
/>
<state>
<none/>
<tuple>
</tuple>
<float>
1561539709.69
</float>
<state>
<string>
UTC
</string>
<tuple>
</tuple>
<float>
1681410019.96
</float>
</state>
<string>
UTC
</string>
</object>
</tuple>
</value>
</state>
</item>
</object>
</dictionary>
</value>
</list>
</item>
</tuple>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
</ZopeData>
</ZopeData>
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-demoapp.xml
View file @
0e770859
...
@@ -140,57 +140,61 @@
...
@@ -140,57 +140,61 @@
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<list>
<key>
<string>
_log
</string>
</key>
<dictionary>
<value>
<item>
<list>
<key>
<string>
action
</string>
</key>
<dictionary>
<value>
<string>
publish_alive
</string>
</value>
<item>
</item>
<key>
<string>
action
</string>
</key>
<item>
<value>
<string>
publish_alive
</string>
</value>
<key>
<string>
actor
</string>
</key>
</item>
<value>
<string>
zope
</string>
</value>
<item>
</item>
<key>
<string>
actor
</string>
</key>
<item>
<value>
<string>
zope
</string>
</value>
<key>
<string>
comment
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
comment
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
error_message
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
error_message
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
time
</string>
</key>
</item>
<value>
<item>
<object>
<key>
<string>
time
</string>
</key>
<klass>
<value>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<object>
</klass>
<klass>
<tuple>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<global
name=
"object"
module=
"__builtin__"
/>
<tuple>
<none/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</tuple>
<global
name=
"object"
module=
"__builtin__"
/>
<state>
<none/>
<tuple>
</tuple>
<float>
1561545623.11
</float>
<state>
<string>
UTC
</string>
<tuple>
</tuple>
<float>
1561545623.11
</float>
</state>
<string>
UTC
</string>
</object>
</tuple>
</value>
</state>
</item>
</object>
<item>
</value>
<key>
<string>
validation_state
</string>
</key>
</item>
<value>
<string>
published_alive
</string>
</value>
<item>
</item>
<key>
<string>
validation_state
</string>
</key>
</dictionary>
<value>
<string>
published_alive
</string>
</value>
</list>
</item>
</tuple>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
</ZopeData>
</ZopeData>
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-initial-page.html
View file @
0e770859
<p>
Please access
<a
href=
"http://demoapp.node.grandenet.cn"
>
demoapp.node.grandenet.cn
</a></p>
<p>
Please access
<a
href=
"./demo"
>
demo
</a></p>
\ No newline at end of file
\ No newline at end of file
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_page_module/slapos-frontend-selector-initial-page.xml
View file @
0e770859
...
@@ -132,6 +132,12 @@
...
@@ -132,6 +132,12 @@
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -140,57 +146,126 @@
...
@@ -140,57 +146,126 @@
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<list>
<key>
<string>
_log
</string>
</key>
<dictionary>
<value>
<item>
<list>
<key>
<string>
action
</string>
</key>
<dictionary>
<value>
<string>
publish_alive
</string>
</value>
<item>
</item>
<key>
<string>
action
</string>
</key>
<item>
<value>
<string>
publish_alive
</string>
</value>
<key>
<string>
actor
</string>
</key>
</item>
<value>
<string>
zope
</string>
</value>
<item>
</item>
<key>
<string>
actor
</string>
</key>
<item>
<value>
<string>
zope
</string>
</value>
<key>
<string>
comment
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
comment
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
error_message
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
error_message
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
time
</string>
</key>
</item>
<value>
<item>
<object>
<key>
<string>
time
</string>
</key>
<klass>
<value>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<object>
</klass>
<klass>
<tuple>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<global
name=
"object"
module=
"__builtin__"
/>
<tuple>
<none/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</tuple>
<global
name=
"object"
module=
"__builtin__"
/>
<state>
<none/>
<tuple>
</tuple>
<float>
1560845772.37
</float>
<state>
<string>
UTC
</string>
<tuple>
</tuple>
<float>
1560845772.37
</float>
</state>
<string>
UTC
</string>
</object>
</tuple>
</value>
</state>
</item>
</object>
<item>
</value>
<key>
<string>
validation_state
</string>
</key>
</item>
<value>
<string>
published_alive
</string>
</value>
<item>
</item>
<key>
<string>
validation_state
</string>
</key>
</dictionary>
<value>
<string>
published_alive
</string>
</value>
</list>
</item>
</tuple>
</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>
</pickle>
</record>
</record>
</ZopeData>
</ZopeData>
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_site_module/customer_frontend_selector.xml
View file @
0e770859
...
@@ -93,9 +93,13 @@
...
@@ -93,9 +93,13 @@
<value>
<value>
<object>
<object>
<klass>
<klass>
<global
name=
"
MultiHook"
module=
"ZPublisher.BeforeTraverse
"
/>
<global
name=
"
_reconstructor"
module=
"copy_reg
"
/>
</klass>
</klass>
<tuple/>
<tuple>
<global
name=
"MultiHook"
module=
"ZPublisher.BeforeTraverse"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<state>
<dictionary>
<dictionary>
<item>
<item>
...
@@ -375,118 +379,126 @@
...
@@ -375,118 +379,126 @@
</record>
</record>
<record
id=
"9"
aka=
"AAAAAAAAAAk="
>
<record
id=
"9"
aka=
"AAAAAAAAAAk="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<list>
<key>
<string>
_log
</string>
</key>
<dictionary>
<value>
<item>
<list>
<key>
<string>
action
</string>
</key>
<dictionary>
<value>
<string>
publish
</string>
</value>
<item>
</item>
<key>
<string>
action
</string>
</key>
<item>
<value>
<string>
publish
</string>
</value>
<key>
<string>
actor
</string>
</key>
</item>
<value>
<string>
superrafael
</string>
</value>
<item>
</item>
<key>
<string>
actor
</string>
</key>
<item>
<value>
<string>
superrafael
</string>
</value>
<key>
<string>
comment
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
comment
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
error_message
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
error_message
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
time
</string>
</key>
</item>
<value>
<item>
<object>
<key>
<string>
time
</string>
</key>
<klass>
<value>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<object>
</klass>
<klass>
<tuple>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<global
name=
"object"
module=
"__builtin__"
/>
<tuple>
<none/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</tuple>
<global
name=
"object"
module=
"__builtin__"
/>
<state>
<none/>
<tuple>
</tuple>
<float>
1493038609.98
</float>
<state>
<string>
UTC
</string>
<tuple>
</tuple>
<float>
1493038609.98
</float>
</state>
<string>
UTC
</string>
</object>
</tuple>
</value>
</state>
</item>
</object>
<item>
</value>
<key>
<string>
validation_state
</string>
</key>
</item>
<value>
<string>
published
</string>
</value>
<item>
</item>
<key>
<string>
validation_state
</string>
</key>
</dictionary>
<value>
<string>
published
</string>
</value>
</list>
</item>
</tuple>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"10"
aka=
"AAAAAAAAAAo="
>
<record
id=
"10"
aka=
"AAAAAAAAAAo="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<list>
<key>
<string>
_log
</string>
</key>
<dictionary>
<value>
<item>
<list>
<key>
<string>
action
</string>
</key>
<dictionary>
<value>
<string>
edit
</string>
</value>
<item>
</item>
<key>
<string>
action
</string>
</key>
<item>
<value>
<string>
edit
</string>
</value>
<key>
<string>
actor
</string>
</key>
</item>
<value>
<string>
superrafael
</string>
</value>
<item>
</item>
<key>
<string>
actor
</string>
</key>
<item>
<value>
<string>
superrafael
</string>
</value>
<key>
<string>
comment
</string>
</key>
</item>
<value>
<item>
<none/>
<key>
<string>
comment
</string>
</key>
</value>
<value>
</item>
<none/>
<item>
</value>
<key>
<string>
error_message
</string>
</key>
</item>
<value>
<string></string>
</value>
<item>
</item>
<key>
<string>
error_message
</string>
</key>
<item>
<value>
<string></string>
</value>
<key>
<string>
serial
</string>
</key>
</item>
<value>
<string>
958.60401.12333.37171
</string>
</value>
<item>
</item>
<key>
<string>
serial
</string>
</key>
<item>
<value>
<string>
958.60401.12333.37171
</string>
</value>
<key>
<string>
state
</string>
</key>
</item>
<value>
<string>
current
</string>
</value>
<item>
</item>
<key>
<string>
state
</string>
</key>
<item>
<value>
<string>
current
</string>
</value>
<key>
<string>
time
</string>
</key>
</item>
<value>
<item>
<object>
<key>
<string>
time
</string>
</key>
<klass>
<value>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<object>
</klass>
<klass>
<tuple>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<global
name=
"object"
module=
"__builtin__"
/>
<tuple>
<none/>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</tuple>
<global
name=
"object"
module=
"__builtin__"
/>
<state>
<none/>
<tuple>
</tuple>
<float>
1493133719.95
</float>
<state>
<string>
UTC
</string>
<tuple>
</tuple>
<float>
1493133719.95
</float>
</state>
<string>
UTC
</string>
</object>
</tuple>
</value>
</state>
</item>
</object>
</dictionary>
</value>
</list>
</item>
</tuple>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
</ZopeData>
</ZopeData>
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_site_module/customer_frontend_selector/demo.xml
View file @
0e770859
...
@@ -58,9 +58,13 @@
...
@@ -58,9 +58,13 @@
<value>
<value>
<object>
<object>
<klass>
<klass>
<global
name=
"
MultiHook"
module=
"ZPublisher.BeforeTraverse
"
/>
<global
name=
"
_reconstructor"
module=
"copy_reg
"
/>
</klass>
</klass>
<tuple/>
<tuple>
<global
name=
"MultiHook"
module=
"ZPublisher.BeforeTraverse"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<state>
<dictionary>
<dictionary>
<item>
<item>
...
...
master/bt5/slapos_web_frontend_selector/PathTemplateItem/web_site_module/customer_frontend_selector/demo/app.xml
View file @
0e770859
...
@@ -58,9 +58,13 @@
...
@@ -58,9 +58,13 @@
<value>
<value>
<object>
<object>
<klass>
<klass>
<global
name=
"
MultiHook"
module=
"ZPublisher.BeforeTraverse
"
/>
<global
name=
"
_reconstructor"
module=
"copy_reg
"
/>
</klass>
</klass>
<tuple/>
<tuple>
<global
name=
"MultiHook"
module=
"ZPublisher.BeforeTraverse"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<state>
<dictionary>
<dictionary>
<item>
<item>
...
...
master/bt5/slapos_web_frontend_selector/SkinTemplateItem/portal_skins/slapos_frontend_selector_theme/WebSite_getTestFrontendResponse.py
View file @
0e770859
...
@@ -13,7 +13,7 @@ response.setHeader('Content-Type', 'text/plain')
...
@@ -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
(
"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"
,
"http
s://selector
.node.grandenet.cn"
)
return
"""
return
"""
###################################################################################
###################################################################################
...
...
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