Commit b51321bd authored by Roque's avatar Roque

erp5_officejs_appstore_base: precache manifest for appstore home site

parent 3135b690
# minimum list of required files for appstore service worker
url_list = [
'appstore/contest/index.html',
'appstore/css/css.css',
'appstore/css/extensions.css',
'appstore/css/fontawesome/css/font-awesome-ie7.css',
'appstore/css/fontawesome/css/font-awesome-ie7.min.css',
'appstore/css/fontawesome/css/font-awesome.css',
'appstore/css/fontawesome/css/font-awesome.min.css',
'appstore/css/fontawesome/css/fontawesome.css',
'appstore/css/fontawesome/font/FontAwesome.otf',
'appstore/css/fontawesome/font/fontawesome-webfont.eot',
'appstore/css/fontawesome/font/fontawesome-webfont.svg',
'appstore/css/fontawesome/font/fontawesome-webfont.ttf',
'appstore/css/fontawesome/font/fontawesome-webfont.woff',
'appstore/css/fontawesome.css',
'appstore/css/jquery-mobile/images/ajax-loader.gif',
'appstore/css/jquery-mobile/images/icons-18-black.png',
'appstore/css/jquery-mobile/images/icons-18-white.png',
'appstore/css/jquery-mobile/images/icons-36-black.png',
'appstore/css/jquery-mobile/images/icons-36-white.png',
'appstore/css/jquery-mobile/jquery-mobile.latest.css',
'appstore/css/normalize.css',
'appstore/css/themes.css',
'appstore/data/all.json',
'appstore/data/all_apps.json',
'appstore/data/application_fieldlist.json',
'appstore/data/application_sample.json',
'appstore/data/apps.json',
'appstore/data/category.json',
'appstore/data/category_fieldlist.json',
'appstore/data/category_sample.json',
'appstore/data/contacts.json',
'appstore/data/contacts_apps.json',
'appstore/data/dashboard.json',
'appstore/data/database.json',
'appstore/data/database_apps.json',
'appstore/data/development.json',
'appstore/data/development_apps.json',
'appstore/data/document_apps.json',
'appstore/data/documents.json',
'appstore/data/drawing_apps.json',
'appstore/data/drawings.json',
'appstore/data/global.json',
'appstore/data/planning.json',
'appstore/data/planning_apps.json',
'appstore/data/projects.json',
'appstore/data/projects_apps.json',
'appstore/data/reports.json',
'appstore/data/reports_apps.json',
'appstore/data/storages.json',
'appstore/data/submit.json',
'appstore/data/submit_apps.json',
'appstore/dev/css/main.css',
'appstore/dev/css/normalize.css',
'appstore/dev/css/normalize.min.css',
'appstore/dev/index.cz.html',
'appstore/dev/index.en.html',
'appstore/dev/index.html',
'appstore/documentation/brainstorming_page_json.txt',
'appstore/documentation/documentation.txt',
'appstore/img/flags.png',
'appstore/',
'appstore/js/bin.js',
'appstore/js/erp5_loader.js',
'appstore/js/extensions.js',
'appstore/js/libs/jio/complex_queries.js',
'appstore/js/libs/jio/jio.js',
'appstore/js/libs/jio/localstorage.js',
'appstore/js/libs/jio/rsvp-custom.js',
'appstore/js/libs/jio/sha256.amd.js',
'appstore/js/libs/jquery/jquery.js',
'appstore/js/libs/jquery-mobile/jquery-mobile.js',
'appstore/js/plugins/i18next/i18next.js',
'appstore/js/plugins/modernizr/modernizr.js',
'appstore/js/plugins/validval/jquery.validVal.js',
'appstore/lang/en-EN/dict.json',
'appstore/lang/zh-CN/dict.json',
'appstore/nodatacenter/css/main.css',
'appstore/nodatacenter/css/normalize.css',
'appstore/nodatacenter/css/normalize.min.css',
'appstore/nodatacenter/index.en.V2.html',
'appstore/nodatacenter/index.en.html',
'appstore/nodatacenter/index.html',
'appstore/qiniujio/index.html',
'appstore/qiniujio/testaccess.js',
'appstore/resources/computer.html',
'appstore/resources/computers.html',
'appstore/test/index.html'
]
return list(set(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></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSection_getAppstoreHomePrecacheManifest</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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