Commit Graph

947 Commits

Author SHA1 Message Date
Benoit Marty f508f3e38f Remove blank line 2024-10-29 11:50:58 +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 a899a0e129 Fix API break. 2024-10-28 21:19:33 +01:00
Benoit Marty 87336aedff Fix API break. 2024-10-28 21:05:26 +01: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
ganfra 89ac2a6831 knock : adjust api while sdk is not ready. 2024-10-22 16:49:39 +02:00
ganfra ed5454bbb3 knock : add knock function to the matrix client 2024-10-22 16:22:19 +02:00
ganfra 73a46dcfc7 knock : use PendingRoom instead of InvitedRoom 2024-10-22 16:22:19 +02:00
Benoit Marty 5378c4efad Verified user badge.
Add disable action to verify user.
2024-10-22 14:09:35 +02:00
Benoit Marty 3b8b1d5aba Fix API break in tests. 2024-10-22 10:05:26 +02:00
Benoit Marty 9e5738e093 Fix API break. 2024-10-22 09:36:11 +02:00
Benoit Marty 40b1ba58fb Fix API break. 2024-10-21 22:33:15 +02:00
Benoit Marty 1f8f1c998f Fix API Break: introduce EventOrTransactionId 2024-10-18 08:49:11 +02:00
Benoit Marty 0db54df877 Restore fun interface for a sweeter code. 2024-10-16 17:12:46 +02:00
Benoit Marty 70c643be5e Remove unused isLocal field. 2024-10-16 16:19:04 +02:00
Benoit Marty 28d9da6d62 Fix other API change: EventShieldsProvider and EventTimelineItemDebugInfoProvider have been replaced by LazyTimelineItemProvider 2024-10-16 16:10:16 +02:00
Benoit Marty fb809dd074 Fix other API change: map new value Membership.KNOCKED 2024-10-16 16:09:33 +02:00
Benoit Marty c1c9f53015 Fix other API change: body renamed to filename 2024-10-16 16:09:32 +02:00
Benoit Marty 6a1ef6d6f7 Fix API update regrading OidcPrompt. 2024-10-16 14:58:04 +02:00
Benoit Marty 7ece687740 Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
Jorge Martin Espinosa 22f79f2726 Remove unused RoomSummary cache (#3647) 2024-10-10 15:50:28 +00:00
ganfra a3db4b2043 Merge pull request #3631 from element-hq/feature/fga/rework_room_summary
Rework room summary
2024-10-09 11:44:45 +02:00
ganfra 348c84b8b9 misc : rework getRoomInfoFlow (by using getRoomSummaryFlow) 2024-10-08 21:36:38 +02:00
ganfra eeb6b6f4bf misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo. 2024-10-08 21:34:34 +02:00
Benoit Marty 920dc2b0d7 Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty 0099777360 Fix code quality. 2024-10-08 11:09:46 +02:00
Benoit Marty bc62f8cfce Fix compilation issues. 2024-10-08 10:27:07 +02:00
Benoit Marty d9fb0cf656 Pin user identity. 2024-10-07 22:19:13 +02:00
Benoit Marty c69e5f47e5 Render PinViolation above the composer. 2024-10-07 22:18:32 +02:00
Benoit Marty 23c0dc10cd ... and fix the test. 2024-10-07 17:31:55 +02:00
Benoit Marty 9e32463446 Fix compilation issue in RustMatrixClientFactoryTest... 2024-10-07 17:30:36 +02:00
Valere 041f1b4a06 crypto: Use OnlySigned isolation flag to setup decryption trust req. 2024-10-04 17:07:15 +02:00
Benoit Marty 05a6a3b3ce Merge pull request #3604 from element-hq/feature/bma/fixBuildWithLocalSdk
Fix building the app using a local SDK.
2024-10-04 15:02:25 +02:00
Valere 2230163bbe dep | Adapt rust-sdk, rename PreviouslyVerified to VerificationViolation 2024-10-04 12:37:33 +02:00
Benoit Marty 1e91e8b356 Fix building the app using a local SDK.
Inject `AnalyticsService` instead of `UtdTracker` since `UtdTracker` requires access to `org.matrix.rustcomponents.sdk.UnableToDecryptDelegate`
2024-10-04 12:01:30 +02:00
ganfra adc03c9676 timeline : improve jumpTo precision (introducing animateScrollToItemCenter) 2024-10-03 15:33:03 +02:00
ganfra 1e4c30c569 timeline : makes typingNotification item part of the timelineItems. 2024-10-03 13:14:14 +02:00
Benoit Marty 55c11e966e Fix a naming issue. 2024-10-02 21:28:35 +02:00
Benoit Marty ed1cb24c28 Fix tests, replace outdated SDK fixtures 2024-10-02 21:27:10 +02:00
Benoit Marty 29356b96c1 Merge pull request #3554 from element-hq/feature/bma/testEmptyTimeline
Add unit tests on TimelineItemsSubscriber
2024-10-02 14:04:48 +02:00
renovate[bot] 3001efb525 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.50 (#3565)
* Adapt to changes in the SDK

* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.50

* Use lambda instead of overriding the `EventDebugInfoProvider` interface

* Fix test proposal.
We may find a better way to compare data class instance if we need to do more comparison in the future...

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-01 09:44:52 +02:00
Jorge Martin Espinosa eeec7cc785 Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
Benoit Marty f89463c3a1 Remove runCancellableScopeTest and runCancellableScopeTestWithTestScope, we can use TestScope.backgroundScope instead. 2024-09-27 18:37:16 +02:00
Benoit Marty b9c9706c48 Use backgroundScope for TimelineItemsSubscriberTest 2024-09-27 18:30:05 +02:00
Benoit Marty 7628d480a8 Fix quality issues. 2024-09-27 17:40:30 +02:00
Benoit Marty b7c6369ebf Add test on TimelineItemsSubscriber. 2024-09-27 17:06:48 +02:00
Benoit Marty 738ac54be5 Extract createMatrixTimelineDiffProcessor from class. 2024-09-27 14:13:52 +02:00
Valere 10014d3936 rename invisible flag to onlySignedDeviceIsolation 2024-09-25 23:02:01 +02:00