Commit Graph

69869 Commits

Author SHA1 Message Date
Michael Telatynski 6836a5fa7b Conform more code to strictNullChecks and noImplicitAny (#11156) 2023-06-28 14:05:36 +01:00
Richard van der Hoff 46eb34a55d Kill off references to deprecated getStoredDevice and getStoredDevicesForUser (#11152)
* Use new `CryptoEvent.VerificationRequestReceived` event

https://github.com/matrix-org/matrix-js-sdk/pull/3514 deprecates
`CryptoEvent.VerificationRequest` in favour of
`CryptoEvent.VerificationRequestReceived`. Use the new event.

* Factor out `getDeviceCryptoInfo` function

I seem to be writing this logic several times, so let's factor it out.

* Factor out `getUserDeviceIds` function

Another utility function

* VerificationRequestToast: `getStoredDevice` -> `getDeviceCryptoInfo`

* SlashCommands: `getStoredDevice` -> `getDeviceCryptoInfo`

* MemberTile: `getStoredDevicesForUser` -> `getUserDeviceIds`

* Remove redundant mock of `getStoredDevicesForUser`
2023-06-28 12:39:34 +00:00
Richard van der Hoff 0a3a111327 Use new CryptoEvent.VerificationRequestReceived event (#11141)
https://github.com/matrix-org/matrix-js-sdk/pull/3514 deprecates
`CryptoEvent.VerificationRequest` in favour of
`CryptoEvent.VerificationRequestReceived`. Use the new event.
2023-06-28 10:11:18 +00:00
Michael Telatynski 3ac9066e46 Only trap escape key for cancel reply if there is a reply (#11140)
fall through (to clear read marker) otherwise

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-28 10:10:45 +00:00
Michael Telatynski d404e0656a Conform more of the codebase to strictNullChecks (#11135) 2023-06-28 11:02:15 +01:00
Kerry a87362a048 Unit test token login flow in MatrixChat (#11143)
* test tokenlogin

* whitespace

* tidy

* strict
2023-06-27 23:45:11 +00:00
Kerry 6bbc2b8238 remove auth params from url after login attempt (#25664) 2023-06-27 23:27:45 +00:00
Kerry 9704c9fc13 test server switch in cypress login test (#11130) 2023-06-27 22:20:43 +00:00
renovate[bot] 196243854b Update all non-major dependencies (#1016)
* Update all non-major dependencies

* Remove wrap-ansi-cjs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-27 17:17:37 +00:00
renovate[bot] 51baaf6667 Update peter-evans/dockerhub-description digest to dc67fad (#25671)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 18:12:11 +01:00
Michael Telatynski e1cad41bc3 Conform more of the codebase to strictNullChecks (#11134) 2023-06-27 17:39:56 +01:00
renovate[bot] e254b82ba9 Update dependency app-builder-lib to v24.5.0 (#1034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-27 14:29:37 +01:00
renovate[bot] d6cbe706f7 Update dependency @electron/notarize to v2 (#1035)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 13:03:45 +00:00
renovate[bot] 4697612103 Update dependency @types/node to v16.18.37 (#1033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 13:00:38 +00:00
renovate[bot] 3fdfc84c81 Update typescript-eslint monorepo to v5.60.0 (#1015)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-27 12:58:25 +00:00
renovate[bot] cd3a88eb0d Update docker/setup-qemu-action digest to 2b82ce8 (#25587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-27 12:32:40 +00:00
renovate[bot] 3d886de5b0 Update typescript-eslint monorepo to v5.60.0 (#11148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:15:21 +00:00
renovate[bot] 9be30a892f Update docker/login-action digest to 465a078 (#25584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:40:08 +00:00
renovate[bot] e9edaddda2 Update tj-actions/changed-files digest to 54479c3 (#1012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:35:59 +00:00
renovate[bot] 8a0a102edd Update docker/metadata-action digest to ef25336 (#1011)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:27:24 +01:00
renovate[bot] ae2076d2f7 Update docker/build-push-action digest to 2eb1c19 (#1009)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:27:16 +01:00
renovate[bot] 8b481fdef2 Update docker/setup-buildx-action digest to ecf9528 (#25586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:26:21 +01:00
Johannes Marbach bde51ae524 Update linkify to 4.1.1 (#11132)
* Update linkify to 4.1.1

Fixes: vector-im/element-web#23806

* Empty commit to nudge CI

* Remove obsolete `any` types

* Allow hyphens in domainpart

* Improve test name
2023-06-27 11:23:37 +00:00
renovate[bot] 0fc4fb470c Update babel monorepo to v7.22.5 (#1013)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:22:07 +01:00
renovate[bot] f35bbf0173 Update typescript-eslint monorepo to v5.60.0 (#25591)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:21:31 +01:00
renovate[bot] 6113541b5f Update dependency @types/jest to v29.5.2 (#25589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:21:12 +01:00
renovate[bot] 4ab85cb569 Update dependency @types/node to v16.18.35 (#25590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:21:01 +01:00
ElementRobot 207408704a v1.11.35-rc.1 2023-06-27 12:16:41 +01:00
ElementRobot 4212f7f28a Prepare changelog for v1.11.35-rc.1 2023-06-27 12:16:41 +01:00
ElementRobot 30bff44cf9 v1.11.35-rc.1 v1.11.35-rc.1 2023-06-27 12:12:54 +01:00
ElementRobot b64cf2e51c Prepare changelog for v1.11.35-rc.1 2023-06-27 12:12:53 +01:00
ElementRobot 9c8027d03c Upgrade matrix-js-sdk to 26.2.0-rc.1 2023-06-27 12:11:19 +01:00
ElementRobot a0ca53554f Upgrade matrix-react-sdk to 3.75.0-rc.1 2023-06-27 12:10:43 +01:00
ElementRobot 509cf255eb v3.75.0-rc.1 2023-06-27 12:03:58 +01:00
ElementRobot 69924e8242 Prepare changelog for v3.75.0-rc.1 2023-06-27 12:03:57 +01:00
ElementRobot a724c3da3e Upgrade matrix-js-sdk to 26.2.0-rc.1 2023-06-27 12:02:39 +01:00
Element Translate Bot 727ed6f94e Translations update from Weblate (#25669)
Co-authored-by: AcidAntOnAMinefield <nuno.martins@catraxx.org>
Co-authored-by: Tmpod <tom@tmpod.dev>
Co-authored-by: rofyobilte <rofyobilte@gufum.com>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Makkkkus <nygardboi@protonmail.com>
Co-authored-by: Nils Haugen <nils@gaupne.net>
2023-06-27 10:43:59 +01:00
Element Translate Bot 75f4829505 Translations update from Weblate (#1031)
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Makkkkus <nygardboi@protonmail.com>
Co-authored-by: raspin0 <marcinekk13@interia.pl>
2023-06-27 10:43:32 +01:00
Kerry 79a7b9aedc Don't setup keys on login when encryption is force disabled (#11125)
* move shouldForceDisableEncryption to /crypto

* dont setup encryption when encryption is force disabled

* shuffle testing functions

* test post login security setup flows

* remove debug

* lint fixes

* strict fixes

* strict fixes p2

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-27 09:42:31 +00:00
Michael Telatynski 5cf818fefa Fix spurious notifications on non-live events (#11133)
* Fix notifier not discriminating removed and backpaginated events

* Ignore events on the thread list generated timelines

* Add test

* tsc strict
2023-06-27 09:39:55 +00:00
Element Translate Bot f73fc496e2 Translations update from Weblate (#11145)
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: Arusekk <arek_koz@o2.pl>
Co-authored-by: zufyiguspe <zufyiguspe@gufum.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Makkkkus <nygardboi@protonmail.com>
Co-authored-by: danntee <1044273440@qq.com>
2023-06-27 10:57:43 +01:00
Johannes Marbach 22077c5433 Prevent auto-translation within composer (#11114)
Fixes: vector-im/element-web#25624
2023-06-27 08:48:32 +00:00
Kerry 83ee1946ea skip broken analytics tests (#11144) 2023-06-27 08:47:49 +00:00
许煜恒 b98289c660 Remove (almost) all <audio> tags
Not sure what `remoteAudio` does, seems only used in tests,
so I left it there.
2023-06-27 12:33:04 +08:00
Kerry e4bf321e65 document io.element.e2ee.force_disable (#25662) 2023-06-27 03:34:58 +00:00
Michael Telatynski 0d83a38a3e Fix cypress tests (#11142)
* Test

* Iterate

* Try headed mode

* Switch Cypress to headed mode
2023-06-26 21:56:04 +01:00
许煜恒 85dbaaa5ff Merge branch 'develop' of github.com:vector-im/element-web into superkenvery/webaudioapi 2023-06-26 23:10:51 +08:00
renovate[bot] e5da625947 Update dependency @types/node to v16.18.36 (#1014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 15:34:59 +01:00
renovate[bot] 6ec0c27764 Update dependency playwright to v1.35.1 (#1017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 15:34:30 +01:00
renovate[bot] bdbae36f5e Update docker/metadata-action digest to 818d4b7 (#25585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 15:32:46 +01:00