Commit Graph

2391 Commits

Author SHA1 Message Date
Doug a4ea552a83 Show a verification badge on the Room Member/User Profile screens. (#3427)
* Add a badge for verified users/room members.

* Reorder subviews.

* Add a (disabled) button to verify other users.

* PR comments.

* Update the SDK.

* Adopt the SDK changes introduced in matrix-rust-sdk/pull/4100

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2024-10-21 16:07:19 +01:00
Doug a0c81cf393 Add support for rendering media captions in the timeline. (#3429) 2024-10-21 15:29:03 +01:00
Doug 201e3b0c9c Fix an issue calculating the width/height of an image. (#3435) 2024-10-21 15:28:23 +01:00
Velin92 4ad0a40898 Translations update 2024-10-21 16:15:26 +03:00
renovate[bot] dbe6485690 Update dependency fastlane to v2.225.0 2024-10-21 08:36:47 +03:00
Mauro bd4ecdd060 Knock and knocked state for the join room screen (#3424)
* JoinRoomScreen ui for knocking

* code improvement

* updated previews

* added knocked state with tests

* send knock request

* Apply suggestions from code review

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* pr comments

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-10-17 14:00:51 +00:00
Doug 1723542d6a Fix an error message in BuildSDK. 2024-10-17 12:45:44 +01:00
Stefan Ceriu 6265217246 Remove superfluous media request upload handle cancellation call. 2024-10-17 14:24:44 +03:00
Stefan Ceriu 0651314e3e Adopt various rust side Timeline API additions (#3423)
* Adopt new reaction toggling API introduced in matrix-org/matrix-rust-sdk/pull/4127

* Adopt the changes introduced in matrix-org/matrix-rust-sdk/pull/4111: use the new `TimelineUniqueId` type instead of `String` for unique timeline identifiers.

* Bump the RustSDK to v1.0.58.

* Fix unit tests
2024-10-16 19:08:34 +03:00
Doug 5a89219f9a Fix the pinned identity banner to always show the user ID regardless of ambiguity. (#3415) 2024-10-16 14:51:29 +01:00
Doug 6078398ad3 Allow image uploads to be optimised to reduce bandwidth. (#3412)
* Use typed throws for intermediate media upload preprocessing steps.

* Remove unnecessary async/await usages.

* Resize images when optimizedMediaUploads is enabled.

* Reduce the JPEG quality.

* Add tests for PNG and HEIC, fix mimetypes for these.

* Add special handling for GIFs.

* Test the files to make sure their mime types match the info.

* Update the filename when converting formats.

* Extend test timeout for video encoding.
2024-10-16 14:50:24 +01:00
Stefan Ceriu 35d49c4d85 Refactor theTimelineItemIdentifier handling; stop relying on optional EventOrTransactionIds and be explicit when setting composer modes from the draft service. 2024-10-16 16:37:47 +03:00
Doug 3d797ccabb Only subscribe to identity updates if the room is encrypted. (#3414) 2024-10-16 10:40:29 +01:00
Doug 718774dc36 Fix some warnings. (#3416) 2024-10-16 08:54:34 +01:00
Element CI 236d142583 Prepare next release 2024-10-15 04:21:58 -07:00
Stefan Ceriu aad423dacc Fix integration tests after clearAndTypeText signature change. 2024-10-15 08:44:06 +03:00
Doug 98a5ee5b48 Add a toggle in the developer options to optimise the media uploads. (#3408) 2024-10-14 14:48:59 +01:00
Doug b1b2297972 Update the SDK. (#3407)
Fixes a bug where we couldn't open images sent by EXA with a mimetype of image/*
2024-10-14 14:59:09 +02:00
Mauro a16e1346fe Create Room with knock rule (#3397)
* create knock room implementation (without SDK)

* Apply suggestions from code review

pr suggestions

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* pr suggestions

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-10-14 11:52:38 +02:00
ElementRobot 25037a67ee Translations update (#3406)
Co-authored-by: Velin92 <34335419+Velin92@users.noreply.github.com>
2024-10-14 11:29:14 +02:00
Element CI 4165bef5e8 Prepare next release 2024-10-10 09:41:27 -07:00
Doug a7ba32a1a7 Version 1.9.0 😎 (#3396) 2024-10-10 17:15:29 +01:00
Doug 71d6fcda26 Fix identity pinning link. (#3395) 2024-10-10 16:46:09 +01:00
Element CI 2c1ae9a93d Prepare next release 2024-10-10 07:01:14 -07:00
Doug 8e03cc862d Show the Login with QR Code button. (#3392) 2024-10-10 14:39:10 +01:00
Stefan Ceriu 4d697a3a49 Introduce a feature flag for the new identity pinning violation notifications feature. 2024-10-10 16:13:34 +03:00
Doug 13bc3a1dd4 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 cd59e497fb Tweak EncryptionReset, IdentityConfirmation and SecureBackupRecovery screens. (#3391) 2024-10-10 11:27:53 +01:00
Doug 429ce4fe61 Ask the iPad to reveal the keyboard in UI Tests when it's hidden. (#3389) 2024-10-10 08:38:40 +01:00
Doug 2194908ee5 Add a subtitle to the QR login instructions. (#3386) 2024-10-09 17:54:01 +01:00
Doug 5c2b107022 Fix an authentication UI test snapshot. 2024-10-09 11:51:55 +01:00
Valere cf81072ff3 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 c087ece3bb Prepare next release 2024-10-08 03:42:33 -07:00
Mauro 798916c935 update sdk (#3377) 2024-10-08 12:23:51 +02:00
Doug a7f7fde27b Add new emoji from iOS 17.4 to the reaction picker. (#3376) 2024-10-08 11:15:11 +01:00
Doug 6e51969d27 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 794d0eead1 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 70652ed7be Translations update (#3371) 2024-10-07 10:51:59 +01:00
Doug ac02b82d56 Record missing snapshot. (#3374) 2024-10-07 10:50:03 +01:00
renovate[bot] 8ba62f5ca0 chore(deps): update dependency fastlane to v2.224.0 (#3370) 2024-10-07 10:16:14 +01:00
Doug e6f4dd33a0 Add developer option to hide media in the timeline. (#3366) 2024-10-03 17:59:39 +01:00
Stefan Ceriu 4f29821306 Workaround for #1786 - Disable auto correction when running on the Mac 2024-10-03 13:49:37 +03:00
Stefan Ceriu 2a2a823861 Remove spammy typing notification sending log 2024-10-03 13:49:37 +03:00
Doug 5522871dd9 MockMediaProvider → MediaProviderMock. 2024-10-03 10:58:59 +01:00
Doug 77e4fae2fb Use the new @Entry macro everywhere.
Fix analytics service optionality.
2024-10-03 10:58:59 +01:00
Mauro e0ee4be834 use element-hq RTE version (#3360) 2024-10-02 14:30:07 +00:00
Stefan Ceriu c79dbe85a0 Bump the RustSDK to v1.0.53: adopt latest record based timeline item APIs (#3356) 2024-10-01 18:50:11 +03:00
Doug 268d9f7479 Move the core logic in LoginScreenCoordinator into the ViewModel. (#3348) 2024-10-01 13:09:45 +01:00
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