Commit Graph

3815 Commits

Author SHA1 Message Date
Benoit Marty
6ea98d3d26 Merge pull request #3776 from element-hq/feature/bma/targetApi35
Target api 35
2024-11-05 09:39:50 +01:00
renovate[bot]
c518e1ce65 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
3819135e7c Merge pull request #3798 from element-hq/sync-localazy
Sync Strings
2024-11-04 09:59:03 +01:00
Benoit Marty
6c025663eb Merge pull request #3779 from element-hq/feature/bma/mediaUpload
Optimize media upload
2024-11-04 09:43:21 +01:00
bmarty
fed502957b Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
ganfra
fcea72100e 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
b43064fa42 Use MimeTypes.Jpeg 2024-10-31 12:49:31 +01:00
Jorge Martin Espinosa
f8cdd0a712 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
0ffffc8d83 bugfix: do not remove logs after sending them 2024-10-31 11:42:14 +01:00
Benoit Marty
014b82c681 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
8feff65378 Optimize media: enabled by default. 2024-10-31 10:43:09 +01:00
Benoit Marty
46b1a98623 Optimize media: update wording. 2024-10-31 10:40:14 +01:00
Benoit Marty
a65094291b 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
7bf6299e6a Merge branch 'develop' into andybalaam/enable-identity-violation-notifs-unconditionally 2024-10-31 09:13:20 +00:00
Benoit Marty
5eeb46702f Compile and target API 35.
Tested OK on a API 35 emulator.
2024-10-31 09:27:52 +01:00
Benoit Marty
e6f7300be6 Improve FakeMatrixRoom to be able to check all the parameters. 2024-10-30 18:39:55 +01:00
Benoit Marty
53858f6206 Create fixtures for TextEditorState. 2024-10-30 14:48:18 +01:00
Benoit Marty
e95613f3fe 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
328ef75d10 Change wording to "Verify identity" 2024-10-29 21:49:08 +01:00
Benoit Marty
8cdac32522 Merge pull request #3733 from element-hq/feature/bma/incomingVerification
Incoming session verification
2024-10-29 18:03:28 +01:00
Joe Groocock
b4ccd5801d 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
5a1b4cbf55 Move TextWithLabelMolecule to the designsystem module. 2024-10-29 16:43:26 +01:00
Benoit Marty
05e70ef5d0 Rename some private composable functions. 2024-10-29 16:41:37 +01:00
Benoit Marty
5e1099da41 Add missing tests. 2024-10-29 15:20:02 +01:00
Benoit Marty
fe16a29283 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
d1b3ecab36 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
8cc86bd410 Fix test compilation issue. 2024-10-28 13:50:47 +01:00
Andy Balaam
83dcac3c87 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
2531ccf8e9 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
8cf5729ece Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
Valere
371799fdad 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
52053fcf38 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
2ffd46061e knock : improve a bit code and add tests. 2024-10-23 15:44:00 +02:00
Benoit Marty
89493f870f Merge pull request #3718 from element-hq/feature/bma/verifiedUserBadge
Verified user badge
2024-10-23 14:20:23 +02:00
Benoit Marty
6b52dfa1ae Fix preview for ignore user in a DM case. 2024-10-23 13:13:40 +02:00
Benoit Marty
774389474b Change a preview to have a room detail state without any badge. 2024-10-23 13:09:51 +02:00
Benoit Marty
ba16616caa Ensure modifier of BadgeList is used. 2024-10-23 13:06:55 +02:00
Benoit Marty
eddbcb9499 Let roomBadges be a computed val of RoomDetailsState 2024-10-23 12:59:56 +02:00
ganfra
6afc72e453 knock : adjust api while sdk is not ready. 2024-10-22 16:49:39 +02:00
ganfra
5f40f47145 knock : close screen when canceling knock 2024-10-22 16:22:20 +02:00
ganfra
b5b83660c2 knock : display alias in knocked room item list 2024-10-22 16:22:20 +02:00
ganfra
928b1af702 knock : start adding ui to the JoinRoomView 2024-10-22 16:22:20 +02:00
ganfra
1424296811 knock : display knocked room in the room list 2024-10-22 16:22:19 +02:00
ganfra
1c72135148 knock : use PendingRoom instead of InvitedRoom 2024-10-22 16:22:19 +02:00
ganfra
12d26bb3b7 knock : update strings 2024-10-22 16:22:07 +02:00
Benoit Marty
b69028671c Merge pull request #3719 from element-hq/feature/bma/iconSizeAndColor
Use BigIcon and fix colors
2024-10-22 15:50:54 +02:00
Benoit Marty
97cd7d3096 Code quality 2024-10-22 14:19:07 +02:00
Benoit Marty
ebb79bb729 Room badge: let the presenter compute the list of badges. 2024-10-22 14:09:38 +02:00
Benoit Marty
200ae60a8b Verified user badge.
Add disable action to verify user.
2024-10-22 14:09:35 +02:00
Benoit Marty
227bfab37b Use BigIcon. 2024-10-22 12:02:44 +02:00