Commit Graph

2343 Commits

Author SHA1 Message Date
Mauro 5f4c2890f6 Remove message pinning FF (#3318) 2024-09-30 12:32:35 +00:00
Doug 5d35a74fb6 Switch UI tests back to the perf-only runner. (#3349) 2024-09-30 11:13:14 +01:00
Stefan Ceriu bd3f80143b Switch codecov-Action@v3 to v0.7.3 so it runs on Intel macs 2024-09-30 11:59:08 +03:00
Stefan Ceriu a24e9932fc Re-enable the photo and document sharing flow tests 2024-09-30 11:59:08 +03:00
Stefan Ceriu be09f77ae2 Switch the integration tests to the perf-only runner 2024-09-30 11:59:08 +03:00
Velin92 46263cca42 Translations update 2024-09-30 09:07:33 +03:00
Doug 17dfe1359a Selecting a server that doesn't support login now fails instead of letting you continue to a failure later. (#3342)
* Fail configuration of the authentication service if the homeserver doesn't support login.

* Move the ServerSelectionCoordinator logic into the ViewModel.

- Handle the new login alert.
- Add more tests
2024-09-27 13:58:05 +01:00
Stefan Ceriu 8a3994016d Allow focusing the different avatars making up a DM details cluster separately. (#3341) 2024-09-27 15:23:20 +03:00
Stefan Ceriu 9d23dec2e9 Tracing and integration test tweaks (#3336)
* Disable image and document picker integration tests as they randomly fail to load and are flakey.

* Delete any pre-existing log files

* Various tracing tweaks and fixes:
- delete the custom tracing log levels as we can't control their ouput
- implement comparable on them
- change default levels only if the new chosen level increases their verbosity

* Make logging targets mandatory and fix their logging levels

* Switch back to using the `run_tests` reset simulator flag as `fastlane snapshot reset_simulators` was too generic and slow

* Switch all integration test taps to `tapCenter` (nee forceTap) after noticing missed taps on CI.

* Make the logging file prefix explicit, let the main app not use one.

* Rename tracing configuration `target` to `currentTarget`
2024-09-27 15:08:47 +03:00
renovate[bot] df6d0a999f chore(deps): update dependency fastlane to v2.223.1 (#3340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 11:41:21 +01:00
Doug 605337b748 Log any failures when creating a call widget. (#3339) 2024-09-27 11:40:43 +01:00
Stefan Ceriu 4080ff199f Have ElementCall always default to the speaker; prevent the lock button from ending the call
- previously handled in 7818fa626a
- seems the default behavior changed and we now need to manually configure the AudioSession
2024-09-27 13:38:08 +03:00
renovate[bot] 3b8da1c92d chore(deps): update dependency fastlane to v2.223.0 2024-09-27 09:32:21 +03:00
Doug 2184081bc5 Make sure the room header takes up as much space as possible (to hide the back button). (#3335)
* Make sure the room header takes up as much space as possible (to hide the back button).

* Ignore coverage on the developer options screen.
2024-09-26 18:07:50 +01:00
Doug 4d7d687954 Start fixing flakey tests ❄️ (#3329)
* Wait longer on authentication flow tests.

* Move default perceptualPrecision value into the snapshot preferences.

* Delay snapshots *before* setting up the test.

* Reset the simulators on GitHub before running?

* Remove a test that is now handled by Rust.

* Fix a test that was yielding.
2024-09-26 16:09:01 +01:00
Valere 23ab453a1e crypto: rename invisible crypto flag to deviceIsolationMode (#3331) 2024-09-26 12:24:46 +01:00
Stefan Ceriu dc6d7f2985 Integration test improvements (#3330)
* Send a message from integration tests and check that it doesn't show up in the app logs
* Increase photo library timeout

* Wait for image tapping to process

* Send a message using the rich text editor too

* Wait for the various pickers to finish loading

* Set all logs to `trace` in integration tests

* Close formatting options after sending the second message

* Make sure logs are actually sent to tracing and get redirected to the right file

* Switch from using a custom `trace` log configuration to the lowest level `TracingConfiguration` we support
2024-09-26 10:15:09 +03:00
Doug a8dbda90d9 Configure the AuthenticationService later now that we have 2 flows on the start screen. (#3316)
* Don't query the homeserver until confirming it (or selecting a different one).

* Setup the infrastructure to test AuthenticationService.

Implement basic tests for configuration & password login.

* Use the real AuthenticationService with a mock Client in all of the tests.

* Add tests for the ServerConfirmationScreenViewModel.

* Remove redundant view state and test for it.
2024-09-25 14:40:18 +01:00
Doug af8c16150b Upgrade Kingfisher to fix a bug that prevented GIFs from being tapped. (#3326)
* Upgrade Kingfisher to fix a bug the prevented GIFs from being tapped.

https://github.com/onevcat/Kingfisher/issues/2295

* Fix tests.
2024-09-25 13:10:02 +01:00
Doug 864bd23d35 Use a plain view for reactions instead of a TabView. (#3328)
We don't use any of the TabView features and it shows a tab bar at the bottom when the list is long.
2024-09-25 11:00:18 +01:00
Doug 6faa26eade Add detection for latest devices. (#3327)
* Update various packages.
Notable changes:
- DeviceKit now detects iPad Pro (M4), iPad Air (M2) and iPhones 16.
- KZFileWatchers isn't updated but now has a tag to pin to.

* Try using a raw destination for tests.
To fix an issue where CI isn't finding iPhone 16 when it's clearly listed by simctl.
2024-09-25 10:01:21 +01:00
Element CI f5001c8464 Prepare next release 2024-09-24 07:23:55 -07:00
Doug f772849d2e Don't use the new iPad modal presentation mode for the timeline item menu. (#3325) 2024-09-24 14:42:45 +01:00
Doug c264e9e590 Use the UIColors directly instead of wrapping the SwiftUI Colors. (#3324) 2024-09-24 12:24:03 +01:00
Doug d73681221d Update the SDK. (#3323) 2024-09-24 11:33:34 +01:00
Doug 83b0670503 Fix a regression where you can't scroll the timeline on iOS 17 (#3320)
It was caused by a fix for the same bug on iOS 18 🤦‍♂️
2024-09-23 19:00:05 +01:00
Valere 69009a899a Fix: confusion of lab flags for invisible crypto (#3319) 2024-09-23 16:43:02 +01:00
Doug 4996137006 Fix various flakey tests. 2024-09-23 16:25:49 +01:00
Doug d2d3b28dc7 Use an environment variable to record failures. 2024-09-23 16:25:49 +01:00
Doug d41dd47b51 Update Preview tests for Xcode 16. 2024-09-23 16:25:49 +01:00
Doug 3514eba4a5 Split up the generated tests from the snapshotting code. 2024-09-23 16:25:49 +01:00
Doug 7bfd73de5f Update Unit tests for Xcode 16. 2024-09-23 16:25:49 +01:00
Doug 7b42df84ae Update Integration tests for Xcode 16. 2024-09-23 16:25:49 +01:00
Doug 6e83ecb290 Don't reset the simulator contents on GitHub. 2024-09-23 16:25:49 +01:00
Doug 6818be1afc Update UI tests for Xcode 16. 2024-09-23 16:25:49 +01:00
Doug e4736b12bb A bunch of random tweaks. (#3317)
- Fix warning on single case enum.
- Remove unused subjects.
- Fix a lint warning.
- Remove unused success value.
- Fix warning about position of try await.
- Add a note about the common tracing configuration.
- Show an indicator when resolving a send failure fails.
- Make sure the whole row is clickable in the GlobalSearchScreen.
2024-09-23 13:00:40 +01:00
ElementRobot d48214a98b Translations update (#3315)
Co-authored-by: Velin92 <34335419+Velin92@users.noreply.github.com>
2024-09-23 10:28:34 +02:00
Mauro adfd41a3f9 Enable message pinning (#3308) 2024-09-23 09:51:50 +02:00
Element CI da6487e054 Prepare next release 2024-09-19 08:14:56 -07:00
Matthew Hodgson 78fb64ced2 quick and dirty /join command (#3288)
Co-authored-by: Mauro Romito <mauro.romito@element.io>
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2024-09-19 14:29:42 +00:00
Mauro 943f33b496 Await for room sync only for push notification invites (#3307) 2024-09-19 13:42:58 +00:00
Stefan Ceriu 5d678abd26 Various Danger fixes (#3304)
* Update signoff allow list

* Try to get SwiftLint working again
2024-09-18 19:26:02 +01:00
Valere f7d878bac6 crypto: Add configuration flag to enable invisible crypto (#3247) 2024-09-18 16:30:45 +01:00
Stefan Ceriu 5acfb5dd87 Try to stop random codecov test result action failures from failing the whole test run. 2024-09-18 15:22:34 +03:00
Element CI ac27951c93 Prepare next release 2024-09-18 03:33:20 -07:00
Stefan Ceriu 9b6470d1f3 Stop delaying subscriptions until after startup (#3294)
- reverts b43797f4bf
- relies on https://github.com/matrix-org/matrix-rust-sdk/pull/3981
2024-09-18 12:16:46 +02:00
Doug 63a0a99dbd Use the new strings for send failures when the unsigned devices are your own. (#3299) 2024-09-18 10:48:16 +01:00
Mauro 16812e21ea Bump SDK to 1.0.51 (#3298) 2024-09-18 11:38:43 +02:00
Doug 5078f571ed Push the deactivate account screen. (#3297) 2024-09-18 10:21:48 +01:00
Doug 5625e78fc9 Add support for account deactivation when not using OIDC. (#3295) 2024-09-17 20:08:35 +01:00