Saúl Ibarra Corretgé
46ccefdfe9
feat(external_api): set permissions for cross-origin iframe
In Chrome M63 a warning is shown, permissions won't be automatically allowed
afterwards. Reference:
https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes
Setting this early makes us future proof, while working with current versions
too: Chrome < 63 gives an error because it doesn't understand the option and
Firefox seems to ignore it, so both continue to work as before.
пре 8 година
Lyubo Marinov
c2ae7999ef
Coding style
In certain scenarios we do need to import files instead of features but
even then it is our coding style to not write the file extension.
пре 8 година
Lyubo Marinov
15ab7a292c
Reduce the dependencies of the Web ExternalAPI
We broke external_api.min.js by importing react/features/util which
imported react/features/base/lib-jitsi-meet.
1. To reduce the risks of such a breakage until we add
external_api.min.js to the torture tests, import as little as
possible in modules/API/external/external_api.js.
2. Use the global JitsiMeetJS on Web in react/features/base/util.
пре 8 година
hristoterezov
1782030936
feat(alwaysontop): Toolbar.
пре 8 година
hristoterezov
da9e3fb63e
feat(external_api): Return external resources for the always on top.
пре 8 година
Lyubo Marinov
e542af28a2
[RN] Converge with Web's ExternalAPI a bit
Web's ExternalAPI accepts an object with properties as one of its
constructor arguments and from which it generated a URL. Mobile's
JitsiMeetView.loadURLObject is supposed to accept pretty much the same
object.
пре 8 година
hristoterezov
07a0e3d8ff
fix(iframe_api): Remove min height/width.
пре 8 година
hristoterezov
70122789e7
fix(iframe_api): Change the format of the arguments in the constructor
пре 8 година
hristoterezov
3736d6ca78
fix(iframe_api): Remove unnecessary div that wraps the iframe
пре 8 година
hristoterezov
07158e8071
style(iframe_api): Adds _ for every non public property
пре 8 година
hristoterezov
cc6fcfd982
feat(iframe_api): Getter for the iframe
пре 8 година
Saúl Ibarra Corretgé
3de6f1cd7f
feat(external_api): make sure the created iframe has no border
пре 8 година
Saúl Ibarra Corretgé
7b1639569e
feat(external_api): make height / width calculation more resilient
пре 8 година
hristoterezov
4d329b510f
ref: module.exports -> export for the ES6 modules
пре 8 година
hristoterezov
dfc94ff144
ref(iframe_API): Changing the format of the outgoing messages for API.js
пре 8 година
hristoterezov
b49c1c6ba2
fix(transport): Code style issues and enableLegacyFormat param bug
Improves naming.
Fixing typos.
enableLegacyFormat param was working like disableLegacyFormat.
Improves the structure of transport/index.js
пре 8 година
Lyubo Marinov
e9dc9c47a9
Coding style
For lack of a better word/phrase, I'm calling all changes coding style.
I'm targeting readability through naming and syntax.
пре 8 година
hristoterezov
3e055c1201
ref(external_api): To use transport module
пре 8 година
hristoterezov
55f5ceb85a
fix(external_api): JS error in removeListeners and simplifies dispose
пре 8 година
hristoterezov
0f42f18100
ref(iframe_api): ESLint support for API.js
пре 8 година
Lyubo Marinov
a9bdde193d
Approach consistent filmstrip naming
We seemed to be using the names "film strip" and "filmstrip" (and,
consequently, their source code-conscious forms such as film-strip,
FilmStrip, etc.) In order to comply with our coding style which requires
a consistent one name for a given abstraction, choose one name and
rename the uses of the other name.
Wikipedia has a definition of a "filmstrip", I couldn't find a "film
strip". I guess our abstraction can be seen as what's described there.
When I google "film strip", I get results about "filmstrip" at the top.
That's why I chose "filmstrip".
Certain uses of "film strip" such as interfaceConfig.filmStripOnly and
in the external API I left untouched in an attempt to preserve
compatibility.
I wasn't sure whether CSS was tangled in compatibility so I made a
choice and renamed there was well.
пре 8 година
hristoterezov
334eb5d423
feat(iframe_api): Add more ESLint rules
пре 8 година
hristoterezov
d416fd8c0f
ref(iframe_api): Use EventEmitter
пре 8 година
hristoterezov
78119df2db
ref(iframe_api): Use ES6
пре 8 година
hristoterezov
dbcd19418c
fix(iframe_api): Passing config params is not working
пре 8 година
hristoterezov
aeb301c8d5
feat(iframe_api): Add jwt token parameter
пре 8 година
Saúl Ibarra Corretgé
5849980092
external_api: fix jsdoc
пре 9 година
hristoterezov
207ac47aa7
fix(iframe_api): s/getNumberOfParticipant/getNumberOfParticipants
пре 9 година
hristoterezov
4a5a1cd5f4
fix(iframe_api): Remove enable/disable events
пре 9 година
hristoterezov
09d63d38ab
fix(iframe_api): prevents multiple execution of listeners per event
пре 9 година
hristoterezov
6bf0f9b2ec
feat(iframe_api): get number of participants
пре 9 година
hristoterezov
f7ce8d028d
feat(iframeAPI): implement avatar change commands
пре 9 година
paweldomas
b58f1cdd16
use logger instead of console
пре 9 година
hristoterezov
47d39ed5ca
feat(iframe_api): Implement readyToClose event and hangup command
пре 9 година
Lyubomir Marinov
a2b076985a
ESLint
Enable ESLint on jitsi-meet with the same configuration and the same
goals as in lib-jitsi-meet.
пре 9 година
hristoterezov
e46d45adea
Fixes issue #716
пре 9 година
hristoterezov
02f176c75a
Changes the implementation of the iframe API to use postis
пре 9 година