Commit graph

98 commits

Author SHA1 Message Date
Travis Ralston
8e03b273ae Add Electron IPC APIs for authenticated media 2024-07-04 11:58:32 -06:00
Michael Telatynski
a0eb94704e
Conform to no-floating-promises (#27561) 2024-06-12 17:17:29 +01:00
Michael Telatynski
706f4c6e20
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/oidc-config 2024-05-13 17:49:02 +01:00
Michael Telatynski
64f0bb5460
Inline consts
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-05-13 13:05:50 +01:00
Michael Telatynski
58e5b3959d
Allow explicit configuration of OIDC dynamic registration metadata
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-05-10 13:13:59 +01:00
Michael Telatynski
9efa04da7a
Split out oidc callback url into its own method
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-05-10 11:58:58 +01:00
Michael Telatynski
b82100ede8
Fix element-desktop-ssoid being included in OIDC Authorization call
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-05-03 12:47:40 +01:00
Stephan Raab
2cad731f23
Added comment 2024-04-09 20:32:11 +02:00
Stephan Raab
1cf08423ad
ElectronPlatform.tsx aktualisieren
Co-authored-by: Robin <robin@robin.town>
2024-04-09 20:05:03 +02:00
Stephan Raab
2f72796ae7 Fix share cancel button in element-desktop 2024-04-08 22:17:24 +02:00
Michael Telatynski
16f197eda8
Improve Element Desktop OIDC Native dynamic registration
To strip the element-desktop-ssoid param from the redirectUri

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-01 13:24:44 +00:00
Michael Telatynski
aa5024adae
Fix Native OIDC for Element Desktop by including ssoid in the url_state of the /auth call
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-15 17:36:27 +00:00
Michael Telatynski
c19737b387
Improve client metadata used for OIDC dynamic registration
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-15 17:03:19 +00:00
David Langley
855bb568b9 rename the GH org in links within documentation 2023-12-20 12:21:26 +00:00
Michael Telatynski
c525b633bd
Migrate translations to keys and switch to Localazy (#26106) 2023-09-05 17:17:25 +01:00
Michael Telatynski
469d11ffcb
Guard translation methods with typescript to protect against invalid usage (#26021) 2023-08-22 16:32:03 +01:00
Šimon Brandner
93e6ee11ab
Switch to the new session API for screen-sharing (#25802) 2023-07-14 22:05:23 +02:00
Michael Telatynski
f5b8bccb65
Conform more of the codebase with noImplicitAny and strictNullChecks (#25174
* Conform more of the codebase with `noImplicitAny` and `strictNullChecks`

* Fix tests

* Update src/vector/app.tsx
2023-04-25 09:36:17 +01:00
Michael Telatynski
b9b0b096a4
Allow desktop app to expose recent rooms in UI integrations (#16940) 2023-03-22 09:22:51 +00:00
Michael Telatynski
77e7bad4f1
Clear electron data when logging out (#24827) 2023-03-15 15:53:02 +00:00
Michael Weimann
7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Michael Weimann
cbf5c43ae7
Update to eslint-plugin-matrix-org 0.8 (#23825)
* Update to eslint-plugin-matrix-org 0.8

* Exclude some eslint rules for specs

* Fix eslint tests path
2022-11-23 16:24:36 +00:00
Kerry
0e8e472138
Device manager - tweak string formatting of default device name (#23457)
* tweak string formatting of default device name

* cheaters path to beating quality gate

* more electronplatform test coverage

* remove test that throw errors

* cover some more window.electrons

* more coverage

* empty line
2022-10-12 15:35:52 +02:00
Michael Telatynski
822e262a93
Revert "Update ElectronPlatform.tsx (#22976)" (#23030)
This reverts commit 6d3c49d866.
2022-08-09 15:39:47 +01:00
Michael Telatynski
6d3c49d866
Update ElectronPlatform.tsx (#22976) 2022-08-02 16:11:59 +01:00
Šimon Brandner
1e445a75a9
Add support for disabling spell check (#22220)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-28 10:19:33 +02:00
Robin
796aeff168
Hide screenshare button in video rooms on Desktop (#22810)
* Hide screenshare button in video rooms on Desktop

* Splice the screensharing button into the array
2022-07-12 08:23:53 -04:00
Johannes Marbach
688dbc6cba
Enable URL tooltips on hover for Element Desktop (#22286)
* Enable URL tooltips for Element Desktop

Closes: #6532
Signed-off-by: Johannes Marbach <johannesm@element.io>

* Fix access level

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Add explicit access level where it exists in base class

* Appease the linker

Co-authored-by: Travis Ralston <travpc@gmail.com>
2022-07-06 12:40:22 -06:00
Michael Telatynski
6c37574857
Remove all mentions of Piwik (#22556)
* Remove all mentions of Piwik

* Simplify ModalManager interface

* Maintain privacy_policy_url
2022-06-14 16:14:09 +01:00
Michael Telatynski
2c0965c240
Abstract electron settings properly to avoid boilerplate-hell (#22491)
* Remove unused method `BasePlatform::screenCaptureErrorString`

* Extract SeshatIndexManager into its own file

* Improve platform typescripting

* Consolidate IPC call promisification into IPCManager

* Abstract electron settings properly to avoid boilerplate-hell

* i18n

* Iterate PR
2022-06-10 22:38:46 +01:00
James Salter
11a3011cbd
Option to disable hardware acceleration on Element Desktop (#22295)
Override ElectronPlatform to support disableHardwareAcceleration
2022-05-23 11:50:10 +01:00
Travis Ralston
1384783a77
Update SdkConfig usage to use new translation layer + update config.md docs (#21429)
* Update SdkConfig usage to use new translation layer

* Appease the linter

* WIP refactor of config documentation

* Finish re-writing config.md

* Update surrounding documentation

* Apply suggestions from code review

Co-authored-by: Germain <germains@element.io>

* Textual updates

Co-authored-by: Germain <germains@element.io>
2022-03-18 10:12:44 -06:00
Šimon Brandner
491999281f
Add allowOverridingNativeContextMenus() (#17777) 2022-03-03 10:39:42 +00:00
Šimon Brandner
3810b7e329
Keybinding code unification #3 (#21132) 2022-02-23 09:12:06 +00:00
Šimon Brandner
c275ef6b49
Fix command key missing in keyboard shortcuts tab (#21102) 2022-02-16 15:29:52 +00:00
Šimon Brandner
42416021ad
Switch to IPC channel for getDesktopCapturerSources (#21042) 2022-02-11 10:38:35 +00:00
Šimon Brandner
03e776d9c4
Improve the look of the keyboard settings tab (#20595)
* First cut of new keyboard shortcuts

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* i18n

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-24 11:33:37 +00:00
Michael Telatynski
211f480027
Abstract electron download path behind an opaque ID (#20271) 2021-12-21 15:34:57 +00:00
Germain
23b21c940c
Open thread on native notification click (#20176) 2021-12-15 08:34:54 +00:00
Michael Telatynski
883d8cecaa
Improve platform types (#20027) 2021-12-03 11:03:01 +00:00
Dariusz Niemczyk
85a81af1da Replace console.warn with logger.warn
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
dc9f77a509 Replace console.log with logger.log
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
db01bfc0fd Replace console.error with logger.error
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
515a8d2097 Fix wrong type call for window.location.reload 2021-10-19 10:14:31 +02:00
Michael Telatynski
1aa2efd2ce
Merge pull request #18490 from vector-im/t3chguy/fix/18088 2021-09-16 10:16:23 +01:00
Michael Telatynski
5a561b674f Fix space keyboard shortcuts conflicting with native zoom shortcuts 2021-09-14 16:02:15 +01:00
Michael Telatynski
55338701ea Delabs Spaces, keeping it as a default-on preference for the time being 2021-08-11 14:52:43 +01:00
Michael Telatynski
1cffed2336 Dismiss electron download toast when clicking Open 2021-07-27 15:04:55 +01:00
Michael Telatynski
e136afe2eb Conform to new typescript eslint rules 2021-07-19 22:47:32 +01:00
Michael Telatynski
43695fbc58
Merge branch 'develop' into fix/space-shortcut-local/17776 2021-07-15 13:53:06 +01:00