Commit badbe1ac authored by Vincent Bechu's avatar Vincent Bechu

Make Jabber Client usable and exportable

/reviewed-on nexedi/erp5!473
parents 6aec6101 8cf4f9d4
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// declared methods // declared methods
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
/*
.declareMethod('notifyError', function () { .declareMethod('notifyError', function () {
this.stats.loaded = true; this.stats.loaded = true;
this.stats.submitted = true; this.stats.submitted = true;
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
.declareMethod('notifyUpdate', function () { .declareMethod('notifyUpdate', function () {
return this.render(this.stats.options); return this.render(this.stats.options);
}) })
*/
.declareMethod('notifyLoading', function () { .declareMethod('notifyLoading', function () {
if (this.stats.loaded) { if (this.stats.loaded) {
this.stats.loaded = false; this.stats.loaded = false;
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
return this.render(this.stats.options); return this.render(this.stats.options);
} }
}) })
/*
.declareMethod('notifyChange', function () { .declareMethod('notifyChange', function () {
if (!this.stats.modified) { if (!this.stats.modified) {
this.stats.modified = true; this.stats.modified = true;
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
return this.render(this.stats.options); return this.render(this.stats.options);
} }
}) })
*/
.declareMethod('render', function (options) { .declareMethod('render', function (options) {
var gadget = this, var gadget = this,
possible_left_link_list = [ possible_left_link_list = [
......
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>vincent</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>954.15931.48097.6604</string> </value> <value> <string>961.17525.46862.41420</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1475164833.83</float> <float>1509358444.14</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
<option>App Store</option> <option>App Store</option>
<option>Wall Search</option> <option>Wall Search</option>
<option>Drive App</option> <option>Drive App</option>
<option>Jabber Client</option>
</select> </select>
</div> </div>
</div> </div>
......
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>vincent</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>962.48391.54489.47496</string> </value> <value> <string>963.3430.40377.1177</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -249,8 +249,8 @@ ...@@ -249,8 +249,8 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1508118475.62</float> <float>1509358835.98</float>
<string>GMT+9</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
</object> </object>
......
...@@ -130,8 +130,8 @@ gadget_erp5_editor_panel.html\n ...@@ -130,8 +130,8 @@ gadget_erp5_editor_panel.html\n
gadget_erp5_editor_panel.js\n gadget_erp5_editor_panel.js\n
gadget_erp5_form.html\n gadget_erp5_form.html\n
gadget_erp5_form.js\n gadget_erp5_form.js\n
gadget_erp5_header.html\n gadget_officejs_header.html\n
gadget_erp5_header.js\n gadget_officejs_header.js\n
gadget_erp5_field_string.html\n gadget_erp5_field_string.html\n
gadget_erp5_field_string.js\n gadget_erp5_field_string.js\n
gadget_erp5_field_password.html\n gadget_erp5_field_password.html\n
...@@ -280,7 +280,7 @@ NETWORK:\n ...@@ -280,7 +280,7 @@ NETWORK:\n
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>vincent</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -294,7 +294,7 @@ NETWORK:\n ...@@ -294,7 +294,7 @@ NETWORK:\n
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>960.4045.64587.54579</string> </value> <value> <string>961.17525.46862.41420</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -312,7 +312,7 @@ NETWORK:\n ...@@ -312,7 +312,7 @@ NETWORK:\n
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1497526217.44</float> <float>1509358498.78</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -239,6 +239,16 @@ ...@@ -239,6 +239,16 @@
<value> <string>string</string> </value> <value> <string>string</string> </value>
</item> </item>
</dictionary> </dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>configuration_header_gadget_url</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -285,6 +295,10 @@ ...@@ -285,6 +295,10 @@
<key> <string>configuration_content_security_policy</string> </key> <key> <string>configuration_content_security_policy</string> </key>
<value> <string>default-src \'none\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' data:; script-src \'self\' \'unsafe-eval\'; font-src \'self\'; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:</string> </value> <value> <string>default-src \'none\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' data:; script-src \'self\' \'unsafe-eval\'; font-src \'self\'; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:</string> </value>
</item> </item>
<item>
<key> <string>configuration_header_gadget_url</string> </key>
<value> <string>gadget_officejs_header.html</string> </value>
</item>
<item> <item>
<key> <string>configuration_jio_gadget_url</string> </key> <key> <string>configuration_jio_gadget_url</string> </key>
<value> <string>gadget_jabberclient_jio.html</string> </value> <value> <string>gadget_jabberclient_jio.html</string> </value>
...@@ -526,7 +540,7 @@ ...@@ -526,7 +540,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>vincent</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -540,7 +554,7 @@ ...@@ -540,7 +554,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>960.4006.61190.60910</string> </value> <value> <string>961.17525.46862.41420</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -558,7 +572,7 @@ ...@@ -558,7 +572,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1497524510.1</float> <float>1509358218.96</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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