Commit Graph

63942 Commits

Author SHA1 Message Date
joel.poyet 73c7efd8cc Merge pull request #2 from element-hq/master
Master
2025-06-22 08:57:37 +02:00
joel.poyet 1d633981f1 Revert "chore: move orginal github actions away"
This reverts commit 2db2123eed.
2025-06-22 08:45:27 +02:00
joel.poyet 84d7da6403 chore: move orginal github actions away 2025-06-22 08:45:27 +02:00
RiotRobot 667705911c v1.11.104 2025-06-22 08:45:27 +02:00
RiotRobot 6d1008f448 Upgrade dependency to matrix-js-sdk@37.9.0 2025-06-22 08:45:27 +02:00
RiotRobot 707d1f8c01 v1.11.104-rc.0 2025-06-22 08:45:27 +02:00
RiotRobot 7ab7e51b98 Upgrade dependency to matrix-js-sdk@37.9.0-rc.0 2025-06-22 08:45:23 +02:00
Michael Telatynski 5d9e1645bf Revert "Update the mobile_guide page to the new design. (#30006)" (#30104) 2025-06-22 08:45:01 +02:00
Andy Balaam 5c0bf17172 Add a scam warning to the manual verification dialog (#30101)
* Add a scam warning to the manual verification dialog

* fixup! Add a scam warning to the manual verification dialog
2025-06-22 08:45:01 +02:00
Doug c7cc1424c6 Update the mobile_guide page to the new design. (#30006)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-22 08:45:01 +02:00
RiotRobot 7ad7905990 v1.11.103 2025-06-22 08:45:01 +02:00
RiotRobot 76b5baafa5 Upgrade dependency to matrix-js-sdk@37.8.0 2025-06-22 08:44:59 +02:00
gnieto 6eb5501fa3 Do not send empty auth when setting up cross-signing keys (#29914)
* Do not send empty auth when setting up cross-signing keys

My understanding from the spec is that no auth parameter should be sent
when starting a UIA flow. [This section](https://spec.matrix.org/v1.14/client-server-api/#user-interactive-api-in-the-rest-api)
says that "A client should first make a request with no auth parameter"
and this is not what element-web is doing (since it is sending an auth parameter with
an empty dictionary).

In the upload cross-signing keys endpoint
[documentation](https://spec.matrix.org/v1.14/client-server-api/#post_matrixclientv3keysdevice_signingupload_request_authentication-data)
it says that type may be omitted if session is set, but in this specific
case neither of the fields is set.

* fixup! Do not send empty auth when setting up cross-signing keys
2025-06-22 08:44:49 +02:00
Andy Balaam 381e31e82f Provide a devtool for manually verifying other devices (#30094)
Also allows doing the same thing via a slash command.
2025-06-22 08:44:49 +02:00
Will Hunt 861db477f3 Implement MSC4155: Invite filtering (#29603)
* Add settings for MSC4155

* copyright

* Tweak to not use js-sdk

* Update for latest MSC

* Various tidyups

* Move tab

* i18n

* update .snap

* mvvm

* lint

* add header

* Remove capability check

* fix

* Rewrite to use Settings

* lint

* lint

* fix test

* Tweaks

* lint

* revert copyright

* update screenshot

* cleanup
2025-06-22 08:44:49 +02:00
Jean-Baptiste Trystram deed79f06c Settings: flip local video feed by default (#29501)
Most (if not all) video chat apps show my local video mirrored. Element
not doing it by default is makes it confusing at first.
Even my phone camera app does it.

Not only matching other video chat tools out there, 99% of times you see
yourself in your day to day life is through a mirror, which flips the
image. So matching that makes the most sense, to preserve continuity.

This setting was made optional in https://github.com/element-hq/element-web/pull/5437
but not defaulted to true.

Fixes https://github.com/element-hq/element-web/issues/10651

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
R Midhun Suresh fc191f222e Add low priority avatar decoration to room tile (#30065)
* Add avatar decoration for low priority rooms

* Write tests

* Remove unnecesasry step in test

* Make the vm expose which decoration to render

* Fix jest test

* Fix broken e2e test
2025-06-22 08:44:49 +02:00
Michael Telatynski 2da15319ab Add ability to prevent window content being captured by other apps (Desktop) (#30098)
* Add ability to prevent window content being captured by other apps (Desktop)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Increase coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Increase coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Delint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-22 08:44:49 +02:00
Richard van der Hoff 923c2a83cd AccessSecretStorageDialog: various fixes (#30093)
* AccessSecretStorageDialog: clear notice when input is empty

* AccessSecretStorageDialog: Simplify logic for calculating feedback

No functional changes, just simplification

* AccessSecretStorageDialog: use the right icon

Should be a ! in a circle, not an X. Also requires use of `Flex` to fix the
vertical alignment.

* AccessSecretStorageDialog: fix resizing when key is correct

* AccessSecretStorageDialog: remove confirmation on dialog close

Per discussion on https://github.com/element-hq/element-web/issues/30024, we
don't want this any more.
2025-06-22 08:44:49 +02:00
ElementRobot 80878080ed [create-pull-request] automated change (#30097)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
Richard van der Hoff a577a2cfcc AccessSecretStorageDialog: fix inability to enter recovery key (#30090)
* BaseDialog: fix documentation, and make `onFinished` optional

Since `onFinished` isn't used if `hasCancel` is false, it's a bit silly to make
it mandatory.

* AccessSecretStorageDialog: fix inability to enter recovery key

Wrap AccessSecretStorageDialog in a `BaseDialog`. The main thing this achieves
is a `FocusLock`.

* playwright: factor out helper for verification

We have two copies of the same code, and we're about to add a third...

* playwright: test for verifying from Settings

* Add a unit test for BaseDialog
2025-06-22 08:44:49 +02:00
ElementRobot 29276c6b7f [create-pull-request] automated change (#30091)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
Florian Duros 68f53e6f6e New room list: move message preview in user settings (#30023)
* feat: move message preview settings to user settings

* test: update tests

* test(e2e): update preference screenshots

* test(e2e): update room list tests

* fix: display message preview settings only for new room list

* test(e2e): display all preference settings in screenshot

* test: update snapshot
2025-06-22 08:44:49 +02:00
Michael Telatynski ac3c0d11c7 Fix failure to upload thumbnail causing image to send as file (#30086)
* Fix failure to upload thumbnail causing image to send as file

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-22 08:44:49 +02:00
Florian Duros f79975effa New room list: change room options icon (#30029)
* feat: change sort icon

* test(e2e): update screenshots

* test: update snapshots
2025-06-22 08:44:49 +02:00
R Midhun Suresh a17c1319bf Low priority menu item should be a toggle (#30071)
* Use toggle on low priority menu item

* Fix broken tests
2025-06-22 08:44:49 +02:00
R Midhun Suresh e574a07df7 RoomListStore: Sort low priority rooms to the bottom of the list (#30070)
* Sort low priority rooms to the bottom of the list

* Write test
2025-06-22 08:44:49 +02:00
R Midhun Suresh fb30357e87 Update tests (#30066)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-22 08:44:49 +02:00
R Midhun Suresh 7c2d09f02f Add sanity checks to prevent users from ignoring themselves (#30079)
* Fix missing state

* Throw error if membership event changes

* Write test

* Fix broken tests

* Cache inviter when room is loaded

* Translate error message for dialog
2025-06-22 08:44:49 +02:00
Matt Lewis 5b3558127b Fix issue with duplicate images (#30073)
* ensure export file paths are unique

* add unit test for filepath uniqueness. fix createMessagesRequest mock.

* add return types
2025-06-22 08:44:49 +02:00
Richard van der Hoff 02fb93f82a Handle errors returned from Seshat (#30083)
* Handle errors returned from Seshat

Fix a bug which caused errors from Seshat to be swallowed, giving only "Unknown
error".

* fix type casting
2025-06-22 08:44:49 +02:00
ElementRobot 849f1a768f [create-pull-request] automated change (#30078)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
RiotRobot 39a923c2f0 Reset matrix-js-sdk back to develop branch 2025-06-22 08:44:49 +02:00
RiotRobot 4cc2622b7d v1.11.102 2025-06-22 08:44:49 +02:00
RiotRobot 421a511465 Upgrade dependency to matrix-js-sdk@37.7.0 2025-06-22 08:44:49 +02:00
RiotRobot 7b37f6ec87 v1.11.102-rc.0 2025-06-22 08:44:49 +02:00
RiotRobot aa2c5137aa Upgrade dependency to matrix-js-sdk@37.7.0-rc.0 2025-06-22 08:44:49 +02:00
R Midhun Suresh 394bdf0195 Match string exactly (#30067)
The devices section in OIDC frontend has changed to include a heading
with the device name. The device name and the client name both contain
"Element", so playwright fails.
2025-06-22 08:44:49 +02:00
R Midhun Suresh e2f6e70b52 Add low priority filter pill to the room list UI (#30060)
* Add low priority filter pill to the UI

* Fix tests
2025-06-22 08:44:49 +02:00
ElementRobot 2902960c98 [create-pull-request] automated change (#30064)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
ElementRobot 1285459bbe [create-pull-request] automated change (#30059)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
Michael Telatynski 548e4e1359 Close call options popup menu when option has been selected (#30052)
To avoid locking the user into the popup due to focus lock clash

Fixes #29985

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-22 08:44:49 +02:00
renovate[bot] 12a2be08c8 Update all non-major dependencies (#30047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-22 08:44:49 +02:00
renovate[bot] 2d180698f1 Update browserslist (#30048)
* Update browserslist

* Update tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-22 08:44:49 +02:00
renovate[bot] 43d3cab4cd Update dependency @sentry/browser to v9.23.0 (#30049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
renovate[bot] a31ad28eda Update dependency @types/react to v19.1.6 (#30046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
renovate[bot] 8115b13afe Update dependency @types/node to v18.19.105 (#30045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
Florian Duros 6eb2b14369 New room list: remove color gradient in space panel (#29721)
* feat: remove blur effect in space

* feat: remove user menu border and align

* test(e2e): update snapshots
2025-06-22 08:44:49 +02:00
renovate[bot] 4421359b24 Update dependency testcontainers to v11 (#30044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-22 08:44:49 +02:00
Matthew Hodgson 3db7c30125 /share?msg=foo endpoint using forward message dialog (#29874)
* basic implementation of an /share?msg=foo endpoint

* SharePayload

* add sharing html & md while we're at it

* remove whitespace from imports to appease linter

* lint

* Add unit test

* More tests

* Test for showScreen

* Use one of the typed strings

* Test nasty tags stripped out

* Add playwright test

* Fix flake

by not relying on the name being synced as soon as we load

---------

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2025-06-22 08:44:49 +02:00