Commit 965a8316 authored by Roque's avatar Roque

erp5_officejs_ooffice: drop appcache in apps and migrate to service worker

- text editor
- spreadsheet editor
- presentation editor
parent 3e196ccc
......@@ -403,7 +403,7 @@
</item>
<item>
<key> <string>configuration_cache_file</string> </key>
<value> <string>gadget_ooffice_presentation.appcache</string> </value>
<value> <string>WebSection_getPrecacheManifest</string> </value>
</item>
<item>
<key> <string>configuration_content_security_policy</string> </key>
......@@ -531,6 +531,12 @@
<key> <string>static_language_selection</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>subject</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>OnlyOffice Presentation</string> </value>
......@@ -638,11 +644,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>
......@@ -686,16 +694,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>
......@@ -718,7 +730,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>973.33482.4166.8669</string> </value>
<value> <string>982.59877.61445.307</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -736,7 +748,7 @@
</tuple>
<state>
<tuple>
<float>1549644570.35</float>
<float>1587472042.87</float>
<string>UTC</string>
</tuple>
</state>
......@@ -745,7 +757,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -319,6 +319,26 @@
<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>
<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>
</tuple>
</value>
</item>
......@@ -381,16 +401,30 @@
</item>
<item>
<key> <string>configuration_manifest_url</string> </key>
<value> <string>gadget_ooffice_presentation.appcache</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>configuration_panel_gadget_url</string> </key>
<value> <string>gadget_erp5_ojs_panel.html</string> </value>
</item>
<item>
<key> <string>configuration_precache_manifest_script_list</string> </key>
<value> <string>WebSection_getOfficeJsPrecacheManifestList\n
WebSection_getOnlyOfficePrecacheManifestList\n
WebSection_getOOfficePresentationEditorPrecacheManifestList</string> </value>
</item>
<item>
<key> <string>configuration_router_gadget_url</string> </key>
<value> <string>gadget_ooffice_presentation_router.html</string> </value>
</item>
<item>
<key> <string>configuration_service_worker_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>configuration_translation_gadget_url</string> </key>
<value>
......@@ -558,11 +592,13 @@
</record>
<record id="6" aka="AAAAAAAAAAY=">
<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>
......@@ -606,16 +642,20 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="7" aka="AAAAAAAAAAc=">
<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>
......@@ -638,7 +678,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>975.50809.16912.62464</string> </value>
<value> <string>983.23018.54274.53111</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -656,7 +696,7 @@
</tuple>
<state>
<tuple>
<float>1566484920.69</float>
<float>1587729710.65</float>
<string>UTC</string>
</tuple>
</state>
......@@ -665,7 +705,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -249,11 +249,13 @@
</record>
<record id="6" aka="AAAAAAAAAAY=">
<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>
......@@ -299,16 +301,20 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="7" aka="AAAAAAAAAAc=">
<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>
......@@ -331,7 +337,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>977.60851.6648.29730</string> </value>
<value> <string>982.57135.22608.35276</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -349,7 +355,7 @@
</tuple>
<state>
<tuple>
<float>1566485011.33</float>
<float>1585741796.24</float>
<string>UTC</string>
</tuple>
</state>
......@@ -358,7 +364,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
url_list = [
#presentation specific
"gadget_ooffice_presentation.configuration",
"gadget_ooffice_presentation_router.html",
"gadget_officejs_jio_presentation_view.html",
"gadget_officejs_jio_presentation_view.js",
"gadget_ooffice_presentation.json",
"500px-Gnome-x-office-presentation.svg.png",
]
return url_list
url_list = [
#spreadsheet specific
"gadget_ooffice_spreadsheet.configuration",
"gadget_ooffice_spreadsheet_router.html",
"gadget_officejs_jio_spreadsheet_view.html",
"gadget_officejs_jio_spreadsheet_view.js",
"gadget_ooffice_spreadsheet.json",
"500px-Gnome-x-office-spreadsheet.svg.png",
]
return url_list
url_list = [
#text specific
"gadget_ooffice_text.configuration",
"gadget_ooffice_text_router.html",
"gadget_officejs_jio_text_view.html",
"gadget_officejs_jio_text_view.js",
"gadget_ooffice_text.json",
"500px-Gnome-x-office-document.svg.png",
]
return url_list
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