840 Commits

Author SHA1 Message Date
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
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
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
Doug
f0a40ddf36
Update the SDK. (#2873) 2024-05-21 15:30:01 +01:00
Valere
2e35db04db
Posthog: bump to 3.2.5 to fix reset deleting more than posthog files (#2872) 2024-05-21 09:41:44 +01:00
Mauro
545b5c31cc
Bump SDK (#2857)
Co-authored-by: Doug <douglase@element.io>
2024-05-20 14:37:45 +02:00
Element CI
57afc3bbd5 Prepare next release 2024-05-17 01:50:17 -07:00
Doug
5fe84f9c85 Switch to element-hq rust components. 2024-05-15 11:32:45 +01:00
Doug
1fc6243051 Update the SDK. 2024-05-14 17:56:34 +01:00
Mauro
2c038c5969
DM Details have been updated (#2836) 2024-05-14 18:47:20 +02:00
Element CI
b71e6ffd39 Prepare next release 2024-05-13 06:06:11 -07:00
Mauro Romito
1556bb095b Wipe log files following SDK bump 2024-05-13 15:38:19 +03:00
Doug
1e0a6d76ae 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
ae06226cbc
UI update for room details (#2831) 2024-05-10 17:58:35 +02:00
Stefan Ceriu
a401976b2b Enable room list invites by default and remove old code paths 2024-05-09 19:01:57 +03:00
Element CI
1166400312 Prepare next release 2024-05-09 04:59:35 -07:00
Stefan Ceriu
905b21e0a8
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
e1a2c5e599 Update the SDK. 2024-05-08 11:33:37 +01:00
Valere
bd4fae6086
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
bb58f3840d Prepare next release 2024-05-07 04:53:22 -07:00
Valere
176abd5841
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
11557e4879
Update the SDK. (#2776)
Handle async FFI changes.

Fix flakey unit test.
2024-05-03 12:00:05 +01:00
Stefan Ceriu
38416dbb5c
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
Valere
ec19b5a0c4
Support for posthog super properties (#2774)
* Support for posthog super properties

* Use typed SuperProperties and add tests

* update superProperty in AppCoordinator
2024-05-02 16:21:09 +01:00
Doug
e511ac3cb2
Update SwiftOGG to fix bug with case-sensitive file systems. (#2770) 2024-05-01 12:06:36 +01:00
Mauro
18dc9cd20f
Account URL is now fetched async (#2769) 2024-04-30 19:08:32 +02:00
Doug
f688d2eda4
Permalink Tweaks (#2768)
* Revert back to creating a new flow when re-selecting the same room.

Fix the composer bug by adding IDs to the all of the module AnyViews.

* Don't show the live timeline when starting with a focussed event.
2024-04-30 17:25:32 +01:00
Doug
7c94ed98a5
Permalink Tweaks 2 (#2766)
* Missing changelog.

* Parse bare room aliases as permalinks.

Update the SDK.

* Fix tapping the same permalink twice.

Add a test.

Don't clear the focussed item when reaching the bottom of the timeline.

* Make sure sending a message returns to live.
2024-04-29 17:32:16 +01:00