Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
f4bf3631
Commit
f4bf3631
authored
Jul 06, 2021
by
Roque
Browse files
Options
Browse Files
Download
Plain Diff
erp5_web_monitoring: update app
See merge request
nexedi/erp5!1453
parents
876a676d
5535b855
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
632 additions
and
204 deletions
+632
-204
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
...ateItem/web_page_module/gadget_officejs_page_export_js.js
+2
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
...teItem/web_page_module/gadget_officejs_page_export_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/image_module/gadget_officejs_appstore_rapid_spage.png
...tem/image_module/gadget_officejs_appstore_rapid_spage.png
+0
-0
bt5/erp5_web_monitoring/PathTemplateItem/image_module/gadget_officejs_appstore_rapid_spage.xml
...tem/image_module/gadget_officejs_appstore_rapid_spage.xml
+68
-179
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_json.json
...Item/web_page_module/gadget_officejs_monitoring_json.json
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_json.xml
...eItem/web_page_module/gadget_officejs_monitoring_json.xml
+11
-11
bt5/erp5_web_monitoring/PathTemplateItem/web_site_module/officejs_monitoring.xml
.../PathTemplateItem/web_site_module/officejs_monitoring.xml
+3
-3
bt5/erp5_web_monitoring/PathTemplateItem/web_site_module/officejs_monitoring/app.xml
...hTemplateItem/web_site_module/officejs_monitoring/app.xml
+19
-3
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring.xml
...ing/SkinTemplateItem/portal_skins/erp5_web_monitoring.xml
+47
-0
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring/WebSection_getMonitorPrecacheManifestList.py
...b_monitoring/WebSection_getMonitorPrecacheManifestList.py
+138
-0
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring/WebSection_getMonitorPrecacheManifestList.xml
..._monitoring/WebSection_getMonitorPrecacheManifestList.xml
+62
-0
bt5/erp5_web_monitoring/bt/template_keep_last_workflow_history_only_path_list
...ing/bt/template_keep_last_workflow_history_only_path_list
+2
-1
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
+2
-1
bt5/erp5_web_monitoring/bt/template_path_list
bt5/erp5_web_monitoring/bt/template_path_list
+1
-0
bt5/erp5_web_monitoring/bt/template_skin_id_list
bt5/erp5_web_monitoring/bt/template_skin_id_list
+1
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.xml
..._tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.xml
+58
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.zpt
..._tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.zpt
+211
-0
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
+2
-1
tests/__init__.py
tests/__init__.py
+1
-0
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
f4bf3631
...
...
@@ -86,7 +86,8 @@
},
"
Monitoring App
"
:
{
"
url
"
:
"
officejs_monitoring/
"
,
"
cache
"
:
"
gadget_officejs_monitoring.appcache
"
"
storage_type
"
:
"
precache
"
,
"
cache
"
:
precache_manifest
},
"
App Store
"
:
{
"
url
"
:
"
officejs_appstore/
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
View file @
f4bf3631
...
...
@@ -258,7 +258,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
<value>
<string>
9
92.64248.47613.22510
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -276,7 +276,7 @@
</tuple>
<state>
<tuple>
<float>
16
13148589.32
</float>
<float>
16
24657859.54
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/image_module/gadget_officejs_appstore_rapid_spage.png
0 → 100644
View file @
f4bf3631
14.4 KB
bt5/erp5_web_monitoring/PathTemplateItem/
web_page_module/gadget_officejs_monitoring_appcach
e.xml
→
bt5/erp5_web_monitoring/PathTemplateItem/
image_module/gadget_officejs_appstore_rapid_spag
e.xml
View file @
f4bf3631
...
...
@@ -2,7 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"
Web Manifest
"
module=
"erp5.portal_type"
/>
<global
name=
"
Image
"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -16,7 +16,6 @@
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -59,27 +58,38 @@
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<key>
<string>
_count
</string>
</key>
<value>
<tuple>
<string>
classification/collaborative/public
</string>
</tuple>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<key>
<string>
_mt_index
</string>
</key>
<value>
<
none/
>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent
>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
c3632480b2ddbb7445c4fd3039ae6c66
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
image/png
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_monitoring.appcache
</string>
</value>
<value>
<string>
NXD-Logo.Rapid.Space.png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
@@ -87,17 +97,27 @@
<none/>
</value>
</item>
<item>
<key>
<string>
filename
</string>
</key>
<value>
<string>
NXD-Logo.Rapid.Space.png
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
400
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_
monitoring_appcach
e
</string>
</value>
<value>
<string>
gadget_officejs_
appstore_rapid_spag
e
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Manifest
</string>
</value>
<value>
<string>
Image
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
...
...
@@ -105,181 +125,50 @@
<none/>
</value>
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
CACHE MANIFEST\n
# generated on Fri, 19 Nov 2018 12:54:57 +0000\n
# XXX + fonts\n
# images/ajax-loader.gif\n
CACHE:\n
font-awesome/font-awesome.css\n
font-awesome/font-awesome-webfont.eot\n
font-awesome/font-awesome-webfont.woff\n
font-awesome/font-awesome-webfont.woff2\n
font-awesome/font-awesome-webfont.ttf\n
font-awesome/font-awesome-webfont.svg\n
URI.js\n
dygraph.js\n
gadget_erp5_nojqm.css\n
gadget_global.js\n
gadget_field_graph_dygraph.html\n
gadget_field_graph_dygraph.js\n
gadget_jio.html\n
gadget_jio.js\n
gadget_translate.html\n
gadget_translate.js\n
gadget_translation.html\n
dygraph.js\n
handlebars.js\n
jiodev.js\n
erp5_launcher_nojqm.js\n
monitoring_jio_storage.js\n
monitoring_jio_web_storage.js\n
jsen.min.js\n
renderjs.js\n
rsvp.js\n
\n
# shared\n
gadget_erp5_notification.html\n
gadget_erp5_notification.js\n
gadget_officejs_router.js\n
gadget_translation_data.js\n
gadget_translation.js\n
gadget_erp5_router.html\n
gadget_erp5_router.js\n
gadget_html5_input.html\n
gadget_html5_input.js\n
gadget_erp5_configure_editor.html\n
gadget_erp5_configure_editor.js\n
gadget_erp5_searchfield.html\n
gadget_erp5_searchfield.js\n
gadget_erp5_pt_form_list.html\n
gadget_erp5_pt_form_list.js\n
gadget_erp5_form.html\n
gadget_erp5_form.js\n
gadget_erp5_label_field.html\n
gadget_erp5_label_field.js\n
gadget_erp5_field_listbox.html\n
gadget_erp5_field_listbox.js\n
gadget_erp5_field_datetime.html\n
gadget_erp5_field_datetime.js\n
gadget_erp5_field_string.html\n
gadget_erp5_field_string.js\n
gadget_erp5_field_gadget.html\n
gadget_erp5_field_gadget.js\n
gadget_erp5_field_status.html\n
gadget_erp5_field_status.js\n
gadget_html5_element.html\n
gadget_html5_element.js\n
gadget_erp5_field_editor.html\n
gadget_erp5_field_editor.js\n
gadget_erp5_field_relationstring.html\n
gadget_erp5_field_relationstring.js\n
gadget_erp5_field_textarea.html\n
gadget_erp5_field_textarea.js\n
gadget_erp5_relation_input.html\n
gadget_erp5_relation_input.js\n
gadget_erp5_page_ojs_controller.html\n
gadget_erp5_page_ojs_controller.js\n
gadget_html5_textarea.html\n
gadget_html5_textarea.js\n
gadget_erp5_field_list.html\n
gadget_erp5_field_list.js\n
gadget_erp5_field_checkbox.html\n
gadget_erp5_field_checkbox.js\n
gadget_html5_select.html\n
gadget_html5_select.js\n
gadget_erp5_field_password.html\n
gadget_erp5_field_password.js\n
gadget_erp5_field_integer.html\n
gadget_erp5_field_integer.js\n
gadget_erp5_jio.html\n
gadget_erp5_jio.js\n
gadget_erp5_search_editor.html\n
gadget_erp5_search_editor.js\n
gadget_erp5_sort_editor.html\n
gadget_erp5_sort_editor.js\n
\n
# monitoring\n
gadget_officejs_monitoring.appcache\n
gadget_officejs_monitoring_jio.html\n
gadget_erp5_page_ojsm_hosting_subscription_list.html\n
gadget_officejs_monitoring_parameter_view.html\n
gadget_erp5_page_settings_configurator.html\n
gadget_erp5_page_ojsm_processes_view.html\n
gadget_officejs_jio_hosting_subscription_view.html\n
gadget_officejs_monitoring_sync.html\n
gadget_officejs_jio_software_instance_view.html\n
gadget_erp5_page_ojsm_software_instance_list.html\n
gadget_officejs_monitoring_router.html\n
gadget_officejs_jio_promise_view.html\n
gadget_erp5_page_ojsm_import_export.html\n
gadget_officejs_jio_opml_view.html\n
gadget_erp5_page_ojsm_opml_add.html\n
gadget_officejs_monitoring_panel.html\n
gadget_erp5_page_ojsm_resources_view.html\n
gadget_erp5_page_ojsm_opml_delete.html\n
gadget_officejs_monitoring_header.html\n
gadget_erp5_page_ojsm_status_list.html\n
gadget_erp5_page_ojsm_synchronize.html\n
gadget_erp5_page_ojsm_erp5_configurator.html\n
gadget_erp5_page_ojsm_jump.html\n
gadget_officejs_monitoring_opml_edit.html\n
gadget_erp5_page_ojsm_dispatch.html\n
gadget_ojsm_graph_field.html\n
\n
# monitoring js\n
gadget_officejs_monitoring_jio.js\n
gadget_erp5_page_ojsm_hosting_subscription_list.js\n
gadget_officejs_monitoring_parameter_view.js\n
gadget_erp5_page_settings_configurator.js\n
gadget_erp5_page_ojsm_processes_view.js\n
gadget_officejs_monitoring_custom.css\n
gadget_officejs_jio_hosting_subscription_view.js\n
gadget_erp5_global.js\n
gadget_officejs_monitoring_sync.js\n
gadget_erp5_page_ojsm_software_instance_list.js\n
gadget_officejs_monitoring_panel.js\n
gadget_officejs_jio_software_instance_view.js\n
gadget_erp5_page_ojsm_import_export.js\n
gadget_erp5_page_ojsm_resources_view.js\n
gadget_officejs_jio_promise_view.js\n
gadget_officejs_monitoring_header.js\n
gadget_erp5_page_ojsm_opml_add.js\n
gadget_erp5_page_ojsm_opml_delete.js\n
gadget_erp5_page_ojsm_status_list.js\n
gadget_officejs_jio_opml_view.js\n
gadget_erp5_page_ojsm_synchronize.js\n
gadget_erp5_page_ojsm_jump.js\n
gadget_erp5_page_ojsm_erp5_configurator.js\n
gadget_officejs_monitoring_opml_edit.js\n
gadget_erp5_page_ojsm_dispatch.js\n
gadget_ojsm_graph_field.js\n
\n
# erp5_web_renderjs_ui\n
gadget_erp5_editor_panel.html\n
gadget_erp5_editor_panel.js\n
NETWORK:\n
*
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
RenderJS Gadget Monitoring AppCache
</string>
</value>
<value>
<string>
NXD-Logo.Rapid.Space.png
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
400
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
I
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
...
...
@@ -292,13 +181,13 @@ NETWORK:\n
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Y
=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
c
=
</string>
</persistent>
</value>
</item>
</dictionary>
...
...
@@ -307,7 +196,7 @@ NETWORK:\n
</dictionary>
</pickle>
</record>
<record
id=
"
3"
aka=
"AAAAAAAAAAM
="
>
<record
id=
"
6"
aka=
"AAAAAAAAAAY
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
@@ -346,7 +235,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
1
509980323.24
</float>
<float>
1
624564717.0
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -364,7 +253,7 @@ NETWORK:\n
</dictionary>
</pickle>
</record>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<record
id=
"
7"
aka=
"AAAAAAAAAAc
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
@@ -395,7 +284,7 @@ NETWORK:\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
72.4099.58600.53947
</string>
</value>
<value>
<string>
9
93.4494.25552.27733
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -413,7 +302,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
1
543855489.22
</float>
<float>
1
624981359.38
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_json.json
View file @
f4bf3631
...
...
@@ -3,8 +3,8 @@
"name"
:
"OfficeJS Monitor"
,
"description"
:
"Cloud Monitoring Tool"
,
"icons"
:
[{
"src"
:
"
img/vifib-logo
.png"
,
"sizes"
:
"
any
"
,
"src"
:
"
NXD-Logo.Rapid.Space
.png"
,
"sizes"
:
"
128x128
"
,
"type"
:
"image/svg"
}],
"start_url"
:
"../../"
,
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_json.xml
View file @
f4bf3631
...
...
@@ -10,10 +10,12 @@
<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>
</value>
</item>
...
...
@@ -24,7 +26,6 @@
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -44,7 +45,6 @@
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -52,10 +52,12 @@
<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>
</value>
</item>
...
...
@@ -163,9 +165,7 @@
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
<value>
<string>
publish_alive
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
...
...
@@ -191,7 +191,7 @@
</tuple>
<state>
<tuple>
<float>
162
3847666.69
</float>
<float>
162
4563807.32
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -200,7 +200,7 @@
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
draft
</string>
</value>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
992.
51136.35053.3186
3
</string>
</value>
<value>
<string>
992.
64654.61905.2232
3
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
162
3847806.7
2
</float>
<float>
162
4981565.0
2
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_site_module/officejs_monitoring.xml
View file @
f4bf3631
...
...
@@ -269,7 +269,7 @@
</item>
<item>
<key>
<string>
configuration_cache_file
</string>
</key>
<value>
<string>
gadget_officejs_monitoring.appcache
</string>
</value>
<value>
<string>
WebSection_getPrecacheManifest
</string>
</value>
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
...
...
@@ -532,7 +532,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
992.5
0077.60742.52258
</string>
</value>
<value>
<string>
992.5
1134.29615.45363
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -550,7 +550,7 @@
</tuple>
<state>
<tuple>
<float>
162
3847587.11
</float>
<float>
162
4634946.02
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_site_module/officejs_monitoring/app.xml
View file @
f4bf3631
...
...
@@ -273,6 +273,16 @@
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_precache_manifest_script_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
...
...
@@ -325,12 +335,18 @@
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<string>
gadget_officejs_monitoring.appcache
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_monitoring_panel.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_precache_manifest_script_list
</string>
</key>
<value>
<string>
WebSection_getMonitorPrecacheManifestList
</string>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_monitoring_router.html
</string>
</value>
...
...
@@ -554,7 +570,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
63.27666.8050.30907
</string>
</value>
<value>
<string>
9
92.64257.46798.35242
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -572,7 +588,7 @@
</tuple>
<state>
<tuple>
<float>
1
541168426.77
</float>
<float>
1
625247788.8
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring.xml
0 → 100644
View file @
f4bf3631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
42.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_web_monitoring
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring/WebSection_getMonitorPrecacheManifestList.py
0 → 100644
View file @
f4bf3631
url_list
=
[
"URI.js"
,
"dygraph.js"
,
"gadget_erp5_nojqm.css"
,
"gadget_global.js"
,
"gadget_field_graph_dygraph.html"
,
"gadget_field_graph_dygraph.js"
,
"gadget_jio.html"
,
"gadget_jio.js"
,
"gadget_translate.html"
,
"gadget_translate.js"
,
"gadget_translation.html"
,
"dygraph.js"
,
"handlebars.js"
,
"jiodev.js"
,
"erp5_launcher_nojqm.js"
,
"monitoring_jio_storage.js"
,
"monitoring_jio_web_storage.js"
,
"jsen.min.js"
,
"renderjs.js"
,
"rsvp.js"
,
"gadget_erp5_notification.html"
,
"gadget_erp5_notification.js"
,
"gadget_officejs_router.js"
,
"gadget_translation_data.js"
,
"gadget_translation.js"
,
"gadget_erp5_router.html"
,
"gadget_erp5_router.js"
,
"gadget_html5_input.html"
,
"gadget_html5_input.js"
,
"gadget_erp5_configure_editor.html"
,
"gadget_erp5_configure_editor.js"
,
"gadget_erp5_searchfield.html"
,
"gadget_erp5_searchfield.js"
,
"gadget_erp5_pt_form_list.html"
,
"gadget_erp5_pt_form_list.js"
,
"gadget_erp5_form.html"
,
"gadget_erp5_form.js"
,
"gadget_erp5_label_field.html"
,
"gadget_erp5_label_field.js"
,
"gadget_erp5_field_listbox.html"
,
"gadget_erp5_field_listbox.js"
,
"gadget_erp5_field_datetime.html"
,
"gadget_erp5_field_datetime.js"
,
"gadget_erp5_field_string.html"
,
"gadget_erp5_field_string.js"
,
"gadget_erp5_field_gadget.html"
,
"gadget_erp5_field_gadget.js"
,
"gadget_erp5_field_status.html"
,
"gadget_erp5_field_status.js"
,
"gadget_html5_element.html"
,
"gadget_html5_element.js"
,
"gadget_erp5_field_editor.html"
,
"gadget_erp5_field_editor.js"
,
"gadget_erp5_field_relationstring.html"
,
"gadget_erp5_field_relationstring.js"
,
"gadget_erp5_field_textarea.html"
,
"gadget_erp5_field_textarea.js"
,
"gadget_erp5_relation_input.html"
,
"gadget_erp5_relation_input.js"
,
"gadget_erp5_page_ojs_controller.html"
,
"gadget_erp5_page_ojs_controller.js"
,
"gadget_html5_textarea.html"
,
"gadget_html5_textarea.js"
,
"gadget_erp5_field_list.html"
,
"gadget_erp5_field_list.js"
,
"gadget_erp5_field_checkbox.html"
,
"gadget_erp5_field_checkbox.js"
,
"gadget_html5_select.html"
,
"gadget_html5_select.js"
,
"gadget_erp5_field_password.html"
,
"gadget_erp5_field_password.js"
,
"gadget_erp5_field_integer.html"
,
"gadget_erp5_field_integer.js"
,
"gadget_erp5_jio.html"
,
"gadget_erp5_jio.js"
,
"gadget_erp5_search_editor.html"
,
"gadget_erp5_search_editor.js"
,
"gadget_erp5_sort_editor.html"
,
"gadget_erp5_sort_editor.js"
,
"gadget_officejs_monitoring_jio.html"
,
"gadget_erp5_page_ojsm_hosting_subscription_list.html"
,
"gadget_officejs_monitoring_parameter_view.html"
,
"gadget_erp5_page_settings_configurator.html"
,
"gadget_erp5_page_ojsm_processes_view.html"
,
"gadget_officejs_jio_hosting_subscription_view.html"
,
"gadget_officejs_monitoring_sync.html"
,
"gadget_officejs_jio_software_instance_view.html"
,
"gadget_erp5_page_ojsm_software_instance_list.html"
,
"gadget_officejs_monitoring_router.html"
,
"gadget_officejs_jio_promise_view.html"
,
"gadget_erp5_page_ojsm_import_export.html"
,
"gadget_officejs_jio_opml_view.html"
,
"gadget_erp5_page_ojsm_opml_add.html"
,
"gadget_officejs_monitoring_panel.html"
,
"gadget_erp5_page_ojsm_resources_view.html"
,
"gadget_erp5_page_ojsm_opml_delete.html"
,
"gadget_officejs_monitoring_header.html"
,
"gadget_erp5_page_ojsm_status_list.html"
,
"gadget_erp5_page_ojsm_synchronize.html"
,
"gadget_erp5_page_ojsm_erp5_configurator.html"
,
"gadget_erp5_page_ojsm_jump.html"
,
"gadget_officejs_monitoring_opml_edit.html"
,
"gadget_erp5_page_ojsm_dispatch.html"
,
"gadget_ojsm_graph_field.html"
,
"gadget_officejs_monitoring_jio.js"
,
"gadget_erp5_page_ojsm_hosting_subscription_list.js"
,
"gadget_officejs_monitoring_parameter_view.js"
,
"gadget_erp5_page_settings_configurator.js"
,
"gadget_erp5_page_ojsm_processes_view.js"
,
"gadget_officejs_monitoring_custom.css"
,
"gadget_officejs_jio_hosting_subscription_view.js"
,
"gadget_erp5_global.js"
,
"gadget_officejs_monitoring_sync.js"
,
"gadget_erp5_page_ojsm_software_instance_list.js"
,
"gadget_officejs_monitoring_panel.js"
,
"gadget_officejs_jio_software_instance_view.js"
,
"gadget_erp5_page_ojsm_import_export.js"
,
"gadget_erp5_page_ojsm_resources_view.js"
,
"gadget_officejs_jio_promise_view.js"
,
"gadget_officejs_monitoring_header.js"
,
"gadget_erp5_page_ojsm_opml_add.js"
,
"gadget_erp5_page_ojsm_opml_delete.js"
,
"gadget_erp5_page_ojsm_status_list.js"
,
"gadget_officejs_jio_opml_view.js"
,
"gadget_erp5_page_ojsm_synchronize.js"
,
"gadget_erp5_page_ojsm_jump.js"
,
"gadget_erp5_page_ojsm_erp5_configurator.js"
,
"gadget_officejs_monitoring_opml_edit.js"
,
"gadget_erp5_page_ojsm_dispatch.js"
,
"gadget_ojsm_graph_field.js"
,
"gadget_officejs_monitor.json"
,
"NXD-Logo.Rapid.Space.png"
,
"gadget_erp5_editor_panel.html"
,
"gadget_erp5_editor_panel.js"
]
return
url_list
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring/WebSection_getMonitorPrecacheManifestList.xml
0 → 100644
View file @
f4bf3631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_getMonitorPrecacheManifestList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring/bt/template_keep_last_workflow_history_only_path_list
View file @
f4bf3631
...
...
@@ -16,4 +16,5 @@ web_page_module/monitoring_jio_storage_js
web_page_module/monitoring_jio_web_storage_js
web_page_module/ojsm_gadget_erp5_statusfield_*
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring/**
\ No newline at end of file
web_site_module/officejs_monitoring/**
image_module/gadget_officejs_appstore_rapid_spage
\ No newline at end of file
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
View file @
f4bf3631
...
...
@@ -16,4 +16,5 @@ web_page_module/monitoring_jio_storage_js
web_page_module/monitoring_jio_web_storage_js
web_page_module/ojsm_gadget_erp5_statusfield_*
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring/**
\ No newline at end of file
web_site_module/officejs_monitoring/**
image_module/gadget_officejs_appstore_rapid_spage
\ No newline at end of file
bt5/erp5_web_monitoring/bt/template_path_list
View file @
f4bf3631
image_module/gadget_officejs_appstore_rapid_spage
web_page_module/gadget_erp5_field_status_*
web_page_module/gadget_erp5_page_ojsm_*
web_page_module/gadget_erp5_page_settings_configurator_*
...
...
bt5/erp5_web_monitoring/bt/template_skin_id_list
0 → 100644
View file @
f4bf3631
erp5_web_monitoring
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.xml
0 → 100644
View file @
f4bf3631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOfficeJSMonitoring
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.zpt
0 → 100644
View file @
f4bf3631
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test SlapOS Monitoring UI
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test SlapOS Monitoring UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Clean Up -->
<tr>
<td>
open
</td>
<td>
${base_url}/bar_module/ListBoxZuite_reset
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Install offline and redirect to clone -->
<tr>
<td>
open
</td>
<td
tal:content=
"python: '${base_url}/web_site_module/%s?ignore_layout:int=1&editable_mode:int=1' % 'officejs_monitoring'"
></td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=Base_createCloneDocument:method
</td>
<td></td>
field_my_id
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=Base_createCloneDocument:method
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Created Clone Web Site
</td>
<td></td>
</tr>
<tr>
<td>
storeValue
</td>
<td>
name=field_my_id
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Software Instances']
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Delete cloned web site on server
</b></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/manage_main
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=ids:list
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=ids:list
</td>
<td>
${install_url}
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=manage_delObjects:method
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Redirect on cloned web site
</b></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${install_url}/
</td>
<td></td>
</tr>
<tr>
<td>
setTimeout
</td>
<td>
10000
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextNotPresent
</td>
<td>
Office JS Monitor App is being prepared for 100 % offline mode
</td>
<td></td>
</tr>
<tr>
<td>
setTimeout
</td>
<td>
90000
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Monitoring Configurations']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Monitoring Configurations']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@id="destroyOPML"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='check_online_access']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n="Save"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Change Password']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Monitoring Configurations']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@id="destroyOPML"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Hosting Subscriptions']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Hosting Subscriptions']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//h1[text()='Hosting Subscriptions ']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Software Instances']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Software Instances']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//h1[text()='Software Instances ']
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_page_module/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${install_url}/app/#!display?n.page=settings_configurator
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Monitoring Configurations']
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
View file @
f4bf3631
erp5_full_text_mroonga_catalog
\ No newline at end of file
erp5_full_text_mroonga_catalog
erp5_officejs_ui_test
\ No newline at end of file
tests/__init__.py
View file @
f4bf3631
...
...
@@ -264,6 +264,7 @@ class RJS_Only(_ERP5):
def
getTestList
(
self
):
rjs_officejs_bt_list
=
[
"erp5_officejs_"
,
"renderjs_ui_test"
,
"erp5_web_monitoring_ui_test"
,
"erp5_monaco_editor_ui_test"
,
"erp5_travel_expense_ui_test"
,
"erp5_gadget_interface_validator_ui_test"
,
...
...
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