1375 Commits

Author SHA1 Message Date
Doug 374fb722c6 Fix media previews in private room notifications and pagination on upgraded rooms. 2025-06-24 20:12:20 +03:00
Stefan Ceriu 5ac6ec28d5 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 5b3e045e3c Expose isLiveKitRTCSupported on the ClientProxy. (#4238) 2025-06-23 11:21:36 +01:00
Stefan Ceriu f522e15dac 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
Element CI 6bf26ce389 Prepare next release 2025-06-19 06:52:31 -07:00
Stefan Ceriu daf4aa9239 Move all Introspect VersionPredicates into Compound to have them all in the same place. 2025-06-19 15:06:16 +03:00
Stefan Ceriu 7ed806535a Bump Version to v2.2.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu 5c320e02e6 Bump Posthog to v3.27.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu eedccef50e Bump Kingfisher to v8.3.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu 63991aa776 Bump KeychainAccess to v4.2.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu 133fb4c4fb Bump DeviceKit to v5.6.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu da11755f3d Bump Swift Algorithms to v1.2.1 and Collections to 1.2.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu 400cff1e69 Bump Emojibase to v1.4.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu 0eb8b1ecae Bump AnalyticsEvents to v0.29.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu effd805901 Bump Sentry to v8.52.1 2025-06-18 19:50:06 +03:00
Element CI 8b53ff2f37 Prepare next release 2025-06-18 04:31:21 -07:00
Doug 6d2fdb81e4 Update the SDK. (#4220)
* Update the SDK.

* Remove unnecessary function from the AppHooks protocol.
2025-06-18 12:01:23 +01:00
Stefan Ceriu b605717cfc Bump Compound and prevent Introspect from breaking on newer OS versions. 2025-06-16 12:56:29 +03:00
Stefan Ceriu eaf14eaaac Bump the SDK to v25.06.13 and add thread support to the ComposerDraftService 2025-06-13 16:56:13 +03:00
Stefan Ceriu 5315f962c6 Render the number of thread replies on the thread summary timeline view. 2025-06-12 16:54:53 +03:00
Stefan Ceriu f66d654820 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
Element CI c1f6ffabe2 Prepare next release 2025-06-11 03:02:25 -07:00
Mauro Romito 2863466755 update SDK to 25.06.11 2025-06-11 11:33:08 +02:00
Stefan Ceriu 09779a4e12 Bump the RustSDK to v25.06.10 2025-06-10 15:09:20 +03:00
Doug e3884f903c Add a RoomScreenHook. 2025-06-10 10:28:18 +03:00
Stefan Ceriu 3f61eb8c5e Rename the BugReportUITests so it matches the other and the already recorded snapshot names. 2025-06-10 08:57:08 +03:00
Stefan Ceriu fcf50d469e Extract the disabled composer view into its own struct 2025-06-10 08:57:08 +03:00
Stefan Ceriu e86fdaacaf Extract the timeline scroll to bottom button into its own view. 2025-06-10 08:57:08 +03:00
Stefan Ceriu 9804be70eb Threaded timeline composer 2025-06-10 08:57:08 +03:00
Element CI ef55c27a97 Prepare next release 2025-06-06 08:48:45 -07:00
Element CI 161a976605 Prepare next release 2025-06-06 06:15:30 -07:00
Mauro Romito cc8f6bb44c updated EC to 0.12.2 2025-06-06 10:50:16 +02:00
Mauro Romito 66306626ff update project 2025-06-06 10:49:29 +02:00
Mauro Romito 26a7d5ac82 pr suggestions 2025-06-06 10:49:29 +02:00
Mauro Romito 155b47e849 tombstoned and upgraded rooms implementation
added tests

tombstoned room avatar
2025-06-06 10:49:29 +02:00
Element CI f0c7ad1141 Prepare next release 2025-06-03 04:44:03 -07:00
Doug 143fd9eeed Bump the version to 25.06 for the next release. (#4165) 2025-06-03 09:45:22 +01:00
Stefan Ceriu 1f52546fc8 Adopt the new deduplicate room versions room list filter. 2025-05-30 16:40:15 +03:00
Doug 458c6aaa57 Adopt StateStoreViewModelV2 in the remaining settings screens. (#4158)
* Move the AuthenticationStartScreen into the Authentication directory.

* Commit the updated Sentry license.

No idea why they dropped the 2024 🤷‍♂️

* Use StateStoreViewModelV2 in BugReportScreen.

* Use StateStoreViewModelV2 in UserDetailsEditScreen.

* Use StateStoreViewModelV2 in NotificationSettingsScreen.

* Use StateStoreViewModelV2 in NotificationSettingsEditScreen.

* Use StateStoreViewModelV2 in LegalInformationScreen.

* Use StateStoreViewModelV2 in LogViewerScreen.

* Use StateStoreViewModelV2 in AnalyticsSettingsScreen.

* Rename AdvancedSettingsScreen directory.

* Use StateStoreViewModelV2 in EncryptionResetScreen.

* Use StateStoreViewModelV2 in EncryptionResetPasswordScreen.

* Use StateStoreViewModelV2 in SecureBackup…Screens.

* Use StateStoreViewModelV2 in LoginScreen.

Seems this one was ignored waiting on the fulfillment transitionValues implementation.

* Use StateStoreViewModelV2 in DeactivateAccountScreen.

* Move DeactivateAccountScreen into the Settings directory.
2025-05-30 12:24:56 +01:00
Stefan Ceriu 99c3cd7872 Move RoomFlowCoordinator state machine elements to a separate file. 2025-05-30 13:32:29 +03:00
Mauro aef91b5bc9 Handle media previews and invite avatars through the account data (#4142)
* added account data media display policy handling to NSE

* pr suggestions

* update compound

* code improvement
2025-05-28 19:51:34 +02:00
Mauro Romito 256292c5a9 updated ec and sentry 2025-05-28 17:08:23 +02:00
Mauro Romito 9a9bdcbdc3 update SDK to 25.05.27 2025-05-27 18:35:19 +02:00
Stefan Ceriu f9b3281172 Bump the SDK to v25.05.26-2 and update the breaking changes following the RoomListItem removal 2025-05-26 18:11:24 +03:00
Stefan Ceriu ae42540ec0 Bump the RustSDK to v25.05.26 and handle breaking changes
- the new sentry integration will be handled in #4145
2025-05-26 13:22:57 +03:00
Stefan Ceriu 972084aaf7 Rename the TimelineProvider to TimelineItemProvider 2025-05-23 16:08:18 +03:00
Stefan Ceriu 909aa086f2 Bump the SDK to 25.05.21 and adopt the new way of dealing with timelines and delegates.
The room list items no longer hold any timeline instances and they can now be created through the normal `room.timelineWithConfiguration` mechanism.
This also means that we can move the UTD hook away from the sync service and into the client itself but setting it is now fallible as it can only be set once.
2025-05-22 18:14:55 +03:00
Element CI 7e5f9f1e17 Prepare next release 2025-05-21 06:30:19 -07:00
Stefan Ceriu 10fb2b5dda Add mechanism for opening up a threaded timeline 2025-05-20 12:18:55 +03:00
Mauro Romito 693d6130ad updated the SDK to 25.05.19 2025-05-19 16:34:37 +02:00