bmarty
29a489df0b
Sync Strings from Localazy
2024-10-14 00:27:28 +00:00
Benoit Marty
928ab08925
Add missing import
2024-10-10 20:35:12 +02:00
Jorge Martin Espinosa
9db6e97d31
Remove unused RoomSummary cache ( #3647 )
2024-10-10 15:50:28 +00:00
Benoit Marty
354349df19
Merge pull request #3648 from element-hq/feature/bma/identityChangeFeatureFlag
...
Add feature flag IdentityPinningViolationNotifications.
2024-10-10 17:20:29 +02:00
Benoit Marty
f0f22d8f03
Merge pull request #3646 from element-hq/feature/bma/qrCodeFF
...
Enable Login with QR code in release builds.
2024-10-10 17:17:08 +02:00
Benoit Marty
88c617d13e
Add feature flag IdentityPinningViolationNotifications.
...
Disabled in production build, enabled by default on other builds.
2024-10-10 16:28:15 +02:00
Benoit Marty
6f7df87656
Enable Login with QR code in release builds.
2024-10-10 15:53:52 +02:00
ganfra
8b788fe74a
misc : makes sure to always use the same size for fetching avatar thumbnail so caching works properly.
2024-10-10 14:09:49 +02:00
Jorge Martin Espinosa
e44b5ad98d
Upgrade Kotlin to v2.0 ( #3594 )
...
* Bump Kotlin to v2.0
* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-10-10 08:32:00 +00:00
renovate[bot]
6ec39e1e76
fix(deps): update dependency androidx.compose:compose-bom to v2024.09.03 ( #3583 )
...
* fix(deps): update dependency androidx.compose:compose-bom to v2024.09.03
* Fix the `LinearProgressIndicator` new style
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: ElementBot <android@element.io >
2024-10-09 11:50:11 +00:00
ganfra
f43c92723b
Merge pull request #3631 from element-hq/feature/fga/rework_room_summary
...
Rework room summary
2024-10-09 11:44:45 +02:00
ganfra
65fe6ae0f3
misc: extract toSelectRoomInfo method
2024-10-09 11:13:27 +02:00
ganfra
bd59d115e6
misc : rework getRoomInfoFlow (by using getRoomSummaryFlow)
2024-10-08 21:36:38 +02:00
ganfra
d73b1bad91
misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo.
2024-10-08 21:34:34 +02:00
Benoit Marty
3801f85a9c
Do not render pin violation in clear room.
2024-10-08 18:30:08 +02:00
Benoit Marty
c8ff0d5641
Fix code quality.
2024-10-08 11:09:46 +02:00
Benoit Marty
351f058f06
Fix compilation issues.
2024-10-08 10:27:07 +02:00
Benoit Marty
67140fe165
Do what the doc says: if no CustomChrome tab is available, try to open the Url in any installed browser.
2024-10-08 09:10:12 +02:00
Benoit Marty
9d815d26b4
Pin user identity.
2024-10-07 22:19:13 +02:00
Benoit Marty
9b94edcfa3
Render PinViolation above the composer.
2024-10-07 22:18:32 +02:00
Benoit Marty
3514933c53
Add component ComposerAlertMolecule
2024-10-07 22:15:34 +02:00
Benoit Marty
6bdb12f053
Remove unused import.
2024-10-07 18:08:51 +02:00
Benoit Marty
08673f44ce
Use backgroundScope
2024-10-07 17:46:19 +02:00
Benoit Marty
724c183639
Remove dependencies to other presenters to FullScreenIntentPermissionsPresenter.
...
Also do some renaming since FullScreenIntentPermissionsPresenter interface can be removed.
2024-10-07 17:45:18 +02:00
Benoit Marty
fa4caf3561
... and fix the test.
2024-10-07 17:31:55 +02:00
Benoit Marty
ab730f4938
Fix compilation issue in RustMatrixClientFactoryTest...
2024-10-07 17:30:36 +02:00
bmarty
05291bcf2f
Sync Strings from Localazy
2024-10-07 00:28:33 +00:00
Valere
b919781b8e
Merge pull request #3569 from element-hq/feature/valere/only_signed_decryption_mode
...
crypto: Use OnlySigned isolation flag to setup decryption trust req.
2024-10-04 18:02:43 +02:00
Valere
380150b0f9
quick fix: Isolation mode feature flag name udpate
2024-10-04 17:07:16 +02:00
Valere
457e116809
crypto: Use OnlySigned isolation flag to setup decryption trust req.
2024-10-04 17:07:15 +02:00
Benoit Marty
090b989d2a
Hide images: iterate on design.
2024-10-04 17:01:59 +02:00
Benoit Marty
e6ac090915
Do not render images in notification if the setting to hide image is enabled.
2024-10-04 17:01:52 +02:00
Benoit Marty
403bb78112
Improve extension to fix a copy paste issue.
2024-10-04 17:01:52 +02:00
Benoit Marty
f88ec4837e
Add settings to hide images and videos in the timeline.
...
Hide images, videos and stickers in the timeline.
Disable click on hidden content. It must be revealed first.
Add preview without BlurHash.
Also hide image in thumbnails.
2024-10-04 17:01:51 +02:00
renovate[bot]
d67fae8d4c
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.4.15 ( #3595 )
...
* Update dependency io.nlopez.compose.rules:detekt to v0.4.15
* Fix new detekt issues
* Fix KtLint
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-10-04 16:58:19 +02:00
Benoit Marty
b5eb7c4603
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
0cc751d168
dep | Adapt rust-sdk, rename PreviouslyVerified to VerificationViolation
2024-10-04 12:37:33 +02:00
Benoit Marty
ab7c5e5cc7
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
8181572dde
timeline : improve jumpTo precision (introducing animateScrollToItemCenter)
2024-10-03 15:33:03 +02:00
ganfra
3a1c20a0fe
timeline : makes typingNotification item part of the timelineItems.
2024-10-03 13:14:14 +02:00
Jorge Martin Espinosa
60f1bf6e54
Upgrade the used JDK in the project to v21 ( #3582 )
...
* Upgrade the used JDK in the project to v21
* Use it for CI too
* Centralise java language version
* Fix deprecations, tests and lint issues
* Fix coverage taking into account `@Preview` annotated code.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-10-03 09:38:03 +00:00
Benoit Marty
bc9b69c71c
Fix a naming issue.
2024-10-02 21:28:35 +02:00
Benoit Marty
0892cd42f8
Fix tests, replace outdated SDK fixtures
2024-10-02 21:27:10 +02:00
Benoit Marty
4d554de838
Merge pull request #3554 from element-hq/feature/bma/testEmptyTimeline
...
Add unit tests on TimelineItemsSubscriber
2024-10-02 14:04:48 +02:00
Jorge Martin Espinosa
4a43fcb69a
Use Anvil KSP instead of the Square KAPT one ( #3564 )
...
* Use Anvil KSP instead of the Square KAPT one
* Fix several configuration cache, lint and test issues
* Allow incremental kotlin compilation in the CI
* Workaround Robolectric + Compose issue that caused `AppNotIdleException`
* Update the `enterprise` commit hash
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io >
2024-10-02 11:52:17 +00:00
renovate[bot]
bb11bc5494
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
2efdb3ae45
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +00:00
bmarty
3f359d7f0a
Sync Strings from Localazy
2024-09-30 00:26:52 +00:00
Benoit Marty
015d59af13
Remove runCancellableScopeTest and runCancellableScopeTestWithTestScope, we can use TestScope.backgroundScope instead.
2024-09-27 18:37:16 +02:00
Benoit Marty
0a133d71ae
Use backgroundScope for TimelineItemsSubscriberTest
2024-09-27 18:30:05 +02:00