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
Labels
Merge Requests
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
dd4391de
Commit
dd4391de
authored
Feb 04, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_code_mirror: disable appcache
Add service worker precache script
parent
c4d296ac
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
108 additions
and
42 deletions
+108
-42
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/WebSection_getCodeMirrorPrecacheManifestList.py
...de_mirror/WebSection_getCodeMirrorPrecacheManifestList.py
+45
-0
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/WebSection_getCodeMirrorPrecacheManifestList.xml
...e_mirror/WebSection_getCodeMirrorPrecacheManifestList.xml
+62
-0
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/codemirror.gadget.appcache.appcache
...kins/erp5_code_mirror/codemirror.gadget.appcache.appcache
+0
-41
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/codemirror.gadget.html.html
...portal_skins/erp5_code_mirror/codemirror.gadget.html.html
+1
-1
No files found.
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/WebSection_getCodeMirrorPrecacheManifestList.py
0 → 100644
View file @
dd4391de
url_list
=
[
"renderjs.js"
,
"rsvp.js"
,
"codemirror/lib/codemirror.js"
,
"codemirror/lib/codemirror.css"
,
"codemirror/addon/cm_edit/matchbrackets.js"
,
"codemirror/addon/cm_edit/matchtags.js"
,
"codemirror/addon/cm_edit/trailingspace.js"
,
"codemirror/addon/dialog/dialog.css"
,
"codemirror/addon/dialog/dialog.js"
,
"codemirror/addon/display/fullscreen.css"
,
"codemirror/addon/display/fullscreen.js"
,
"codemirror/addon/display/rulers.js"
,
"codemirror/addon/search/searchcursor.js"
,
"codemirror/addon/search/search.js"
,
"codemirror/addon/search/jump-to-line.js"
,
"codemirror/addon/selection/active-line.js"
,
"codemirror/addon/hint/show-hint.css"
,
"codemirror/addon/hint/show-hint.js"
,
"codemirror/addon/hint/anyword-hint.js"
,
"codemirror/addon/fold/foldgutter.css"
,
"codemirror/addon/fold/foldcode.js"
,
"codemirror/addon/fold/foldgutter.js"
,
"codemirror/addon/fold/indent-fold.js"
,
"codemirror/addon/fold/comment-fold.js"
,
"codemirror/addon/fold/xml-fold.js"
,
"codemirror/addon/merge/merge.css"
,
"diff_match_patch/javascript/diff_match_patch_uncompressed.js"
,
"codemirror/addon/merge/merge.js"
,
"codemirror/addon/lint/lint.css"
,
"codemirror/addon/lint/lint.js"
,
"jshint.js"
,
"codemirror/addon/lint/javascript-lint.js"
,
"csslint.js"
,
"codemirror/addon/lint/css-lint.js"
,
"codemirror/mode/xml/xml.js"
,
"codemirror/mode/javascript/javascript.js"
,
"codemirror/mode/python/python.js"
,
"codemirror/mode/css/css.js"
,
"codemirror/mode/htmlmixed/htmlmixed.js"
,
"codemirror.gadget.js"
,
"codemirror.gadget.html"
]
return
url_list
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/WebSection_getCodeMirrorPrecacheManifestList.xml
0 → 100644
View file @
dd4391de
<?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_getCodeMirrorPrecacheManifestList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/codemirror.gadget.appcache.appcache
View file @
dd4391de
CACHE MANIFEST
CACHE MANIFEST
# generated on Wed, 16 Jan 2019 15:00:00 GMT+0100
CACHE:
CACHE:
favicon.ico
renderjs.js
rsvp.js
codemirror/lib/codemirror.js
codemirror/lib/codemirror.css
codemirror/addon/cm_edit/matchbrackets.js
codemirror/addon/cm_edit/matchtags.js
codemirror/addon/cm_edit/trailingspace.js
codemirror/addon/dialog/dialog.css
codemirror/addon/dialog/dialog.js
codemirror/addon/display/fullscreen.css
codemirror/addon/display/fullscreen.js
codemirror/addon/display/rulers.js
codemirror/addon/search/searchcursor.js
codemirror/addon/search/search.js
codemirror/addon/search/jump-to-line.js
codemirror/addon/selection/active-line.js
codemirror/addon/hint/show-hint.css
codemirror/addon/hint/show-hint.js
codemirror/addon/hint/anyword-hint.js
codemirror/addon/fold/foldgutter.css
codemirror/addon/fold/foldcode.js
codemirror/addon/fold/foldgutter.js
codemirror/addon/fold/indent-fold.js
codemirror/addon/fold/comment-fold.js
codemirror/addon/fold/xml-fold.js
codemirror/addon/merge/merge.css
diff_match_patch/javascript/diff_match_patch_uncompressed.js
codemirror/addon/merge/merge.js
codemirror/addon/lint/lint.css
codemirror/addon/lint/lint.js
jshint.js
codemirror/addon/lint/javascript-lint.js
csslint.js
codemirror/addon/lint/css-lint.js
codemirror/mode/xml/xml.js
codemirror/mode/javascript/javascript.js
codemirror/mode/css/css.js
codemirror/mode/htmlmixed/htmlmixed.js
codemirror.gadget.js
NETWORK:
NETWORK:
*
*
\ No newline at end of file
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/codemirror.gadget.html.html
View file @
dd4391de
<!DOCTYPE html>
<!DOCTYPE html>
<html
manifest=
codemirror.gadget.appcache
>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
...
...
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