Commit Graph

688 Commits

Author SHA1 Message Date
Doug
0c8c0ce9b6 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
2ccf11618d Remove plain style layout (#2980) 2024-06-27 16:53:19 +02:00
Stefan Ceriu
90a22ce5c9 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
839d5b52df Prepare next release 2024-06-25 01:31:41 -07:00
Doug
99309ddfd2 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
77c8d22396 Fix ui tests that use the composer draft service (#2956) 2024-06-21 14:34:16 +02:00
Mauro
c4baa988d9 Update SDK (#2941) 2024-06-19 12:24:22 +00:00
Doug
6e834e7f8b 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
4509aa3a9b Prepare next release 2024-06-18 09:23:34 -07:00
Doug
710163dc0a Update the SDK. (#2938) 2024-06-18 15:56:07 +00:00
Element CI
65eefd6268 Prepare next release 2024-06-18 04:12:08 -07:00
Stefan Ceriu
4bd330647f 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
c88e82a2b8 Bump the RustSDK to v1.0.14 2024-06-17 17:37:13 +03:00
Mauro
8b8cee0a78 Store and restore drafts (#2898) 2024-06-13 12:19:38 +00:00
Stefan Ceriu
c6a20ce6a5 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
4eaf17839f 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
517d5f9222 Prepare next release 2024-06-11 09:01:20 -07:00
Stefan Ceriu
e77329664e Bump the RustSDK to v1.0.11 2024-06-11 18:46:43 +03:00
Stefan Ceriu
e5bcc34a24 Introduce mock SDK timeline items and a live, lorem ipsum based, timeline provider 2024-06-11 18:09:43 +03:00
Doug
80b4a2a8c9 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
3f57668f56 Adopt Rust's new sessionPath that replaces the basePath (#2903) 2024-06-06 18:35:57 +01:00
Stefan Ceriu
425f4bd45f 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
4d6f5d91a8 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
3993ab0ebf 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
6004bb7de8 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
0a95206c94 updated sdk to 1.0.7 (#2888) 2024-05-29 19:18:03 +02:00
Mauro
e09e34aa61 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
4ffc98ee48 Bump the RustSDK to v1.0.4, adopt new heroes and backpagination status APIs 2024-05-27 19:22:16 +03:00
Stefan Ceriu
d922d5ef09 Replace the old MockUserSession with the generated UserSessionMock 2024-05-27 17:05:01 +03:00
Stefan Ceriu
b55eb7d19e Fixes #2878 - Retain cycles on the ElementCall webView and correctly tear down the call on dismissal. 2024-05-24 15:32:56 +03:00
Doug
616be33a1a Update the SDK. (#2873) 2024-05-21 15:30:01 +01:00
Valere
aeb776e695 Posthog: bump to 3.2.5 to fix reset deleting more than posthog files (#2872) 2024-05-21 09:41:44 +01:00
Mauro
ab0edf0b0e Bump SDK (#2857)
Co-authored-by: Doug <douglase@element.io>
2024-05-20 14:37:45 +02:00
Element CI
cbccd15948 Prepare next release 2024-05-17 01:50:17 -07:00
Doug
5f291c5123 Switch to element-hq rust components. 2024-05-15 11:32:45 +01:00
Doug
3d26f66293 Update the SDK. 2024-05-14 17:56:34 +01:00
Mauro
cbfa4f2cf6 DM Details have been updated (#2836) 2024-05-14 18:47:20 +02:00
Element CI
3a95868d77 Prepare next release 2024-05-13 06:06:11 -07:00
Mauro Romito
73a77b83ec Wipe log files following SDK bump 2024-05-13 15:38:19 +03:00
Doug
73e37a8ddf Make sure we pass the via parameters with all the routes.
Put the event ID first.

Fix tests.

Bump the SDK.
2024-05-13 15:37:57 +03:00
Mauro
ce2de325ac UI update for room details (#2831) 2024-05-10 17:58:35 +02:00
Stefan Ceriu
0548450b6b Enable room list invites by default and remove old code paths 2024-05-09 19:01:57 +03:00
Element CI
dd33b60aac Prepare next release 2024-05-09 04:59:35 -07:00
Stefan Ceriu
83163012f6 Fixes #2808 - Switch the message sending failure options from a dialog to an alert
* Fixes #2808 - Switch the message sending failure options from a dialog to an alert
- this prevents it from showing up as a popup on the room list on an iPad
- it used to be set on the timeline and not on the timeline item because of our use of a UITableView
* Cleanup room screen action names
2024-05-09 14:35:47 +03:00
Doug
722a4f6882 Update the SDK. 2024-05-08 11:33:37 +01:00
Valere
2d12c097d5 Posthog: report SessionSecurityState (#2795)
* Posthog: report SessionSecurityState

* Review quick change

---------

Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2024-05-07 14:31:12 +00:00
Element CI
41b639d570 Prepare next release 2024-05-07 04:53:22 -07:00
Valere
6d2c4d87ed Bump posthog SDK version to 3.2.0 (#2788)
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2024-05-06 15:07:05 +00:00
Doug
5a493d74fc Update the SDK. (#2776)
Handle async FFI changes.

Fix flakey unit test.
2024-05-03 12:00:05 +01:00
Stefan Ceriu
addd5827ea Plain composer suggestions and pills (#2751)
* Move ComposerToolbar files to withing the RoomScreen folder (as it's not a screen on its own)

* Switch the plain composer to NSAttributedStrings

* Enable suggestions on the plain composer

* Introduce a new `MatrixUserDisplayName` attributed string attributed and use it for mention building

* Implement mention pill rendering and sending on the plain message composer

* Fix plain composer snapshot tests

* Fix broken formatting options layout

* Add clarifying comment.
2024-05-03 10:06:16 +01:00