Commit Graph

1691 Commits

Author SHA1 Message Date
Doug
3e621bf425 Remove the Element Call Picture in Picture feature flag. (#3204) 2024-08-27 11:07:19 +01: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
87f8c2eaaf TimelineKind refactor (#3193) 2024-08-22 18:33:21 +00:00
Doug
18e8b5869d Fix the call URL input field in Developer Options (#3192) 2024-08-22 17:45:58 +01:00
Mauro
bbb462bd83 Pinned Events Timeline actions and differentiation (#3182) 2024-08-22 17:35:44 +02:00
Doug
039cc1621f Remove delivered notifications if their event gets redacted. (#3191) 2024-08-22 13:49:00 +01: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
f88957a71e Fixes problems processing invites, build rooms differently based on their membership 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
Doug
2c51f22109 Remove encryption authenticity feature flag. (#3180) 2024-08-19 09:49:10 +01:00
Doug
bcf417cabd Navigation support for upcoming Element Call Picture in Picture mode. (#3174) 2024-08-16 11:25:36 +01:00
ElementRobot
e658c241e8 Translations update (#3172) 2024-08-15 18:50:00 +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 Romito
ef48214d99 removing dead code 2024-08-14 18:04:39 +02:00
Mauro
11072ce574 RoomScreenViewModel refactor part 2 (#3169) 2024-08-14 18:03:46 +02: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
Stefan Ceriu
e37dff5147 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
16e5c3e1a5 Rotate the session directory each time a new client is built for authentication. 2024-08-12 12:23:29 +01:00
Doug
8d49a237b1 Remove unused protocol. 2024-08-12 12:23:29 +01:00
Mauro
0a73adf0cc Remove links from pinned events banner (#3153) 2024-08-12 10:43:30 +02:00
Stefan Ceriu
a56a567cf6 Manually cancel the identity reset handle when dismissing the EncryptionReset screen. 2024-08-09 13:57:04 +03:00
Stefan Ceriu
c48d99218a Switch the new bulk room subscription API 2024-08-09 13:57:04 +03:00
Stefan Ceriu
66922b5edf Bump the SDK to v1.0.36 2024-08-09 13:57:04 +03:00
Stefan Ceriu
83f4e78d60 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
d45d334b09 Fix for a memory leak (#3143) 2024-08-08 19:04:02 +02:00
Mauro
293c5b234e Navigate to the Pinned events timeline (#3139) 2024-08-08 18:29:39 +02:00
Stefan Ceriu
cdc1c44464 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
33b78e1b11 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
e5b4287940 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
278e0a23dd Fixes #3135 - Ignore multiple call notify pushes for the same room 2024-08-08 16:04:47 +03:00
Stefan Ceriu
81d669e5ce 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
Doug
f0ecc24a83 Fix search in the Change Roles screen. (#3138) 2024-08-08 10:44:07 +00:00
Stefan Ceriu
a48f4ea33e Addition to #3122 - Force the room list search text field to always be displayed
- while looking into fixes we noticed that we can more easily break the layout when the search field is automatically hidden
2024-08-07 17:54:28 +03:00
Stefan Ceriu
94992134a3 Delete more unnecessary logs 2024-08-07 17:53:10 +03:00
Mauro
c23851bbe6 Pinned events banner goes backwards (#3128) 2024-08-07 14:01:01 +00:00
Doug
dca5b6a8db Make sure the whole room header is tappable. (#3125)
The space between the avatar and the label wasn't.
2024-08-07 09:39:18 +01:00
Stefan Ceriu
ffcba1310c Remove unnecessary room list logs, they haven't proved useful at any point. 2024-08-06 21:30:40 +03:00
Stefan Ceriu
a33536974b Fixes #3026, fixes #2386 - Force update the home screen every time the room list changes by manually moving the inner scrollview 2024-08-06 21:30:40 +03:00
Mauro
f3ac5c7f91 state events for pinning and unpinning (#3123) 2024-08-06 17:30:42 +02:00
Doug
b13b67c9bc Finalise strings/icons for EncryptionAuthenticity. (#3121) 2024-08-06 15:03:11 +01:00
Mauro
07f2242ed0 Pinned events banner loading state (#3118) 2024-08-06 15:46:56 +02:00
Stefan Ceriu
11285f3a55 Fixes #3050 - Sync mute state between ElementCall and CallKit 2024-08-06 14:31:27 +03:00
Doug
0a17366ebf Add Encryption Authenticity explanations. (#3116) 2024-08-06 10:45:46 +01:00
Doug
b038dedab0 Fix a bug where moving a new line in the composer could move the caret. (#3114) 2024-08-05 14:46:40 +01:00
Mauro
28bfa3f5dc Pinned items timeline implementation for the banner (#3099) 2024-08-05 14:09:05 +02: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