element-web/src
Richard van der Hoff 50ee43c4a5
Enable cypress tests for shields with rust crypto (#11589)
* Use new crypto-api for cross user verification

* update verification flow with new APIs

* Replace some calls to `checkUserTrust`

A start on https://github.com/vector-im/crypto-internal/issues/147

* Enable cypress tests

* update tests

* Delegate decisions on event shields to the js-sdk

* rerender after editing events

This is required because a transition from "valid event" to "unencrypted event"
no longer triggers a state change, so the component does not render
itself. Previously, this would be a transition from `verified:
E2EState.Normal` to `verified: null`.

* Update tests

* prettier

* Test coverage

* Enable cypress tests for shields with rust crypto

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2023-09-18 21:34:24 +00:00
..
@types Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
accessibility Migrate more strings to translation keys (#11601) 2023-09-13 09:30:56 +01:00
actions Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
async-components/views/dialogs Migrate more strings to translation keys (#11599) 2023-09-12 08:36:06 +01:00
audio Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
autocomplete Migrate more strings to translation keys (#11498) 2023-08-31 11:22:10 +01:00
components Enable cypress tests for shields with rust crypto (#11589) 2023-09-18 21:34:24 +00:00
contexts Use knock rooms sync to reflect the knock state (#11596) 2023-09-11 16:33:40 +00:00
customisations Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
dispatcher Polish & delabs Exploring public spaces feature (#11423) 2023-08-21 09:39:20 +00:00
editor Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
effects Migrate more strings to translation keys (#11579) 2023-09-08 09:58:31 +01:00
emojipicker Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
events Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
hooks Migrate more strings to translation keys (#11512) 2023-09-04 10:20:34 +01:00
i18n/strings Replace event verification logic with new code in js-sdk (#11528) 2023-09-18 17:12:18 +00:00
indexing Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
integrations Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
mjolnir Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
models Support for embedded E2EE (#11492) 2023-08-30 17:30:29 +00:00
modules Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
notifications Migrate more strings to translation keys (#11522) 2023-09-04 19:41:39 +01:00
performance Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
rageshake Migrate more strings to translation keys (#11532) 2023-09-05 17:52:06 +01:00
resizer Enable strictFunctionTypes (#11201) 2023-07-07 13:37:26 +01:00
settings Merge branch 'develop' into germain-gg/notifications-labs 2023-09-15 16:28:59 +05:30
slash-commands Migrate more strings to translation keys (#11532) 2023-09-05 17:52:06 +01:00
stores Merge pull request #11495 from matrix-org/germain-gg/fix-right-panel-member 2023-09-15 11:37:26 +01:00
toasts Migrate more strings to translation keys (#11574) 2023-09-07 10:37:09 +01:00
usercontent Apply prettier formatting 2022-12-12 12:24:14 +01:00
utils ElementR: Cross user verification (#11364) 2023-09-18 17:34:00 +01:00
voice-broadcast Change avatar to use Compound implementation (#11448) 2023-08-24 03:48:35 +00:00
widgets Migrate more strings to translation keys (#11606) 2023-09-14 18:47:29 +01:00
workers Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
AddThreepid.ts Migrate more strings to translation keys (#11599) 2023-09-12 08:36:06 +01:00
AsyncWrapper.tsx Create more action_* common strings (#11438) 2023-08-23 11:57:22 +01:00
Avatar.ts Fixes read receipt avatar offset (#11483) 2023-08-30 11:47:35 +00:00
BasePlatform.ts Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
BlurhashEncoder.ts Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
boundThreepids.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
call-types.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
ContentMessages.ts Create more common_* common strings (#11439) 2023-08-23 10:25:33 +01:00
createRoom.ts Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
DateUtils.ts Port more strings to translation keys (#11474) 2023-08-31 07:35:34 +00:00
DecryptionFailureTracker.ts Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
DeviceListener.ts ElementR: Cross user verification (#11364) 2023-09-18 17:34:00 +01:00
Editing.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
email.ts Factor out basic email check (#10244) 2023-02-28 10:39:35 +01:00
HtmlUtils.tsx Consume @matrix-org/emojibase-bindings (#11433) 2023-08-21 20:06:40 +01:00
IConfigOptions.ts use more future proof config for static clients (#11175) 2023-07-04 23:10:03 +00:00
identifiers.ts
IdentityAuthClient.tsx Create more action_* common strings (#11438) 2023-08-23 11:57:22 +01:00
ImageUtils.ts Conform more of the codebase to strictNullChecks (#10573) 2023-04-13 08:52:57 +01:00
index.ts
KeyBindingsDefaults.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
KeyBindingsManager.ts Conform more code to strictNullChecks (#10374) 2023-03-16 11:07:29 +00:00
Keyboard.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
languageHandler.tsx Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
LegacyCallHandler.tsx Migrate more strings to translation keys (#11532) 2023-09-05 17:52:06 +01:00
Lifecycle.ts Lock out the first tab if Element is opened in a second tab. (#11425) 2023-08-24 08:28:43 +00:00
linkify-matrix.ts Fix clicking MXID in timeline going to matrix.to (#11263) 2023-07-14 10:55:55 +00:00
Livestream.ts Pass around MatrixClients instead of using MatrixClientPeg (#10984) 2023-06-01 14:43:24 +01:00
Login.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
Markdown.ts Treat lists with a single empty item as plain text, not Markdown. (#6833) 2023-08-17 16:37:19 +00:00
MatrixClientPeg.ts Create more action_* common strings (#11438) 2023-08-23 11:57:22 +01:00
MediaDeviceHandler.ts Use MatrixClientPeg::safeGet for strict typing (#10989) 2023-06-21 17:29:44 +01:00
Modal.tsx Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
NodeAnimator.tsx Conform more of the codebase to strict types (#11162) 2023-06-29 12:17:05 +01:00
Notifier.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
PageTypes.ts
PasswordReset.ts Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
phonenumber.ts Get country names from the browser instead of manual i18n (#11428) 2023-08-22 16:15:16 +00:00
PlatformPeg.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
PosthogAnalytics.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
PosthogTrackers.ts Lock out the first tab if Element is opened in a second tab. (#11425) 2023-08-24 08:28:43 +00:00
Presence.ts Mark more logs as debug to tidy the console (#11349) 2023-08-07 08:41:39 +00:00
Registration.tsx Create more action_* common strings (#11438) 2023-08-23 11:57:22 +01:00
Resend.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
Roles.ts Migrate more strings to translation keys (#11498) 2023-08-31 11:22:10 +01:00
RoomAliasCache.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
RoomInvite.tsx Change avatar to use Compound implementation (#11448) 2023-08-24 03:48:35 +00:00
RoomNotifs.ts Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
Rooms.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
ScalarAuthClient.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
ScalarMessaging.ts Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
SdkConfig.ts Allow specifying help URLs in config.json (#11070) 2023-06-14 07:45:19 +00:00
Searching.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
SecurityManager.ts Create more action_* common strings (#11438) 2023-08-23 11:57:22 +01:00
SendHistoryManager.ts Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
sendTimePerformanceMetrics.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
sentry.ts Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
shouldHideEvent.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
SlashCommands.tsx Migrate more strings to translation keys (#11601) 2023-09-13 09:30:56 +01:00
SlidingSyncManager.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
Terms.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
TextForEvent.tsx Migrate more strings to translation keys (#11579) 2023-09-08 09:58:31 +01:00
theme.ts Create more common_* common strings (#11439) 2023-08-23 10:25:33 +01:00
Typeguards.ts RTE plain text mentions as pills (#10852) 2023-05-16 11:54:16 +00:00
Unread.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
UserActivity.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
UserAddress.ts
verification.ts Switch to importing models/{event-timeline{,set},user,device,event-status} from main js-sdk export (#11368) 2023-08-08 07:16:04 +00:00
Views.ts Lock out the first tab if Element is opened in a second tab. (#11425) 2023-08-24 08:28:43 +00:00
VoipUserMapper.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
WhoIsTyping.ts Migrate more strings to translation keys (#11530) 2023-09-05 10:44:41 +01:00
WorkerManager.ts Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00