Commit Graph

2372 Commits

Author SHA1 Message Date
ElementRobot
d2f6ff42d3 Translations update (#3406)
Co-authored-by: Velin92 <34335419+Velin92@users.noreply.github.com>
2024-10-14 11:29:14 +02:00
Element CI
535de455c1 Prepare next release 2024-10-10 09:41:27 -07:00
Doug
583ebeb268 Version 1.9.0 😎 (#3396) 2024-10-10 17:15:29 +01:00
Doug
92f58377bf Fix identity pinning link. (#3395) 2024-10-10 16:46:09 +01:00
Element CI
29fdd809aa Prepare next release 2024-10-10 07:01:14 -07:00
Doug
02e60a5de8 Show the Login with QR Code button. (#3392) 2024-10-10 14:39:10 +01:00
Stefan Ceriu
a79aad7c54 Introduce a feature flag for the new identity pinning violation notifications feature. 2024-10-10 16:13:34 +03:00
Doug
011343a1ea Update the secondary button stroke colour. (#3393)
* Update Compound which changes the secondary button stroke colour.

* Remove old UI test snapshots and update Acknowledgements.
2024-10-10 12:46:42 +01:00
Doug
431d88b6c1 Tweak EncryptionReset, IdentityConfirmation and SecureBackupRecovery screens. (#3391) 2024-10-10 11:27:53 +01:00
Doug
2e9df064ca Ask the iPad to reveal the keyboard in UI Tests when it's hidden. (#3389) 2024-10-10 08:38:40 +01:00
Doug
fbccf7ff06 Add a subtitle to the QR login instructions. (#3386) 2024-10-09 17:54:01 +01:00
Doug
bfd8a31701 Fix an authentication UI test snapshot. 2024-10-09 11:51:55 +01:00
Valere
8756e97640 crypto: Configure decryption trustRequirement based on config flag (#3358)
* crypto: Configure decryption trustRequirement based on config flag

* quick review
2024-10-08 14:25:34 +00:00
Element CI
b17d0c34cd Prepare next release 2024-10-08 03:42:33 -07:00
Mauro
f126bfcea0 update sdk (#3377) 2024-10-08 12:23:51 +02:00
Doug
bdea8779d9 Add new emoji from iOS 17.4 to the reaction picker. (#3376) 2024-10-08 11:15:11 +01:00
Doug
09a6febc71 Update the SDK and use media filename and caption internally. (#3375)
Doesn't render captions (other than in fallback places).
2024-10-08 11:00:58 +01:00
Stefan Ceriu
7655b33f5d Fixes element-hq/element-meta/issues/2525 - Display a warning when a user's pinned identity changes 2024-10-07 20:47:31 +03:00
ElementRobot
7b31d183aa Translations update (#3371) 2024-10-07 10:51:59 +01:00
Doug
ee12674208 Record missing snapshot. (#3374) 2024-10-07 10:50:03 +01:00
renovate[bot]
00aa720fa8 chore(deps): update dependency fastlane to v2.224.0 (#3370) 2024-10-07 10:16:14 +01:00
Doug
74ff86695e Add developer option to hide media in the timeline. (#3366) 2024-10-03 17:59:39 +01:00
Stefan Ceriu
481111193a Workaround for #1786 - Disable auto correction when running on the Mac 2024-10-03 13:49:37 +03:00
Stefan Ceriu
318786762f Remove spammy typing notification sending log 2024-10-03 13:49:37 +03:00
Doug
33c172b0f2 MockMediaProvider → MediaProviderMock. 2024-10-03 10:58:59 +01:00
Doug
d132568d13 Use the new @Entry macro everywhere.
Fix analytics service optionality.
2024-10-03 10:58:59 +01:00
Mauro
a32ad29407 use element-hq RTE version (#3360) 2024-10-02 14:30:07 +00:00
Stefan Ceriu
45d59c57d6 Bump the RustSDK to v1.0.53: adopt latest record based timeline item APIs (#3356) 2024-10-01 18:50:11 +03:00
Doug
e95fb7c27e Move the core logic in LoginScreenCoordinator into the ViewModel. (#3348) 2024-10-01 13:09:45 +01:00
Mauro
98d7654a1d Remove message pinning FF (#3318) 2024-09-30 12:32:35 +00:00
Doug
c290330307 Switch UI tests back to the perf-only runner. (#3349) 2024-09-30 11:13:14 +01:00
Stefan Ceriu
21d3376b31 Switch codecov-Action@v3 to v0.7.3 so it runs on Intel macs 2024-09-30 11:59:08 +03:00
Stefan Ceriu
0345e085a2 Re-enable the photo and document sharing flow tests 2024-09-30 11:59:08 +03:00
Stefan Ceriu
ac92187c12 Switch the integration tests to the perf-only runner 2024-09-30 11:59:08 +03:00
Velin92
c595e63238 Translations update 2024-09-30 09:07:33 +03:00
Doug
aec4e3e8ca 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
2c10dfdb7f Allow focusing the different avatars making up a DM details cluster separately. (#3341) 2024-09-27 15:23:20 +03:00
Stefan Ceriu
e918dc66ae 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]
c4c0d1e714 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
ec9f6e21a8 Log any failures when creating a call widget. (#3339) 2024-09-27 11:40:43 +01:00
Stefan Ceriu
69ce39bbc3 Have ElementCall always default to the speaker; prevent the lock button from ending the call
- previously handled in 81d669e5ce
- seems the default behavior changed and we now need to manually configure the AudioSession
2024-09-27 13:38:08 +03:00
renovate[bot]
2c23205b35 chore(deps): update dependency fastlane to v2.223.0 2024-09-27 09:32:21 +03:00
Doug
1f44a7eb63 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
0274cf3cd5 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
5516743886 crypto: rename invisible crypto flag to deviceIsolationMode (#3331) 2024-09-26 12:24:46 +01:00
Stefan Ceriu
79e3758887 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
94f5879639 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
f52ed2f929 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
d03a3ae428 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
faf3736a1e 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