quickblox 2.17.9-logger → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +4 -0
- package/README.md +1 -2
- package/package.json +2 -1
- package/quickblox.js +111 -7055
- package/quickblox.min.js +1 -1
- package/src/modules/chat/qbChat.js +17 -27
- package/src/modules/webrtc/qbWebRTCSignalingProcessor.js +1 -2
- package/src/modules/webrtc/qbWebRTCSignalingProvider.js +1 -2
- package/src/qbConfig.js +2 -2
- package/src/qbStrophe.js +49 -59
- package/{src/libs/strophe → strophejs-1.4.0/dist}/strophe.common.js +14 -14
- package/{src/libs/strophe → strophejs-1.4.0/dist}/strophe.esm.js +14 -14
- package/{src/libs/strophe → strophejs-1.4.0/dist}/strophe.umd.js +17 -17
- package/strophejs-1.4.0/dist/strophe.umd.min.js +1 -0
- package/src/libs/strophe/strophe.umd.min.js +0 -1
- package/strophejs-1.4.0/.eslintrc.json +0 -264
- package/strophejs-1.4.0/.gitattributes +0 -1
- package/strophejs-1.4.0/CHANGELOG.md +0 -250
- package/strophejs-1.4.0/LICENSE.txt +0 -19
- package/strophejs-1.4.0/Makefile +0 -92
- package/strophejs-1.4.0/README.md +0 -45
- package/strophejs-1.4.0/RELEASE_CHECKLIST.md +0 -16
- package/strophejs-1.4.0/contrib/discojs/README.txt +0 -42
- package/strophejs-1.4.0/contrib/discojs/css/disco.css +0 -16
- package/strophejs-1.4.0/contrib/discojs/index.html +0 -47
- package/strophejs-1.4.0/contrib/discojs/punjab.tac +0 -18
- package/strophejs-1.4.0/contrib/discojs/scripts/basic.js +0 -102
- package/strophejs-1.4.0/contrib/discojs/scripts/disco.js +0 -60
- package/strophejs-1.4.0/docs.css +0 -797
- package/strophejs-1.4.0/examples/amd.html +0 -21
- package/strophejs-1.4.0/examples/attach/README +0 -37
- package/strophejs-1.4.0/examples/attach/__init__.py +0 -0
- package/strophejs-1.4.0/examples/attach/attacher/__init__.py +0 -0
- package/strophejs-1.4.0/examples/attach/attacher/views.py +0 -18
- package/strophejs-1.4.0/examples/attach/boshclient.py +0 -158
- package/strophejs-1.4.0/examples/attach/manage.py +0 -11
- package/strophejs-1.4.0/examples/attach/settings.py +0 -85
- package/strophejs-1.4.0/examples/attach/templates/attacher/index.html +0 -88
- package/strophejs-1.4.0/examples/attach/urls.py +0 -19
- package/strophejs-1.4.0/examples/basic.html +0 -23
- package/strophejs-1.4.0/examples/basic.js +0 -73
- package/strophejs-1.4.0/examples/echobot.html +0 -25
- package/strophejs-1.4.0/examples/echobot.js +0 -79
- package/strophejs-1.4.0/examples/main.js +0 -59
- package/strophejs-1.4.0/examples/prebind.html +0 -39
- package/strophejs-1.4.0/examples/prebind.js +0 -103
- package/strophejs-1.4.0/examples/restore.html +0 -24
- package/strophejs-1.4.0/examples/restore.js +0 -71
- package/strophejs-1.4.0/package-lock.json +0 -8634
- package/strophejs-1.4.0/package.json +0 -84
- package/strophejs-1.4.0/rollup.config.js +0 -76
- package/strophejs-1.4.0/src/bosh.js +0 -916
- package/strophejs-1.4.0/src/core.js +0 -3535
- package/strophejs-1.4.0/src/md5.js +0 -204
- package/strophejs-1.4.0/src/sha1.js +0 -172
- package/strophejs-1.4.0/src/shared-connection-worker.js +0 -114
- package/strophejs-1.4.0/src/shims.js +0 -123
- package/strophejs-1.4.0/src/strophe.js +0 -14
- package/strophejs-1.4.0/src/utils.js +0 -63
- package/strophejs-1.4.0/src/websocket.js +0 -561
- package/strophejs-1.4.0/src/worker-websocket.js +0 -152
- package/strophejs-1.4.0/tests/index.html +0 -21
- package/strophejs-1.4.0/tests/main.js +0 -49
- package/strophejs-1.4.0/tests/tests.js +0 -929
- package/strophejs-1.6.1/.eslintrc.json +0 -264
- package/strophejs-1.6.1/.gitattributes +0 -1
- package/strophejs-1.6.1/.nvmrc +0 -1
- package/strophejs-1.6.1/CHANGELOG.md +0 -288
- package/strophejs-1.6.1/LICENSE.txt +0 -19
- package/strophejs-1.6.1/Makefile +0 -92
- package/strophejs-1.6.1/README.md +0 -46
- package/strophejs-1.6.1/RELEASE_CHECKLIST.md +0 -18
- package/strophejs-1.6.1/babel.config.json +0 -10
- package/strophejs-1.6.1/contrib/discojs/README.txt +0 -42
- package/strophejs-1.6.1/contrib/discojs/css/disco.css +0 -16
- package/strophejs-1.6.1/contrib/discojs/index.html +0 -47
- package/strophejs-1.6.1/contrib/discojs/punjab.tac +0 -18
- package/strophejs-1.6.1/contrib/discojs/scripts/basic.js +0 -102
- package/strophejs-1.6.1/contrib/discojs/scripts/disco.js +0 -60
- package/strophejs-1.6.1/docs.css +0 -797
- package/strophejs-1.6.1/examples/amd.html +0 -21
- package/strophejs-1.6.1/examples/attach/README +0 -37
- package/strophejs-1.6.1/examples/attach/__init__.py +0 -0
- package/strophejs-1.6.1/examples/attach/attacher/__init__.py +0 -0
- package/strophejs-1.6.1/examples/attach/attacher/views.py +0 -18
- package/strophejs-1.6.1/examples/attach/boshclient.py +0 -158
- package/strophejs-1.6.1/examples/attach/manage.py +0 -11
- package/strophejs-1.6.1/examples/attach/settings.py +0 -85
- package/strophejs-1.6.1/examples/attach/templates/attacher/index.html +0 -88
- package/strophejs-1.6.1/examples/attach/urls.py +0 -19
- package/strophejs-1.6.1/examples/basic.html +0 -23
- package/strophejs-1.6.1/examples/basic.js +0 -73
- package/strophejs-1.6.1/examples/echobot.html +0 -25
- package/strophejs-1.6.1/examples/echobot.js +0 -79
- package/strophejs-1.6.1/examples/main.js +0 -59
- package/strophejs-1.6.1/examples/prebind.html +0 -39
- package/strophejs-1.6.1/examples/prebind.js +0 -103
- package/strophejs-1.6.1/examples/restore.html +0 -24
- package/strophejs-1.6.1/examples/restore.js +0 -71
- package/strophejs-1.6.1/package-lock.json +0 -18461
- package/strophejs-1.6.1/package.json +0 -87
- package/strophejs-1.6.1/rollup.config.js +0 -70
- package/strophejs-1.6.1/src/bosh.js +0 -916
- package/strophejs-1.6.1/src/builder.js +0 -239
- package/strophejs-1.6.1/src/constants.js +0 -155
- package/strophejs-1.6.1/src/core.js +0 -2377
- package/strophejs-1.6.1/src/sasl-anon.js +0 -17
- package/strophejs-1.6.1/src/sasl-external.js +0 -27
- package/strophejs-1.6.1/src/sasl-oauthbearer.js +0 -30
- package/strophejs-1.6.1/src/sasl-plain.js +0 -32
- package/strophejs-1.6.1/src/sasl-sha1.js +0 -24
- package/strophejs-1.6.1/src/sasl-sha256.js +0 -24
- package/strophejs-1.6.1/src/sasl-sha384.js +0 -24
- package/strophejs-1.6.1/src/sasl-sha512.js +0 -24
- package/strophejs-1.6.1/src/sasl-xoauth2.js +0 -27
- package/strophejs-1.6.1/src/sasl.js +0 -143
- package/strophejs-1.6.1/src/scram.js +0 -182
- package/strophejs-1.6.1/src/shared-connection-worker.js +0 -114
- package/strophejs-1.6.1/src/shims.js +0 -122
- package/strophejs-1.6.1/src/strophe.js +0 -15
- package/strophejs-1.6.1/src/utils.js +0 -626
- package/strophejs-1.6.1/src/websocket.js +0 -556
- package/strophejs-1.6.1/src/worker-websocket.js +0 -149
- package/strophejs-1.6.1/tests.js +0 -993
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
var NS_DISCO_INFO = 'http://jabber.org/protocol/disco#info';
|
|
3
|
-
var NS_DISCO_ITEM = 'http://jabber.org/protocol/disco#items';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Disco stuff
|
|
7
|
-
Disco = function () {
|
|
8
|
-
// Class that does nothing
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
Disco.prototype = {
|
|
12
|
-
showBrowser: function() {
|
|
13
|
-
// Browser Display
|
|
14
|
-
var disco = $('#disco');
|
|
15
|
-
var jid = $('#jid');
|
|
16
|
-
var server = connection.jid.split('@')[1];
|
|
17
|
-
|
|
18
|
-
// display input box
|
|
19
|
-
disco.append("<div id='server'><form id='browse' name='browse'>Server : <input type='text' name='server' id='server' value='"+server+"' /><input type='submit' value='browse'/></form></div>");
|
|
20
|
-
|
|
21
|
-
// add handler for search form
|
|
22
|
-
$("#browse").bind('submit', function () {
|
|
23
|
-
this.startBrowse($("#server").get(0).value);
|
|
24
|
-
return false;
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
this.startBrowse(server);
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
closeBrowser: function() {
|
|
31
|
-
var disco = $('#disco');
|
|
32
|
-
|
|
33
|
-
disco.empty();
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
startBrowse: function(server) {
|
|
37
|
-
// build iq request
|
|
38
|
-
var id = 'startBrowse';
|
|
39
|
-
|
|
40
|
-
var discoiq = $iq({'from':connection.jid+"/"+connection.resource,
|
|
41
|
-
'to':server,
|
|
42
|
-
'id':id,
|
|
43
|
-
'type':'get'}
|
|
44
|
-
)
|
|
45
|
-
.c('query', {'xmlns': NS_DISCO_INFO});
|
|
46
|
-
|
|
47
|
-
connection.addHandler(this._cbBrowse, null, 'iq', 'result', id);
|
|
48
|
-
connection.send(discoiq.tree());
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
_cbBrowse: function(e) {
|
|
53
|
-
var elem = $(e); // make this Element a JQuery Element
|
|
54
|
-
alert(e);
|
|
55
|
-
|
|
56
|
-
return false; // return false to remove the handler
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
};
|
|
60
|
-
|