Commit Graph

806 Commits

Author SHA1 Message Date
Doug
a5ae697cac Update the SDK. 2024-08-30 14:45:54 +03:00
Doug
b171612ab7 Adopt sliding sync discovery for authentication. 2024-08-30 14:45:54 +03:00
Element CI
d6fab363c7 Prepare next release 2024-08-27 05:17:35 -07:00
Doug
a3e66d3e7e 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
Mauro
bbb462bd83 Pinned Events Timeline actions and differentiation (#3182) 2024-08-22 17:35:44 +02:00
Doug
6a44d79b6e Use native video call picture in picture! (#3190)
* Use native video call picture in picture!

* Handle isSupported, isPossible and web view errors.

* Use new canEnterPip method.

* Hide a room's Call button when already joined to the call.

* Tweak feature flag description.

* PR comments.
2024-08-21 17:48:57 +01:00
Stefan Ceriu
2e177d3812 Bump the SDK to v1.0.40 2024-08-21 18:02:40 +03:00
Stefan Ceriu
34eb596c1a Introduce a new RoomProxyType and treat rooms differently based on their membership state 2024-08-21 12:24:20 +03:00
Doug
1d29d4de8a Remove GenericCallLinkCoordinator, merging it into CallScreen. (#3181)
* Remove incorrect message send call and fix typo.

* Add overlay coordinator presentation to the NavigationRootCoordinator.

* Remove GenericCallLinkCoordinator, merging it into CallScreen.

This will allow for picture in picture on call links when available.
2024-08-19 17:21:25 +01:00
Stefan Ceriu
ba8c733116 Bump the SDK to v1.0.39 2024-08-15 18:24:31 +03:00
Stefan Ceriu
40bf8a460d Automatically try reloading failed images on network changes (#3170)
* Add the networkMonitor to the NSE and delete the old MockMediaLoader

* Generate a MediaLoaderMock through AutoMockable and use it in the MediaProviderTests

* Implement an ImageProvider mechanism that automatically tries reloading images when connectivity is established again and use it for LoadableImages

* Merge the ImageProvider protocol back into the MediaProvider

* Address PR review comments

* Provide a default sdk client request configuration

* Address tasks not automatically cancelling themselves when views get deallocated
2024-08-15 18:20:19 +03:00
Mauro
803c61e879 PinnedBanner is now managed by the RoomScreenViewModel (#3163) 2024-08-14 12:38:10 +02:00
Doug
8d28bf2bb7 Update the SDK (with latest tweaks for Element Call). 2024-08-14 11:22:01 +01:00
Mauro
ecddcfcd16 RoomScreenViewModel is now TimelineViewModel (#3157)
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-08-13 13:36:40 +02:00
Element CI
987f68e7d8 Prepare next release 2024-08-13 03:55:02 -07:00
Stefan Ceriu
44e6718382 Bump the SDK to v1.0.37 2024-08-13 11:40:01 +03:00
Doug
8d49a237b1 Remove unused protocol. 2024-08-12 12:23:29 +01:00
Stefan Ceriu
66922b5edf Bump the SDK to v1.0.36 2024-08-09 13:57:04 +03:00
Mauro
293c5b234e Navigate to the Pinned events timeline (#3139) 2024-08-08 18:29:39 +02:00
Mauro
c23851bbe6 Pinned events banner goes backwards (#3128) 2024-08-07 14:01:01 +00:00
Mauro
f3ac5c7f91 state events for pinning and unpinning (#3123) 2024-08-06 17:30:42 +02:00
Mauro
07f2242ed0 Pinned events banner loading state (#3118) 2024-08-06 15:46:56 +02:00
Doug
8a8f1fdf2c Use SwiftPackageList to generate acknowledgements. (#3117) 2024-08-06 12:39:37 +01:00
Valere
6b8d440be6 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
9a28682a35 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
Element CI
8e3055f786 Prepare next release 2024-07-30 01:56:57 -07:00
Doug
987aa63eb9 Refactor TimelineItemSendInfo out of the styler. (#3100)
* Reorder some properties.

No code changes.

* Refactor TimelineItemSendInfo out of the styler.

* Add (unused) examples of encryption shields.

* Rename file.
2024-07-30 09:43:17 +01:00
Doug
778e06b1fa Add the inviter to JoinRoomScreen when it's an invite. (#3093)
* Add inviter property to RoomProxyProtocol.

* Extract the room cell inviter label into it's own view.

* Use the new RoomInviterLabel in the JoinRoomScreen.

* Fix bug with invite to a public room.
2024-07-29 09:57:49 +01:00
Mauro
30351a7712 Pin/Unpin Logic (#3084) 2024-07-26 20:41:00 +02:00
Element CI
91483fb44f Prepare next release 2024-07-26 01:33:08 -07:00
Doug
fac2e03258 Update Compound and handle API breaks in Introspect. (#3083) 2024-07-24 17:09:11 +00:00
Doug
94c9a04474 Automatically sign out when toggling the SSS feature flag. (#3071) 2024-07-23 11:55:51 +01:00
Element CI
48abc44fc2 Prepare next release 2024-07-22 08:45:57 -07:00
Mauro
07ee0e4082 Set version to 1.7.0 (#3076) 2024-07-22 17:12:34 +02:00
Mauro
ef4bbb9f6b Pinned Items Banner UI (#3072) 2024-07-22 12:57:04 +00:00
Mauro
d3952cf501 Fix editing items not in the timeline failing (#3075) 2024-07-22 13:15:57 +02:00
Doug
17a86a2066 Add a certificate validator hook. (#3069)
* Add a certificate validator hook.

* General tidy up of AppHooks.

* Don't worry about the generic call links.
2024-07-19 17:05:54 +01:00
Mauro
d8b9700566 Removed RTE script (#3067) 2024-07-19 10:09:57 +02:00
Mauro
27df9b1ae0 Update RTE to 2.37.7 (#3064) 2024-07-18 18:28:48 +02:00
Doug
5370ba1658 Fix a potential race condition when redacting a message. (#3061)
* Refactor the timeline item menu action provider.

- Move it into its own struct.
- Use an item, not an ID so it doesn't randomly change.
- Move permissions into the room screen view model.

* Use the stable ID when redacting/editing/forwarding a message.

Just like we do when fetching the item in the actions menu.
2024-07-18 15:14:38 +01:00
Doug
a141532355 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
de07f441f0 Add a ClientBuilder hook. (#3056) 2024-07-18 09:47:37 +01:00
Doug
af32b84826 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
7e14540287 Fixes #3042 - Cancel ElementCall ringing as soon as the call ends 2024-07-17 10:24:30 +03:00
Doug
2bfa407689 Upgrade Compound. (#3039)
Remove conflicting Introspect package dependency.
2024-07-16 09:22:53 +01:00
Mauro
b90a0a3854 Update RTE with inline prediction working (#3043) 2024-07-15 19:14:52 +02:00
Doug
564c66220c Fix RTE framework signature error when building DEBUG builds for a device. (#3040) 2024-07-15 13:59:11 +01:00
Doug
72a4df20a3 Fix an App Store error due to an RTE version mismatch. (#3029) 2024-07-12 17:01:59 +01:00
Doug
8eae8decaf 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
3cea287348 Update the SDK (fixes unnecessary encryption state requests in the room list). (#3016) 2024-07-08 15:41:24 +01:00