Commit Graph

63487 Commits

Author SHA1 Message Date
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
Half-Shot
81b400acfb Apply media visible hook to inline images. 2025-04-10 17:21:20 +01:00
Half-Shot
3bdd0f4cd1 Tidy up comments 2025-04-10 17:21:10 +01:00
Half-Shot
d1213b70cf lint 2025-04-10 16:56:21 +01:00
Michael Telatynski
d70d4486f0 Fix converttoroom & converttodm not working (#29705)
* Fix converttoroom & converttodm not working

setAccountData uses `deepCompare` within to avoid writing no-op updates

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

* Update tests

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

* Use filterValidMDirect utility in setDMRoom

Ensure we do not mutate the account data as this would then upset `setAccountData`'s deepCompare later

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-10 15:54:41 +00:00
Half-Shot
ee4581eb66 lint 2025-04-10 16:53:26 +01:00
Half-Shot
ef5f0449bf Rewrite RoomAvatar to be a functional component
This is so we can use hooks to determine the setting state.
2025-04-10 16:50:19 +01:00
Half-Shot
806f5bee79 Rewrite tons of tests 2025-04-10 16:49:52 +01:00
Will Hunt
b66e024f1f Rewrite controller 2025-04-10 13:51:59 +01:00
Michael Telatynski
60117b92d8 Ensure forceCloseAllModals also closes priority/static modals (#29706)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-04-10 11:19:32 +00:00
Will Hunt
b37b5609b0 Update docs 2025-04-10 10:13:19 +01:00
Will Hunt
a217cb1c1e update screenshot 2025-04-10 10:11:28 +01:00
Will Hunt
6c9638dacd Merge remote-tracking branch 'origin/develop' into hs/media-previews-server-config 2025-04-10 09:18:10 +01:00
Will Hunt
bd8ed66a0f Update settings tab. 2025-04-10 09:08:31 +01:00
Kim Brose
afc8536d1c Don't crash the build when trying to docker-package from a shallow clone of a commit (#28503) 2025-04-10 07:59:44 +00:00
Will Hunt
1ff42d32b9 prettier 2025-04-10 08:58:00 +01:00
Will Hunt
5bc0b3c513 update preferences 2025-04-10 08:50:13 +01:00
Giwayume
b5993aaabb Continue button is disabled when uploading a recovery key file (#29695)
* Wait for setState to complete before validating recovery key

* Linter fix

* Pass in recovery key to validateRecoveryKey function
2025-04-10 07:30:37 +00:00