Commit 4a76a448 authored by Roque's avatar Roque

erp5_officejs: new hateoas access point for app sync

parent f698333a
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
.declareMethod('createJio', function (jio_options) { .declareMethod('createJio', function (jio_options) {
var appcache_storage, var appcache_storage,
origin_url = window.location.href, origin_url = window.location.href,
hateoas_script = "hateoas/ERP5Document_getHateoas", hateoas_script = "hateoas_appcache/ERP5Document_getHateoas",
// TODO manifest should come from gadget.props.cache_file -add script in html body // TODO manifest should come from gadget.props.cache_file -add script in html body
manifest = "gadget_officejs_text_editor.configuration", manifest = "gadget_officejs_text_editor.configuration",
jio_appchache_options = { jio_appchache_options = {
......
...@@ -248,15 +248,15 @@ officejs_logo.png\n ...@@ -248,15 +248,15 @@ officejs_logo.png\n
jio_appcachestorage.js\n jio_appcachestorage.js\n
\n \n
#configuration resources\n #configuration resources\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_hal_json_style%2FBase_viewNewContentDialog&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_hal_json_style%2FBase_viewNewContentDialog&view=definition_view\n
\n \n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%20Module&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%20Module&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%20Module%2F4&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%20Module%2F4&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPageModule_viewWebPageListAsJio&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPageModule_viewWebPageListAsJio&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%2F9&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%2F9&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%2F10&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%2F10&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPage_viewAsTextDocument&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPage_viewAsTextDocument&view=definition_view\n
\n \n
\n \n
#Ckeditor\n #Ckeditor\n
...@@ -741,7 +741,7 @@ NETWORK:\n ...@@ -741,7 +741,7 @@ NETWORK:\n
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>976.63049.33091.45004</string> </value> <value> <string>976.64175.33468.26470</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -759,7 +759,7 @@ NETWORK:\n ...@@ -759,7 +759,7 @@ NETWORK:\n
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1562685348.0</float> <float>1562752478.73</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -115,15 +115,15 @@ CACHE MANIFEST\n ...@@ -115,15 +115,15 @@ CACHE MANIFEST\n
# generated on Thu, 14 Jan 2019 11:55:33 +0000\n # generated on Thu, 14 Jan 2019 11:55:33 +0000\n
CACHE:\n CACHE:\n
\n \n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_hal_json_style%2FBase_viewNewContentDialog&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_hal_json_style%2FBase_viewNewContentDialog&view=definition_view\n
\n \n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%20Module&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%20Module&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%20Module%2F4&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%20Module%2F4&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPageModule_viewWebPageListAsJio&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPageModule_viewWebPageListAsJio&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%2F9&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%2F9&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%2F10&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_types%2FWeb%20Page%2F10&view=definition_view\n
hateoas/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPage_viewAsTextDocument&view=definition_view\n hateoas_appcache/ERP5Document_getHateoas?mode=traverse&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPage_viewAsTextDocument&view=definition_view\n
\n \n
NETWORK:\n NETWORK:\n
* *
...@@ -269,7 +269,7 @@ NETWORK:\n ...@@ -269,7 +269,7 @@ NETWORK:\n
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>976.63059.54000.34389</string> </value> <value> <string>976.64178.35953.5256</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -287,7 +287,7 @@ NETWORK:\n ...@@ -287,7 +287,7 @@ NETWORK:\n
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1562686825.95</float> <float>1562754140.91</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -471,7 +471,7 @@ ...@@ -471,7 +471,7 @@
</item> </item>
<item> <item>
<key> <string>configuration_hateoas_url</string> </key> <key> <string>configuration_hateoas_url</string> </key>
<value> <string>../hateoas/</string> </value> <value> <string>../hateoas_appcache/</string> </value>
</item> </item>
<item> <item>
<key> <string>configuration_header_gadget_url</string> </key> <key> <string>configuration_header_gadget_url</string> </key>
...@@ -786,7 +786,7 @@ ...@@ -786,7 +786,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>976.57117.42638.37239</string> </value> <value> <string>976.64162.28072.21213</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -804,7 +804,7 @@ ...@@ -804,7 +804,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1562329188.33</float> <float>1562752515.93</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -40,4 +40,5 @@ web_site_module/officejs_todomvc ...@@ -40,4 +40,5 @@ web_site_module/officejs_todomvc
web_site_module/officejs_wallsearch web_site_module/officejs_wallsearch
web_site_module/officejs_wallsearch/** web_site_module/officejs_wallsearch/**
web_site_module/officejs_whiteboard web_site_module/officejs_whiteboard
web_site_module/officejs_media_player/** web_site_module/officejs_media_player/**
\ No newline at end of file web_site_module/hateoas_appcache
\ No newline at end of file
...@@ -40,4 +40,5 @@ web_site_module/officejs_todomvc ...@@ -40,4 +40,5 @@ web_site_module/officejs_todomvc
web_site_module/officejs_wallsearch web_site_module/officejs_wallsearch
web_site_module/officejs_wallsearch/** web_site_module/officejs_wallsearch/**
web_site_module/officejs_whiteboard web_site_module/officejs_whiteboard
web_site_module/officejs_media_player/** web_site_module/officejs_media_player/**
\ No newline at end of file web_site_module/hateoas_appcache
\ No newline at end of file
...@@ -14,6 +14,7 @@ web_page_module/officejs_audioplayer_* ...@@ -14,6 +14,7 @@ web_page_module/officejs_audioplayer_*
web_page_module/officejs_todomvc_* web_page_module/officejs_todomvc_*
web_page_module/ojs_* web_page_module/ojs_*
web_page_module/wallsearch_privacy_policy_html web_page_module/wallsearch_privacy_policy_html
web_site_module/hateoas_appcache
web_site_module/officejs_audioplayer web_site_module/officejs_audioplayer
web_site_module/officejs_audioplayer/** web_site_module/officejs_audioplayer/**
web_site_module/officejs_bookmark_manager web_site_module/officejs_bookmark_manager
......
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