Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
8 år sedan
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
8 år sedan
Lyubo Marinov
1068233eac
[eslint] prefer-rest-params
8 år sedan
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
8 år sedan
hristoterezov
8a14f1e7bc
fix(eslint): Add no-extra-bind rule
8 år sedan
Lyubo Marinov
5bff0ed543
[eslint] no-var
8 år sedan
Lyubo Marinov
ed0d464392
[eslint] quotes
8 år sedan
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
8 år sedan
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
8 år sedan
hristoterezov
3e44723582
fix(eslint): Add indent rule
8 år sedan
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
8 år sedan
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
8 år sedan
Lyubo Marinov
596767d57e
[eslint] object-shorthand
8 år sedan
Lyubo Marinov
4d2a24ba87
[eslint] prefer-spread
8 år sedan
hristoterezov
3f43e1e4e5
feat(caps): Implement XEP-0115
9 år sedan
hristoterezov
feaf502fa4
ref(connection): Remove unused property
9 år sedan
hristoterezov
5b656903ac
feat(analytics): Add support for permanent properties and new parameters format
9 år sedan
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 år sedan
paweldomas
69211035ba
feat(stats): log CallStats event for XMPP disconnected
9 år sedan
hristoterezov
9781a0d63c
ref(module/xmpp): ES6 for modules/xmpp/xmpp.js and it's related files
9 år sedan
Lyubomir Marinov
f40b8957f4
ES6 for JitsiConnectionErrors
9 år sedan
Lyubomir Marinov
27840ba13a
ES6 for JitsiConnectionEvents
9 år sedan
damencho
a94fab12f1
Adds optional label to analytics handler.
9 år sedan
damencho
fa733cb2f6
Removes reload code.
9 år sedan
hristoterezov
b2d1ed5d0d
Logs the reason for the reload
9 år sedan
damencho
1b1ff464d5
Adds missing require.
9 år sedan
damencho
234f3384e1
Moves loading of analytics in the library.
9 år sedan
damencho
c9d0c17264
Adds a comment.
9 år sedan
damencho
62906b62f7
Introduces analytics interface to report events.
Adds events for various disconnects, failures and reloads.
9 år sedan
hristoterezov
b1e4c8debe
Fixes issues after review PR #166
9 år sedan
hristoterezov
5d1ac53aa8
Changes reload methods to private
9 år sedan
hristoterezov
6ca2c62090
Reloads JitsiConnection on prosody or jicofo restart
9 år sedan
hristoterezov
0449071f89
Implements JitsiConnection.reload. Minor fixes related to JitsiConference.reload.
9 år sedan
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 år sedan
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 år sedan
hristoterezov
3c94755413
Renames performanceTimes to ConnectionTimes
9 år sedan
hristoterezov
6b267bbb5e
Stores measured times and exposes them
9 år sedan
hristoterezov
de851ca50e
Implements attach method in JitsiConnection. Fixes token auth.
9 år sedan
Lyubomir Marinov
21d5049076
Allows testing how synchronous and asynchronous Strophe affects the reliability of the delivery of unavailable presence to the XMPP server.
10 år sedan
hristoterezov
dd1bcb0414
Changes the recording to report the status via event instead of Promise. Fixes JS errors
10 år sedan
paweldomas
83b50e54b0
Adopts to new JWT impl where the token goes as BOSH URL param.
10 år sedan
hristoterezov
b981c12dd8
Fixes JS error on unload
10 år sedan
Boris Grozev
f507ba00cf
Simplifies code.
10 år sedan
paweldomas
458680b7bd
Adds tokens.md.
10 år sedan
paweldomas
91cf734e8f
Adds support for token authentication.
10 år sedan
hristoterezov
e9cf303fa6
Fixes join and leave methods. Adds communication with jicofo. Implements custom commands methods.
10 år sedan
hristoterezov
e17e31c274
Adds partial support for multiple chat rooms. Implements join and leave methods.
10 år sedan
hristoterezov
24975595b7
Implements JitsiConnection
10 år sedan