Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
8 gadus atpakaļ
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
8 gadus atpakaļ
Lyubo Marinov
1068233eac
[eslint] prefer-rest-params
8 gadus atpakaļ
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
8 gadus atpakaļ
hristoterezov
8a14f1e7bc
fix(eslint): Add no-extra-bind rule
8 gadus atpakaļ
Lyubo Marinov
5bff0ed543
[eslint] no-var
8 gadus atpakaļ
Lyubo Marinov
ed0d464392
[eslint] quotes
8 gadus atpakaļ
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
8 gadus atpakaļ
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
8 gadus atpakaļ
hristoterezov
3e44723582
fix(eslint): Add indent rule
8 gadus atpakaļ
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
8 gadus atpakaļ
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
8 gadus atpakaļ
Lyubo Marinov
596767d57e
[eslint] object-shorthand
8 gadus atpakaļ
Lyubo Marinov
4d2a24ba87
[eslint] prefer-spread
8 gadus atpakaļ
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
8 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.
8 gadus atpakaļ
paweldomas
69211035ba
feat(stats): log CallStats event for XMPP disconnected
8 gadus atpakaļ
hristoterezov
9781a0d63c
ref(module/xmpp): ES6 for modules/xmpp/xmpp.js and it's related files
8 gadus atpakaļ
Lyubomir Marinov
f40b8957f4
ES6 for JitsiConnectionErrors
8 gadus atpakaļ
Lyubomir Marinov
27840ba13a
ES6 for JitsiConnectionEvents
8 gadus atpakaļ
damencho
a94fab12f1
Adds optional label to analytics handler.
8 gadus atpakaļ
damencho
fa733cb2f6
Removes reload code.
8 gadus atpakaļ
hristoterezov
b2d1ed5d0d
Logs the reason for the reload
8 gadus atpakaļ
damencho
1b1ff464d5
Adds missing require.
8 gadus atpakaļ
damencho
234f3384e1
Moves loading of analytics in the library.
8 gadus atpakaļ
damencho
c9d0c17264
Adds a comment.
8 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
9 gadus atpakaļ
Boris Grozev
f507ba00cf
Simplifies code.
9 gadus atpakaļ
paweldomas
458680b7bd
Adds tokens.md.
9 gadus atpakaļ
paweldomas
91cf734e8f
Adds support for token authentication.
9 gadus atpakaļ
hristoterezov
e9cf303fa6
Fixes join and leave methods. Adds communication with jicofo. Implements custom commands methods.
9 gadus atpakaļ
hristoterezov
e17e31c274
Adds partial support for multiple chat rooms. Implements join and leave methods.
9 gadus atpakaļ
hristoterezov
24975595b7
Implements JitsiConnection
9 gadus atpakaļ