Commit de6be06b authored by Vincent Bechu's avatar Vincent Bechu

erp5_officejs: add bootloader to svg editor and svg editor gadget

parent 2122762f
......@@ -111,6 +111,8 @@ rsvp.js\n
jiodev.js\n
gadget_ckeditor.js\n
gadget_ckeditor.html\n
gadget_officejs_liberator.js\n
gadget_officejs_liberator.html\n
gadget_erp5_nojqm.css\n
ckeditor/CHANGES.md\n
ckeditor/LICENSE.md\n
......@@ -575,7 +577,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>956.64903.6566.48281</string> </value>
<value> <string>957.4929.54910.23296</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -593,7 +595,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1486128110.21</float>
<float>1486568027.3</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -177,6 +177,8 @@ gadget_officejs_jio_web_page_view.html\n
gadget_officejs_jio_web_page_view.js\n
gadget_officejs_jio_web_illustration_view.html\n
gadget_officejs_jio_web_illustration_view.js\n
gadget_officejs_liberator.js\n
gadget_officejs_liberator.html\n
NETWORK:\n
*
......@@ -315,7 +317,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>954.32946.59767.46762</string> </value>
<value> <string>956.64903.6566.48281</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -333,7 +335,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1476100704.52</float>
<float>1486567953.94</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -75,7 +75,7 @@ var global = self, window = self;
self.console.log("Saved: ", url);
})
.push(undefined, function (error) {
event.ports[0].postMessage(error);
self.console.log(url, error);
});
})
);
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>957.11842.39994.31232</string> </value>
<value> <string>957.13322.19650.55534</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1486546458.39</float>
<float>1486631658.62</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -87,7 +87,7 @@
return wrapJioCall(this, 'remove', arguments);
})
.declareMethod('getAttachment', function () {
return wrapJioCall(this, 'gettAttachment', arguments);
return wrapJioCall(this, 'getAttachment', arguments);
})
.declareMethod('putAttachment', function () {
return wrapJioCall(this, 'putAttachment', arguments);
......
......@@ -222,7 +222,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>cedric.le.ninivin</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>949.59977.1025.50722</string> </value>
<value> <string>956.64903.6566.48281</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1458319358.64</float>
<float>1486631142.63</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -127,7 +127,7 @@
})
.push(function () {
return gadget.declareGadget(
"rjsunsafe/method-draw/method-draw.gadget.html?auto_focus=1",
"../../officejs_svg_editor_gadget/development/",
{
scope: "my_text_content",
sandbox: "iframe",
......
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>956.64450.52709.9386</string> </value>
<value> <string>956.64903.6566.48281</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1485781045.04</float>
<float>1486559958.6</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -119,6 +119,8 @@ gadget_officejs_setting.js\n
gadget_officejs_setting.html\n
gadget_officejs_jio.html\n
gadget_officejs_jio.js\n
gadget_officejs_liberator.js\n
gadget_officejs_liberator.html\n
NETWORK:\n
*</string> </value>
</item>
......@@ -247,7 +249,7 @@ NETWORK:\n
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>supercedriclen</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -261,7 +263,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>951.60876.58662.9011</string> </value>
<value> <string>956.64903.6566.48281</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -279,7 +281,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1466151776.84</float>
<float>1486567918.12</float>
<string>UTC</string>
</tuple>
</state>
......
<!DOCTYPE html>
<html manifest="gadget_officejs.appcache">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="favicon.ico">
<title>Illustration Editor</title>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="jquerymobile.css">
<link rel="stylesheet" href="gadget_erp5.css">
<script data-renderjs-configuration="application_title" type="text/x-renderjs-configuration">Illustration Editor</script>
<script data-renderjs-configuration="panel_gadget" type="text/x-renderjs-configuration">gadget_officejs_application_panel.html</script>
<script data-renderjs-configuration="action_view" type="text/x-renderjs-configuration">object_view</script>
<script data-renderjs-configuration="default_view_reference" type="text/x-renderjs-configuration">view</script>
<script data-renderjs-configuration="hateoas_url" type="text/x-renderjs-configuration">hateoas/</script>
<script data-renderjs-configuration="frontpage_gadget" type="text/x-renderjs-configuration">worklist</script>
<script src="jquery.js"></script>
<script src="jquerymobile.js"></script>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_global.js" ></script>
<script src="erp5_launcher.js"></script>
</head>
<body>
<div data-role="page">
<div data-gadget-url="gadget_jio.html"
data-gadget-scope="setting_gadget"
data-gadget-sandbox="public"></div>
<div data-gadget-url="gadget_officejs_svg_editor_router.html"
data-gadget-scope="router"
data-gadget-sandbox="public"></div>
<div data-gadget-url="gadget_translation.html"
data-gadget-scope="translation_gadget"
data-gadget-sandbox="public"></div>
<div data-gadget-url="gadget_officejs_header.html"
data-gadget-scope="header"
data-gadget-sandbox="public"></div>
<div data-gadget-url="gadget_officejs_jio.html"
data-gadget-scope="jio_gadget"
data-gadget-sandbox="public"></div>
<div data-gadget-url="gadget_erp5_editor_panel.html"
data-gadget-scope="editor_panel"
data-gadget-sandbox="public"></div>
<div data-gadget-url="gadget_officejs_application_panel.html"
data-gadget-scope="panel"
data-gadget-sandbox="public"></div>
<div role="main" class="ui-content gadget-content"></div>
<footer class="ui-content ui-body-c ui-footer">
<a href="http://www.miibeian.gov.cn/" class=" ui-title" style="font-size: 80%;">沪ICP备14008524号</a>
</footer>
</div>
</body>
</html>
\ No newline at end of file
......@@ -18,6 +18,6 @@
<script data-renderjs-configuration="parent_relative_url" type="text/x-renderjs-configuration">web_page_module</script>
<script data-renderjs-configuration="document_title" type="text/x-renderjs-configuration">Illustration</script>
<script data-renderjs-configuration="document_title_plural" type="text/x-renderjs-configuration">Illustrations</script>
<script data-renderjs-configuration="global_setting_gadget_url" type="text/x-renderjs-configuration">/erp5/web_site_module/officejs_setting_gadget/</script>
<script data-renderjs-configuration="global_setting_gadget_url" type="text/x-renderjs-configuration">../officejs_setting_gadget/</script>
</body>
</html>
\ No newline at end of file
......@@ -275,7 +275,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>955.52301.48754.36147</string> </value>
<value> <string>956.64903.6566.48281</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -293,7 +293,7 @@
</tuple>
<state>
<tuple>
<float>1481206232.63</float>
<float>1486569304.73</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -10,8 +10,11 @@
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
......@@ -21,10 +24,8 @@
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -41,10 +42,7 @@
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -52,8 +50,11 @@
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
......@@ -165,9 +166,7 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
<value> <string>publish</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
......@@ -193,7 +192,7 @@
</tuple>
<state>
<tuple>
<float>1486127072.09</float>
<float>1486561528.05</float>
<string>UTC</string>
</tuple>
</state>
......@@ -202,7 +201,7 @@
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>published</string> </value>
</item>
</dictionary>
</list>
......
......@@ -6,6 +6,24 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Authenticated</string>
<string>Author</string>
<string>Manager</string>
<string>Member</string>
<string>Owner</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
......@@ -49,7 +67,24 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Authenticated</string>
<string>Author</string>
<string>Manager</string>
<string>Member</string>
<string>Owner</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
......@@ -594,9 +629,7 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
<value> <string>publish</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
......@@ -622,7 +655,7 @@
</tuple>
<state>
<tuple>
<float>1486127745.01</float>
<float>1486567675.92</float>
<string>UTC</string>
</tuple>
</state>
......@@ -631,7 +664,7 @@
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>embedded</string> </value>
<value> <string>published</string> </value>
</item>
</dictionary>
</list>
......
......@@ -98,7 +98,7 @@
<key>
<tuple>
<int>99</int>
<string>ERP5 Web Section/hateoas</string>
<string>ERP5 Web Section/hateoasnoauth</string>
</tuple>
</key>
<value>
......@@ -265,7 +265,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>hateoas</string> </value>
<value> <string>hateoasnoauth</string> </value>
</item>
<item>
<key> <string>layout_configuration_form_id</string> </key>
......@@ -289,7 +289,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Restricted Hateoas</string> </value>
<value> <string>UnRestricted Hateoas</string> </value>
</item>
<item>
<key> <string>view_action_category</string> </key>
......@@ -299,6 +299,12 @@
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
......@@ -340,4 +346,85 @@
</dictionary>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>edit_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>957.12116.46963.2030</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1486560246.34</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
......@@ -11,4 +11,8 @@ web_site_module/officejs_spreadsheet/**
web_site_module/officejs_setting_gadget
web_site_module/officejs_setting_gadget/**
web_site_module/officejs_ckeditor_gadget
web_site_module/officejs_ckeditor_gadget/**
\ No newline at end of file
web_site_module/officejs_ckeditor_gadget/**
web_site_module/officejs_svg_editor
web_site_module/officejs_svg_editor/**
web_site_module/officejs_svg_editor_gadget
web_site_module/officejs_svg_editor_gadget/**
\ No newline at end of file
......@@ -8,6 +8,10 @@ web_site_module/officejs_text_editor
web_site_module/officejs_text_editor/**
web_site_module/officejs_spreadsheet
web_site_module/officejs_spreadsheet/**
web_site_module/officejs_svg_editor
web_site_module/officejs_svg_editor/**
web_site_module/officejs_svg_editor_gadget
web_site_module/officejs_svg_editor_gadget/**
web_site_module/officejs_setting_gadget
web_site_module/officejs_setting_gadget/**
web_site_module/officejs_ckeditor_gadget
......
......@@ -12,5 +12,7 @@ web_site_module/officejs_spreadsheet
web_site_module/officejs_spreadsheet/**
web_site_module/officejs_svg_editor
web_site_module/officejs_svg_editor/**
web_site_module/officejs_svg_editor_gadget
web_site_module/officejs_svg_editor_gadget/**
web_site_module/officejs_text_editor
web_site_module/officejs_text_editor/**
\ No newline at end of file
erp5_officejs_theme
erp5_web_renderjs_ui
erp5_web_renderjs_ui_unsafe
erp5_web_versioning
\ No newline at end of file
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