Commit 7a0d379e authored by Sven Franck's avatar Sven Franck Committed by Romain Courteaud

erp5_officejs_afs_directory: move from appcache to serviceworker

parent c81e72b1
Pipeline #8733 failed with stage
......@@ -104,107 +104,10 @@
<item>
<key> <string>text_content</string> </key>
<value> <string>CACHE MANIFEST\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/03/27 09:12:7.112010 UTC\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/03/23 09:29:47.867257 UTC\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/03/09 13:53:8.596469 UTC\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/02/17 16:16:46.725895 UTC\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/02/13 13:51:47.480981 UTC\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/02/11 16:56:56.234794 UTC\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/02/04 16:04:38.632233 UTC\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/01/31 13:15:2.911299 UTC\n
# Last modified by WebSite_checkCacheModificationDateConsistency on 2020/01/30 16:25:49.732555 UTC\n
# generated on Mon, 30 May 2017 10:00:00 GMT\n
# images/ajax-loader.gif\n
CACHE:\n
font-awesome/font-awesome-webfont.eot\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
gadget_erp5_afs_camera.png\n
gadget_erp5_afs_logo.png\n
gadget_erp5_page_afs_banner_unsplash?format=\n
URI.js\n
erp5_launcher_nojqm.js\n
gadget_erp5_nojqm.css\n
gadget_erp5_editor_panel.html\n
gadget_erp5_editor_panel.js\n
gadget_erp5_field_listbox.html\n
gadget_erp5_field_listbox.js\n
gadget_erp5_form.html\n
gadget_erp5_form.js\n
gadget_erp5_header.html\n
gadget_erp5_header.js\n
gadget_erp5_global.js\n
gadget_erp5_label_field.html\n
gadget_erp5_label_field.js\n
gadget_erp5_notification.html\n
gadget_erp5_notification.js\n
gadget_erp5_pt_form_list.html\n
gadget_erp5_pt_form_list.js\n
gadget_erp5_router.html\n
gadget_erp5_router.js\n
gadget_erp5_search_editor.html\n
gadget_erp5_search_editor.js\n
gadget_erp5_searchfield.html\n
gadget_erp5_searchfield.js\n
gadget_erp5_sort_editor.html\n
gadget_erp5_sort_editor.js\n
gadget_global.js\n
gadget_html5_input.html\n
gadget_html5_input.js\n
gadget_jio.html\n
gadget_jio.js\n
gadget_translation.html\n
gadget_translation.js\n
gadget_translation_data.js\n
handlebars.js\n
domsugar.js\n
jiodev.js\n
renderjs.js\n
rsvp.js\n
# CUSTOM AFS files\n
gadget_erp5_page_afs_success_case.html\n
gadget_erp5_page_afs_success_case.js\n
gadget_erp5_page_afs_publisher.html\n
gadget_erp5_page_afs_publisher.js\n
gadget_erp5_page_afs_export.html\n
gadget_erp5_page_afs_export.js\n
gadget_erp5_page_afs_success_case_list.html\n
gadget_erp5_page_afs_success_case_list.js\n
gadget_erp5_page_afs_publisher_list.html\n
gadget_erp5_page_afs_publisher_list.js\n
gadget_erp5_page_afs_publisher_statistic.html\n
gadget_erp5_page_afs_publisher_statistic.js\n
gadget_erp5_page_afs_financial_list.html\n
gadget_erp5_page_afs_financial_list.js\n
#gadget_erp5_page_afs_unsplash.html\n
#gadget_erp5_page_afs_unsplash.js\n
gadget_erp5_page_afs_software.html\n
gadget_erp5_page_afs_software.js\n
gadget_erp5_page_afs_directory.html\n
gadget_erp5_page_afs_directory.js\n
gadget_erp5_afs_dygraph.html\n
gadget_erp5_afs_dygraph.js\n
dygraph.js\n
dygraph.css\n
gadget_erp5_afs_publisher_jio.html\n
gadget_erp5_afs_publisher_jio.js\n
gadget_erp5_afs_publisher_storage.js\n
gadget_erp5_afs_export_jio.js\n
gadget_erp5_afs_export_jio.html\n
gadget_erp5_afs_export_storage.js\n
gadget_erp5_afs_panel.html\n
gadget_erp5_afs_panel.js\n
gadget_erp5_afs_router.html\n
gadget_erp5_afs_router.js\n
gadget_erp5_afs.css\n
gadget_erp5_page_afs_software_list.html\n
gadget_erp5_page_afs_software_list.js\n
gadget_erp5_afs_logo.png?format=png\n
NETWORK:\n
*\n
</string> </value>
*</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -331,7 +234,7 @@ NETWORK:\n
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>System Processes</string> </value>
<value> <string>supersven</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -345,7 +248,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>982.51362.63695.51882</string> </value>
<value> <string>982.61211.14720.36829</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -363,7 +266,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1585300327.14</float>
<float>1585822047.79</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -289,6 +289,26 @@
<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>
......@@ -363,16 +383,26 @@
</item>
<item>
<key> <string>configuration_manifest_url</string> </key>
<value> <string>gadget_erp5_afs.appcache</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>configuration_panel_gadget_url</string> </key>
<value> <string>gadget_erp5_afs_panel.html</string> </value>
</item>
<item>
<key> <string>configuration_precache_manifest_script_list</string> </key>
<value> <string>WebSection_getOfficeJSAfsPrecacheManifestList</string> </value>
</item>
<item>
<key> <string>configuration_router_gadget_url</string> </key>
<value> <string>gadget_erp5_afs_router.html</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_translation_gadget_url</string> </key>
<value> <string>gadget_translation.html</string> </value>
......@@ -606,7 +636,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>supersven</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -620,7 +650,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>982.57615.36764.14148</string> </value>
<value> <string>982.61159.34215.43656</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -638,7 +668,7 @@
</tuple>
<state>
<tuple>
<float>1585606062.87</float>
<float>1585820069.2</float>
<string>UTC</string>
</tuple>
</state>
......
<?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/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_officejs_afs</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
url_list = [
# afs page files
'gadget_erp5_page_afs_success_case_list.html',
'gadget_erp5_page_afs_success_case_list.js',
'gadget_erp5_page_afs_success_case.html',
'gadget_erp5_page_afs_success_case.js',
'gadget_erp5_page_afs_publisher_list.html',
'gadget_erp5_page_afs_publisher_list.js',
'gadget_erp5_page_afs_publisher.html',
'gadget_erp5_page_afs_publisher.js',
'gadget_erp5_page_afs_software_list.html',
'gadget_erp5_page_afs_software_list.js',
'gadget_erp5_page_afs_software.html',
'gadget_erp5_page_afs_software.js',
'gadget_erp5_page_afs_export.html',
'gadget_erp5_page_afs_export.js',
'gadget_erp5_page_afs_publisher_statistic.html',
'gadget_erp5_page_afs_publisher_statistic.js',
'gadget_erp5_page_afs_financial_list.html',
'gadget_erp5_page_afs_financial_list.js',
#gadget_erp5_page_afs_unsplash.html',
#gadget_erp5_page_afs_unsplash.js',
'gadget_erp5_page_afs_directory.html',
'gadget_erp5_page_afs_directory.js',
# afs jio
'gadget_erp5_afs_publisher_jio.html',
'gadget_erp5_afs_publisher_jio.js',
'gadget_erp5_afs_publisher_storage.js',
'gadget_erp5_afs_export_jio.js',
'gadget_erp5_afs_export_jio.html',
'gadget_erp5_afs_export_storage.js',
# afs custom erp5
'gadget_erp5_afs_panel.html',
'gadget_erp5_afs_panel.js',
'gadget_erp5_afs_router.html',
'gadget_erp5_afs_router.js',
'gadget_erp5_afs.css',
# afs dygraph
'gadget_erp5_afs_dygraph.html',
'gadget_erp5_afs_dygraph.js',
'dygraph.js',
'dygraph.css',
# afs images
'gadget_erp5_afs_camera.png',
'gadget_erp5_afs_logo.png',
'gadget_erp5_page_afs_banner_unsplash?format='
]
return url_list
<?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>REQUEST=None</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSection_getOfficeJSAfsPrecacheManifestList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
0.1 Initial Version
0.2 Moved data to separate bt5
\ No newline at end of file
0.2 Moved data to separate bt5
0.3 Speed improvements
0.4 Switched from appcache to serviceworker
\ No newline at end of file
erp5_officejs_afs
\ No newline at end of file
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