Commit Graph

1033 Commits

Author SHA1 Message Date
Doug c7b562250b Adopt StateStoreViewModelV2 in more screens. (#4275)
* Use StateStoreViewModelV2 in AnalyticsPromptScreen.

* Use StateStoreViewModelV2 in UserProfileScreen.

* Use StateStoreViewModelV2 in MediaUploadPreviewScreen.

* Use StateStoreViewModelV2 in the Roles & Permissions screens.

* Add the asyncStream variant of deferFailure.

* Use StateStoreViewModelV2 in BlockedUsersScreen.

* Use StateStoreViewModelV2 in ManageRoomMemberSheet.

* Use StateStoreViewModelV2 in ResolveVerifiedUserSendFailureScreen.

* Use StateStoreViewModelV2 in ReportContentScreen.

* Use StateStoreViewModelV2 in ReportRoomScreen.

* Use StateStoreViewModelV2 in StaticLocationScreen.

* Use StateStoreViewModelV2 in EmojiPickerScreen.

* Use StateStoreViewModelV2 in PollFormScreen.

* Use StateStoreViewModelV2 in DeclineAndBlockScreen.

* Use StateStoreViewModelV2 in RoomDetailsScreen.

* Fix a random compilation error that just popped up 🤷‍♂️

* Fix expectation message.
2025-07-02 15:13:42 +01:00
Doug db3c9f4382 Update Element Call to the actual release of 0.13.0. (#4279) 2025-07-02 10:04:53 +01:00
Element CI becdd161ab Prepare next release 2025-07-01 07:03:12 -07:00
Mauro Romito c37748265b Updated SDK to 25.07.01 2025-07-01 15:26:35 +02:00
ElementRobot a319ff003d Bump the calendar version ready for the next release (#4273) 2025-07-01 09:29:14 +01:00
Mauro Romito 37cbf733d4 EC: handle back navigation from the webview
EC: remove native header

updated element call to 0.13.0-rc1
2025-06-26 16:05:26 +02:00
Stefan Ceriu 11c7d07e76 Bump the SDK to v25.06.25-2 which enables (re)storing the sliding sync position in between app runs. 2025-06-25 17:23:22 +03:00
Stefan Ceriu 46f49af930 Bump the SDK to v25.06.25; adopt the new optional RoomInfo joinRule and isPublic. 2025-06-25 17:23:22 +03:00
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