Commit Graph

2281 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
Doug d24214c674 Make sure we don't reuse an old NSEUserSession after logging out and back in. (#3273) 2024-09-12 10:24:05 +01:00
Doug 022cc59d56 Try uploading test results to Codecov. (#3266) 2024-09-12 07:09:15 +01:00
Element CI 0e6a2594dd Prepare next release 2024-09-11 07:14:10 -07:00
Mauro 0d9d8f9fa4 Sdk v1.0.47 (#3265) 2024-09-11 15:55:15 +02:00
Doug b85bd602f5 Tidy-up useless directories at the end of a test run. 2024-09-11 14:54:28 +01:00
Doug af3a6ccbed Make the SessionDirectories type responsible for cleaning up data. (#3261) 2024-09-11 14:32:03 +01:00
Stefan Ceriu 84a3ffc135 Require a specific snapshotting device minor OS version when running PreviewTests 2024-09-11 15:24:25 +03: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
Mauro Romito 10fcb5575d version bump to 1.8.0 2024-09-11 13:24:34 +02: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
Stefan Ceriu f264c2559c Free up CI runner disk space before running UI tests. 2024-09-10 18:23:13 +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
Stefan Ceriu c8cb65c92b Update bug.yml 2024-09-10 15:18:11 +03: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 f6c8aae09e Switch codecov-action back to v3 as 4 significantly decreases coverage
- previously seen in https://github.com/element-hq/element-x-ios/pull/2727
2024-09-10 11:55:18 +03: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 d88440dda4 Fix post-merge snapshots tests. 2024-09-09 15:22:29 +03: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
Velin92 cce42a7126 Translations update 2024-09-09 08:24:59 +03:00
Stefan Ceriu 0d5f249196 Make SwiftFormat 0.54.4 happy. 2024-09-09 08:23:53 +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 dc85cb10ed Stop running and publishing performance metrics to gh-pages 2024-09-05 13:49:56 +03:00
Element CI fbca83ba5f Prepare next release 2024-09-04 01:28:23 -07: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
renovate[bot] c132f67913 Update GitHub Actions 2024-09-03 18:21:22 +03:00
Stefan Ceriu c73a60dca7 Revert "Update GitHub Actions"
This reverts commit a6cdbc3329.
2024-09-03 18:14:28 +03:00
renovate[bot] a6cdbc3329 Update GitHub Actions 2024-09-03 15:50:57 +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