Commit Graph

8614 Commits

Author SHA1 Message Date
Benoit Marty 60dd4db677 Ensure the CI compile and execute all the unit tests. 2024-10-07 17:18:53 +02:00
Benoit Marty de6b34dc7a Merge pull request #3609 from element-hq/feature/bma/slidingSyncCheck
Remove supportSlidingSync boolean.
2024-10-07 15:30:39 +02:00
Benoit Marty b211941673 Merge pull request #3611 from frebib/frebib/black-on-black
Fix black-on-black status bars with hidden media
2024-10-07 09:38:38 +02:00
Benoit Marty 30f49745c7 Merge pull request #3606 from element-hq/renovate/com.google.testparameterinjector-test-parameter-injector-1.x
fix(deps): update dependency com.google.testparameterinjector:test-parameter-injector to v1.18
2024-10-07 09:35:44 +02:00
Benoit Marty 96b43db819 Merge pull request #3612 from element-hq/sync-localazy
Sync Strings - import translations to Persian
2024-10-07 09:34:29 +02:00
bmarty e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Joe Groocock 0b67dfdc3d Use CircleShape instead of 50% RoundedCornerShape
This is a builtin alias for the same thing.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-10-05 15:57:07 +00:00
Joe Groocock 1e4be645b8 Fix black-on-black status bars with hidden media
In dark mode, the ElementTheme composable incorrectly applied a dark
colour to the status bars, which was nearly invisible on top of the
black background of the app.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-10-05 15:54:42 +00:00
Valere 4319a42d03 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
Benoit Marty 779c6db508 Merge pull request #3592 from element-hq/feature/bma/hideImages
Add developer setting to hide images in the timeline
2024-10-04 17:57:37 +02:00
ElementBot 1f7b05a58d Update screenshots 2024-10-04 15:15:15 +00:00
ElementBot 0018cce7c1 Update screenshots 2024-10-04 15:12:13 +00:00
Valere 3259539cc3 quick fix: Isolation mode feature flag name udpate 2024-10-04 17:07:16 +02:00
Valere 041f1b4a06 crypto: Use OnlySigned isolation flag to setup decryption trust req. 2024-10-04 17:07:15 +02:00
Benoit Marty 1fad4d43be Do not inject the TimelineProtectionPresenter 2024-10-04 17:02:05 +02:00
Benoit Marty a72c406c86 Fix preview name. 2024-10-04 17:02:04 +02:00
Benoit Marty b889e8681c Rename hideContent to hideMediaContent 2024-10-04 17:02:03 +02:00
Benoit Marty fafd5d4871 Let invokeOnCurrentTimeline lambda param return Unit so that we can remove run block. 2024-10-04 17:02:02 +02:00
Benoit Marty a3e2457834 SuppressWarnings ModifierClickableOrder 2024-10-04 17:02:02 +02:00
ElementBot 70c6bede97 Update screenshots 2024-10-04 17:02:00 +02:00
Benoit Marty 8b282f27e5 Hide images: iterate on design. 2024-10-04 17:01:59 +02:00
Benoit Marty 5285696b0a Fix test name. 2024-10-04 17:01:58 +02:00
Benoit Marty a465b0c080 Remove dead code. 2024-10-04 17:01:57 +02:00
Benoit Marty 73bdf0e1ce Add unit test on ProtectedView and TimelineProtectionState 2024-10-04 17:01:56 +02:00
Benoit Marty 8ffdfff839 Add unit test on TimelineProtectionPresenter 2024-10-04 17:01:55 +02:00
Benoit Marty d2bd1b7cab Fix test 2024-10-04 17:01:54 +02:00
Benoit Marty 0244b71795 Fix test compilation 2024-10-04 17:01:53 +02:00
Benoit Marty f544f31761 Do not render images in notification if the setting to hide image is enabled. 2024-10-04 17:01:52 +02:00
Benoit Marty fd142c16d9 Improve extension to fix a copy paste issue. 2024-10-04 17:01:52 +02:00
Benoit Marty dd2a1b3388 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] 98d9abecd9 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 2944879d1b Merge pull request #3607 from element-hq/misc/jme/fix-screenshot-recording-in-ci
Fix screenshot recording in CI
2024-10-04 16:56:55 +02:00
Benoit Marty 74aa1ce695 Remove supportSlidingSync boolean.
Note that this field was not used (read) anymore, so this is just cleaning up the code.
2024-10-04 16:56:16 +02:00
renovate[bot] d371c49fad Update wysiwyg to v2.37.13 (#3596)
* Update wysiwyg to v2.37.13

* Update licenses to include AGPL3 and remove unused ones

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-10-04 14:49:39 +00:00
renovate[bot] 93d7fabef1 fix(deps): update dependency com.google.testparameterinjector:test-parameter-injector to v1.18 2024-10-04 14:10:40 +00:00
Benoit Marty 39d7084554 Merge pull request #3559 from element-hq/renovate/dependencyanalysis
chore(deps): update dependencyanalysis to v2.1.3
2024-10-04 16:09:31 +02:00
ElementBot 02a173f441 Update screenshots 2024-10-04 14:05:07 +00:00
Jorge Martín eb78f32e8c Fix screenshot recording in CI 2024-10-04 15:53:14 +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 802126186c Merge pull request #3602 from element-hq/feature/valere/bump_rust_sdk_0.2.51
dependency: Bump rust sdk to 0.2.51
2024-10-04 14:19:58 +02:00
Jorge Martin Espinosa f9cdb5af70 Disable configuration cache in the CI by default (#3601) 2024-10-04 13:57:46 +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
Valere cafc04b740 dependency: Bump rust sdk to 0.2.51 2024-10-04 11:50:01 +02:00
renovate[bot] a91eaba153 Update dependencyAnalysis to v2.1.3 2024-10-04 07:25:39 +00:00
Benoit Marty 89891bf50f Merge pull request #3591 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.8.0
2024-10-03 21:22:48 +02:00
ganfra c1337dea75 Merge pull request #3597 from element-hq/feature/fga/timeline_better_jump_to_behaviours
Timeline better jump to behaviours
2024-10-03 17:16:16 +02:00
Jorge Martin Espinosa 4d6b37f157 Merge unit, screenshot tests and coverage in a single CI call (#3593)
* Merge unit, screenshot tests and coverage tasks in a single CI call

* Disable gradle daemon too since it's all in a single gradle call now

* Make Kover upload the HTML reports on failure too
2024-10-03 15:38:08 +02:00
ganfra adc03c9676 timeline : improve jumpTo precision (introducing animateScrollToItemCenter) 2024-10-03 15:33:03 +02:00
ganfra 88e01e7c2e timeline : fix jumpToBottom for not live timeline. 2024-10-03 13:14:14 +02:00