4476 Commits

Author SHA1 Message Date
Doug c9603dce55 Adopt sliding sync versions for client Restoration. 2024-08-30 14:45:54 +03:00
Stefan Ceriu b1af4afdcb Fixes #3110 - Manually populate profiles when displaying the timeline. 2024-08-29 16:22:44 +03:00
Stefan Ceriu 2021e3b5ae Fix LoadableImage randomly deciding not to load images (revert back to b5f1d5947b) 2024-08-29 16:22:44 +03:00
Doug 02f868c320 Make sure reactions go through the timeline controller. (#3209) 2024-08-29 09:51:51 +01:00
Element CI e439689b65 Prepare next release 2024-08-27 05:17:35 -07:00
Doug ea9ae61f7d Update the default timeout to match the SDK as the value kills download tasks 🤦‍♂️ (#3205)
This new value isn't great either but there's a balance to be made.
2024-08-27 12:55:58 +01:00
ElementRobot 6bd9d2526a Translations update (#3201)
Update snapshots too.
2024-08-27 12:10:49 +01:00
Doug 61df1dd18c Remove the Element Call Picture in Picture feature flag. (#3204) 2024-08-27 11:07:19 +01: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 ebef0d1fbe Update CONTRIBUTING.md 2024-08-27 09:23:26 +03:00
Mauro 993fe8cd36 TimelineKind refactor (#3193) 2024-08-22 18:33:21 +00:00
Doug 8c07397548 Fix the call URL input field in Developer Options (#3192) 2024-08-22 17:45:58 +01:00
Mauro 4eb1ed5d09 Pinned Events Timeline actions and differentiation (#3182) 2024-08-22 17:35:44 +02:00
Doug d54e08e815 Remove delivered notifications if their event gets redacted. (#3191) 2024-08-22 13:49:00 +01:00
Doug a1cb6bd376 Clarify the mention copy in notifications. (#3142) 2024-08-22 11:51:05 +00:00
Doug 304070e8cc 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 4e3ab9c04a Bump the SDK to v1.0.40 2024-08-21 18:02:40 +03:00
Stefan Ceriu 404b78e7c7 Fixes problems processing invites, build rooms differently based on their membership 2024-08-21 18:02:40 +03:00
Stefan Ceriu e281a3f242 Introduce a new RoomProxyType and treat rooms differently based on their membership state 2024-08-21 12:24:20 +03:00
Doug e0ba9925e7 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
Doug 6616d1799f Remove encryption authenticity feature flag. (#3180) 2024-08-19 09:49:10 +01:00
ElementRobot 4e66788321 Translations update (#3179) 2024-08-19 08:44:42 +01:00
Doug ebf7c00eeb Navigation support for upcoming Element Call Picture in Picture mode. (#3174) 2024-08-16 11:25:36 +01:00
ElementRobot 4f5b652608 Translations update (#3172) 2024-08-15 18:50:00 +01:00
Stefan Ceriu ad13f644c5 Bump the SDK to v1.0.39 2024-08-15 18:24:31 +03:00
Stefan Ceriu f89c3e54b4 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 Romito cf35056c78 removing dead code 2024-08-14 18:04:39 +02:00
Mauro 0bbdb05220 RoomScreenViewModel refactor part 2 (#3169) 2024-08-14 18:03:46 +02:00
Doug e3c4b3781a Update package acknowledgements (after resetting the packages). (#3167) 2024-08-14 13:17:34 +01:00
Mauro c71da91d54 PinnedBanner is now managed by the RoomScreenViewModel (#3163) 2024-08-14 12:38:10 +02:00
Doug 9f665d28f9 Update the SDK (with latest tweaks for Element Call). 2024-08-14 11:22:01 +01:00
Doug 1384a720b8 Add a danger check for PR titles that contain a "Fixes #1234" prefix. (#3161) 2024-08-13 13:22:08 +01:00
Mauro 1ad361a6e8 RoomScreenViewModel is now TimelineViewModel (#3157)
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-08-13 13:36:40 +02:00
Element CI 4519275559 Prepare next release 2024-08-13 03:55:02 -07:00
Stefan Ceriu 2fa7934a4a Bump the SDK to v1.0.37 2024-08-13 11:40:01 +03:00
Stefan Ceriu 5eda85a171 Fixes #3144 - Stop showing filters when the room list is not in the rooms display mode 2024-08-13 09:49:05 +03:00
Doug 5e36811822 Rotate the session directory each time a new client is built for authentication. 2024-08-12 12:23:29 +01:00
Doug 8e9ed248e0 Remove unused protocol. 2024-08-12 12:23:29 +01:00
Mauro c62c12397b Remove links from pinned events banner (#3153) 2024-08-12 10:43:30 +02:00
Stefan Ceriu 13d2fa7060 Manually cancel the identity reset handle when dismissing the EncryptionReset screen. 2024-08-09 13:57:04 +03:00
Stefan Ceriu 4617d0c255 Switch the new bulk room subscription API 2024-08-09 13:57:04 +03:00
Stefan Ceriu 65bfd84426 Bump the SDK to v1.0.36 2024-08-09 13:57:04 +03:00
Stefan Ceriu e32067c069 Fixes #3126 - Prevent identity confirmation from blocking the user's progress after registering through OIDC (#3141)
- happened because `hasRunIdentityConfirmationOnboarding` is false while the verification state is still `.unknown`
- verification eventually changes to `.verified` but the flow coordinator doesn't catch up on it and blocks the flow
2024-08-09 13:14:59 +03:00
Mauro b84c436551 Fix for a memory leak (#3143) 2024-08-08 19:04:02 +02:00
Mauro ed7d3b0b13 Navigate to the Pinned events timeline (#3139) 2024-08-08 18:29:39 +02:00
Stefan Ceriu 0ad8f3cae8 Fixes #3137 - Delay starting ElementCall until a sync response comes in (or a 5 second timeout)
- this will ensure that the room state is up to date before sending any call related events
2024-08-08 16:04:47 +03:00
Stefan Ceriu 0b984cc3eb Fix #3133 - Cancel ElementCall rining once answered elsewhere
- expose `activeRoomCallParticipants` and use them to detect if the user has joined the call from a different device
2024-08-08 16:04:47 +03:00
Stefan Ceriu 9b9f45ea0c Fixes #3134 - Fix answering call not opening app
- we're currently working around the widget not properly aquiring media streams by manually terminating a call before starting the web view
- it seems that there's a race condition between that and the system opening the app
- as such we need to delay terminating the call until the system gets a chance to handle the redirect
2024-08-08 16:04:47 +03:00
Stefan Ceriu 398442ff12 Fixes #3135 - Ignore multiple call notify pushes for the same room 2024-08-08 16:04:47 +03:00
Stefan Ceriu 7818fa626a Fixes #3136 - Stop manually configuring ElementCall's AudioSession
- CallKit decides what action to to take when pressing the hardware lock button based on where the audio is routed to. Using the speaker will make it lock the phone while using the headset will make it end the call.
- Before the introduction of CallKit we had to manually setup the AudioSession to keep the audio live in the background. This is now clashing with CallKit making it bevelie the audio is not routed to the speaker and causing the call be terminated when pressing the lock button.
2024-08-08 16:04:47 +03:00