David Langley
c15014e7a8
Updated Copyright headers
2024-09-06 17:56:18 +01:00
Michael Telatynski
6fca680085
Refactor media auth redirects to not kick in if the user is not logged in ( #1817 )
2024-08-07 09:44:18 +01:00
Travis Ralston
8754fa5fa2
Support authenticated media downloads in Desktop too ( #1757 )
...
* Support authenticated media downloads in Desktop too
We can't use service workers for a variety of reasons/errors, so we instead intercept HTTP(S) requests from the renderer process. With a bit of help from the IPC channels, we're able to emulate what the Element Web ServiceWorker does.
The IPC channel is considered "safe" for transmitting sensitive details like the user access token: if we can't trust the IPC, we can't trust much of anything. This is unlike the `postMessage` API in a web browser where browser extensions may be listening: we don't have extensions in this environment.
* Remove unused import
* Appease the linter
2024-07-10 07:41:27 -06:00
Michael Telatynski
2018a51469
Conform to no-floating-promises ( #1725 )
2024-06-12 17:17:24 +01:00
Michael Telatynski
760099e226
Improve loading of JSON files to avoid implicit behaviours of Node require ( #1519 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-02-19 15:22:40 +00:00
renovate[bot]
3bfe26a1f8
Update dependency prettier to v3 ( #1405 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 18:12:16 +00:00
Michael Telatynski
86832a1793
Migrate translations to keys and switch to Localazy ( #1198 )
2023-09-05 17:09:47 +01:00
Zhaofeng Li
e51e248052
Don't intercept Ctrl + Cmd + Q on macOS ( #1174 )
2023-08-18 11:25:11 +01:00
Michael Telatynski
1234db90aa
Switch to hidden titleBar on macOS to integrate the app better ( #1101 )
2023-07-28 12:51:33 +01:00
Šimon Brandner
a21e5afb84
Switch to the new session
API for screen-sharing
...
See https://github.com/electron/electron/pull/30702 - this has the benefit of the js-sdk and LiveKit not having to add custom logic for Electron
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-14 12:09:12 +02:00
renovate[bot]
3d2006ca50
Update dependency electron to v25 ( #997 )
...
* Update dependency electron to v25
* Update dependency electron to v25
* Fix types
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-09 11:11:00 +00:00
Michael Telatynski
8235275d2c
Send Electron crashpad reports to Sentry from Nightly ( #579 )
...
* Send Electron crashpad reports to Sentry from Nightly
* Update electron-main.ts
* Increase timeout
* Fix preload injection breaking things
* Iterate
* Iterate
* Iterate
* iterate
2023-03-16 10:31:06 +00:00
Andy Balaam
0faac52dae
Format all files with prettier
2022-12-15 11:52:12 +00:00
renovate[bot]
f4bf425148
Update all non-major dependencies ( #468 )
...
* Update all non-major dependencies
* Iterate PR
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-01 07:20:55 +00:00
Michael Telatynski
031ee44571
Enable noImplicitAny and kill off request
( #457 )
...
* Enable noImplicitAny
* Switch from request to node-fetch
* Fix node-fetch via patch-package
* Add edge to handler
* Pin node-fetch to v2
2022-11-30 13:51:54 +00:00
Michael Telatynski
ac088dd394
Use brand variable in close confirmation message box ( #429 )
2022-10-18 12:43:30 +00:00
Michael Telatynski
389f6f4334
Split electron-main into smaller chunks ( #377 )
...
* Split electron-main into smaller chunks
* Affix @types/node version and upgrade electron-store
* Iterate PR
* tidy up
* Actually run the split out code
2022-07-01 20:17:40 +01:00
Michael Telatynski
840a69451b
Abstract electron settings properly to avoid boilerplate-hell ( #375 )
2022-06-10 22:38:48 +01:00
Michael Telatynski
e50e04c507
Improve typing ( #364 )
...
* Improve typing
* Make sonar happier
2022-05-23 15:44:29 +01:00
James Salter
f766cd0dca
Add log line to denote disabling hardware acceleration
2022-05-20 13:37:58 +01:00
James Salter
bf62a92b50
Read and write config option disableHardwareAcceleration
2022-05-20 13:26:16 +01:00
Šimon Brandner
634c5c66a6
Switch to IPC channel for getDesktopCapturerSources
( #320 )
2022-02-11 10:38:19 +00:00
Šimon Brandner
3599a015d7
Enable webgl ( #284 )
2021-12-10 14:55:35 +00:00
Michael Telatynski
b662846bf1
Only set badgeCount on Mac/Linux because Windows is made of fail
2021-10-11 09:13:30 +01:00
David Baker
b498885b2d
Merge pull request #264 from vector-im/dbkr/yarnupgrade_20210914
...
yarn upgrade
2021-09-15 18:52:10 +01:00
David Baker
db86a3f726
yarn upgrade
...
Remove `enableRemoteModule` which has now been removed from the types
(the default was false and has been for som time, we were passing
false anyway).
2021-09-15 18:27:50 +01:00
Yureka
96e5389779
Only set enable-features
if the user hasn't
2021-09-06 16:18:16 +02:00
Šimon Brandner
96203a882c
Enable Pipewire support
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-18 08:34:06 +02:00
Michael Telatynski
984a98b9df
Fix issue with Squirrel.Windows install/update handler not firing properly
2021-07-27 11:47:44 +01:00
Michael Telatynski
f4be51959b
disable require lint rule in couple more places
2021-07-01 09:24:02 +01:00
Michael Telatynski
397bc66522
fix ts linting and delint the world
2021-07-01 09:22:57 +01:00
Michael Telatynski
53e7100033
Initial Typescripting for Element Desktop
2021-06-25 14:35:58 +01:00