Lyubo Marinov
de61af8b2d
[eslint] require-jsdoc
8 jaren geleden
Lyubo Marinov
66b62080e8
[eslint] max-params
8 jaren geleden
Lyubo Marinov
c88c4f9124
[eslint] camelcase
8 jaren geleden
Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
8 jaren geleden
Lyubo Marinov
0da7f6b98f
[eslint] no-negated-condition
8 jaren geleden
hristoterezov
fa971c81b5
fix(eslint): Add no-empty-function rule
8 jaren geleden
Lyubo Marinov
ed0d464392
[eslint] quotes
8 jaren geleden
paweldomas
14f4acc772
doc(JingleSessionPC): indentation
9 jaren geleden
paweldomas
48a8d0b591
style(JingleSession): remove extra space
9 jaren geleden
paweldomas
7ec99f8622
doc(JingleSession): mark doInitialize as protected
9 jaren geleden
paweldomas
e2b0c4fc7b
ref(JingleSession): use template string
9 jaren geleden
paweldomas
d7eab87424
doc(JingleSession): remove misleading comment
9 jaren geleden
paweldomas
2d8dfbcd2a
ref(JingleSession): rename 'me' to 'localJid'
9 jaren geleden
paweldomas
cb9e5674a0
ref(JingleSession): reorder arguments
9 jaren geleden
paweldomas
86553336d9
style(JingleSession): organize imports
9 jaren geleden
paweldomas
5e2f924857
ref(JingleSession): convert to ES6 syntax
9 jaren geleden
paweldomas
98df9a5f29
ref(XMPPEvents): move some PC related events to RTC
Moves part of the XMPP events which are clearly
related to the PeerConnection to RTCEvents.
9 jaren geleden
paweldomas
4ef8af9f3d
ref(JingleSession): remove 'service' dependency
9 jaren geleden
paweldomas
c330e8c2a9
ref(JingleSession): remove unused 'eventEmitter' constructor arg
9 jaren geleden
paweldomas
3ee1080ad9
ref(Jingle): Jingle session state + terminate cleanup
Introduce JingleSessionState constants. Make the invalid JingleSession
rejection an explicit action taken by the JitsiConference.
9 jaren geleden
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 jaren geleden
hristoterezov
9781a0d63c
ref(module/xmpp): ES6 for modules/xmpp/xmpp.js and it's related files
9 jaren geleden
Lyubomir Marinov
2c8c5a1028
Remove duplications of error messages
9 jaren geleden
hristoterezov
dd3e1bc4a9
Calls the global error handler on every logger.error
9 jaren geleden
paweldomas
d9182a41c4
Removes unused scenarios from JingleSessionPC, accepts incoming session only from Jicofo user, cleanups terminate code
9 jaren geleden
paweldomas
9aed1bf90a
Moves 'active' method to JingleSession
9 jaren geleden
hristoterezov
e1cc5e5aac
Changes the logger from console to jitsi-meet-logger
10 jaren geleden
hristoterezov
2328443ecb
Refactors RTC module to support multiple conferences. Implements JitsiTrack interfaces.
10 jaren geleden
Boris Grozev
72d4ecb607
initial commit
10 jaren geleden