438 Commits

Author SHA1 Message Date
Mauro
0d9d8f9fa4
Sdk v1.0.47 (#3265) 2024-09-11 15:55:15 +02:00
Stefan Ceriu
bef892451e
Add a banner that offers the user to transition to native sliding sync (#3252)
* Fixes #2508 - Offer user to transition to SSS

* Rename `HomeScreenBannerMode.shown` to `HomeScreenBannerMode.show`

* Generate and use preview tests for the migration banner

* Bump the RustSDK to v1.0.46

* Address PR review comment
2024-09-11 08:21:27 +03:00
Doug
539452394e
Add iOS 18 to the Introspect supported versions. (#3248) 2024-09-10 13:24:17 +01:00
Doug
cc4942fb78
Require acknowledgement to send to verified users who have unsigned devices or have changed their identity. (#3215)
* Refactor HeroImage style.

* Add a screen to resolve (crypto-related) timeline item send failures.

* Refactor send failures.

* Update the SDK.
2024-09-10 09:56:11 +01:00
Stefan Ceriu
2f6fea29f3
Replace Prefire with a very similar but simpler and more direct approach (#3232)
* Replace Prefire with a very similar but simpler and more direct approach

* Move PreviewTest snapshots to their new location (snapshotting default, mirrors UITests)

* Update acknowledgements

* Switch snapshot configuration extensions to a custom version

* Exclude snapshots from the PreviewTests target

* Fix acknowledgements

* Rename snapshotting preference keys

* Remove `skipPackagePluginValidation`
2024-09-09 15:07:41 +03:00
Stefan Ceriu
7b03c23baa Bump the RustSDK to v1.0.44 2024-09-04 10:53:30 +03:00
Doug
342ad57ce7 Update the SDK. 2024-08-30 14:45:54 +03:00
Doug
812c5d5c61
Update the SDK (#3196)
* Update the SDK.

* Fix API breaks on send failures and propagate the new type.

* Handle new SDK ShieldState.

* Set up the ClientBuilder's `cachePath` option.

* Delete the cacheDirectory during logout/clearCache.

* Add unit tests for RestorationToken decoding and SessionDirectories generation.
2024-08-27 11:06:26 +01:00
Stefan Ceriu
4e3ab9c04a Bump the SDK to v1.0.40 2024-08-21 18:02:40 +03:00
Stefan Ceriu
ad13f644c5 Bump the SDK to v1.0.39 2024-08-15 18:24:31 +03:00
Doug
9f665d28f9 Update the SDK (with latest tweaks for Element Call). 2024-08-14 11:22:01 +01:00
Stefan Ceriu
2fa7934a4a Bump the SDK to v1.0.37 2024-08-13 11:40:01 +03:00
Stefan Ceriu
65bfd84426 Bump the SDK to v1.0.36 2024-08-09 13:57:04 +03:00
Mauro
91a42538ac
Pinned events banner goes backwards (#3128) 2024-08-07 14:01:01 +00:00
Mauro
a39a8f9bd0
state events for pinning and unpinning (#3123) 2024-08-06 17:30:42 +02:00
Mauro
08347e15a5
Pinned events banner loading state (#3118) 2024-08-06 15:46:56 +02:00
Valere
a11faeb131
Show Encryption Authenticity warnings on messages in the timeline. (#3051)
* Initial implementation.

* Add developer option for showing timeline item authenticity.

* Refactor code to use new SendInfo.Status.

---------

Co-authored-by: Doug <douglase@element.io>
2024-08-05 11:15:38 +00:00
Stefan Ceriu
63e0b94764
Crypto identity reset (#3107)
* Add EncryptionReset password entry screen

* Expose client proxy identity reset method

* Update the IdentityConfirmationScreen to the latest designs

* Replace the old recovery key reset screen with a new EncryptionReset one

* Fixes #3102 - Add support for resetting the user's whole crypto identity

* Address review comments

* Bump the SDK to v1.0.30
2024-08-05 09:35:18 +03:00
Mauro
0da2d4917b
Pin/Unpin Logic (#3084) 2024-07-26 20:41:00 +02:00
Doug
c10ed6169c
Update Compound and handle API breaks in Introspect. (#3083) 2024-07-24 17:09:11 +00:00
Doug
bf22250b45
Automatically sign out when toggling the SSS feature flag. (#3071) 2024-07-23 11:55:51 +01:00
Mauro
ff33c07596
Fix editing items not in the timeline failing (#3075) 2024-07-22 13:15:57 +02:00
Mauro
86ce3def13
Update RTE to 2.37.7 (#3064) 2024-07-18 18:28:48 +02:00
Doug
2fb7f65957
Add a feature flag for Simplified Sliding Sync. (#3057)
* Disable SSS when logging out.

* Bump the SDK.
2024-07-18 10:16:51 +01:00
Doug
95d53f1edf
Update the SDK fixing a few room list bugs. (#3054)
* Update the SDK.

* Handle API break for editing timeline items.

* Handle API break for Element Call
2024-07-17 15:48:32 +01:00
Doug
d295a1e4c2
Upgrade Compound. (#3039)
Remove conflicting Introspect package dependency.
2024-07-16 09:22:53 +01:00
Mauro
812552c538
Update RTE with inline prediction working (#3043) 2024-07-15 19:14:52 +02:00
Doug
a8bf97a472
Fix an App Store error due to an RTE version mismatch. (#3029) 2024-07-12 17:01:59 +01:00
Doug
84e785367b
Fix stuck unread indicators. (#3023)
* Update the SDK (fixes stuck unread indicators).

* Use the SDK's cached server versions too.
2024-07-10 16:54:10 +00:00
Doug
a28536e2a6
Update the SDK (fixes unnecessary encryption state requests in the room list). (#3016) 2024-07-08 15:41:24 +01:00
Mauro
78d20c0fc5
Update RTE to 2.37.5 (#3015) 2024-07-08 15:55:28 +02:00
Stefan Ceriu
d71c8c4e83
Use local room list sorting from Rust. (#2978)
* Switch to the new local room list sorting API

* Get rid of the RoomSummary enum, replace it by the inner RoomSummaryDetails

* And finally, rename RoomSummaryDetails to RoomSummary

* Fix a bunch of warnings

* Small tidy up post rebase/review.

- Remove unused invalidated property.
- Rename some RoomSummary instances to summary instead of details.
- Fix tests with missing roomListItem's.

* Update snapshots

---------

Co-authored-by: Doug <douglase@element.io>
2024-07-05 10:10:53 +01:00
Doug
7da720ccce
Update the SDK ready for release. (#2999) 2024-07-04 11:06:27 +01:00
Doug
5086cd089b
Update the SDK. (#2987) 2024-07-01 12:16:46 +01:00
Stefan Ceriu
3c500887ab
Setup Sentry instrumentation on top of the existing Signposter (#2985)
* Move Sentry setup outside of the BugReportService

* Setup Sentry SwiftUI tracing for the homeScreen and roomScreen roots

* Setup Sentry instrumentation on top of the existing Signposter

* Various tweaks
2024-06-28 18:15:57 +03:00
Stefan Ceriu
7e999f0a17 Bump the RustSDK to v1.0.19 2024-06-28 14:28:33 +03:00
Doug
3465ea4cc1
Use a Client in AuthenticationService now that the Rust one has been removed. (#2954)
* Replace Rust's Authentication service by building a Client.

* Drop the Proxy from AuthenticationServiceProxy[Protocol].

* Make sure to call abortOIDCLogin.

* Centralise common ClientBuilder code.

* Update the SDK.
2024-06-24 15:05:00 +01:00
Mauro
f16b9aad0a
Update SDK (#2941) 2024-06-19 12:24:22 +00:00
Doug
38abd1ddfe
Update the SDK. (#2938) 2024-06-18 15:56:07 +00:00
Stefan Ceriu
63524bff62 Bring back failed message state rendering and a redaction option. Bump the RustSDK to 1.0.15 2024-06-18 13:07:16 +03:00
Stefan Ceriu
3bb8d668bf Bump the RustSDK to v1.0.14 2024-06-17 17:37:13 +03:00
Stefan Ceriu
8b3141ffec Bump the SDK and handle breaking changes on timeline diffing
- avoid race conditions between when a timeline listener starts publishing to the `updatePublisher` and when they are consumed (and in which order)
- subscribe to the timeline directly in the TimelineProvider and correctly process updates serially
- update the AutoUpdatingRoomTimelineProviderMock to use an SDK TimlineMock and listener to publish updates
2024-06-13 14:38:33 +03:00
Stefan Ceriu
f11a610f46
Rollback dependencies in an attempt to fix EX snapshot tests (#2918)
* Rollback dependencies in an attempt to fix EX snapshot tests

* Rollback snapshots as well

* Rollback Prefire only
2024-06-12 10:46:44 +03:00
Stefan Ceriu
9e195882fc Bump the RustSDK to v1.0.11 2024-06-11 18:46:43 +03:00
Stefan Ceriu
2079bf40c6 Introduce mock SDK timeline items and a live, lorem ipsum based, timeline provider 2024-06-11 18:09:43 +03:00
Doug
8a52ed0cb6
Update Compound. (#2906)
* Update Compound.

* Remove LFS hack from the docs.

* Fix preview tests

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-06-07 12:25:24 +03:00
Doug
2487895207
Adopt Rust's new sessionPath that replaces the basePath (#2903) 2024-06-06 18:35:57 +01:00
Stefan Ceriu
6c1647b851 Fixes #2842, fixes #2841 - Adopt new message sending queue API
- automatically retry failed requests as soon as the network is availble again
- remove manual retry options
2024-06-06 12:59:03 +03:00
Doug
c51593476c
SwiftLint fixes. (#2899)
non_optional_string_data_conversion and static_over_final_class

* Revert Data -> String changes for upcoming rule change.
2024-06-05 07:31:49 +01:00
Stefan Ceriu
97e57e6666 element-hq/element-x-ios/issues/2876 - Add support for showing call notifications in the timeline 2024-05-31 13:32:47 +03:00