hristoterezov
3f43e1e4e5
feat(caps): Implement XEP-0115
8 gadus atpakaļ
hristoterezov
feaf502fa4
ref(connection): Remove unused property
8 gadus atpakaļ
hristoterezov
5b656903ac
feat(analytics): Add support for permanent properties and new parameters format
9 gadus atpakaļ
Lyubomir Marinov
90ee7e8a54
ESLint
Our JSHint configuration is not extensive and we have excluded multiple
files from linting. Additionally, we have seen JSHint to be unable to
parse newer ECMAScript features such as the object spread operator
(proposal).
On the other hand, we have seen ESLint to beautifully work on React and
React Native source code in addition to ES2015 and later. Introduce
ESLint alongside JSHint as an intermediate step to eventually switching
from JSHint to ESLint.
As our source code does not fully follow even the JSHint rules we have,
it is very difficult to introduce ESLint with many rules. At the
beginning, introduce it with as little rules as possible. Morever,
ESLint is able to automatically fix certain rule offenders so once we
have ESLint merged we can incrementally add new rules while keeping our
commits' modification on as little subjects as possible.
9 gadus atpakaļ
paweldomas
69211035ba
feat(stats): log CallStats event for XMPP disconnected
9 gadus atpakaļ
hristoterezov
9781a0d63c
ref(module/xmpp): ES6 for modules/xmpp/xmpp.js and it's related files
9 gadus atpakaļ
Lyubomir Marinov
f40b8957f4
ES6 for JitsiConnectionErrors
9 gadus atpakaļ
Lyubomir Marinov
27840ba13a
ES6 for JitsiConnectionEvents
9 gadus atpakaļ
damencho
a94fab12f1
Adds optional label to analytics handler.
9 gadus atpakaļ
damencho
fa733cb2f6
Removes reload code.
9 gadus atpakaļ
hristoterezov
b2d1ed5d0d
Logs the reason for the reload
9 gadus atpakaļ
damencho
1b1ff464d5
Adds missing require.
9 gadus atpakaļ
damencho
234f3384e1
Moves loading of analytics in the library.
9 gadus atpakaļ
damencho
c9d0c17264
Adds a comment.
9 gadus atpakaļ
damencho
62906b62f7
Introduces analytics interface to report events.
Adds events for various disconnects, failures and reloads.
9 gadus atpakaļ
hristoterezov
b1e4c8debe
Fixes issues after review PR #166
9 gadus atpakaļ
hristoterezov
5d1ac53aa8
Changes reload methods to private
9 gadus atpakaļ
hristoterezov
6ca2c62090
Reloads JitsiConnection on prosody or jicofo restart
9 gadus atpakaļ
hristoterezov
0449071f89
Implements JitsiConnection.reload. Minor fixes related to JitsiConference.reload.
9 gadus atpakaļ
damencho
9153024377
Refactor callstats removing improve static calls to Statistics.
You can call static Statistics methods which will internally handle callstats instances to send stats. Drops handlers and JitsiMeetJS references.
9 gadus atpakaļ
Lyubomir Marinov
2605abe2a3
Don't rely on JitsiMeetJS being global
While we have JitsiMeetJS defined as a global variable in Jitsi Meet, it
doesn't sound like an absolutely necessary and beautiful requirement
inside the library itself.
9 gadus atpakaļ
hristoterezov
3c94755413
Renames performanceTimes to ConnectionTimes
9 gadus atpakaļ
hristoterezov
6b267bbb5e
Stores measured times and exposes them
9 gadus atpakaļ
hristoterezov
de851ca50e
Implements attach method in JitsiConnection. Fixes token auth.
9 gadus atpakaļ
Lyubomir Marinov
21d5049076
Allows testing how synchronous and asynchronous Strophe affects the reliability of the delivery of unavailable presence to the XMPP server.
9 gadus atpakaļ
hristoterezov
dd1bcb0414
Changes the recording to report the status via event instead of Promise. Fixes JS errors
9 gadus atpakaļ
paweldomas
83b50e54b0
Adopts to new JWT impl where the token goes as BOSH URL param.
9 gadus atpakaļ
hristoterezov
b981c12dd8
Fixes JS error on unload
10 gadus atpakaļ
Boris Grozev
f507ba00cf
Simplifies code.
10 gadus atpakaļ
paweldomas
458680b7bd
Adds tokens.md.
10 gadus atpakaļ
paweldomas
91cf734e8f
Adds support for token authentication.
10 gadus atpakaļ
hristoterezov
e9cf303fa6
Fixes join and leave methods. Adds communication with jicofo. Implements custom commands methods.
10 gadus atpakaļ
hristoterezov
e17e31c274
Adds partial support for multiple chat rooms. Implements join and leave methods.
10 gadus atpakaļ
hristoterezov
24975595b7
Implements JitsiConnection
10 gadus atpakaļ