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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos.core
Commits
66c13dde
Commit
66c13dde
authored
Jun 27, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Move hostingjs from appcache to use service workers
parent
a4158284
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
587 additions
and
600 deletions
+587
-600
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_appcache.xml
...mplateItem/web_page_module/rjs_gadget_slapos_appcache.xml
+165
-497
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs.xml
...slapos_jio/PathTemplateItem/web_site_module/hostingjs.xml
+149
-103
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/WebSection_getHostingJSPrecacheManifestList.py
...json_style/WebSection_getHostingJSPrecacheManifestList.py
+211
-0
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/WebSection_getHostingJSPrecacheManifestList.xml
...son_style/WebSection_getHostingJSPrecacheManifestList.xml
+62
-0
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_appcache.xml
View file @
66c13dde
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs.xml
View file @
66c13dde
...
...
@@ -319,6 +319,36 @@
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_slapos_master_web_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_service_worker_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<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>
...
...
@@ -400,7 +430,9 @@
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<string>
gadget_slapos.appcache
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
...
...
@@ -410,6 +442,14 @@
<key>
<string>
configuration_payment_result
</string>
</key>
<value>
<string>
slap_payment_result
</string>
</value>
</item>
<item>
<key>
<string>
configuration_precache_manifest_script_list
</string>
</key>
<value>
<string>
WebSection_getHostingJSPrecacheManifestList
</string>
</value>
</item>
<item>
<key>
<string>
configuration_service_worker_url
</string>
</key>
<value>
<string>
gadget_erp5_serviceworker.js
</string>
</value>
</item>
<item>
<key>
<string>
configuration_slapos_master_api
</string>
</key>
<value>
<string>
https://slap.vifib.com
</string>
</value>
...
...
@@ -575,11 +615,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>
...
...
@@ -623,17 +665,20 @@
</item>
</dictionary>
</list>
<none/>
</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>
...
...
@@ -656,7 +701,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
981.53285.53652.51182
</string>
</value>
<value>
<string>
984.54163.63599.62020
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -674,7 +719,7 @@
</tuple>
<state>
<tuple>
<float>
1581587590.88
</float>
<float>
1593184516.49
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -683,8 +728,9 @@
</item>
</dictionary>
</list>
<none/>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/WebSection_getHostingJSPrecacheManifestList.py
0 → 100644
View file @
66c13dde
url_list
=
[
"gadget_slapos_translation.html"
,
"gadget_translation.js"
,
"gadget_slapos_translation_data.js"
,
"handlebars.js"
,
"jiodev.js"
,
"renderjs.js"
,
"rsvp.js"
,
"gadget_erp5_page_map.css"
,
"gadget_erp5_page_map.html"
,
"gadget_erp5_page_map.js"
,
"gadget_erp5_page_slap_accept_upgrade_decision.html"
,
"gadget_erp5_page_slap_accept_upgrade_decision.js"
,
"gadget_erp5_page_slap_add_computer.html"
,
"gadget_erp5_page_slap_add_computer.js"
,
"gadget_erp5_page_slap_add_hosting_subscription.html"
,
"gadget_erp5_page_slap_add_hosting_subscription.js"
,
"gadget_erp5_page_slap_add_network.html"
,
"gadget_erp5_page_slap_add_network.js"
,
"gadget_erp5_page_slap_add_organisation.html"
,
"gadget_erp5_page_slap_add_organisation.js"
,
"gadget_erp5_page_slap_organisation_get_invitation_link.js"
,
"gadget_erp5_page_slap_organisation_get_invitation_link.html"
,
"gadget_erp5_page_slap_project_get_invitation_link.js"
,
"gadget_erp5_page_slap_project_get_invitation_link.html"
,
"gadget_erp5_page_slap_add_project.html"
,
"gadget_erp5_page_slap_add_project.js"
,
"gadget_erp5_page_slap_add_related_event.html"
,
"gadget_erp5_page_slap_add_related_event.js"
,
"gadget_erp5_page_slap_add_related_ticket.html"
,
"gadget_erp5_page_slap_add_related_ticket.js"
,
"gadget_erp5_page_slap_add_software_installation.html"
,
"gadget_erp5_page_slap_add_software_installation.js"
,
"gadget_erp5_page_slap_add_ticket.html"
,
"gadget_erp5_page_slap_add_ticket.js"
,
"gadget_erp5_page_slap_close_ticket.js"
,
"gadget_erp5_page_slap_close_ticket.html"
,
"gadget_erp5_page_slap_computer_get_token.html"
,
"gadget_erp5_page_slap_computer_get_token.js"
,
"gadget_erp5_page_slap_computer_list.html"
,
"gadget_erp5_page_slap_computer_list.js"
,
"gadget_erp5_page_slap_computer_network_view.html"
,
"gadget_erp5_page_slap_computer_network_view.js"
,
"gadget_erp5_page_slap_facebook_login_view.html"
,
"gadget_erp5_page_slap_google_login_view.html"
,
"gadget_erp5_page_slap_erp5_login_view.html"
,
"gadget_erp5_page_slap_google_login_view.js"
,
"gadget_erp5_page_slap_facebook_login_view.js"
,
"gadget_erp5_page_slap_erp5_login_view.js"
,
"gadget_erp5_page_slap_reject_upgrade_decision.html"
,
"gadget_erp5_page_slap_reject_upgrade_decision.js"
,
"gadget_erp5_page_slap_computer_request_certificate.html"
,
"gadget_erp5_page_slap_computer_request_certificate.js"
,
"gadget_erp5_page_slap_computer_revoke_certificate.html"
,
"gadget_erp5_page_slap_computer_revoke_certificate.js"
,
"gadget_erp5_page_slap_computer_view.html"
,
"gadget_erp5_page_slap_computer_view.js"
,
"gadget_erp5_page_slap_controller.html"
,
"gadget_erp5_page_slap_controller.js"
,
"gadget_erp5_page_slap_delete_network.html"
,
"gadget_erp5_page_slap_delete_network.js"
,
"gadget_erp5_page_slap_delete_organisation.html"
,
"gadget_erp5_page_slap_delete_organisation.js"
,
"gadget_erp5_page_slap_delete_project.html"
,
"gadget_erp5_page_slap_delete_project.js"
,
"gadget_erp5_page_slap_destroy_hosting_subscription.html"
,
"gadget_erp5_page_slap_destroy_hosting_subscription.js"
,
"gadget_erp5_page_slap_destroy_software_installation.html"
,
"gadget_erp5_page_slap_destroy_software_installation.js"
,
"gadget_erp5_page_slap_hosting_subscription_view.html"
,
"gadget_erp5_page_slap_hosting_subscription_view.js"
,
"gadget_erp5_page_slap_intent.html"
,
"gadget_erp5_page_slap_intent.js"
,
"gadget_slapos_annotated_helper.js"
,
"gadget_slapos_annotated_helper.html"
,
"gadget_slapos_annotated_helper.css"
,
"gadget_erp5_page_slap_invoice_list.html"
,
"gadget_erp5_page_slap_invoice_list.js"
,
"gadget_erp5_page_slap_load_schema.html"
,
"gadget_erp5_page_slap_load_schema.js"
,
"gadget_erp5_page_slap_network_list.html"
,
"gadget_erp5_page_slap_network_list.js"
,
"gadget_erp5_page_slap_organisation_view.html"
,
"gadget_erp5_page_slap_organisation_view.js"
,
"gadget_erp5_page_slap_site_view.html"
,
"gadget_erp5_page_slap_site_view.js"
,
"gadget_erp5_page_slap_parameter_form.css"
,
"gadget_erp5_page_slap_parameter_form.html"
,
"gadget_erp5_page_slap_parameter_form.js"
,
"gadget_erp5_page_slap_payment_result.html"
,
"gadget_erp5_page_slap_person_get_token.html"
,
"gadget_erp5_page_slap_person_get_token.js"
,
"gadget_erp5_page_slap_person_add_organisation.js"
,
"gadget_erp5_page_slap_person_add_organisation.html"
,
"gadget_erp5_page_slap_person_request_certificate.html"
,
"gadget_erp5_page_slap_person_request_certificate.js"
,
"gadget_erp5_page_slap_person_revoke_certificate.html"
,
"gadget_erp5_page_slap_person_revoke_certificate.js"
,
"gadget_erp5_page_slap_person_view.html"
,
"gadget_erp5_page_slap_person_view.js"
,
"gadget_erp5_page_slap_project_list.html"
,
"gadget_erp5_page_slap_project_list.js"
,
"gadget_erp5_page_slap_project_view.html"
,
"gadget_erp5_page_slap_project_view.js"
,
"gadget_erp5_page_slap_regularisation_request_view.html"
,
"gadget_erp5_page_slap_regularisation_request_view.js"
,
"gadget_erp5_page_slap_request_trial.html"
,
"gadget_erp5_page_slap_request_trial.js"
,
"gadget_erp5_page_slap_rss_critical_ticket.html"
,
"gadget_erp5_page_slap_rss_critical_ticket.js"
,
"gadget_erp5_page_slap_rss_ticket.html"
,
"gadget_erp5_page_slap_rss_ticket.js"
,
"gadget_erp5_page_slap_sale_invoice_transaction_view.html"
,
"gadget_erp5_page_slap_sale_invoice_transaction_view.js"
,
"gadget_erp5_page_slap_select_software_product.html"
,
"gadget_erp5_page_slap_select_software_product.js"
,
"gadget_erp5_page_slap_select_software_release.html"
,
"gadget_erp5_page_slap_select_software_release.js"
,
"gadget_erp5_page_slap_service_list.html"
,
"gadget_erp5_page_slap_service_list.js"
,
"gadget_erp5_page_slap_site_list.html"
,
"gadget_erp5_page_slap_site_list.js"
,
"gadget_erp5_page_slap_slave_instance_view.html"
,
"gadget_erp5_page_slap_software_installation_view.html"
,
"gadget_erp5_page_slap_software_installation_view.js"
,
"gadget_erp5_page_slap_software_instance_view.html"
,
"gadget_erp5_page_slap_software_instance_view.js"
,
"gadget_erp5_page_slap_start_hosting_subscription.html"
,
"gadget_erp5_page_slap_start_hosting_subscription.js"
,
"gadget_erp5_page_slap_stop_hosting_subscription.html"
,
"gadget_erp5_page_slap_stop_hosting_subscription.js"
,
"gadget_erp5_page_slap_support_request_view.html"
,
"gadget_erp5_page_slap_ticket_list.html"
,
"gadget_erp5_page_slap_ticket_list.js"
,
"gadget_erp5_page_slap_ticket_view.js"
,
"gadget_erp5_page_slap_transfer_computer.html"
,
"gadget_erp5_page_slap_transfer_computer.js"
,
"gadget_erp5_page_slap_transfer_hosting_subscription.html"
,
"gadget_erp5_page_slap_transfer_hosting_subscription.js"
,
"gadget_erp5_page_slap_transfer_computer_network.html"
,
"gadget_erp5_page_slap_transfer_computer_network.js"
,
"gadget_erp5_page_slap_trial_request_message.html"
,
"gadget_erp5_page_slap_trial_request_message.js"
,
"gadget_erp5_page_slap_upgrade_decision_view.html"
,
"gadget_erp5_page_slap_upgrade_decision_view.js"
,
"gadget_erp5_page_slap_invalidate_login.js"
,
"gadget_erp5_page_slap_invalidate_login.html"
,
"gadget_erp5_page_slap_person_add_erp5_login.js"
,
"gadget_erp5_page_slap_person_add_erp5_login.html"
,
"gadget_erp5_page_slap_notify_and_redirect.html"
,
"gadget_erp5_page_slap_notify_and_redirect.js"
,
"gadget_erp5_page_slapos.css"
,
"gadget_erp5_page_slapos.html"
,
"gadget_erp5_page_slapos.js"
,
"gadget_erp5_page_slapos_request_form.html"
,
"gadget_erp5_page_trial.css"
,
"gadget_erp5_page_trial.html"
,
"gadget_erp5_page_trial.js"
,
"gadget_erp5_panel_shortcut.html"
,
"gadget_erp5_panel_shortcut.js"
,
"gadget_erp5_pt_form_slapos_index.html"
,
"gadget_erp5_pt_form_slapos_index.js"
,
"gadget_erp5_attention_point.html"
,
"gadget_erp5_attention_point.css"
,
"gadget_erp5_attention_point.js"
,
"gadget_slapos_computer_map.html"
,
"gadget_slapos_computer_map.js"
,
"gadget_slapos_computer_status.css"
,
"gadget_slapos_computer_status.html"
,
"gadget_slapos_computer_status.js"
,
"gadget_slapos_event_discussion_entry.css"
,
"gadget_slapos_event_discussion_entry.html"
,
"gadget_slapos_event_discussion_entry.js"
,
"gadget_slapos_header.html"
,
"gadget_slapos_header.js"
,
"gadget_slapos_hosting_subscription_status.html"
,
"gadget_slapos_hosting_subscription_status.js"
,
"gadget_slapos_installation_status.html"
,
"gadget_slapos_installation_status.js"
,
"gadget_slapos_instance_status.html"
,
"gadget_slapos_instance_status.js"
,
"gadget_slapos_invoice_printout.html"
,
"gadget_slapos_invoice_printout.js"
,
"gadget_slapos_invoice_state.html"
,
"gadget_slapos_invoice_state.js"
,
"gadget_slapos_label_listbox_field.html"
,
"gadget_slapos_label_listbox_field.js"
,
"gadget_slapos_alert_listbox_field.js"
,
"gadget_slapos_alert_listbox_field.css"
,
"gadget_slapos_alert_listbox_field.html"
,
"gadget_slapos_network_status.html"
,
"gadget_slapos_network_status.js"
,
"gadget_slapos_panel.html"
,
"gadget_slapos_panel.js"
,
"gadget_slapos_panel.png?format="
,
"gadget_slapos_invoice_logo.png?format="
,
"gadget_slapos_payment_result.js"
,
"gadget_slapos_project_status.html"
,
"gadget_slapos_project_status.js"
,
"gadget_slapos_site_status.html"
,
"gadget_slapos_site_status.js"
,
"gadget_slapos_utils.js"
,
"gadget_trial_panel.html"
,
"gadget_trial_panel.js"
,
"leaflet.css"
,
"leaflet.js"
,
"tv4.min.js"
,
"vkbeautify.js"
]
return
url_list
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/WebSection_getHostingJSPrecacheManifestList.xml
0 → 100644
View file @
66c13dde
<?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_getHostingJSPrecacheManifestList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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