908 Commits

Author SHA1 Message Date
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
288d2c2fdc
Add a ClientBuilder hook. (#3056) 2024-07-18 09:47:37 +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
Stefan Ceriu
239afeb662 Fixes #3042 - Cancel ElementCall ringing as soon as the call ends 2024-07-17 10:24:30 +03: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
f9d107c635
Fix RTE framework signature error when building DEBUG builds for a device. (#3040) 2024-07-15 13:59:11 +01: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
Doug
74a078b871
Make sure the BugReportScreen allows the user to retry if sending fails. (#3012) 2024-07-08 14:32:36 +01:00
Doug
bf9e1d614f Follow-up for translations PR. 2024-07-08 13:09:22 +01: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
Element CI
c024702d50 Prepare next release 2024-07-04 03:41:31 -07:00
Doug
7da720ccce
Update the SDK ready for release. (#2999) 2024-07-04 11:06:27 +01:00
Stefan Ceriu
b2c9878df6
Make Element Call widget URL configurable (#2971) 2024-07-02 08:35:05 +00: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
3cc4145a4c
Use XcodeGen files for app variants and setup Enterprise submodule. (#2976)
- Create an app.yml with the base app variant.
- Override app.yml contents on Nightly/PR builds.
- Add AppHooks mechanism.
- Add Enterprise submodule.
- Conditionally import Enterprise/fastlane/Fastfile if available.
2024-06-27 18:18:17 +01:00
Mauro
064b1bf224
Remove plain style layout (#2980) 2024-06-27 16:53:19 +02:00
Stefan Ceriu
41d40d8de0
Cleanup how we setup the CallKit provider and have it be used for outgoing calls as well (#2967)
- tear down ElementCall screens when ending the call from the CXCallController
- make the call UI available in the task manager and lock screen
- Fix broken hang up widget message format
2024-06-27 14:07:44 +03:00
Element CI
567f22b806 Prepare next release 2024-06-25 01:31:41 -07: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
ef482e6b54
Fix ui tests that use the composer draft service (#2956) 2024-06-21 14:34:16 +02:00
Mauro
f16b9aad0a
Update SDK (#2941) 2024-06-19 12:24:22 +00:00
Doug
834260c144
Use the room heroes when computing a DM avatar. (#2900)
* Use room heroes for DM avatar content ID.

* Use RoomAvatar.heroes for the DM Details stack.
2024-06-19 10:27:10 +00:00
Element CI
17d96b0f4b Prepare next release 2024-06-18 09:23:34 -07:00
Doug
38abd1ddfe
Update the SDK. (#2938) 2024-06-18 15:56:07 +00:00
Element CI
753f966e19 Prepare next release 2024-06-18 04:12:08 -07: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
Mauro
cefa38049f
Store and restore drafts (#2898) 2024-06-13 12:19:38 +00: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
Element CI
511faf0a0e Prepare next release 2024-06-11 09:01:20 -07: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
Stefan Ceriu
53fc5df55b Generate mocks for all SDK classes and introduce a simple TimelineItemFactory test to try them out 2024-06-05 17:51:45 +03: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
Stefan Ceriu
c3571f4f4e Track when the user starts a room call and when they enable formatting options on the message composer 2024-05-30 15:42:26 +03:00
Mauro
8c62c52f45
updated sdk to 1.0.7 (#2888) 2024-05-29 19:18:03 +02:00
Mauro
4e23f7be22
QR Code Login Flow (#2767)
Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>
Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2024-05-29 17:07:17 +02:00
Stefan Ceriu
ca16f63483 Bump the RustSDK to v1.0.4, adopt new heroes and backpagination status APIs 2024-05-27 19:22:16 +03:00
Stefan Ceriu
3a904ebc9d Replace the old MockUserSession with the generated UserSessionMock 2024-05-27 17:05:01 +03:00
Stefan Ceriu
f8d094516d Fixes #2878 - Retain cycles on the ElementCall webView and correctly tear down the call on dismissal. 2024-05-24 15:32:56 +03:00