Commit graph

3819 commits

Author SHA1 Message Date
Benoit Marty
2b5acb3023 Rename CurrentCallObserver to CurrentCallService 2024-11-06 17:24:26 +01:00
Benoit Marty
12e7172eb6 Update tests 2024-11-06 10:11:50 +01:00
Benoit Marty
1c78f96148 Ensure the user can join the call even if they has joined a call in another session. 2024-11-06 09:50:03 +01:00
Benoit Marty
58e66963d8 Hide the join call button if the user is already in the call.
This is at the account level so if the user has joined the call on another device, the join button will be hidden.

Extract room call state presenter to its own module and update RoomCallState model.
Let RoomDetailsPresenter use the new RoomCallStatePresenter
2024-11-06 09:14:47 +01:00
Benoit Marty
4e9f429491
Merge pull request #3776 from element-hq/feature/bma/targetApi35
Target api 35
2024-11-05 09:39:50 +01:00
renovate[bot]
8abb1dd236
Update dependency androidx.constraintlayout:constraintlayout-compose to v1.1.0 (#3770)
* Update dependency androidx.constraintlayout:constraintlayout-compose to v1.1.0

* Fix negative margin usage

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-11-04 17:38:16 +01:00
Benoit Marty
af78197a8f
Merge pull request #3798 from element-hq/sync-localazy
Sync Strings
2024-11-04 09:59:03 +01:00
Benoit Marty
a9618e8193
Merge pull request #3779 from element-hq/feature/bma/mediaUpload
Optimize media upload
2024-11-04 09:43:21 +01:00
bmarty
0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
ganfra
21db1fd6a3
Merge pull request #3780 from element-hq/feature/fga/logs_fix_removal
bugfix: do not remove logs after sending them
2024-10-31 20:06:48 +01:00
Benoit Marty
7146a6c0d6 Use MimeTypes.Jpeg 2024-10-31 12:49:31 +01:00
Jorge Martin Espinosa
057ef38644
Fix the onboarding flow getting stuck in some cases (#3778)
This was caused by several `DefaultFtueService` instances being created and only the latest one receiving new state updates while the `LoggedInFlowNode` which decides the navigation was stuck subscribed to the initial one. `DefaultFtueService` has now been marked as s singleton to fix this.
2024-10-31 10:55:17 +00:00
ganfra
7aa1a338e7 bugfix: do not remove logs after sending them 2024-10-31 11:42:14 +01:00
Benoit Marty
a772f000e7
Merge pull request #3745 from andybalaam/andybalaam/enable-identity-violation-notifs-unconditionally
Enable identity pinning violation notifications unconditionally
2024-10-31 11:34:38 +01:00
Benoit Marty
c0a77e819b Optimize media: enabled by default. 2024-10-31 10:43:09 +01:00
Benoit Marty
0a64dd173d Optimize media: update wording. 2024-10-31 10:40:14 +01:00
Benoit Marty
1dd2ad0c5c
Merge pull request #3758 from element-hq/feature/bma/editorStateFixture
Editor state fixture and preview improvement
2024-10-31 10:36:01 +01:00
Andy Balaam
50471f8707
Merge branch 'develop' into andybalaam/enable-identity-violation-notifs-unconditionally 2024-10-31 09:13:20 +00:00
Benoit Marty
920c50cc3d Compile and target API 35.
Tested OK on a API 35 emulator.
2024-10-31 09:27:52 +01:00
Benoit Marty
4b98ee92e3 Improve FakeMatrixRoom to be able to check all the parameters. 2024-10-30 18:39:55 +01:00
Benoit Marty
26a4441d64 Create fixtures for TextEditorState. 2024-10-30 14:48:18 +01:00
Benoit Marty
1c020bcf26
Merge pull request #3750 from element-hq/feature/bma/cryptoIteration
UI iteration on the encryption settings
2024-10-30 11:11:35 +01:00
Benoit Marty
2fd4d86d01 Change wording to "Verify identity" 2024-10-29 21:49:08 +01:00
Benoit Marty
666cedd66e
Merge pull request #3733 from element-hq/feature/bma/incomingVerification
Incoming session verification
2024-10-29 18:03:28 +01:00
Joe Groocock
ab75babc11
Fix oversize padding on captioned images/videos (#3732)
* Fix oversize padding on captioned images/videos

Use consistent padding with the InReplyToView for the media, and
consistent caption padding with other textual messages.

Signed-off-by: Joe Groocock <me@frebib.net>

* Update screenshots

---------

Signed-off-by: Joe Groocock <me@frebib.net>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
2024-10-29 17:34:09 +01:00
Benoit Marty
229f843a2d Move TextWithLabelMolecule to the designsystem module. 2024-10-29 16:43:26 +01:00
Benoit Marty
d83c09863f Rename some private composable functions. 2024-10-29 16:41:37 +01:00
Benoit Marty
405543a953 Add missing tests. 2024-10-29 15:20:02 +01:00
Benoit Marty
1e0c212459 Crypto: iterate on wording, UI and UX.
Change wording of setup recovery key banner and change target to root.
Iterate on wording of encryption screen.
Change button to Switch.
Iterate on wording to delete key storage.
Iterate on wording and icon on the root setting.
Remove confirmation dialog when disabling backup.
Add subtitle to change recovery key action.
Enable key storage directly, remove quite empty screen to setup the backup.
Disable recovery action if key backup is disabled.
2024-10-29 14:54:59 +01:00
Benoit Marty
b8b38208f4 Incoming session verification request
Add more log to the state machines
Ensure the block cannot be cancelled, else if the Rust SDK emit a new state during the API execution, the state machine may cancel the api call.
Let VerificationFlowState values match the SDK api for code clarity.
Rename sub interface for clarity.
Migrate tests to the new FakeVerificationService.
2024-10-29 09:26:15 +01:00
Benoit Marty
a51c2753ba Fix test compilation issue. 2024-10-28 13:50:47 +01:00
Andy Balaam
e362cad312 Enable identity pinning violation notifications unconditionally
(Remove the feature flag we added when this feature seemed unstable.)
2024-10-28 11:40:47 +00:00
Benoit Marty
846dbc2b18 Add media upload setting.
Compress media regarding the settings.
Image compression change quality to 78%
Video compression change size to 720 x 48
2024-10-28 10:56:58 +01:00
bmarty
1856363964 Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
Valere
9fb68fc58e
Bump rust-sdk version to rust-sdk 0.2.57 (#3735)
* Bump rust-sdk version to rust-sdk 0.2.57

* rust sdk update: Support persisted WedgeQueueError

* Trust & Decoration | Support new expected UTD causes

* Room Subscribtion settings not needed anymore (see https://github.com/matrix-org/matrix-rust-sdk/pull/4159)

* File/Attachement upload: update to support `storeInCache`

* feat(knock): update API to use reason and serverNames

* Add another `Konsist` exception

* Update screenshots

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-24 16:45:16 +02:00
ganfra
98057c1c39
Merge pull request #3725 from element-hq/feature/fga/knock_request_to_join
Feature: knock request to join
2024-10-23 18:50:32 +02:00
ganfra
5cce2ff572 knock : improve a bit code and add tests. 2024-10-23 15:44:00 +02:00
Benoit Marty
95d95d4f89
Merge pull request #3718 from element-hq/feature/bma/verifiedUserBadge
Verified user badge
2024-10-23 14:20:23 +02:00
Benoit Marty
67efecdec6 Fix preview for ignore user in a DM case. 2024-10-23 13:13:40 +02:00
Benoit Marty
f516c09d3b Change a preview to have a room detail state without any badge. 2024-10-23 13:09:51 +02:00
Benoit Marty
2eec17fec7 Ensure modifier of BadgeList is used. 2024-10-23 13:06:55 +02:00
Benoit Marty
35867f9837 Let roomBadges be a computed val of RoomDetailsState 2024-10-23 12:59:56 +02:00
ganfra
89ac2a6831 knock : adjust api while sdk is not ready. 2024-10-22 16:49:39 +02:00
ganfra
512b362615 knock : close screen when canceling knock 2024-10-22 16:22:20 +02:00
ganfra
bc4a9a4ad0 knock : display alias in knocked room item list 2024-10-22 16:22:20 +02:00
ganfra
78b3839b34 knock : start adding ui to the JoinRoomView 2024-10-22 16:22:20 +02:00
ganfra
b0503978a1 knock : display knocked room in the room list 2024-10-22 16:22:19 +02:00
ganfra
73a46dcfc7 knock : use PendingRoom instead of InvitedRoom 2024-10-22 16:22:19 +02:00
ganfra
96b24c5299 knock : update strings 2024-10-22 16:22:07 +02:00
Benoit Marty
26da0f377a
Merge pull request #3719 from element-hq/feature/bma/iconSizeAndColor
Use BigIcon and fix colors
2024-10-22 15:50:54 +02:00