Commit Graph

2248 Commits

Author SHA1 Message Date
Doug
71fca18a7c Fix media previews in private room notifications and pagination on upgraded rooms. 2025-06-24 20:12:20 +03:00
Stefan Ceriu
e5a49c568f Adopt room info power levels (#4245)
* Use the newly RoomInfo published PowerLevels; update permissions at the same time as the room info and avoid unnecessary async calls.

* Introduce a RoomInfoProxyProtocol and associated mock and move away from mocked SDK RoomInfos

* Bump the SDK to v25.06.23

* Expose new non-throwing methods for checking one's own user permissions

* Fix the unit and preview tests (except the TimelineMediaPreviewDetails for which simplified snapshots were generated)

* Converge on one single implementation for computing a room's avatar.

* Fix more unit tests

* Fix the TimelineMediaPreviewDetailsView snapshot tests

This reverts commit 9b6c819e611ad2fa3de2c34a4a7aa556fc9faadd.

---------

Co-authored-by: Doug <douglase@element.io>
2025-06-24 17:48:00 +01:00
Doug
f0e653e462 Fix a crash when attempting to send a bug report with excessively large logs. (#4243)
* Alert the user when there are excessively large log files.
2025-06-24 09:47:20 +01:00
Doug
797d5fd022 Expose isLiveKitRTCSupported on the ClientProxy. (#4238) 2025-06-23 11:21:36 +01:00
Mauro
1061ebe27c EC Timeout if it doesn't respond after 30 seconds (#4237)
* basic implementation

* using a decodable struct to interpret the widget message

* small code refactor/improvement
2025-06-20 18:21:31 +02:00
Stefan Ceriu
46a066491d Better integrate RoomPowerLevelsProxyMock's own Configuration struct. 2025-06-20 18:10:45 +03:00
Stefan Ceriu
60f4228162 Adopt the lastest SDK APIs and refactor how we deal with user permissions.
This patch introduces a new RoomPowerLevelsProxy and its associated mock and adopts newer Rust APIs to make working with user power levels and permissions easier.
2025-06-20 18:10:45 +03:00
Mauro Romito
a80e8ca9b8 pr suggestion 2025-06-20 10:07:58 +02:00
Mauro Romito
ec944a99bf show alert when trying to accept invalid invites 2025-06-20 10:07:58 +02:00
Stefan Ceriu
c56940e5a8 Move all Introspect VersionPredicates into Compound to have them all in the same place. 2025-06-19 15:06:16 +03:00
Stefan Ceriu
a8dcd78e4f Fix MediaTimeline screen header iOS 26 crash, update remaining version predicates. 2025-06-19 14:29:49 +03:00
Stefan Ceriu
70a6029786 Fix thread summaries being shown when the thread feature flag was disabled. 2025-06-19 14:01:06 +03:00
Stefan Ceriu
77b923c056 Fixes #4222 - Hide timeline item actions that the user's power level does not allow 2025-06-18 17:39:45 +03:00
Doug
1f6f8b8f4c Refactor reportUrl to reportURL. 2025-06-18 14:32:26 +01:00
Doug
d22761a25a Don't check the report URL's contents before clearing the lastCrashEventID.
If we reached it this far, the server has indicated that the submission was successful.
2025-06-18 14:32:26 +01:00
Nicolas Buquet
7c31220337 Make BugReportService reportUrl optional (#4195) 2025-06-18 14:32:26 +01:00
Doug
0a66099a26 Update the SDK. (#4220)
* Update the SDK.

* Remove unnecessary function from the AppHooks protocol.
2025-06-18 12:01:23 +01:00
Mauro Romito
99ae1573dc pr suggestion: use computed var for scaleY 2025-06-18 11:47:56 +02:00
Mauro Romito
7721021c41 unflip timeline table view in voice over mode only 2025-06-18 11:47:56 +02:00
Mauro Romito
b6f4d70ce7 improved reactions a11y 2025-06-18 11:23:45 +02:00
Stefan Ceriu
6b090d59a4 Fixes #4204, #4180 - Fix OS 26 crashes when not running a development build. 2025-06-18 11:54:00 +03:00
Mauro Romito
56b0a81df2 updated strings 2025-06-17 12:56:19 +02:00
Mauro Romito
d64e76e79f improved a11y in CollapsibleRoomTimelineView 2025-06-17 12:56:19 +02:00
Mauro Romito
6653dcf6f6 focus voice over automatically when focussing a timeline event 2025-06-17 11:58:07 +02:00
Mauro Romito
4f1c10b555 improved the accessibility labels for the view
also added copies for the section headers, and fixes an issue where the move action voice over was not reading the option
2025-06-16 11:31:17 +02:00
Stefan Ceriu
9b8e28e593 Fix preview test crashes when accessing misconfigured draft service mocks 2025-06-13 17:42:40 +03:00
Stefan Ceriu
57978c9a9c Refactor how drafts are handled on a coordinator level and add support for them on thread timelines. 2025-06-13 16:56:13 +03:00
Stefan Ceriu
1204edc772 Bump the SDK to v25.06.13 and add thread support to the ComposerDraftService 2025-06-13 16:56:13 +03:00
Mauro Romito
9efab63a64 add state to the accessibility label of rte formatting buttons 2025-06-12 17:28:12 +02:00
Stefan Ceriu
9309b543b8 Render the number of thread replies on the thread summary timeline view. 2025-06-12 16:54:53 +03:00
Stefan Ceriu
264a68d3e2 Allow sending locations within threads
This patch implements support for sending locations within threads by following a similar behavior to the other screens: pass the thread root between the various state machine states until the action is finally invoked.
2025-06-12 16:54:53 +03:00
Stefan Ceriu
f3e89bd1a7 Fixes #4180 - Prevent room header autolayout crashes on iOS 26. 2025-06-12 11:23:04 +03:00
Stefan Ceriu
0d15086c1c Fixes #4185 - Correct the bug report service submission URL after updating how secrets are configured.
- introduced in 54f4aeda4f
2025-06-11 12:33:49 +03:00
Richard van der Hoff
24ce5c03de Add a developer option for history sharing on invite
Adds a new developer flag, enabling our experimental support for MSC4268.
2025-06-11 11:24:29 +03:00
Stefan Ceriu
065efc6e98 Stop filtering out events on filtered (media) timelines when threads are enabled. 2025-06-10 21:20:09 +03:00
Stefan Ceriu
abbf5c8c8b Add support for sending media within threads.
This patch add the `threadRootEventID` as a parameter to media sending functions and forwards the timeline thread root between various application states to the place where its needed.
The 2 missing items are Locations and Polls which currently don't have any support on the Rust side for being sent within threads. That will come in a separate PR.
2025-06-10 21:20:09 +03:00
Stefan Ceriu
b75099a1d4 Add "reply in thread" timeline item action menu entry. 2025-06-10 15:09:20 +03:00
Stefan Ceriu
fb67a366e0 Bump the RustSDK to v25.06.10 2025-06-10 15:09:20 +03:00
Stefan Ceriu
4f82e559dc Stop hiding replies in threaded timelines as that's now properly supported as of https://github.com/matrix-org/matrix-rust-sdk/pull/5198 2025-06-10 15:09:20 +03:00
Stefan Ceriu
b2b38e0f80 Tweak the thread summary design 2025-06-10 15:09:20 +03:00
Stefan Ceriu
a03be6ec6a Pass the thread feature flag into room timelines 2025-06-10 15:09:20 +03:00
Stefan Ceriu
2993f9b6a2 Fix breaking changes following SDK update. 2025-06-10 15:09:20 +03:00
Mauro Romito
53b92ad68f send .fullyRead marker when leaving the room 2025-06-10 11:32:15 +02:00
Mauro Romito
88a93fed5f Hide accesibility for decorative onboarding image 2025-06-10 10:33:24 +02:00
Doug
681ec8ee38 Add a RoomScreenHook. 2025-06-10 10:28:18 +03:00
Stefan Ceriu
98b57ef049 Prevent the UI tests from crashing with an unconfigured ClientProxyMock timelineMediaVisibilityPublisher 2025-06-10 08:57:08 +03:00
Stefan Ceriu
6d697dfed1 Move ComposerToolbar view required dependencies to the view model and read them, similarly to the other views, through the context's view state. 2025-06-10 08:57:08 +03:00
Stefan Ceriu
822f347dc2 Move composer specific designs to the composer toolbar. 2025-06-10 08:57:08 +03:00
Stefan Ceriu
eeff596932 Move timeline drag and drop handling to the recently introduced TimelineView. 2025-06-10 08:57:08 +03:00
Stefan Ceriu
f047e51ab8 Extract the disabled composer view into its own struct 2025-06-10 08:57:08 +03:00