Commit 95458c98 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼 Committed by Romain Courteaud

[erp5_officejs] "Javascript Editor" is now a progressive webapp

Add manifests to make the app a progressive webapp. There are 2 manifests : one
during the installation process (while the app is loading) and one for the app
itself.  Note that the "start_url" parameter is made for the officejs app URL
([your_app].app.officejs.com/[release_number]). It doesn't work on an ERP5
instance ([instance_url]/erp5/web_site_module/[your_app]). If you want to make
it work on the ERP5 instance for testing purposes, remove one "../".

Update the Javascript Editor logo according to Vincent's wishes.
parent f33b95dd
......@@ -100,7 +100,7 @@
{
"int_index": "47",
"application_image_type": "image",
"application_image_url": "app/codemirror/icon_javascript_editor.png",
"application_image_url": "officejs_javascript_editor_icon.png",
"application_toc_accept": true,
"application_published":"25/09/2015",
"application_submitted":"25/09/2015",
......
......@@ -81,7 +81,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>6a4d72b6cb6c21eaf97ced8110f32aa2</string> </value>
<value> <string>ec0212c1f781ca523888ca2228d303e8</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......@@ -89,7 +89,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>app/codemirror/icon_javascript_editor.png</string> </value>
<value> <string>officejs_javascript_editor_icon.png</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -99,7 +99,7 @@
</item>
<item>
<key> <string>filename</string> </key>
<value> <string>codemirror_icon.png</string> </value>
<value> <string>codemirror_logo.png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
......@@ -278,7 +278,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>970.27207.47934.34816</string> </value>
<value> <string>970.31528.45792.33211</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -296,7 +296,7 @@
</tuple>
<state>
<tuple>
<float>1537546145.34</float>
<float>1537805334.73</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -209,6 +209,9 @@ gadget_officejs_setting.js\n
gadget_officejs_setting.html\n
\n
#code mirror\n
officejs_javascript_editor_icon.png\n
gadget_officejs_json_manifest_javascript_editor_install.json\n
gadget_officejs_json_manifest_javascript_editor.json\n
gadget_officejs_codemirror_router.html\n
gadget_officejs_jio_web_script_view.html\n
gadget_officejs_jio_web_script_view.js\n
......@@ -396,7 +399,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>970.25271.42440.56234</string> </value>
<value> <string>970.31022.36004.22801</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -414,7 +417,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1537448284.38</float>
<float>1537776214.0</float>
<string>UTC</string>
</tuple>
</state>
......
{
"short_name": "OfficeJS Javascript Editor",
"name": "OfficeJS Javascript Editor",
"description": "A simple web editor (Codemirror) for Javascript",
"icons": [
{
"src": "officejs_javascript_editor_icon.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "officejs_javascript_editor_icon.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "../",
"display": "standalone",
"background_color": "#085078",
"theme_color": "#085078"
}
\ No newline at end of file
{
"short_name": "OfficeJS Javascript Editor",
"name": "OfficeJS Javascript Editor",
"description": "A simple web editor (Codemirror) for Javascript",
"icons": [
{
"src": "officejs_javascript_editor_icon.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "officejs_javascript_editor_icon.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "../../",
"display": "standalone",
"background_color": "#085078",
"theme_color": "#085078"
}
\ No newline at end of file
......@@ -359,6 +359,16 @@
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>configuration_webapp_manifest_url</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
......@@ -479,6 +489,10 @@
<none/>
</value>
</item>
<item>
<key> <string>configuration_webapp_manifest_url</string> </key>
<value> <string>gadget_officejs_json_manifest_javascript_editor_install.json</string> </value>
</item>
<item>
<key> <string>configuration_x_frame_options</string> </key>
<value> <string>SAMEORIGIN</string> </value>
......@@ -718,7 +732,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>960.25484.60987.38638</string> </value>
<value> <string>970.22725.26429.65484</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -736,7 +750,7 @@
</tuple>
<state>
<tuple>
<float>1502093918.8</float>
<float>1537779309.73</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -289,6 +289,16 @@
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>configuration_webapp_manifest_url</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
......@@ -355,6 +365,10 @@
<key> <string>configuration_translation_gadget_url</string> </key>
<value> <string>gadget_translation.html</string> </value>
</item>
<item>
<key> <string>configuration_webapp_manifest_url</string> </key>
<value> <string>gadget_officejs_json_manifest_javascript_editor.json</string> </value>
</item>
<item>
<key> <string>configuration_x_frame_options</string> </key>
<value> <string>SAMEORIGIN</string> </value>
......@@ -592,7 +606,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>970.22873.38688.50397</string> </value>
<value> <string>970.26997.33546.6348</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -610,7 +624,7 @@
</tuple>
<state>
<tuple>
<float>1537286038.01</float>
<float>1537779354.88</float>
<string>UTC</string>
</tuple>
</state>
......
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