Commit Graph

63647 Commits

Author SHA1 Message Date
renovate[bot]
dddab6d54a Update sentry-javascript monorepo to v7.56.0 (#11147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 14:53:48 +00:00
renovate[bot]
bbd1ab0e27 Update tj-actions/changed-files action to v37 (#11150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-28 14:48:10 +00:00
renovate[bot]
4f1ce3c39a Update all non-major dependencies (#25588)
* Update all non-major dependencies

* Roll back typescript

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-28 14:35:27 +00:00
renovate[bot]
ff2f8692dd Update dependency @percy/cli to v1.26.1 (#11146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 14:22:23 +00:00
Michael Weimann
c0db739d81 Apply strictNullChecks to src/components/views/spaces/* (#10517)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-28 15:39:19 +01:00
Michael Telatynski
0299aef79d Conform more of the codebase to strictNullChecks & noImplicitAny (#25680) 2023-06-28 15:09:36 +01:00
Michael Telatynski
209f5bdf33 Consider the empty push rule actions array equiv to deprecated dont_notify (#11155)
* Consider the empty push rule actions array equiv to deprecated dont_notify

* Switch primary tests to empty actions, add test for dont_notify

* strict types
2023-06-28 14:07:02 +00:00
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]
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]
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]
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]
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
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
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]
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
Michael Telatynski
34d7b7d928 Revert "Update browser-actions/setup-chrome digest to 5dc4fd3 (#11136)" (#11138) 2023-06-26 14:19:08 +01:00
renovate[bot]
d077aff162 Update browser-actions/setup-chrome digest to 5dc4fd3 (#11136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-26 14:12:01 +01:00
renovate[bot]
f4f559b89c Update cypress-io/github-action digest to d69252d (#11137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 14:02:55 +01:00
dependabot[bot]
1e67eb2ca6 Bump semver from 7.5.1 to 7.5.2 (#25661)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 09:29:13 +01:00
Robin
130ea1853f Point develop.element.io to our Element Call + LiveKit experiment (#25660)
This reintroduces 278c494eb3, now that we've made that deployment work in widget mode once again.
2023-06-24 12:41:38 -04:00
Johannes Marbach
ab98268901 Fix caret jump when backspacing into empty line at beginning of editor (#11128)
Fixes: vector-im/element-web#22335
2023-06-23 15:24:05 +00:00
Richard van der Hoff
36c81f6416 VerificationPanel: avoid use of getStoredDevice (#11129)
* VerificationPanel: avoid use of `getStoredDevice`

This is deprecated and doesn't work with the rust-sdk.

* fix types
2023-06-23 12:38:06 +00:00