Commit Graph

1714 Commits

Author SHA1 Message Date
Stefan Ceriu
89eae00479 Switch license to AGPL (#3237)
* Switch license file to AGPL

* Update file copyright headers

* Update the default project file header
2024-09-06 16:34:30 +03:00
Stefan Ceriu
383a538a0a Fix unfinished comment about onboarding flow verification state listening. 2024-09-06 09:51:44 +03:00
Stefan Ceriu
cb9389fd73 Fixes #3231 - Rewrite how out of band verification changes are handled within the onboarding flows 2024-09-06 07:06:03 +03:00
Stefan Ceriu
b03ed608cc Delay setting up subscriptions until the RoomListService is running in order to avoid cancelling in flight initial sync requests 2024-09-05 17:26:11 +03:00
Stefan Ceriu
b3a2d4b10d Bump the RustSDK to v1.0.44 2024-09-04 10:53:30 +03:00
Stefan Ceriu
5fc6a246ac Fixes #3217 - Force room title headers to layout on one single line 2024-09-04 09:39:46 +03:00
Jorge Martín
8dbca39ed7 Make pinned events required state in SlidingSync
This is needed to always have the pinned events of a room as soon as we open it.
2024-09-03 18:24:05 +03:00
Stefan Ceriu
b2f42e975c Fixes #3126 - Prevent verification state changes other than verified from blocking the user on the session verification screen 2024-09-03 15:48:26 +03:00
Velin92
b3a58bb120 Translations update 2024-09-03 12:11:53 +03:00
Stefan Ceriu
818d1c668f Update subscriptions if visible range rooms change without the range itself changing (#3220)
* Remove room list range deduplication and allow subscribing to rooms when then update to come into the visible range.

* Fixes #3088 - Update subscriptions if visible range rooms change without the range itself changing
- we switched from range based subscribing with duplicate suppression to id based, but ids can change without ranges changing
- the all rooms list fetches at least 1 event per rooms and can cause rooms to come in and out of the visible range without user interaction
2024-09-02 18:35:31 +03:00
Stefan Ceriu
e70c887b21 Accept current autocorrection/suggestion before sending a message (#3219)
* Fixes #3216 - Accept current autocorrection/suggestion before sending a message.

* Switch from a temporary textField to `inputDelegate` selection changes
2024-09-02 16:33:40 +03:00
Stefan Ceriu
a75e181790 Tweak the EncryptionReset root screen copy. 2024-08-30 15:07:23 +03:00
Stefan Ceriu
c6eb7b63bf Add a logout option on the root of IdentityVerification screen. 2024-08-30 15:07:23 +03:00
Doug
c1991b6745 Default to native sliding sync discovery. 2024-08-30 14:45:54 +03:00
Doug
a3e36269a4 SonarCloud: Remove redundant rethrow. 2024-08-30 14:45:54 +03:00
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
Doug
ef2fd1e0d2 Adopt sliding sync versions for client Restoration. 2024-08-30 14:45:54 +03:00
Stefan Ceriu
143b560454 Fixes #3110 - Manually populate profiles when displaying the timeline. 2024-08-29 16:22:44 +03:00
Stefan Ceriu
de659abed0 Fix LoadableImage randomly deciding not to load images (revert back to 15b4cbf65d) 2024-08-29 16:22:44 +03:00
Doug
ccbe3c7342 Make sure reactions go through the timeline controller. (#3209) 2024-08-29 09:51:51 +01:00
Doug
a510688a75 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
55296a6fcc Translations update (#3201)
Update snapshots too.
2024-08-27 12:10:49 +01:00
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