Commit Graph

379 Commits

Author SHA1 Message Date
Sakii
c8f45ca6b5 Remove unnecessary translation string 2024-09-11 21:02:27 +02:00
Sakii
2176750586 Remove context item and replace with setting 2024-09-10 21:59:50 +02:00
Sakii
410f653eae Add monochrome tray icon toggle 2024-09-10 21:59:32 +02:00
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
Michael Telatynski
13a0d0d3e2 Make sonarcloud happier (#1810) 2024-07-31 15:08:06 +01:00
Michael Telatynski
9fb6e02c73 Remove glob workaround (#1760) 2024-07-10 17:41:54 +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
Alex Meridian
c49f7e6b21 enable flashFrame usage on linux (#1683)
Signed-off-by: Alex Meridian <alex@meridian.family>
2024-05-20 10:06:12 +01:00
Misty De Méo
c89872f2dc fix: correctly focus window from notification (#1665)
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2024-05-13 18:20:11 +01:00
Michael Telatynski
6c98dbed0e Add support for io.element.desktop scheme for OIDC (#1662) 2024-05-13 11:25:13 +01:00
t3chguy
99c8a498ff [create-pull-request] automated change 2024-04-17 06:04:50 +00:00
Michael Telatynski
3c8bbb5b1a Re-enable msi perMachine builds (#1587) 2024-04-15 17:33:30 +01:00
Stephan Raab
778b39b9bd Bugfix: Failed to save image (#1608)
Signed-off-by: Stephan Raab <raab.stephan@googlemail.com>
2024-04-15 13:39:43 +01:00
t3chguy
91499bff9d [create-pull-request] automated change 2024-03-22 06:05:11 +00:00
Michael Telatynski
1366a553b2 Fix i18n json file paths (#1527) 2024-02-20 11:36:49 +00:00
Michael Telatynski
4851a32e23 Fix Native OIDC for Element Desktop (#1510) 2024-02-19 15:51:47 +00: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
Michael Telatynski
07fe7ac647 Fix development issue on Windows (#1466) 2024-01-30 14:02:16 +00:00
t3chguy
891611078f [create-pull-request] automated change 2024-01-22 06:05:42 +00:00
Michael Telatynski
efde228da6 Add knip unused code & dependency analyser (#1441) 2024-01-18 10:10:51 +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
t3chguy
13c5d378e4 [create-pull-request] automated change 2023-12-13 06:05:18 +00:00
t3chguy
d148e0dda2 [create-pull-request] automated change 2023-11-29 06:05:11 +00:00
t3chguy
0ad43a64f5 [create-pull-request] automated change 2023-11-17 06:05:17 +00:00
Michael Telatynski
e330d0c3e7 Fix edge cases around macos draggability (#1291) 2023-10-25 10:10:52 +01:00
ElementRobot
71738c3dfc [create-pull-request] automated change (#1281)
Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
2023-10-17 15:05:22 +01:00
Michael Telatynski
da9d9e1730 Allow overwriting app.element.io when popping out widgets (#1277) 2023-10-16 14:20:58 +01:00
Germain
507fd77b21 Implement macos title bar negative space (#1272) 2023-10-12 15:14:21 +01:00
Michael Telatynski
f45f83f0f5 Improve edge cases around macOS drag handles (#1219)
* Allow dragging macOS window by area around mx_UserMenu

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix context menus overlapping drag regions being unclickable

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix captcha overlapping drag region being unclickable

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Expand drag handle on top left user menu surround

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-14 08:55:11 +01:00
t3chguy
889e7cfa0c [create-pull-request] automated change 2023-09-08 09:08:41 +00:00
Michael Telatynski
a99b30f839 Consolidate de.json into de_DE.json
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-08 09:40:47 +01:00
Michael Telatynski
383377493c Localazy Download 2023-09-06 18:08:25 +01:00
Michael Telatynski
86832a1793 Migrate translations to keys and switch to Localazy (#1198) 2023-09-05 17:09:47 +01:00
Johannes Marbach
bae8b58c17 Merge branch 'develop' into germain-gg/room-header-no-drag-zone 2023-09-05 11:36:39 +02:00
Element Translate Bot
2deacf6d41 Translations update from Weblate (#1196)
Co-authored-by: phardyle <bradney_ccea@aleeas.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2023-09-01 12:26:37 +01:00
Germain
d929da6869 Updated no drag zones 2023-08-31 21:14:38 +01:00
Zhaofeng Li
e51e248052 Don't intercept Ctrl + Cmd + Q on macOS (#1174) 2023-08-18 11:25:11 +01:00
Michael Telatynski
d718f008e7 Switch to nested object pluralisation format for i18n files (#1172) 2023-08-17 09:37:56 +01:00
Michael Telatynski
0da5ec88d6 Improve selectors for macos app draggable regions (#1170)
Disable background drag handles when modals are open as they interfere through the modal body
2023-08-17 05:20:58 +01:00
Element Translate Bot
cdd16c9cbd Translations update from Weblate (#1151)
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
2023-08-08 14:47:55 +01:00
Michael Telatynski
e2f7393ad5 Prevent the media lightbox sender info clipping with traffic light on macos (#1141) 2023-08-03 14:38:00 +01:00
Germain
07523ecfdd Restore macOs room header dragability (#1136) 2023-08-02 07:05:13 +00:00
Michael Telatynski
1debdbeb47 Fix ability to interact with room topic in header (#1126) 2023-07-31 10:33:38 +02:00
Michael Telatynski
ef170eb94e Fix macos titlebar dragging not blocking the right panel (#1120) 2023-07-29 06:47:10 +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
Element Translate Bot
4517225540 Translations update from Weblate (#1109)
Co-authored-by: James Choi <tienipia@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Srebrni <kiborg@novko.si>
Co-authored-by: iaiz <git@iapellaniz.com>
Co-authored-by: Edgars Andersons <Edgars+Element-translations@gaitenis.id.lv>
2023-07-27 08:53:27 +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
Michael Telatynski
9ddd26b2a3 Fix Tray icon in Windows forgetting your settings (#1059) 2023-07-11 17:00:24 +01:00