aboutsummaryrefslogtreecommitdiff
path: root/main.js
AgeCommit message (Collapse)Author
2024-01-03fix(main): filter out frame-ancestors if exists in Content-Security-Policyemrah
2023-11-11chore(deps) update electron to 27.0.3 (#921)Christoph Settgast
Contains electron 26 and 27 updates, for details see https://www.electronjs.org/blog/electron-26-0 https://www.electronjs.org/blog/electron-27-0 Contains a fix for Linux that lead to crashes when the graphics drivers changed https://github.com/electron/electron/pull/40467 Mainly this should help with further bugfixes in webrtc as the contained Chromium is implicitly upgraded from 114 to 118. In wayland / pipewire terms we have only minor additions, eg: WaylandWindowDecorations by default: https://github.com/electron/electron/pull/39582 which means we can remove the enable flag we had on this in main.js as its now default.
2023-05-26fix(main) fix path matchingv2023.5.3Saúl Ibarra Corretgé
Use Node's helper to transform a file URL into a path, which works across platforms. Fixes: https://github.com/jitsi/jitsi-meet-electron/issues/870
2023-05-26fix(main) fix path check if it contains spaces (#871)Saúl Ibarra Corretgé
They will be percent encoded and the check will fail. Fixes: https://github.com/jitsi/jitsi-meet-electron/issues/870
2023-05-25fix(main) fixed onBeforeSendHeaders API usageSaúl Ibarra Corretgé
The callback needs to be called with an object, not a boolean...
2023-05-22fix(full-screen) don't restore full-screen stateSaúl Ibarra Corretgé
Fixes: https://github.com/jitsi/jitsi-meet-electron/issues/471
2023-05-22fix(main) block opening any external applicationsSaúl Ibarra Corretgé
2023-05-09fix(main) filter redirect protocolsSaúl Ibarra Corretgé
2023-05-09fix(main) clear cache on startup when in dev modeSaúl Ibarra Corretgé
2023-03-07fix(main) filter URLs that can be openedSaúl Ibarra Corretgé
2023-03-07feat(reload) refactor opening external linksSaúl Ibarra Corretgé
Use IPC to send a message to the main process instead of opening them from the renderer process.
2022-12-11fix: popups for Google & Dropbox (#816)Christoph Settgast
broken likely since 542c7f089a241487a0c7bc7905e21db93c5bb13b (#787)
2022-10-14feat: support Jitsi instances that set x-frame-options and frame-ancestors ↵Christoph Settgast
CSP (#798) While in browser environments the headers are sensible, the only purpose of the electron app is load jitsi in the iframe api. This also is how the mobile apps behave (they also ignore the framing headers) Fixes: #285
2022-10-06fix(screensharing) add DesktopCaptureMacV2 to disabled-featuresAvram Tudor
This fixes the AoT and screensharing tracker from being captured based on https://github.com/electron/electron/issues/19880
2022-09-24chore(deps) update electron to 20.2.0 (#790)Christoph Settgast
Contains Chromium 102 -> 104 update and security updates of chromium since. For details see https://www.electronjs.org/blog/electron-20-0 @jitsi/electron-sdk still requires node, so disable the sandbox on renderer This is a newly changed default with electron 20: https://www.electronjs.org/blog#default-changed-renderers-without-nodeintegration-true-are-sandboxed-by-default
2022-08-24chore: update jitsi-electron-sdk to 3.0.18Avram Tudor
2022-08-12feat(wayland): enable titlebar when running under wayland (#766)Christoph Settgast
Use with --ozone-platform-hint=auto to enable Closes: #683
2022-06-26chore(deps): update electron to 19.0.6 (#760)Christoph Settgast
Contains Chromium 98 -> 102 update, for high level overview see https://www.electronjs.org/blog/electron-18-0 https://www.electronjs.org/blog/electron-19-0 Plan B support is now removed as well, as chromium 102 no longer offers it: https://chromestatus.com/feature/5823036655665152 Signed-off-by: Christoph Settgast <csett86@web.de>
2022-03-28chore: use require instead of global process (#741)Christoph Settgast
2022-03-04chore: nativeWindowOpen is default true and will be removed with electron18 ↵Christoph Settgast
(#723) nativeWindowOpen is default since Electron 15, and the parameter will be removed with Electron 18, thus prep for this. See https://github.com/electron/electron/blob/main/docs/breaking-changes.md#removed-nativewindowopen
2022-02-15chore(electron-bump) Update to electron 17.0.1hmuresan
- allow plan-b until we switch to unified plan
2021-12-29cleanup: insertable streams and wasm SIMD are on by default (#693)Christoph Settgast
insertable streams since M86 according to https://chromestatus.com/feature/6321945865879552 wasm SIMD since M91 according to https://chromestatus.com/feature/6533147810332672 remote module is no longer used/present, thus remove that noop enable as well
2021-12-11cleanup: remove unused mac electron/universal workaround (#688)csett86
Since d383521 the binaries are universal itself, so app.asar is no longer split by electron/universal. Thus remove the now unnecessary workaround.
2021-12-01refactor: Remove electron-store to be ready for electron 14+ (#668)csett86
Release this ~3 months after 2.9.0 was released (21 Sep 2021) so that users had 3 months to migrate to local storage Signed-off-by: Christoph Settgast <csett86@web.de>
2021-11-11refactor: follow rename of jitsi-meet-electron-utils to @jitsi/electron-sdk ↵csett86
(#662)
2021-11-08feat: as robotjs is context-aware, allow reuse of render processes (#660)csett86
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-11-06Update jitsi-meet-electron-utils to electron 14+ compatible version (#655)csett86
Replaced all remote module usages Updated robotjs to context-aware fork Updated node-gyp on windows to get it compiling again
2021-09-20Switch to local storage and migrate old settings (#638)csett86
This is a preparation for electron 14+, where electron-store is no longer in a usable state (currently used version does not work due to remote module removed in electron 14, latest version extends every app startup to 10 seconds). Once sufficient migration period has passed, electron-store and redux-persist-electron-storage and the ipc call introduced here (electron-store-exists) can be removed.
2021-09-07fix: only set `enable-features` if the user hasn'tYuka
2021-07-31Enable WebAssemblyCSP flag so wasm-eval CSP can be used instead of requiring ↵csett86
unsafe-eval (#617)
2021-05-12feat(linux): enable PipeWire support for screensharingChristoph Settgast
This is required on wayland based desktops like Fedora 34 or Ubuntu 21.04. Closes: #567
2021-04-14Enable field trial to enable Opus REDSaúl Ibarra Corretgé
2021-03-15Enhancements to make it more Mac App Store (mas) compatibleChristoph Settgast
- disable the autoupdater if running as mas (was not working anyway, just logging an error on every start) - replace check via app.requestSingleInstanceLock() with LSMultipleInstancesProhibited in Info.plist due to https://github.com/electron/electron/issues/15958 - Quit the app also when all windows are closed to conform to macOS Human Interface Guidelines Comments from review: If the application is a single-window app, it might be appropriate to save data and quit the app when the main window is closed. - "asarUnpack": "**/*.node" to also sign the native addons when packaging - add the required mas-specific entitlements which include the app-sandbox key Signed-off-by: Christoph Settgast <csett86@web.de>
2021-03-15Switch mac build to universal buildChristoph Settgast
Apple's documentation suggests that apps should be shipped as universal binaries to simplify the process for the users. See eg. https://developer.apple.com/documentation/apple-silicon/porting-your-macos-apps-to-apple-silicon Also update electron-updater to latest version (matching electron-builder version) as part of this. Signed-off-by: Christoph Settgast <csett86@web.de>
2021-03-05Prevent AoT and SS-tracker windows from being capturedSaúl Ibarra Corretgé
In electron utils 2.0.15 we mark them as protected content, but on macOS WebRTC uses a low level API which sidesteps that. An extra command line argument is passed to fix that. See: https://github.com/electron/electron/issues/19880
2021-03-03Re-enable GPU accelerationSaúl Ibarra Corretgé
It broke screen-sharing, but was fixed in Chrome 88.
2021-03-03Update Electron to version 12.0.0Saúl Ibarra Corretgé
2021-02-23Open WebRTC internals when in dev modeSaúl Ibarra Corretgé
2021-02-23Enable WASM SIMDSaúl Ibarra Corretgé
2020-12-04Update app iconSaúl Ibarra Corretgé
2020-12-04fix: Disable hw acceleration across all platforms.Jaya Allamsetty
Fixes https://github.com/jitsi/jitsi-meet-electron/issues/458.
2020-12-02fix: Disable hardware acceleration on Windows, it causes screenshare to flickerJaya Allamsetty
2020-10-28Revert "Revert "Remove no longer needed workaround""Saúl Ibarra Corretgé
This reverts commit fde36ff5deecc93be3148c7184fbb966db960e2a.
2020-10-16Fix scren-sharing with latest macOS updateSaúl Ibarra Corretgé
2020-10-01Revert "Remove no longer needed workaround"Saúl Ibarra Corretgé
This reverts commit b2a349a718dcd6ddf5abb0b897345226fd98981d.
2020-09-10Enable just insertable streams instead of all experimental featuresSaúl Ibarra Corretgé
2020-09-10Remove no longer needed workaroundSaúl Ibarra Corretgé
The bug has since been fixed in Chromium.
2020-09-10Update Electron to version 10Saúl Ibarra Corretgé
2020-07-03Fix join via protocol link on Linux (#413)chref
Perform command-line protocol argument handling on all platforms, not only win32. This allows the client to join a meeting passed on the command-line even if it is no instance of the client already running.
2020-06-30Share logic for opening external linksSaúl Ibarra Corretgé