2580 Commits

Author SHA1 Message Date
Mauro Romito
171fc2cdc5 update sdk 2024-11-06 18:24:06 +01:00
Stefan Ceriu
10966ab620 Begin a background task when receiving a call in order to get state updates for longer. nightly/1.9.4.750 2024-11-06 13:40:58 +02:00
Stefan Ceriu
b9d05fe7f3 Prevent the background task's expiration from stopping the main sync loop. 2024-11-06 13:40:58 +02:00
Velin92
8de44b95bf Translations update 2024-11-06 10:05:15 +02:00
Doug
5fc8caca50
Fix a couple of race conditions when observing room info updates for calls. (#3487)
* Fix a race condition observing room info updates for calls.

* Fix a bug where call observation wasn't set up if the call comes when the app has been killed.
nightly/1.9.4.749
2024-11-05 17:48:07 +00:00
Stefan Ceriu
c54e4bf6d5 Fix race condition when setting up session verification controller subscriptions. 2024-11-05 18:50:29 +02:00
Doug
f3a15f7937
Fix the Setup Recovery flow from the home screen banner. (#3483) 2024-11-05 10:52:51 +00:00
Doug
85d497a4d2
Stop the sync loop after each background app refresh. (#3481) nightly/1.9.4.748 2024-11-04 17:21:54 +00:00
Doug
6190a03afc
Directly show Recovery Key and Encryption Reset screens from the home screen banner. (#3482) 2024-11-04 17:21:36 +00:00
Doug
8e26718d0b
Encryption Flow Coordinators. (#3471)
* Manage the secure backup screens with flow coordinators.

* Add UI tests for the EncryptionSettingsFlowCoordinator.

* Realise that the settings flow can't reset anymore and remove the sub-flow 🤦‍♂️

* Add UI tests for the EncryptionResetFlowCoordinator.
2024-11-04 14:22:50 +00:00
Doug
85e1de2c1c
Update the README. (#3480) 2024-11-04 12:46:19 +00:00
Mauro Romito
c34e3e8d94 update sdk 2024-11-04 12:25:41 +01:00
Doug
1f90f1a9f1
Enable the Optimised Media Uploads feature. (#3467)
* Enable the Optimised Media Uploads feature.

(Well move the toggle from Developer Options to Advanced Settings)

* Add OptimizeMediaUploads analytics.

* Final strings.

* Upload reduced quality media by default 😢

Move the setting out of the feature flags section in the file.

* Fix unit tests now the default has changed.

* Pull in updated string, fix snapshots.
nightly/1.9.4.747 nightly/1.9.4.746
2024-10-31 14:14:14 +00:00
Doug
0da225205b
Update the strings for out of sync Key Storage. (#3468)
* Update the banner strings for out of sync key storage.

* Update string on SecureBackupScreen.

* Update snapshots

* Update an alert string we weren't using on iOS, and use it at the same place as Android.
2024-10-31 11:33:11 +00:00
Doug
6f158264fa
Update verify identity button title. (#3466) nightly/1.9.4.745 2024-10-30 16:36:51 +00:00
Doug
368226fd57
Tweak the flow for disabling key storage. (#3464)
* Refactor RoundedLabelItem into the Compound VisualListItem component.

* Update the design of SecureBackupKeyBackupScreen.

* Add a hint to the key storage toggle when disabled.
nightly/1.9.4.744
2024-10-29 17:39:55 +00:00
Doug
c11e49f962
Tweak the flow for setting up a recovery key. (#3463)
* Remove unwanted title.

* Update SecureBackupScreen strings.

* Update SecureBackupRecoveryKeyScreen.

* Show the recovery banner when recovery needs setting up.

* Fix SecureBackupScreen title.

* Fix timeout on MP4 encoding tests
2024-10-29 15:59:22 +00:00
Doug
076ef3e914 Reapply "min macos support" (#3458)
Fixing the version in ASC didn't seem to help, maybe it needs both?
2024-10-29 13:58:30 +00:00
Stefan Ceriu
d77bb935b7
Incoming session verification support (#3428)
* Fixes #1227 - Add support for receiving and interacting with incoming session verification requests.
* Fix a couple of random small warnings
* Move static view config to the view state
* Update snapshots
2024-10-29 15:21:17 +02:00
Doug
cf5e9fb313
Switch to optimised video uploads to 720p (#3462) 2024-10-29 11:44:46 +00:00
Doug
589df7d76e
Use an https callback for OIDC once again. (#3461)
* Use the new WAS callback type and return back to the https callback for OIDC.

* Simplify OIDCAuthenticationPresenter now it doesn't need to handle universal links.

* Remove old unit tests.
2024-10-29 11:28:05 +00:00
Doug
a583892e01
Update translations and some snapshots. (#3459)
* Update snapshots.

* Update translations.
nightly/1.9.4.743
2024-10-28 14:40:02 +00:00
Doug
7c75498b4d
Replace individual RoomProxy properties with a stored RoomInfo. (#3445)
* Store RoomInfo updates in JoinedRoomProxy and read from them directly.

* Remove all RoomProxy properties that were reading from the RoomInfo.
2024-10-28 12:29:31 +00:00
Doug
7c28d9709f
Tweak the flow for changing a recovery key. (#3452)
* Rename Chat Backup setting to Encryption.

* Update Key Storage strings on SecureBackupScreen.

* Update strings/design on SecureBackupRecoveryKeyScreen.
2024-10-28 12:28:13 +00:00
Andy Balaam
4e812f72b9
Enable identity pinning violation notifications unconditionally (#3457)
(Remove the feature flag we added when this feature seemed unstable.)
2024-10-28 12:16:38 +00:00
Doug
ed8aed65c7
Revert "min macos support" (#3458)
This reverts commit 35cbc84a99f3a7d78877504ff64267c7cfa459c7.
2024-10-28 12:12:30 +00:00
Stefan Ceriu
b514d54b3d Fix the order of the frequently used emojis when showing them in the full reaction picker. nightly/1.9.4.742 2024-10-27 16:40:35 +02:00
Stefan Ceriu
7a47e37d38
Fix #1934 - Hook reaction pickers into the system's recently used keyboard emojis (#3453) nightly/1.9.4.741 2024-10-25 19:58:56 +03:00
Mauro Romito
35cbc84a99 min macos support 2024-10-25 10:50:57 +02:00
Mauro
2511c98090
Knocked Preview implementation (#3426)
* 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

* update tests

* new API

* knock implementation and cancel knock

* update strings

* added a knocked cell in the home screen

* design update

* updated SDK

* simplified the invite case code

* pr comments

* updated previews

* added message as reason

* updated strings

* fixing tests

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
nightly/1.9.4.740
2024-10-24 17:23:06 +02:00
Mauro
7d373c07a3
remove iOS 16 support (#3443)
* remove iOS 16 support

* remove iOS 16 support

* test updates

* added more delay

* revert

* adding waiting time on the CI
2024-10-24 17:21:28 +02:00
Element CI
926924912f Prepare next release 2024-10-24 05:53:23 -07:00
Doug
cb4d68a756
Fix a bug where the room state wouldn't indicate when a call was in progress. (#3442)
* Fix breaking changes on decryption errors and sending failures.

* Update SDK and analytics events.

* Add extra UTD strings.

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
1.9.3
2024-10-24 12:54:52 +01:00
Stefan Ceriu
665bdd191f Fix #3369 - Composer mention pills showing up as file icons on first use on iOS 18 2024-10-24 14:42:30 +03:00
Doug
2b82959430
Fix a bug where the pinned items banner could overlay the composer. (#3441) 2024-10-24 11:26:53 +01:00
Mauro
f26159a295
update compound, and updated tests (#3440) 2024-10-23 16:29:41 +00:00
Doug
6584b4d084
Update HeroImage to match the BigIcon component from Compound. (#3439)
We can move it across in a following PR.
2024-10-23 12:13:14 +01:00
Element CI
01886bb4d8 Prepare next release 2024-10-23 02:48:58 -07:00
Stefan Ceriu
8f9f8cbed0 Adopt the changes introduced in matrix-org/matrix-rust-sdk/pull/4159 1.9.2 2024-10-23 12:15:05 +03:00
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>
nightly/1.9.2.738 nightly/1.9.2.737
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>
nightly/1.9.2.736 nightly/1.9.2.735
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
nightly/1.9.2.734
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