Commit df620410 authored by Roque's avatar Roque

OfficeJS About page

See merge request nexedi/erp5!1643
parents a802f521 e1dfa0d5
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<script data-renderjs-configuration="web_page_module_dict" type="text/x-renderjs-configuration">{"front_page": 1, "upload_button": 0, "download_button": 0, "editable": 0, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 1, "panel_action": 1, "previous_next_button": 0, "history_previous_link": 0, "title": "JS Scripts", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="web_page_module_dict" type="text/x-renderjs-configuration">{"front_page": 1, "upload_button": 0, "download_button": 0, "editable": 0, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 1, "panel_action": 1, "previous_next_button": 0, "history_previous_link": 0, "title": "JS Scripts", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="web_script_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "upload_button": 0, "download_button": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "JS Script", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="web_script_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "upload_button": 0, "download_button": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "JS Script", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script> <script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_codemirror_editor_about</script>
<script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">xztne380tmhy7xu</script> <script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">xztne380tmhy7xu</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
<script data-renderjs-configuration="content_type" type="text/x-renderjs-configuration">application/javascript</script> <script data-renderjs-configuration="content_type" type="text/x-renderjs-configuration">application/javascript</script>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>979.63498.47896.7901</string> </value> <value> <string>1001.7199.47519.37307</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1574423725.43</float> <float>1658943004.35</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
.declareAcquiredMethod("redirect", "redirect") .declareAcquiredMethod("redirect", "redirect")
.declareAcquiredMethod("getUrlParameter", "getUrlParameter") .declareAcquiredMethod("getUrlParameter", "getUrlParameter")
.declareAcquiredMethod("getUrlForList", "getUrlForList") .declareAcquiredMethod("getUrlForList", "getUrlForList")
.declareAcquiredMethod("getSetting", "getSetting")
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// declared methods // declared methods
...@@ -127,7 +128,10 @@ ...@@ -127,7 +128,10 @@
view_list: view_list, view_list: view_list,
global: true, global: true,
view_action_dict: options.view_action_dict || false, view_action_dict: options.view_action_dict || false,
editable: options.editable || editable || false editable: options.editable || editable || false,
// force render to refresh the menus
render_timestamp: new Date().getTime(),
first_render: true
}); });
}); });
}) })
...@@ -136,7 +140,8 @@ ...@@ -136,7 +140,8 @@
var context = this, var context = this,
gadget = this, gadget = this,
queue = new RSVP.Queue(), queue = new RSVP.Queue(),
tmp_element; tmp_element,
about_page;
if (modification_dict.hasOwnProperty("visible")) { if (modification_dict.hasOwnProperty("visible")) {
if (this.state.visible) { if (this.state.visible) {
...@@ -150,6 +155,14 @@ ...@@ -150,6 +155,14 @@
} }
} }
queue
.push(function () {
return gadget.getSetting('about_page');
})
.push(function (setting) {
about_page = setting;
});
if (modification_dict.hasOwnProperty("global")) { if (modification_dict.hasOwnProperty("global")) {
queue queue
.push(function () { .push(function () {
...@@ -182,13 +195,13 @@ ...@@ -182,13 +195,13 @@
}); });
} }
if (modification_dict.hasOwnProperty("editable")) {
queue queue
// Update the global links // Update the global links
.push(function () { .push(function () {
return RSVP.all([ return RSVP.all([
context.getUrlFor({command: 'display'}), context.getUrlFor({command: 'display'}),
context.getUrlFor({command: 'display', options: {page: "ojs_configurator"}}), context.getUrlFor({command: 'display', options: {page: "ojs_configurator"}}),
context.getUrlFor({command: 'display', options: {page: about_page}}),
context.getUrlFor({command: 'display', options: {page: "ojs_sync", 'auto_repair': true}}) context.getUrlFor({command: 'display', options: {page: "ojs_sync", 'auto_repair': true}})
]); ]);
}) })
...@@ -197,15 +210,24 @@ ...@@ -197,15 +210,24 @@
panel_template_body_list({ panel_template_body_list({
"document_list_href": result_list[0], "document_list_href": result_list[0],
"storage_href": result_list[1], "storage_href": result_list[1],
"sync_href": result_list[2] "about_href": result_list[2],
"sync_href": result_list[3]
}) })
); );
}) })
.push(function (result) { .push(function (result) {
context.element.querySelector("ul").innerHTML = result; context.element.querySelector("ul").innerHTML = result;
}); })
.push(function () {
if (!about_page) {
context.element.querySelector("#about_page_li")
.style.display = 'none';
} else {
context.element.querySelector("#about_page_li")
.style.display = 'block';
} }
});
if ((this.state.global === true) && if ((this.state.global === true) &&
(modification_dict.hasOwnProperty("desktop") || (modification_dict.hasOwnProperty("desktop") ||
...@@ -285,9 +307,8 @@ ...@@ -285,9 +307,8 @@
]); ]);
}) })
.push(function (view_action_list) { .push(function (view_action_list) {
var dl_element, var dl_element = gadget.element.querySelector("dl"),
dl_fragment = document.createDocumentFragment(); dl_fragment = document.createDocumentFragment();
dl_element = gadget.element.querySelector("dl");
while (dl_element.firstChild) { while (dl_element.firstChild) {
dl_element.removeChild(dl_element.firstChild); dl_element.removeChild(dl_element.firstChild);
} }
......
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>989.27524.31537.13687</string> </value> <value> <string>1001.57742.17876.27579</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1613148260.92</float> <float>1658943108.94</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
<script id="panel-template-body-list" type="text/x-handlebars-template"> <script id="panel-template-body-list" type="text/x-handlebars-template">
<li class="ui-first-child"><a href="{{document_list_href}}" class="ui-btn ui-btn-icon-left ui-icon-search" data-i18n="Document" accesskey="s">Document</a></li> <li class="ui-first-child"><a href="{{document_list_href}}" class="ui-btn ui-btn-icon-left ui-icon-search" data-i18n="Document" accesskey="s">Document</a></li>
<li><a href="{{sync_href}}" class="ui-btn ui-btn-icon-left ui-icon-refresh" data-i18n="Synchronize">Synchronize</a></li> <li><a href="{{sync_href}}" class="ui-btn ui-btn-icon-left ui-icon-refresh" data-i18n="Synchronize">Synchronize</a></li>
<li id="about_page_li"><a href="{{about_href}}" class="ui-btn ui-btn-icon-left ui-icon-question-circle" data-i18n="About">About</a></li>
<li class="ui-last-child"><a href="{{storage_href}}" class="ui-btn ui-btn-icon-left ui-icon-gear" data-i18n="Storages">Storages</a></li> <li class="ui-last-child"><a href="{{storage_href}}" class="ui-btn ui-btn-icon-left ui-icon-gear" data-i18n="Storages">Storages</a></li>
</script> </script>
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>979.53350.54566.5802</string> </value> <value> <string>1001.4391.61246.43042</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1573813812.11</float> <float>1655913247.73</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<script data-renderjs-configuration="document_module_dict" type="text/x-renderjs-configuration">{"front_page": 1, "editable": 0, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 1, "panel_action": 1, "previous_next_button": 0, "history_previous_link": 0, "title": "PDFs", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="document_module_dict" type="text/x-renderjs-configuration">{"front_page": 1, "editable": 0, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 1, "panel_action": 1, "previous_next_button": 0, "history_previous_link": 0, "title": "PDFs", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="pdf_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "PDF", "hide_listbox_buttons": 1, "blob_type": "application/pdf", "blob_create_object_url": 1}</script> <script data-renderjs-configuration="pdf_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "PDF", "hide_listbox_buttons": 1, "blob_type": "application/pdf", "blob_create_object_url": 1}</script>
<script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration">/{+id}/Base_downloadWithCors</script> <script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration">/{+id}/Base_downloadWithCors</script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_pdf_viewer_about</script>
<script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">9g8nrxvhjgd5c6c</script> <script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">9g8nrxvhjgd5c6c</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
</body> </body>
......
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>984.44540.291.22579</string> </value> <value> <string>999.57642.21478.16725</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1594320074.1</float> <float>1658331596.65</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<script data-renderjs-configuration="web_page_module_dict" type="text/x-renderjs-configuration">{"title": "Web Page Documents", "filter_action": 1, "hide_add_button": 0, "history_previous_link": 1}</script> <script data-renderjs-configuration="web_page_module_dict" type="text/x-renderjs-configuration">{"title": "Web Page Documents", "filter_action": 1, "hide_add_button": 0, "history_previous_link": 1}</script>
<script data-renderjs-configuration="web_page_dict" type="text/x-renderjs-configuration">{"title": "Web Page Document", "editable": 1, "history_previous_link": 1}</script> <script data-renderjs-configuration="web_page_dict" type="text/x-renderjs-configuration">{"title": "Web Page Document", "editable": 1, "history_previous_link": 1}</script>
<script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script> <script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_slideshow_editor_about</script>
<script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">28fxd7m6ogxh6b5</script> <script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">28fxd7m6ogxh6b5</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
</body> </body>
......
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>993.27868.36160.25429</string> </value> <value> <string>1001.44832.12780.392</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1626794657.66</float> <float>1658168015.52</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
<script data-renderjs-configuration="web_page_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "upload_button": 0, "download_button": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "Text Document", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="web_page_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "upload_button": 0, "download_button": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "Text Document", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script> <script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script>
<script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">n692ixxhyg9zhqs</script> <script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">n692ixxhyg9zhqs</script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_text_editor_about</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>978.36776.33713.12509</string> </value> <value> <string>1001.4457.58966.15581</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1568972733.17</float> <float>1655831657.11</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
.about-page h1 {
font-family: "Roboto", Arial, sans-serif;
color: #0082b9;
font-size: 2em;
margin: 0.67em 0;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}
.about-page p {
font-family: 'Heuristica', 'Helvetica', Times, serif;
font-size: 1.25em;
line-height: 1.58em;
letter-spacing: -.003em;
}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gadget OfficeJS JS Scripts Editor About</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_ojs_codemirror_editor_about.js"></script>
<link rel="stylesheet" href="gadget_erp5_page_ojs_about.css">
</head>
<body>
<div class="about-page">
<h1>OfficeJS JS Scripts Editor</h1>
<p style="margin-bottom: 10px;">OfficeJS JS Scripts Editor app is a progressive web application developed with <a href="https://renderjs.nexedi.com/">renderJS</a> and <a href="https://jio.nexedi.com">jIO</a> under the premises of <b>privacy</b> and <b>availability</b>, meaning users are free to choose their storage, can work offline and synchronize their work easily. JS Scripts editor application is developed, maintained and used by <a href="https://www.nexedi.com/">Nexedi</a>, and its code can be found <a href="https://lab.nexedi.com/nexedi/erp5/tree/master/bt5/erp5_officejs" target="_blank">here</a>.</p>
<p></p>
<p>The editor itself is based on <a href="https://codemirror.net/">Codemirror</a> software. The source code of <b>Codemirror</b> can be found <a href="https://github.com/codemirror/dev/" target="_blank">here</a>.</p>
<h1>Licence</h1>
<p>OfficeJS JS Scripts Editor is <a href="http://www.fsf.org/">Free Software</a>, licensed under the terms of the <a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v3 (or later)</a>. For details, please see <a href="https://www.nexedi.com/licensing">Nexedi licensing</a>.</p>
</div>
</body>
</html>
\ No newline at end of file
/*global window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", "notifySubmitted")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
//TODO: get history previous link?
/*.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'display'})
]);
})*/
.push(function (url_list) {
return gadget.updateHeader({
page_title: "About Page"
});
});
});
}(window, rJS, RSVP, jIO));
\ No newline at end of file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gadget OfficeJS PDF Viewer About</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_ojs_pdf_viewer_about.js"></script>
<link rel="stylesheet" href="gadget_erp5_page_ojs_about.css">
</head>
<body>
<div class="about-page">
<h1>OfficeJS PDF Viewer</h1>
<p style="margin-bottom: 10px;">OfficeJS PDF Viewer app is a progressive web application developed with <a href="https://renderjs.nexedi.com/">renderJS</a> and <a href="https://jio.nexedi.com">jIO</a> under the premises of <b>privacy</b> and <b>availability</b>, meaning users are free to choose their storage, can work offline and synchronize their work easily. PDF Viewer application is developed, maintained and used by <a href="https://www.nexedi.com/">Nexedi</a>, and its code can be found <a href="https://lab.nexedi.com/nexedi/erp5/tree/master/bt5/erp5_officejs" target="_blank">here</a>.</p>
<p></p>
<p>The PDF Viewer itself is based on <a href="https://mozilla.github.io/pdf.js/">PDFjs</a> software. The source code of <b>PDFjs</b> can be found <a href="https://github.com/mozilla/pdf.js" target="_blank">here</a>.</p>
<h1>Licence</h1>
<p>OfficeJS PDF Viewer is <a href="http://www.fsf.org/">Free Software</a>, licensed under the terms of the <a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v3 (or later)</a>. For details, please see <a href="https://www.nexedi.com/licensing">Nexedi licensing</a>.</p>
</div>
</body>
</html>
\ No newline at end of file
/*global window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", "notifySubmitted")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
//TODO: get history previous link?
/*.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'display'})
]);
})*/
.push(function (url_list) {
return gadget.updateHeader({
page_title: "About Page"
});
});
});
}(window, rJS, RSVP, jIO));
\ No newline at end of file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gadget OfficeJS Slideshow Editor About</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_ojs_slideshow_editor_about.js"></script>
<link rel="stylesheet" href="gadget_erp5_page_ojs_about.css">
</head>
<body>
<div class="about-page">
<h1>OfficeJS Slideshow Editor</h1>
<p style="margin-bottom: 10px;">OfficeJS Slideshow Editor app is a progressive web application developed with <a href="https://renderjs.nexedi.com/">renderJS</a> and <a href="https://jio.nexedi.com">jIO</a> under the premises of <b>privacy</b> and <b>availability</b>, meaning users are free to choose their storage, can work offline and synchronize their work easily. Slideshow editor application is developed, maintained and used by <a href="https://www.nexedi.com/">Nexedi</a>, and its code can be found <a href="https://lab.nexedi.com/nexedi/erp5/tree/master/bt5/erp5_officejs" target="_blank">here</a>.</p>
<p></p>
<h1>Licence</h1>
<p>OfficeJS Slideshow Editor is <a href="http://www.fsf.org/">Free Software</a>, licensed under the terms of the <a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v3 (or later)</a>. For details, please see <a href="https://www.nexedi.com/licensing">Nexedi licensing</a>.</p>
</div>
</body>
</html>
\ No newline at end of file
/*global window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", "notifySubmitted")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
//TODO: get history previous link?
/*.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'display'})
]);
})*/
.push(function (url_list) {
return gadget.updateHeader({
page_title: "About Page"
});
});
});
}(window, rJS, RSVP, jIO));
\ No newline at end of file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gadget OfficeJS Text Editor About</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_ojs_text_editor_about.js"></script>
<link rel="stylesheet" href="gadget_erp5_page_ojs_about.css">
</head>
<body>
<div class="about-page">
<h1>OfficeJS Text Editor</h1>
<p style="margin-bottom: 10px;">OfficeJS Text Editor app is a progressive web application developed with <a href="https://renderjs.nexedi.com/">renderJS</a> and <a href="https://jio.nexedi.com">jIO</a> under the premises of <b>privacy</b> and <b>availability</b>, meaning users are free to choose their storage, can work offline and synchronize their work easily. Text editor application is developed, maintained and used by <a href="https://www.nexedi.com/">Nexedi</a>, and its code can be found <a href="https://lab.nexedi.com/nexedi/erp5/tree/master/bt5/erp5_officejs" target="_blank">here</a>.</p>
<p></p>
<p>The editor itself is based on <a href="https://ckeditor.com/">CKEditor</a> software. The source code of <b>CKEditor</b> can be found <a href="https://github.com/ckeditor/" target="_blank">here</a>.</p>
<h1>Licence</h1>
<p>OfficeJS Text Editor is <a href="http://www.fsf.org/">Free Software</a>, licensed under the terms of the <a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v3 (or later)</a>. For details, please see <a href="https://www.nexedi.com/licensing">Nexedi licensing</a>.</p>
</div>
</body>
</html>
\ No newline at end of file
/*global window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", "notifySubmitted")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
//TODO: get history previous link?
/*.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'display'})
]);
})*/
.push(function (url_list) {
return gadget.updateHeader({
page_title: "About Page"
});
});
});
}(window, rJS, RSVP, jIO));
\ No newline at end of file
...@@ -6,6 +6,9 @@ url_list = [ ...@@ -6,6 +6,9 @@ url_list = [
"gadget_officejs_codemirror_router.html", "gadget_officejs_codemirror_router.html",
"gadget_officejs_jio_web_script_view.html", "gadget_officejs_jio_web_script_view.html",
"gadget_officejs_jio_web_script_view.js", "gadget_officejs_jio_web_script_view.js",
"gadget_erp5_page_ojs_codemirror_editor_about.html",
"gadget_erp5_page_ojs_codemirror_editor_about.js",
"gadget_erp5_page_ojs_about.css",
] ]
return url_list return url_list
...@@ -6,6 +6,9 @@ url_list = [ ...@@ -6,6 +6,9 @@ url_list = [
"gadget_officejs_jio_pdf_view.js", "gadget_officejs_jio_pdf_view.js",
"gadget_officejs_pdf_viewer.json", "gadget_officejs_pdf_viewer.json",
"pdf_viewer_app_logo.svg", "pdf_viewer_app_logo.svg",
"gadget_erp5_page_ojs_pdf_viewer_about.html",
"gadget_erp5_page_ojs_pdf_viewer_about.js",
"gadget_erp5_page_ojs_about.css",
#pdf_js #pdf_js
"pdf_js/pdfjs.gadget.html", "pdf_js/pdfjs.gadget.html",
......
...@@ -5,7 +5,10 @@ url_list = [ ...@@ -5,7 +5,10 @@ url_list = [
"slideshow_editor_app_logo.svg", "slideshow_editor_app_logo.svg",
"slideeditor.gadget.html", "slideeditor.gadget.html",
"slideeditor.gadget.js", "slideeditor.gadget.js",
"slideeditor.gadget.css" "slideeditor.gadget.css",
"gadget_erp5_page_ojs_slideshow_editor_about.html",
"gadget_erp5_page_ojs_slideshow_editor_about.js",
"gadget_erp5_page_ojs_about.css",
] ]
return url_list return url_list
...@@ -4,6 +4,9 @@ url_list = [ ...@@ -4,6 +4,9 @@ url_list = [
"gadget_officejs_text_editor.json", "gadget_officejs_text_editor.json",
"officejs_logo_text_editor.png", "officejs_logo_text_editor.png",
"gadget_officejs_text_editor_router.html", "gadget_officejs_text_editor_router.html",
"gadget_erp5_page_ojs_text_editor_about.html",
"gadget_erp5_page_ojs_text_editor_about.js",
"gadget_erp5_page_ojs_about.css",
] ]
return url_list return url_list
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<script data-renderjs-configuration="app_view_reference" type="text/x-renderjs-configuration">image_editor_view</script> <script data-renderjs-configuration="app_view_reference" type="text/x-renderjs-configuration">image_editor_view</script>
<script data-renderjs-configuration="image_module_dict" type="text/x-renderjs-configuration">{"front_page": 1, "editable": 0, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 1, "panel_action": 1, "previous_next_button": 0, "history_previous_link": 0, "title": "Images", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="image_module_dict" type="text/x-renderjs-configuration">{"front_page": 1, "editable": 0, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 1, "panel_action": 1, "previous_next_button": 0, "history_previous_link": 0, "title": "Images", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="image_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "Image", "hide_listbox_buttons": 1, "blob_type": "image/png", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="image_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "Image", "hide_listbox_buttons": 1, "blob_type": "image/png", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_image_editor_about</script>
<script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration">/{+id}/Base_downloadWithCors</script> <script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration">/{+id}/Base_downloadWithCors</script>
<script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">2jxtcmmr01qtjwk</script> <script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">2jxtcmmr01qtjwk</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
......
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>984.59996.45531.39338</string> </value> <value> <string>1000.61481.3626.18739</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -351,7 +351,7 @@ ...@@ -351,7 +351,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1593528896.82</float> <float>1658328766.8</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gadget OfficeJS Image Editor About</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_ojs_image_editor_about.js"></script>
<link rel="stylesheet" href="gadget_erp5_page_ojs_about.css">
</head>
<body>
<div class="about-page">
<h1>OfficeJS Image Editor</h1>
<p style="margin-bottom: 10px;">OfficeJS Image Editor app is a progressive web application developed with <a href="https://renderjs.nexedi.com/">renderJS</a> and <a href="https://jio.nexedi.com">jIO</a> under the premises of <b>privacy</b> and <b>availability</b>, meaning users are free to choose their storage, can work offline and synchronize their work easily. Image editor application is developed, maintained and used by <a href="https://www.nexedi.com/">Nexedi</a>, and its code can be found <a href="https://lab.nexedi.com/nexedi/erp5/tree/master/bt5/erp5_officejs_jquery_app" target="_blank">here</a>.</p>
<p></p>
<p>The editor itself is based on <a href="https://viliusle.github.io/miniPaint/">miniPaint</a> software. The source code of <b>miniPaint</b> can be found <a href="https://github.com/viliusle/miniPaint" target="_blank">here</a>.</p>
<h1>Licence</h1>
<p>OfficeJS Image Editor is <a href="http://www.fsf.org/">Free Software</a>, licensed under the terms of the <a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v3 (or later)</a>. For details, please see <a href="https://www.nexedi.com/licensing">Nexedi licensing</a>.</p>
</div>
</body>
</html>
\ No newline at end of file
/*global window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", "notifySubmitted")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
//TODO: get history previous link?
/*.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'display'})
]);
})*/
.push(function (url_list) {
return gadget.updateHeader({
page_title: "About Page"
});
});
});
}(window, rJS, RSVP, jIO));
\ No newline at end of file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gadget OfficeJS Web Table Editor About</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_ojs_web_table_editor_about.js"></script>
<link rel="stylesheet" href="gadget_erp5_page_ojs_about.css">
</head>
<body>
<div class="about-page">
<h1>OfficeJS Web Table Editor</h1>
<p style="margin-bottom: 10px;">OfficeJS Web Table Editor app is a progressive web application developed with <a href="https://renderjs.nexedi.com/">renderJS</a> and <a href="https://jio.nexedi.com">jIO</a> under the premises of <b>privacy</b> and <b>availability</b>, meaning users are free to choose their storage, can work offline and synchronize their work easily. Web Table editor application is developed, maintained and used by <a href="https://www.nexedi.com/">Nexedi</a>, and its code can be found <a href="https://lab.nexedi.com/nexedi/erp5/tree/master/bt5/erp5_officejs_jquery_app" target="_blank">here</a>.</p>
<p></p>
<p>The editor itself is based on <a href="https://bossanova.uk/jspreadsheet/v4/">Jspreadsheet</a> software. The source code of <b>Jspreadsheet</b> can be found <a href="https://github.com/jspreadsheet/ce" target="_blank">here</a>.</p>
<h1>Licence</h1>
<p>OfficeJS Web Table Editor is <a href="http://www.fsf.org/">Free Software</a>, licensed under the terms of the <a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v3 (or later)</a>. For details, please see <a href="https://www.nexedi.com/licensing">Nexedi licensing</a>.</p>
</div>
</body>
</html>
\ No newline at end of file
/*global window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", "notifySubmitted")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
//TODO: get history previous link?
/*.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'display'})
]);
})*/
.push(function (url_list) {
return gadget.updateHeader({
page_title: "About Page"
});
});
});
}(window, rJS, RSVP, jIO));
\ No newline at end of file
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<script data-renderjs-configuration="app_view_reference" type="text/x-renderjs-configuration">web_table_view</script> <script data-renderjs-configuration="app_view_reference" type="text/x-renderjs-configuration">web_table_view</script>
<script data-renderjs-configuration="web_page_module_dict" type="text/x-renderjs-configuration">{"front_page": 1, "editable": 0, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 1, "panel_action": 1, "previous_next_button": 0, "history_previous_link": 0, "title": "Jquery Sheet Documents", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="web_page_module_dict" type="text/x-renderjs-configuration">{"front_page": 1, "editable": 0, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 1, "panel_action": 1, "previous_next_button": 0, "history_previous_link": 0, "title": "Jquery Sheet Documents", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="web_table_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "Jquery Sheet Document", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="web_table_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "Jquery Sheet Document", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_web_table_editor_about</script>
<script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script> <script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script>
<script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">wk3dxwcu9qzi6tb</script> <script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">wk3dxwcu9qzi6tb</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>984.59943.25702.48622</string> </value> <value> <string>1000.61481.3626.18739</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1595923550.24</float> <float>1658165093.99</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -6,6 +6,9 @@ url_list = [ ...@@ -6,6 +6,9 @@ url_list = [
"gadget_officejs_jio_image_view.js", "gadget_officejs_jio_image_view.js",
"gadget_officejs_image_editor.json", "gadget_officejs_image_editor.json",
"image_editor_app_logo.svg", "image_editor_app_logo.svg",
"gadget_erp5_page_ojs_image_editor_about.html",
"gadget_erp5_page_ojs_image_editor_about.js",
"gadget_erp5_page_ojs_about.css",
#image editor #image editor
"minipaint.gadget.html", "minipaint.gadget.html",
......
...@@ -8,6 +8,9 @@ url_list = [ ...@@ -8,6 +8,9 @@ url_list = [
"action_web_table_clone.js", "action_web_table_clone.js",
"gadget_officejs_web_table.json", "gadget_officejs_web_table.json",
"web_table_app_logo.svg", "web_table_app_logo.svg",
"gadget_erp5_page_ojs_web_table_editor_about.html",
"gadget_erp5_page_ojs_web_table_editor_about.js",
"gadget_erp5_page_ojs_about.css",
] ]
return url_list return url_list
.about-page h1 {
font-family: "Roboto", Arial, sans-serif;
color: #0082b9;
font-size: 2em;
margin: 0.67em 0;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}
.about-page p {
font-family: 'Heuristica', 'Helvetica', Times, serif;
font-size: 1.25em;
line-height: 1.58em;
letter-spacing: -.003em;
}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gadget OnlyOffice About</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_ojs_oo_about.js"></script>
<link rel="stylesheet" href="gadget_erp5_page_ojs_oo_about.css">
</head>
<body>
<div class="about-page">
<h1>OfficeJS Only Office Editor</h1>
<p style="margin-bottom: 10px;">OfficeJS Only Office apps are progressive web applications developed with <a href="https://renderjs.nexedi.com/">renderJS</a> and <a href="https://jio.nexedi.com">jIO</a> under the premises of <b>privacy</b> and <b>availability</b>, meaning users are free to choose their storage, can work offline and synchronize their work easily. Only Office applications are developed, maintained and used by <a href="https://www.nexedi.com/">Nexedi</a>, and their code can be found <a href="https://lab.nexedi.com/nexedi/erp5/tree/master/bt5/erp5_officejs_ooffice" target="_blank">here</a>.</p>
<p></p>
<p>The editor itself is based on a modified version of <a href="https://www.onlyoffice.com/">OnlyOffice</a> code with patches to support offline operation. The original source code of <b>onlyoffice</b> can be found <a href="https://github.com/ONLYOFFICE/" target="_blank">here</a> and the patched version can be found <a href="https://lab.nexedi.com/bk/web-apps/commits/jio_gadget.dev.180123" target="_blank">here</a>.</p>
<h1>Licence</h1>
<p>OfficeJS Only Office Editor is <a href="http://www.fsf.org/">Free Software</a>, licensed under the terms of the <a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v3 (or later)</a>. For details, please see <a href="https://www.nexedi.com/licensing">Nexedi licensing</a>.</p>
</div>
</body>
</html>
/*global window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", "notifySubmitted")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
.push(function (url_list) {
return gadget.updateHeader({
page_title: "About OfficeJS OnlyOffice editor"
});
});
});
}(window, rJS, RSVP, jIO));
\ No newline at end of file
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<script data-renderjs-configuration="file_extension" type="text/x-renderjs-configuration">ppty</script> <script data-renderjs-configuration="file_extension" type="text/x-renderjs-configuration">ppty</script>
<script data-renderjs-configuration="upload_dict" type="text/x-renderjs-configuration">{"pptx": "ppty", "ppty": "ppty"}</script> <script data-renderjs-configuration="upload_dict" type="text/x-renderjs-configuration">{"pptx": "ppty", "ppty": "ppty"}</script>
<script data-renderjs-configuration="conversion_dict" type="text/x-renderjs-configuration">{"ppty": ["pptx"], "pptx": ["ppty", "pdf"]}</script> <script data-renderjs-configuration="conversion_dict" type="text/x-renderjs-configuration">{"ppty": ["pptx"], "pptx": ["ppty", "pdf"]}</script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_oo_about</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>985.55190.40762.13994</string> </value> <value> <string>1000.58270.63145.51524</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1600265054.22</float> <float>1655831598.7</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<script data-renderjs-configuration="file_extension" type="text/x-renderjs-configuration">xlsy</script> <script data-renderjs-configuration="file_extension" type="text/x-renderjs-configuration">xlsy</script>
<script data-renderjs-configuration="upload_dict" type="text/x-renderjs-configuration">{"xlsx": "xlsy", "xlsy": "xlsy"}</script> <script data-renderjs-configuration="upload_dict" type="text/x-renderjs-configuration">{"xlsx": "xlsy", "xlsy": "xlsy"}</script>
<script data-renderjs-configuration="conversion_dict" type="text/x-renderjs-configuration">{"xlsy": ["xlsx"], "xlsx": ["xlsy", "pdf"]}</script> <script data-renderjs-configuration="conversion_dict" type="text/x-renderjs-configuration">{"xlsy": ["xlsx"], "xlsx": ["xlsy", "pdf"]}</script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_oo_about</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>985.55190.40762.13994</string> </value> <value> <string>1000.58270.63145.51524</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1600265032.78</float> <float>1655831591.17</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<script data-renderjs-configuration="file_extension" type="text/x-renderjs-configuration">docy</script> <script data-renderjs-configuration="file_extension" type="text/x-renderjs-configuration">docy</script>
<script data-renderjs-configuration="upload_dict" type="text/x-renderjs-configuration">{"docx": "docy", "docy": "docy"}</script> <script data-renderjs-configuration="upload_dict" type="text/x-renderjs-configuration">{"docx": "docy", "docy": "docy"}</script>
<script data-renderjs-configuration="conversion_dict" type="text/x-renderjs-configuration">{"docy": ["docx"], "docx": ["docy", "pdf"]}</script> <script data-renderjs-configuration="conversion_dict" type="text/x-renderjs-configuration">{"docy": ["docx"], "docx": ["docy", "pdf"]}</script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_oo_about</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>985.55190.40762.13994</string> </value> <value> <string>1001.4456.39558.58572</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1600265042.71</float> <float>1655831585.66</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -3,6 +3,9 @@ url_list = [ ...@@ -3,6 +3,9 @@ url_list = [
"only_office_document_view.js", "only_office_document_view.js",
"gadget_officejs_liberator.html", "gadget_officejs_liberator.html",
"gadget_officejs_liberator.js", "gadget_officejs_liberator.js",
"gadget_erp5_page_ojs_oo_about.html",
"gadget_erp5_page_ojs_oo_about.js",
"gadget_erp5_page_ojs_oo_about.css",
#cloudooo #cloudooo
"gadget_ojs_cloudooo.html", "gadget_ojs_cloudooo.html",
......
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