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
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
Yusei Tahara
erp5
Commits
9bbbf3d6
Commit
9bbbf3d6
authored
Sep 24, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: migrate from appcache to service worker
parent
35809f62
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
188 additions
and
520 deletions
+188
-520
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_notebook.appcache.xml
...tem/web_page_module/gadget_officejs_notebook.appcache.xml
+0
-511
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_officejs/PathTemplateItem/web_site_module/officejs_notebook.xml
...js/PathTemplateItem/web_site_module/officejs_notebook.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_notebook/app.xml
...athTemplateItem/web_site_module/officejs_notebook/app.xml
+20
-3
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_notebook.xml
.../SkinTemplateItem/portal_skins/erp5_officejs_notebook.xml
+47
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_notebook/WebSection_getNotebookEditorPrecacheManifestList.py
...ebook/WebSection_getNotebookEditorPrecacheManifestList.py
+52
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_notebook/WebSection_getNotebookEditorPrecacheManifestList.xml
...book/WebSection_getNotebookEditorPrecacheManifestList.xml
+62
-0
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_notebook.appcache.xml
deleted
100644 → 0
View file @
35809f62
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
9bbbf3d6
...
...
@@ -26,7 +26,8 @@
},
"
Notebook
"
:
{
"
url
"
:
"
officejs_notebook/
"
,
"
cache
"
:
"
gadget_officejs_notebook.appcache
"
"
storage_type
"
:
"
precache
"
,
"
cache
"
:
precache_manifest
},
"
Illustration Editor
"
:
{
"
url
"
:
"
officejs_svg_editor/
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
View file @
9bbbf3d6
...
...
@@ -258,7 +258,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
5.28933.8790.47291
</string>
</value>
<value>
<string>
98
6.21093.7100.63419
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -276,7 +276,7 @@
</tuple>
<state>
<tuple>
<float>
1
595583362.3
</float>
<float>
1
600969351.28
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_notebook.xml
View file @
9bbbf3d6
...
...
@@ -393,7 +393,7 @@
</item>
<item>
<key>
<string>
configuration_cache_file
</string>
</key>
<value>
<string>
gadget_officejs_notebook.appcache
</string>
</value>
<value>
<string>
WebSection_getPrecacheManifest
</string>
</value>
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
...
...
@@ -710,7 +710,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
73.33482.4166.8669
</string>
</value>
<value>
<string>
9
85.55188.13524.39168
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -728,7 +728,7 @@
</tuple>
<state>
<tuple>
<float>
1
549887982.52
</float>
<float>
1
600960361.5
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_notebook/app.xml
View file @
9bbbf3d6
...
...
@@ -290,6 +290,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>
text
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
...
...
@@ -354,12 +364,19 @@
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<string>
gadget_officejs_notebook.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_getNotebookEditorPrecacheManifestList
</string>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_notebook_router.html
</string>
</value>
...
...
@@ -653,7 +670,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
73.33482.4166.8669
</string>
</value>
<value>
<string>
9
86.54258.39512.58453
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -671,7 +688,7 @@
</tuple>
<state>
<tuple>
<float>
1
549887971.4
</float>
<float>
1
600969519.71
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_notebook.xml
0 → 100644
View file @
9bbbf3d6
<?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_officejs_notebook
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_notebook/WebSection_getNotebookEditorPrecacheManifestList.py
0 → 100644
View file @
9bbbf3d6
url_list
=
[
"gadget_officejs_notebook.json"
,
"nexedi_logo_officejs_iodide.svg"
,
"gadget_officejs_notebook_router.html"
,
"gadget_officejs_jio_notebook_view.html"
,
"gadget_officejs_jio_notebook_view.js"
,
"gadget_erp5_page_ojs_upload.js"
,
"gadget_erp5_page_ojs_upload.html"
,
"gadget_erp5_page_ojs_download.js"
,
"gadget_erp5_page_ojs_download.html"
,
"gadget_erp5_page_ojs_notebook_list.js"
,
"gadget_erp5_page_ojs_notebook_list.html"
,
"gadget_jsmd_viewer.css"
,
"gadget_jsmd_viewer.html"
,
"gadget_jsmd_viewer.js"
,
"gadget_jsmd_eval.html"
,
"gadget_jsmd_eval.js"
,
"gadget_jsmd_eval.css"
,
"iodide_utils.js"
,
"marked.js"
,
"cycler.data"
,
"cycler.js"
,
"kiwisolver.data"
,
"kiwisolver.js"
,
"matplotlib.js"
,
"numpy.data"
,
"matplotlib.data"
,
"numpy.js"
,
"packages.json"
,
"pyodide.asm.js"
,
"pyodide.asm.data.js"
,
"pyodide.asm.data"
,
"pyodide.asm.wasm"
,
"pandas.js"
,
"pyodide.asm.html"
,
"pyparsing.data"
,
"pyparsing.js"
,
"python-dateutil.data"
,
"python-dateutil.js"
,
"pytz.data"
,
"pytz.js"
,
"xlrd.data"
,
"xlrd.js"
,
"gadget_erp5_page_ojs_controller.html"
,
"gadget_erp5_page_ojs_controller.js"
,
"gadget_erp5_page_ojs_add_document.html"
,
"gadget_erp5_page_ojs_add_document.js"
,
"gadget_erp5_page_ojs_document_list.html"
,
"gadget_erp5_page_ojs_document_list.js"
]
return
url_list
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_notebook/WebSection_getNotebookEditorPrecacheManifestList.xml
0 → 100644
View file @
9bbbf3d6
<?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_getNotebookEditorPrecacheManifestList
</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