Download:
child 309:f8c525ff01cd
parent 307:7f86cb18d285
308:bb6186df3db5
Anton Shestakov <av6@dwimlabs.net>, Sat, 30 Jun 2018 15:11:22 +0800
xmpp: get connection URL and parameters from config

7 файлов изменено, 11 вставок(+), 8 удалений(-) [+]
coffee/tram.coffee file | annotate | diff | comparison | revisions
coffee/xmpp.coffee file | annotate | diff | comparison | revisions
config.js file | annotate | diff | comparison | revisions
js/tram.js file | annotate | diff | comparison | revisions
js/tram.js.map file | annotate | diff | comparison | revisions
js/xmpp.js file | annotate | diff | comparison | revisions
js/xmpp.js.map file | annotate | diff | comparison | revisions
--- a/coffee/tram.coffee Thu Jun 28 22:45:21 2018 +0800
+++ b/coffee/tram.coffee Sat Jun 30 15:11:22 2018 +0800
@@ -9,8 +9,9 @@
WEBRTC: 'tram-im:webrtc'
config:
- host: location.host
domain: location.hostname
+ connectionURL: "wss://#{ location.host }/xmpp-websocket"
+ connectionParameters: {}
iceServers: [{
urls: 'stun:stun.services.mozilla.com'
}, {
--- a/coffee/xmpp.coffee Thu Jun 28 22:45:21 2018 +0800
+++ b/coffee/xmpp.coffee Sat Jun 30 15:11:22 2018 +0800
@@ -7,7 +7,7 @@
if @conn?
console.debug('connection exists, not reconnecting')
- @conn = new Strophe.Connection("https://#{ Tram.config.host }/http-bind")
+ @conn = new Strophe.Connection(Tram.config.connectionURL, Tram.config.connectionParameters)
connect: (node, pass) ->
@_prepareConnection()
--- a/config.js Thu Jun 28 22:45:21 2018 +0800
+++ b/config.js Sat Jun 30 15:11:22 2018 +0800
@@ -1,4 +1,5 @@
_(Tram.config).extend({
-// host: location.host,
-// domain: location.hostname
+// domain: location.hostname,
+// connectionURL: 'https://' + location.host + '/http-bind',
+// connectionParameters: {keepalive: true}
});
--- a/js/tram.js Thu Jun 28 22:45:21 2018 +0800
+++ b/js/tram.js Sat Jun 30 15:11:22 2018 +0800
@@ -14,8 +14,9 @@
WEBRTC: 'tram-im:webrtc'
},
config: {
- host: location.host,
domain: location.hostname,
+ connectionURL: "wss://" + location.host + "/xmpp-websocket",
+ connectionParameters: {},
iceServers: [
{
urls: 'stun:stun.services.mozilla.com'
--- a/js/tram.js.map Thu Jun 28 22:45:21 2018 +0800
+++ b/js/tram.js.map Sat Jun 30 15:11:22 2018 +0800
@@ -6,5 +6,5 @@
"coffee/tram.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA;;;EAAA,MAAM,CAAC,IAAP,GACE;IAAA,IAAA,EACE;MAAA,MAAA,EAAQ,SAAR;MACA,OAAA,EAAS,KADT;MAEA,GAAA,EAAK,mCAFL;KADF;IAKA,EAAA,EACE;MAAA,OAAA,EAAS,iBAAT;MACA,MAAA,EAAQ,gBADR;KANF;IASA,MAAA,EACE;MAAA,IAAA,EAAM,QAAQ,CAAC,IAAf;MACA,MAAA,EAAQ,QAAQ,CAAC,QADjB;MAEA,UAAA,EAAY;QAAC;UACX,IAAA,EAAM,gCADK;SAAD,EAET;UACD,IAAA,EAAM,8BADL;SAFS;OAFZ;MAOA,SAAA,EAAW,IAPX;MAQA,YAAA,EAAc,EAAA,GAAK,IARnB;KAVF;IAoBA,MAAA,EACE;MAAA,IAAA,EACE;QAAA,IAAA,EAAM,SAAN;QACA,MAAA,EAAQ,SADR;QAEA,IAAA,EAAM,SAFN;QAGA,EAAA,EAAI,SAHJ;QAIA,OAAA,EAAS,MAJT;QAKA,CAAA,OAAA,CAAA,EAAS,SALT;OADF;MAOA,MAAA,EAAQ,CACN,SADM,EAEN,SAFM,EAGN,SAHM,EAIN,SAJM,EAKN,SALM,EAMN,SANM,EAON,SAPM,EAQN,SARM,EASN,SATM,EAUN,SAVM,CAPR;KArBF;;;EA0CI,MAAM,CAAC,IAAI,CAAC;;;;;;;;;KAAmB,QAAQ,CAAC;;EAGxC,MAAM,CAAC,IAAI,CAAC;;;;;;;0BAChB,QAAA,GACE;MAAA,IAAA,EAAM,SAAN;MACA,GAAA,EAAK,QADL;;;;;KAFkC,QAAQ,CAAC;;EAMzC,MAAM,CA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AY,IAAZ;;;;;KAFqC,QAAQ,CAAC;AArDlD"
}
\ No newline at end of file
--- a/js/xmpp.js Thu Jun 28 22:45:21 2018 +0800
+++ b/js/xmpp.js Sat Jun 30 15:11:22 2018 +0800
@@ -13,7 +13,7 @@
if (this.conn != null) {
console.debug('connection exists, not reconnecting');
}
- return this.conn = new Strophe.Connection("https://" + Tram.config.host + "/http-bind");
+ return this.conn = new Strophe.Connection(Tram.config.connectionURL, Tram.config.connectionParameters);
};
XMPPInterface.prototype.connect = function(node, pass) {
--- a/js/xmpp.js.map Thu Jun 28 22:45:21 2018 +0800
+++ b/js/xmpp.js.map Sat Jun 30 15:11:22 2018 +0800
@@ -6,5 +6,5 @@
"coffee/xmpp.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA;;EAAM,IAAI,CAAC;4BACT,IAAA,GAAM;;IAEO,uBAAA;;IAAA;;4BAEb,kBAAA,GAAoB,SAAA;MAClB,IAAG,iBAAH;QACE,OAAO,CAAC,KAAR,CAAc,qCAAd,EADF;;aAGA,IAAC,CAAA,IAAD,GAAQ,IAAI,OAAO,CAAC,UAAZ,CAAuB,UAAA,GAAY,IAAI,CAAC,MAAM,CAAC,IAAxB,GAA8B,YAArD;IAJU;;4BAMpB,OAAA,GAAS,SAAC,IAAD,EAAO,IAAP;AACP,UAAA;MAAA,IAAC,CAAA,kBAAD,CAAA;MAEA,GAAA,GAAU,IAAF,GAAQ,GAAR,GAAY,IAAI,CAAC,MAAM,CAAC;aAChC,IAAC,CAAA,IAAI,CAAC,OAAN,CAAc,GAAd,EAAmB,IAAnB,EAAyB,IAAC,CAAA,SAA1B;IAJO;;4BAMT,UAAA,GAAY,SAAC,MAAD;MACV,IAAO,iBAAP;AACE,eADF;;MAGA,IAAC,CAAA,IAAI,CAAC,UAAN,CAAiB,MAAjB;MACA,IAAC,CAAA,IAAD,GAAQ;IALE;;4BAQZ,iBAAA,GAAmB,SAAA;MACjB,IAAC,CAAA,kBAAD,CAAA;aAEA,IA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