Commit Graph

1735 Commits

Author SHA1 Message Date
Doug 47a093eb4e Fix interactive dismissal of our QLPreviewController on iOS 18. (#3274) 2024-09-12 12:22:18 +01:00
Doug a1c47ad209 Make sure we reset the feature flag when upgrading to SSS. (#3272) 2024-09-12 10:38:07 +01:00
Mauro 0d9d8f9fa4 Sdk v1.0.47 (#3265) 2024-09-11 15:55:15 +02:00
Doug af3a6ccbed Make the SessionDirectories type responsible for cleaning up data. (#3261) 2024-09-11 14:32:03 +01:00
Stefan Ceriu 65bacfaae3 Fixes #3173 - Force frame sizes for timeline items that are missing sizing info. 2024-09-11 15:24:25 +03:00
Stefan Ceriu eb60a8d3f4 Fixes #3249 - Converge on the same max height for both text composers. 2024-09-11 13:52:28 +03:00
Mauro ed67a29277 Added a pin icon (#3257) 2024-09-11 10:40:11 +00:00
Stefan Ceriu ff5b22cecf Bring back default controls for QuickLook based media viewers (#3254)
* Fixes #3243 - Bring back default controls for QuickLook based media viewers
2024-09-11 12:11:30 +03:00
Stefan Ceriu bef892451e Add a banner that offers the user to transition to native sliding sync (#3252)
* Fixes #2508 - Offer user to transition to SSS

* Rename `HomeScreenBannerMode.shown` to `HomeScreenBannerMode.show`

* Generate and use preview tests for the migration banner

* Bump the RustSDK to v1.0.46

* Address PR review comment
2024-09-11 08:21:27 +03:00
Mauro 4ec6098838 Allow redacted messages to be viewed and unpinned (#3251) 2024-09-10 15:25:21 +02:00
Doug 539452394e Add iOS 18 to the Introspect supported versions. (#3248) 2024-09-10 13:24:17 +01:00
Doug cc4942fb78 Require acknowledgement to send to verified users who have unsigned devices or have changed their identity. (#3215)
* Refactor HeroImage style.

* Add a screen to resolve (crypto-related) timeline item send failures.

* Refactor send failures.

* Update the SDK.
2024-09-10 09:56:11 +01:00
Stefan Ceriu c2b9a7f170 Fix wrong durations for uploaded media
At some point Uniffi introduced [automatic conversions](https://github.com/mozilla/uniffi-rs/blob/35140607dce7092f04d619a5d0b07f9ffe98b4ff/uniffi_bindgen/src/bindings/swift/templates/DurationHelper.swift#L19) from Rust's `Duration` to `TimeInterval`s but the original implementation for media uploading was using milliseconds. When the conversion happened there were no breaking changes and iOS kept sending millis instead of seconds, resulting in **very** wrong values.
2024-09-10 11:11:34 +03:00
Mauro Romito 1a3378f6d3 tweaks for the RC 2024-09-09 18:01:16 +02:00
Stefan Ceriu 2f6fea29f3 Replace Prefire with a very similar but simpler and more direct approach (#3232)
* Replace Prefire with a very similar but simpler and more direct approach

* Move PreviewTest snapshots to their new location (snapshotting default, mirrors UITests)

* Update acknowledgements

* Switch snapshot configuration extensions to a custom version

* Exclude snapshots from the PreviewTests target

* Fix acknowledgements

* Rename snapshotting preference keys

* Remove `skipPackagePluginValidation`
2024-09-09 15:07:41 +03:00
Stefan Ceriu a4166de502 Add support for showing media playback controls on the lock screen 2024-09-09 14:42:32 +03:00
Stefan Ceriu d0d24e2d09 Remove spammy logs 2024-09-09 14:42:32 +03:00
Stefan Ceriu a5fe629790 Fix message composer presendCallback warnings 2024-09-09 14:42:32 +03:00
Stefan Ceriu 37ed7addf5 Fixes #3197 - Allow voice message playback in the background
- inform other audio sessions on deactivation
- let CallKit handle the audioSession for ElementCall
2024-09-09 14:42:32 +03:00
Stefan Ceriu a0eafe26c3 Fixes #3147 - Remove the sliding sync proxy wait list 2024-09-09 12:41:28 +03:00
Stefan Ceriu 6759a66533 Fixes #3146 - Remove the account migration screen 2024-09-09 12:41:28 +03:00
Stefan Ceriu 664e87fe87 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 0f3b33c5ae Fix unfinished comment about onboarding flow verification state listening. 2024-09-06 09:51:44 +03:00
Stefan Ceriu 2da4059718 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 b43797f4bf 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 7b03c23baa Bump the RustSDK to v1.0.44 2024-09-04 10:53:30 +03:00
Stefan Ceriu bf127f441f Fixes #3217 - Force room title headers to layout on one single line 2024-09-04 09:39:46 +03:00
Jorge Martín 3b0f02d2b9 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 3c4e9e02bb 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 6b2928a7cb Translations update 2024-09-03 12:11:53 +03:00
Stefan Ceriu 288b1e7896 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 062811cac4 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 302df1879e Tweak the EncryptionReset root screen copy. 2024-08-30 15:07:23 +03:00
Stefan Ceriu 32e1e1aa24 Add a logout option on the root of IdentityVerification screen. 2024-08-30 15:07:23 +03:00
Doug 904045f178 Default to native sliding sync discovery. 2024-08-30 14:45:54 +03:00
Doug 015e32d772 SonarCloud: Remove redundant rethrow. 2024-08-30 14:45:54 +03:00
Doug 342ad57ce7 Update the SDK. 2024-08-30 14:45:54 +03:00
Doug 4925884f6c Adopt sliding sync discovery for authentication. 2024-08-30 14:45:54 +03:00
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
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
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