Commit Graph

63111 Commits

Author SHA1 Message Date
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
Kerry
358c37ad69 OIDC: attempt dynamic client registration (#11074)
* 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

* use registerClient from js-sdk

* use OidcError from js-sdk
2023-06-22 20:59:03 +00:00
Kerry
0eda8c17d5 Unit test post-login security setup flows in MatrixChat (#11126)
* shuffle testing functions

* test post login security setup flows

* remove debug

* strict fixes

* strict fixes p2
2023-06-22 20:57:16 +00:00
Michael Telatynski
d935da2844 Fix server picker not allowing you to switch from custom to default (#11127) 2023-06-22 13:48:15 +00:00
renovate[bot]
33eb055f24 Update docker/build-push-action digest to 2eb1c19 (#25583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 15:41:00 +02:00
renovate[bot]
0b77c060ea Update emojibase monorepo to v15 (#11085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 13:40:20 +00:00
Michael Telatynski
7b3a4e556a Conform more of the codebase to strictNullChecks (#11100) 2023-06-22 14:39:36 +01:00
Timo
0b6e028ade Revert "Point develop.element.io to our Element Call + LiveKit experiment" (#25651) 2023-06-22 11:25:51 +00:00
Kerry
328db8fdfd OIDC: Check static client registration and add login flow (#11088)
* util functions to get static client id

* check static client ids in login flow

* remove dead code

* add trailing slash

* comment error enum

* spacing

* PR tidying

* more comments

* add ValidatedDelegatedAuthConfig type

* Update src/Login.ts

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

* Update src/Login.ts

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

* Update src/utils/ValidatedServerConfig.ts

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

* rename oidc_static_clients to oidc_static_client_ids

* comment

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-22 10:15:44 +00:00
Richard van der Hoff
35f8c525aa Cypress test for incoming verification requests (#11123)
* Cypress: move verification tests to their own file

* Remove redundant cypress test

This does nothing that the verification test doesn't do better.

* Factor `beginKeyVerification` call out of `doTwoWaySasVerification`

... for more flexibility. This allows us to have tests where the other side
picks the verification method.

* Cypress test for incoming verification requests
2023-06-22 09:43:49 +00:00
Kerry
9f580a8680 Disable encryption toggle in room settings when force disabled (#11122)
* force disable encryption on room creation

* test allowChangingEncryption

* move into utils/room directory

* tests

* unit test CreateRoomDialog

* remove debug

* wait for constructor promises to settle

* test case for force_disable

* comment

* set forced value after resolving checkUserIsAllowedToChangeEncryption

* tidy and comments

* use label text in test

* disable encryption switch in room settings when force disabled
2023-06-21 23:17:30 +00:00
Kerry
a692fe2181 Add .well-known config option to force disable encryption on room creation (#11120)
* force disable encryption on room creation

* test allowChangingEncryption

* move into utils/room directory

* tests

* unit test CreateRoomDialog

* remove debug

* wait for constructor promises to settle

* test case for force_disable

* comment

* set forced value after resolving checkUserIsAllowedToChangeEncryption

* tidy and comments

* use label text in test
2023-06-21 21:50:01 +00:00
Johannes Marbach
9d9c55d92e Handle permalinks in room topic (#11115)
* Handle permalinks in room topic

Fixes: vector-im/element-web#23395

* Add test for clicking non-link
2023-06-21 18:09:22 +00:00
Laurence Gill
86be392f44 Remove the ACAO header which is added by default on Cloudflare Pages (#25644) 2023-06-21 16:27:05 +01:00
Michael Telatynski
767cd628f9 Consider the unthreaded read receipt for Unread dot state (#11117)
* Consider the unthreaded read receipt for Unread dot state also

* Add tests

* Fix strict types
2023-06-21 15:07:16 +00:00
Michael Telatynski
9b5b053148 Use MatrixClientPeg::safeGet for strict typing (#10989) 2023-06-21 17:29:44 +01:00
alunturner
d64018ce26 Improve message body output from plain text editor (#11124)
* add failing test

* WIP - pause work until we can implement with new patch release of RTE

* focus tests purely on the body output

* remove unused import
2023-06-21 15:02:52 +00:00
alunturner
ad8543eb58 Increase RTE resilience (#11111)
* add retry logic to the dynamic import for the composers

* add retry to the conversion function too

* add retry to final function

* add comment
2023-06-21 08:22:06 +00:00
Kerry
a4cf2af187 Unit test CreateRoomDialog (#11121)
* unit test CreateRoomDialog

* remove debug

* wait for constructor promises to settle

* use label text in test
2023-06-21 08:01:01 +00:00
alunturner
ac3d6ab7dd Add at room avatar for RTE (#11106)
* add at room avatar logic

* fix broken test

* fix TS error

* add param comment

* increase test coverage

* update code to solve conflict
2023-06-21 07:57:22 +00:00
Robin
278c494eb3 Point develop.element.io to our Element Call + LiveKit experiment (#25636)
This is an experimental version of Element Call using a LiveKit SFU that we'd like to start dogfooding and gaining confidence on internally, so the current plan is to trial it on develop.element.io and Nightly for a while.
2023-06-20 16:11:04 +00:00
Michael Telatynski
985bde70c5 Mark debug logging with distinct letter (#11118)
* Mark debug logging with distinct letter

* Simplify types

* Prettier
2023-06-20 15:27:59 +00:00
Florian Duros
b84a230d58 Cypress: Run setting up secure key backup should work test for both verified and unverified devices (#11119)
* Add `cypress-each` dev dependencies

* Run `setting up secure key backup should work` test for both verified and unverified device.
2023-06-20 15:27:18 +00:00
Germain
8aa46b3005 Restore breadcrumb preference setting (#11116)
* Restore breadcrumb preference setting

* restore snapshot
2023-06-20 11:58:03 +00:00
RiotRobot
3609ab8003 Reset matrix-react-sdk back to develop branch 2023-06-20 10:31:42 +01:00
RiotRobot
41aa36e6b4 Reset matrix-js-sdk back to develop branch 2023-06-20 10:31:26 +01:00
RiotRobot
f699c6fbe6 Merge branch 'master' into develop 2023-06-20 10:31:14 +01:00
RiotRobot
2cacd89408 v1.11.34 v1.11.34 v1.11.34+patch.1 v1.11.34-patch.1 2023-06-20 10:27:20 +01:00
RiotRobot
1c403b7a63 Prepare changelog for v1.11.34 2023-06-20 10:27:20 +01:00
RiotRobot
b73a01abd4 Upgrade matrix-react-sdk to 3.74.0 2023-06-20 10:25:37 +01:00
RiotRobot
104dcad7dd Upgrade matrix-js-sdk to 26.1.0 2023-06-20 10:25:18 +01:00
RiotRobot
f81115e57e Reset matrix-js-sdk back to develop branch 2023-06-20 10:20:09 +01:00
RiotRobot
41864bce4e Resetting package fields for development 2023-06-20 10:19:56 +01:00
RiotRobot
8cf1eb8cb6 Merge branch 'master' into develop 2023-06-20 10:19:49 +01:00
RiotRobot
21ab205f35 v3.74.0 2023-06-20 10:19:28 +01:00
RiotRobot
4b84b7f598 Prepare changelog for v3.74.0 2023-06-20 10:19:25 +01:00
RiotRobot
ef56fcf263 Upgrade matrix-js-sdk to 26.1.0 2023-06-20 10:18:01 +01:00