Commit Graph

899 Commits (develop)

Author SHA1 Message Date
Travis Ralston bcd5c838e8
Typescriptify & use service worker for MSC3916 authentication (#27326)
* Typescriptify & use service worker for MSC3916 authentication

* appease the linter

* appease jest

* appease linter

* Get the access token directly

* Add a bit of jitter

* Improve legibility, use factored-out functions for pickling

* Add docs

* Appease the linter

* Document risks of postMessage

* Split service worker post message handling out to function

* Move registration to async function

* Use more early returns

* Thanks(?), WebStorm

* Handle case of no access token for /versions

* Appease linter

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Remove spurious try/catch

* Factor out fetch config stuff

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Finish applying code review suggestions

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-05-14 13:17:38 -06: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 282d71730b
Gather validated OIDC config during autodiscovery (#27047) 2024-02-23 16:43:07 +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
Timo K 8ab44c98b2 maintain behavior for non video rooms
Signed-off-by: Timo K <toger5@hotmail.de>
2024-01-23 14:13:01 +01:00
Timo K feab5057bd review
Signed-off-by: Timo K <toger5@hotmail.de>
2024-01-19 14:36:25 +01:00
Timo K 872b7f5110 update comment
Signed-off-by: Timo K <toger5@hotmail.de>
2024-01-16 20:16:44 +01:00
Timo K 03cf7ca698 Use jitsi-lobby in video channel
Signed-off-by: Timo K <toger5@hotmail.de>
2024-01-16 16:03:45 +01:00
Michael Telatynski 03a624f788
Fix CSS stacking context order determinism
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-09 12:44:44 +00:00
David Langley 2b09f81f60
Merge branch 'develop' into langleyd/rename_org_in_docs 2024-01-03 10:26:34 +00:00
renovate[bot] 188aac111b
Update dependency prettier to v3 (#26815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 17:53:39 +00:00
Michael Telatynski 0d86bab0dc
Iterate landmarks around the app in order to improve a11y (#26776) 2023-12-20 15:32:23 +00:00
David Langley 855bb568b9 rename the GH org in links within documentation 2023-12-20 12:21:26 +00:00
Johannes Marbach 98c27c8bd4 Merge branch 'johannes/webpack-cli-4.10.0' into johannes/webpack-5 2023-10-24 13:49:35 +02:00
Dominik Henneke 0040181489
Correctly fill window.matrixChat even when a Wrapper module is active (#26395)
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-10-18 21:13:30 -04:00
Johannes Marbach 2984c3bdfb Remove . since path is already relative 2023-09-30 21:50:52 +02:00
Johannes Marbach af3659a90e Update to webpack 5 2023-09-23 21:34:56 +02:00
Michael Telatynski c525b633bd
Migrate translations to keys and switch to Localazy (#26106) 2023-09-05 17:17:25 +01:00
Richard van der Hoff 00803950bf
Move the unhomoglyph data to its own file (#26095)
This solves problems wherein the javascript debugger would get confused and
show the execution point two lines away from the source.
2023-09-01 15:37:09 +01:00
maheichyk 3fd6b62254
Add support for rendering a custom wrapper around Element (#25537)
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-08-30 07:52:41 +01:00
Michael Telatynski 469d11ffcb
Guard translation methods with typescript to protect against invalid usage (#26021) 2023-08-22 16:32:03 +01:00
Michael Telatynski 017fbb3793
Remove redundant `makeRegistrationUrl` prop (#25953) 2023-08-15 16:18:55 +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 5a701c418f
Update logging ignore list comment (#25769) 2023-07-11 23:39:16 +01:00
Kerry ef30662c04
store fragmentafterlogin in sesison storage for oidc login (#25688) 2023-07-11 02:19:15 +00:00
夜坂雅 93c17104f1
Allow default_server_config as a fallback config (#25682) 2023-07-10 09:56:24 +01:00
Michael Telatynski 0299aef79d
Conform more of the codebase to strictNullChecks & noImplicitAny (#25680) 2023-06-28 15:09:36 +01:00
Kerry 6bbc2b8238
remove auth params from url after login attempt (#25664) 2023-06-27 23:27:45 +00:00
Michael Telatynski 2b31b8d9d8
Fix error when generating error for polling for updates (#25609) 2023-06-15 13:25:04 +01:00
Dominik Henneke 71800ba28c
Redirect to the SSO page if `sso_redirect_options.on_welcome_page` is enabled and the URL hash is empty (#25495) 2023-06-01 11:56:30 +01:00
许煜恒 6b7f71f973
vector/index.html: Allow fetching blob urls (#25336) 2023-05-25 09:40:50 +01:00
Michael Telatynski d7a98fe392
Handle trailing dot FQDNs for domain-specific config.json files (#25351) 2023-05-12 13:46:49 +01:00
Michael Weimann b25a7ef505
Add error notification audio (#25312) 2023-05-10 08:02:55 +02:00
Michael Telatynski 9e6467c684
Improve quality of Typescripting (#25232) 2023-05-05 09:08:36 +01:00
Michael Telatynski afab95288e
Improve Content-Security-Policy (#25210) 2023-04-26 14:49:35 +01:00
Michael Telatynski 3eddc939ce
s/unset/reset/ 2023-04-26 11:12:57 +01: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
Janne Mareike Koschinski 89054a50ac
Replace newTranslatableError with UserFriendlyError (#25002)
* Apply user-friendly-error changes to element-web as well
* Update i18n library
2023-03-31 12:41:15 +02:00
emrah 2575322360
Use a newly generated access_token while joining Jitsi (#24646)
Fixes: #24687
Signed-off-by: Emrah Eryilmaz emrah.com@gmail.com
2023-03-22 14:05:10 +00: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