element-web/test
Kerry 7b3d0ad209
OIDC: Log in ()
* add delegatedauthentication to validated server config

* dynamic client registration functions

* test OP registration functions

* add stubbed nativeOidc flow setup in Login

* cover more error cases in Login

* tidy

* test dynamic client registration in Login

* comment oidc_static_clients

* register oidc inside Login.getFlows

* strict fixes

* remove unused code

* and imports

* comments

* comments 2

* util functions to get static client id

* check static client ids in login flow

* remove dead code

* OidcRegistrationClientMetadata type

* navigate to oidc authorize url

* exchange code for token

* navigate to oidc authorize url

* navigate to oidc authorize url

* test

* adjust for js-sdk code

* login with oidc native flow: messy version

* tidy

* update test for response_mode query

* tidy up some TODOs

* use new types

* add identityServerUrl to stored params

* unit test completeOidcLogin

* test tokenlogin

* strict

* whitespace

* tidy

* unit test oidc login flow in MatrixChat

* strict

* tidy

* extract success/failure handlers from token login function

* typo

* use for no homeserver error dialog too

* reuse post-token login functions, test

* shuffle testing utils around

* shuffle testing utils around

* i18n

* tidy

* Update src/Lifecycle.ts

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

* tidy

* comment

* update tests for id token validation

* move try again responsibility

* prettier

* use more future proof config for static clients

* test util for oidcclientconfigs

* rename type and lint

* correct oidc test util

* store issuer and clientId pre auth navigation

* adjust for js-sdk changes

* update for js-sdk userstate, tidy

* update MatrixChat tests

* update tests

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-07-11 04:09:18 +00:00
..
@types Use server side relations for voice broadcasts () 2022-11-07 14:19:49 +00:00
__snapshots__ Allow creating knock rooms () 2023-07-10 08:01:03 +00:00
accessibility Add ESLint Jest () 2023-03-01 16:23:35 +01:00
actions/handlers Move session manager out of beta () 2023-05-26 01:58:28 +00:00
audio Offload some more waveform processing onto a worker () 2023-04-27 11:02:20 +01:00
autocomplete Add MatrixClientPeg::safeGet and use it in tests () 2023-06-05 18:12:23 +01:00
components OIDC: Log in () 2023-07-11 04:09:18 +00:00
contexts Add UserProfilesStore, LruCache and cache for user permalink profiles () 2023-03-27 10:07:43 +02:00
dispatcher Remove flux dependency () 2023-03-08 14:19:05 +00:00
editor Handle newlines in user pills () 2023-07-05 22:00:27 +00:00
events Add ESLint Jest () 2023-03-01 16:23:35 +01:00
hooks Implement new model, hooks and reconcilation code for new GYU notification settings () 2023-06-17 00:17:51 +00:00
i18n
i18n-test Add ESLint Jest () 2023-03-01 16:23:35 +01:00
images Add support for Animated (A)PNG () 2022-03-28 09:38:54 +01:00
img
models GYU: Account Notification Settings () 2023-06-29 15:46:31 +00:00
modules Fixes user authentication when registering via the module API () 2023-03-07 16:24:44 +01:00
notifications Apply prettier formatting 2022-12-12 12:24:14 +01:00
settings Compound Typography pass () 2023-06-29 10:30:25 +00:00
setup Fix some features not being configurable via features () 2023-03-03 13:31:51 +00:00
stores Autoapprove Element Call oidc requests () 2023-07-10 15:06:58 +00:00
test-utils OIDC: update to oidc-client-ts functions from js-sdk () 2023-07-10 00:57:16 +00:00
toasts Add MatrixClientPeg::safeGet and use it in tests () 2023-06-05 18:12:23 +01:00
utils OIDC: Log in () 2023-07-11 04:09:18 +00:00
voice-broadcast Prefer MatrixClientContext over MatrixClientPeg () 2023-06-14 13:42:07 +01:00
widgets Add config to skip widget_build_url for DM rooms () 2023-06-06 14:07:51 +00:00
Avatar-test.ts Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
ContentMessages-test.ts Implement MSC3952: intentional mentions () 2023-03-23 11:47:40 +00:00
createRoom-test.ts Add .well-known config option to force disable encryption on room creation () 2023-06-21 21:50:01 +00:00
DecryptionFailureTracker-test.js Add ESLint Jest () 2023-03-01 16:23:35 +01:00
DeviceListener-test.ts Pass around MatrixClients instead of using MatrixClientPeg () 2023-06-01 14:43:24 +01:00
email-test.ts Factor out basic email check () 2023-02-28 10:39:35 +01:00
globalSetup.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
HtmlUtils-test.tsx Use grapheme-splitter instead of lodash for saving emoji from being ripped apart () 2023-05-25 08:32:20 +00:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
languageHandler-test.ts Make existing and new issue URLs configurable () 2023-04-26 09:36:00 +00:00
LegacyCallHandler-test.ts Add MatrixClientPeg::safeGet and use it in tests () 2023-06-05 18:12:23 +01:00
linkify-matrix-test.ts Update linkify to 4.1.1 () 2023-06-27 11:23:37 +00:00
Markdown-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
MatrixClientPeg-test.ts Add MatrixClientPeg::safeGet and use it in tests () 2023-06-05 18:12:23 +01:00
MediaDeviceHandler-test.ts Add MatrixClientPeg::safeGet and use it in tests () 2023-06-05 18:12:23 +01:00
Notifier-test.ts Fix spurious notifications on non-live events () 2023-06-27 09:39:55 +00:00
PosthogAnalytics-test.ts Make existing and new issue URLs configurable () 2023-04-26 09:36:00 +00:00
predictableRandom.ts GYU: Account Notification Settings () 2023-06-29 15:46:31 +00:00
PreferredRoomVersions-test.ts Allow creating knock rooms () 2023-07-10 08:01:03 +00:00
Reply-test.ts add fallback reply for poll start () 2023-03-16 21:27:56 +00:00
RoomNotifs-test.ts Consider the empty push rule actions array equiv to deprecated dont_notify () 2023-06-28 14:07:02 +00:00
Rooms-test.ts Pass around MatrixClients instead of using MatrixClientPeg () 2023-06-01 14:43:24 +01:00
ScalarAuthClient-test.ts Add ESLint Jest () 2023-03-01 16:23:35 +01:00
SdkConfig-test.ts Make existing and new issue URLs configurable () 2023-04-26 09:36:00 +00:00
setupTests.js Kill off enzyme in preference of react testing library () 2023-03-06 15:17:46 +00:00
SlashCommands-test.tsx Refactor SlashCommands to not use MatrixClientPeg () 2023-05-25 16:29:48 +01:00
SlidingSyncManager-test.ts Fix jest/no-conditional-expect lint and enable it () 2023-03-07 13:58:10 +00:00
slowReporter.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
Terms-test.tsx Pass around MatrixClients instead of using MatrixClientPeg () 2023-06-01 14:43:24 +01:00
TestSdkContext.ts Add voice broadcast playback pip () 2022-11-24 09:08:41 +01:00
TextForEvent-test.ts Allow creating knock rooms () 2023-07-10 08:01:03 +00:00
theme-test.ts Apply strictNullChecks to src/components/views/spaces/* () 2023-06-28 15:39:19 +01:00
Unread-test.ts Use MatrixClientPeg::safeGet for strict typing () 2023-06-21 17:29:44 +01:00
UserActivity-test.ts Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
useTopic-test.tsx Add MatrixClientPeg::safeGet and use it in tests () 2023-06-05 18:12:23 +01:00
WorkerManager-test.ts Offload some more waveform processing onto a worker () 2023-04-27 11:02:20 +01:00