Commit Graph

63504 Commits

Author SHA1 Message Date
Will Hunt
50857de5d8 Fix test 2025-04-15 11:56:18 +01:00
Will Hunt
f4152334fc Ensure we include the client on rendered messages. 2025-04-15 11:43:28 +01:00
Will Hunt
a0b6613e01 Review changes 2025-04-15 11:04:49 +01:00
Will Hunt
6eb75db7f4 Merge remote-tracking branch 'origin/develop' into hs/media-previews-server-config 2025-04-15 10:41:08 +01:00
Will Hunt
6fc3dd4628 Refactor RoomAvatar into a functional component. (#29743)
* Refactor RoomAvatar into a functional component

* Add useRoomAvatar hook

* Remove useRoomAvatar hook and fix RoomAvatarEvents not using thumbnails.

* lint

* Ensure stable version of roomIdName

* Use new hook

* lint

* remove unused param

* Fixup tests

* remove console

* Update test
2025-04-15 09:23:26 +00:00
Michael Telatynski
c313c720de Revert "Update to Twemoji 16 (#29735)" (#29748)
This reverts commit 2e71ec748f.
2025-04-15 08:41:04 +00:00
Will Hunt
23a42e0d54 Refactor several unit tests to use SettingsStore directly. (#29744)
* Refactor notifications-test.ts

* Refactor other tests to stop mocking SettingsStore
2025-04-15 08:01:35 +00:00
R Midhun Suresh
bb23a98bc6 We don't want submit buttons (#29747)
Otherwise this will submit the form.
2025-04-15 07:43:28 +00:00
Will Hunt
3df67ae5a3 Merge branch 'develop' into hs/media-previews-server-config 2025-04-14 16:03:00 +01:00
Half-Shot
a4143ca932 lint 2025-04-14 15:49:33 +01:00
Andrew Ferrazzutti
d52b0a1467 Remove contribute.json (#29707)
as the contribute.json project is now decommissioned.
2025-04-14 14:47:54 +00:00
Half-Shot
7809f44b1b Merge remote-tracking branch 'origin/develop' into hs/media-previews-server-config 2025-04-14 15:42:46 +01:00
Half-Shot
1dba7e4aa4 Ensure we do not set the account data twice. 2025-04-14 15:40:25 +01:00
Florian Duros
986be9c00d Fix flaky MatrixChat tests (#29739)
* test: fix flaky MatrixChat `should persist login credentials` test

* test: fix flaky MatrixChat `should log and return to welcome page with correct error when login state is not found` test

* test: fix flaky MatrixChat `should store clientId and issuer in session storage` test
2025-04-14 14:22:46 +00:00
Half-Shot
b9437bb026 Improve on types 2025-04-14 14:45:14 +01:00
Julien CLEMENT
475e449e81 print better errors in the search view instead of a blocking modal (#29724)
* print better errors in the search view instead of a blocking modal

* update tests and i18n

* fix unused variable

* fix unused variable again
2025-04-14 13:36:34 +00:00
Half-Shot
a06a1c7477 Mark initMatrixClient as optional 2025-04-14 14:34:41 +01:00
Half-Shot
60d6e5c936 Add a test for MediaPreviewAccountSettingsTab 2025-04-14 14:29:05 +01:00
Half-Shot
bda2f228a0 Merge remote-tracking branch 'origin/develop' into hs/media-previews-server-config 2025-04-14 13:15:07 +01:00
Half-Shot
1042706a6c Add header 2025-04-14 13:13:04 +01:00
Half-Shot
cd579bc70b copyright years 2025-04-14 13:10:02 +01:00
Half-Shot
4796ba9ff7 Merge remote-tracking branch 'origin/develop' into hs/media-previews-server-config 2025-04-14 13:05:25 +01:00
Half-Shot
c7a7ca001a revert changes to client.ts 2025-04-14 13:03:24 +01:00
Florian Duros
7ce0a76414 New room list: fix public room icon visibility when filter change (#29737)
* fix: recompute public variable when room changes in room list item view model

* test: add test to check that isPublic is computed correctly when the room changes
2025-04-14 11:59:31 +00:00
Michael Telatynski
2e71ec748f Update to Twemoji 16 (#29735)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-04-14 11:50:35 +00:00
Half-Shot
f9d13a88a3 fix bug 2025-04-14 12:31:39 +01:00
Half-Shot
2c95cf118a Update tests to use SettingsStore where possible. 2025-04-14 12:24:11 +01:00
Half-Shot
4a11e0e454 Clear settings in matrixchat 2025-04-14 11:13:14 +01:00
Half-Shot
0330933861 Fixup tests for timelinePanel 2025-04-14 11:05:56 +01:00
Half-Shot
dbd533a02c Fix room header tests 2025-04-14 10:45:46 +01:00
Half-Shot
dc1dda9253 Fix logic around media preview calculation 2025-04-14 10:45:38 +01:00
Florian Duros
07d5a72f26 New room list: video room and video call decoration (#29693)
* feat: add video call and EC call to room list item vm

* feat: add video call notification decoration to notification decoration component

* feat: add video call support to room list item view

* feat: add new RoomAvatarView component

* feat: deprecate `DecoratedRoomAvatar`

* feat: use `RoomAvatarView` in room list item

* feat: allow custom class for `RoomAvatar`

* test: update notification decoration

* test: update room list item view

* test: update room list snapshot

* test: add tests for room avatar vm

* test: add tests for room avatar view

* test(e2e): update snapshots

* fix: video room creation rights

* test: e2e add test for public and video room
2025-04-14 09:27:43 +00:00
Michael Telatynski
1430fd5af6 Fix custom theme support for short hex & rgba hex strings (#29726)
* Fix custom theme support for hex colours other than 6-char

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

* Iterate

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

* Iterate

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-04-14 08:31:21 +00:00
Half-Shot
17459e4d39 Merge remote-tracking branch 'origin/develop' into hs/media-previews-server-config 2025-04-14 09:17:31 +01:00
Half-Shot
3d49a61f88 Fixing tests that break settings getValue expectations 2025-04-14 09:16:11 +01:00
ElementRobot
779543fa0f [create-pull-request] automated change (#29733)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-04-14 08:09:43 +00:00
Andy Balaam
6b052fd067 Extract ResetIdentityBody into a separate object to allow re-using it (#29700) 2025-04-14 07:47:19 +00:00
Florian Duros
f39f3d2164 New room list: minor visual fixes (#29723)
* fix: use correct color for room list header

* fix: use error solid icon

* fix: rename Unread as Unreads

* test: update jest snapshots

* test(e2e): update screenshots

* test: fix test
2025-04-14 07:45:32 +00:00
Michael Telatynski
c929eedd81 Fix getOidcCallbackUrl for Element Desktop (#29711)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-04-11 14:44:22 +00:00
Florian Duros
bcd396e19e test: fix flaky SetIdServer test (#29719) 2025-04-11 14:26:48 +00:00
Peter Smit
ca56c2e091 Fix some webp images improperly marked as animated (#29713)
* Fix some webp images improperly marked as animated

* Add unit test for an unanimated webp file in extended file format

* Apply linting to webp test
2025-04-11 13:32:41 +00:00
Half-Shot
5c5484c6b5 Types fix 2025-04-11 11:08:38 +01:00
Half-Shot
31253a401c Merge remote-tracking branch 'origin/develop' into hs/media-previews-server-config 2025-04-11 10:53:58 +01:00
Half-Shot
7014484e51 Update html utils to properly discard media. 2025-04-11 10:53:45 +01:00
Half-Shot
0202ef7bd8 Review changes 2025-04-11 10:53:45 +01:00
Julien CLEMENT
d594441b53 Revert deletion of hydrateSession (#29703)
* Revert deletion of hydrateSession

* remove line break to make prettier happy :-)

* add tests for hydrateSession on soft logout

* fix coding style

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2025-04-11 08:40:00 +00:00
ElementRobot
d4f25e8e13 [create-pull-request] automated change (#29717)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-04-11 06:22:22 +00:00
Will Hunt
9c278b948c Merge branch 'develop' into hs/media-previews-server-config 2025-04-10 17:27:27 +01:00
Half-Shot
a51eab088a copyright all the things 2025-04-10 17:26:48 +01:00
Half-Shot
b1c056acc2 Move conditionals. 2025-04-10 17:23:52 +01:00