Commit Graph

12109 Commits

Author SHA1 Message Date
Benoit Marty 9dd90bcd4e Merge pull request #5565 from element-hq/bma/wellknownBrandColor
Improve code around Element .well-known configuration
2025-10-21 14:15:30 +02:00
Benoit Marty c5da479065 Improve API and documentation 2025-10-21 11:53:36 +02:00
Jorge Martin Espinosa 651263111e Make sure declining a call stops observing the ringing call state (#5563)
* Add shared `removeCurrentCall` function to `DefaultActiveCallManager`

This centralises the shared call cancellation logic

* Add regression test for the issue

* Make sure the existing iterations of `flatMapLatest` in `observeRingingCall` get cancelled when the active call is null or not ringing anymore by passing null values, then filtering them out

Previously these kept running even if the `activeCall` was no longer valid

* Move the `timedOutCallJob` cancellation inside `removeCurrentCall` too
2025-10-21 11:26:13 +02:00
Jorge Martin Espinosa 191e32c37b Keep the cursor position in room list search when going back (#5570)
Also, make sure disposing a `MessagesView` doesn't accidentally hide the keyboard once the transition animation is done
2025-10-21 11:25:46 +02:00
Benoit Marty badb699a97 Merge pull request #5568 from element-hq/feature/bma/fixDeprecation
`interface TestParameterValuesProvider` is deprecated.
2025-10-21 11:22:38 +02:00
renovate[bot] 872781549f chore(deps): update plugin sonarqube to v7 (#5535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 09:29:14 +02:00
Benoit Marty 9b41afdcbe interface TestParameterValuesProvider is deprecated. 2025-10-21 09:12:11 +02:00
Benoit Marty 47eec644a3 Update ref 2025-10-20 16:56:36 +02:00
Benoit Marty f16847a8fc Bug reporter: ensure the log are store in the correct folder. 2025-10-20 16:33:49 +02:00
Benoit Marty 7b00a12529 Avoid emitted a new value each time the token is refreshed (for instance) 2025-10-20 16:33:48 +02:00
Benoit Marty 38908a42a2 Update API around brandColor. 2025-10-20 16:33:46 +02:00
renovate[bot] 71382ee697 fix(deps): update dependency com.posthog:posthog-android to v3.24.0 (#5564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 16:23:13 +02:00
Benoit Marty b62382ffc7 Fix test warning (#5558)
* Introduce JsonProvider.

It will ensure that classes are using the correct Json instances in the unit tests.

* Avoid creating a Json instance many times.

* Update ref.
2025-10-20 12:08:05 +02:00
ElementBot a22101150b Sync Strings (#5562)
* Sync Strings from Localazy

* Sync strings again

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-10-20 10:04:46 +00:00
Benoit Marty 6c77359d98 Update ref. 2025-10-20 10:59:16 +02:00
Benoit Marty 94392d30b2 Avoid creating a Json instance many times. 2025-10-20 09:40:47 +02:00
Benoit Marty df48ed5a2d Introduce JsonProvider.
It will ensure that classes are using the correct Json instances in the unit tests.
2025-10-20 09:40:42 +02:00
Benoit Marty fa8ddba1f5 Merge pull request #5557 from element-hq/feature/bma/sortFF
Sort feature flags
2025-10-17 15:26:39 +02:00
Benoit Marty 43971ee250 Add unit test on DefaultFeaturesProvider. 2025-10-17 14:55:41 +02:00
Benoit Marty a38df694fd Fix typo. 2025-10-17 14:52:06 +02:00
renovate[bot] 67418fcc6b fix(deps): update metro to v0.7.0 (#5554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-17 14:47:59 +02:00
ElementBot 455ddb5b43 Update screenshots 2025-10-17 11:00:29 +00:00
Benoit Marty bfe01e602c Fix test. 2025-10-17 12:38:56 +02:00
Benoit Marty a24cde6d0b Avoid using volatile FeatureFlags in DefaultFeatureFlagServiceTest 2025-10-17 12:38:55 +02:00
Benoit Marty ba52b9ad3a Add test on api getAvailableFeatures. 2025-10-17 12:38:54 +02:00
Benoit Marty 4b76ddaddc Improve and fix tests. 2025-10-17 12:38:54 +02:00
Benoit Marty 0043e462a4 Ensure labs feature are ordered as they are declared. 2025-10-17 12:38:53 +02:00
Benoit Marty 87a1b79726 Perform toImmutableList() less often. 2025-10-17 12:38:52 +02:00
Benoit Marty c98601c3c3 Extract EnabledFeature. 2025-10-17 12:38:51 +02:00
Benoit Marty 1a2255013d Show a ProgressDialog during Clear cache action. 2025-10-17 12:38:50 +02:00
Benoit Marty de2a4bc8c6 Improve FeatureFlagService API. 2025-10-17 12:38:49 +02:00
Benoit Marty d2dfad7726 Fix warning and also fix bug! 2025-10-17 12:38:48 +02:00
Benoit Marty a770716984 Fix warning 2025-10-17 12:38:48 +02:00
Benoit Marty 999a1f6a59 Improve fun api. 2025-10-17 12:38:47 +02:00
Benoit Marty 164cd26b1e Let the order of FeatureFlag follow the order they are declared in the code.
Using map.keys does not guarantee that the order is kept, so using List instead.
2025-10-17 12:38:45 +02:00
Jorge Martin Espinosa c0d6862b6e Fix media viewer not being dismissed with reduced motion enabled (#5555)
This is also called 'remove animations' in some Android versions. It seems like the associated coroutine dispatcher never allows the `delay` calls to complete, or maybe they take too long and the coroutine is cancelled before they finish.
2025-10-17 10:10:13 +00:00
Jorge Martin Espinosa ebe94f873e Sync notifications using WorkManager (#5545)
* Initial implementation of notification sync using `WorkManager`

* Use custom `MetroWorkerFactory` to allow assisted injection in WorkManager Workers

* Add tests for `FetchNotificationWorker`. Create `FakeNotificationResolverQueue` to help testing.

* Add more tests, fix Konsist checks

* Add tests for `SyncNotificationWorkManagerRequest`

* Simplify `FakeNotificationResolverQueue`
2025-10-17 09:51:27 +00:00
Benoit Marty f3d75ee85c Merge pull request #5542 from element-hq/feature/bma/assetReader
Improve colors customization
2025-10-16 22:12:35 +02:00
Benoit Marty 8b8232ebe5 Update Ref. 2025-10-16 21:40:14 +02:00
Benoit Marty 73744e6f34 Update Ref. 2025-10-16 21:16:10 +02:00
Benoit Marty 673729cdff Update Ref. 2025-10-16 20:58:39 +02:00
Benoit Marty 6d779770d7 Merge remote-tracking branch 'origin/develop' into feature/bma/assetReader 2025-10-16 20:34:38 +02:00
Benoit Marty a264654438 Merge pull request #5552 from element-hq/feature/bma/extractConsoleMessageLogger
Extract console message logger and mutualize instance of Json
2025-10-16 18:46:18 +02:00
Benoit Marty b01de9efa7 Fix tests. 2025-10-16 18:16:48 +02:00
Benoit Marty a50b9f1e49 Merge branch 'develop' into feature/bma/extractConsoleMessageLogger 2025-10-16 17:14:37 +02:00
Benoit Marty 5702b38157 Fix test compilation/execution issue.
Happened after concurrent merging of PRs.
2025-10-16 17:13:37 +02:00
Benoit Marty 04607d6da3 Improve AssetReader. 2025-10-16 16:46:40 +02:00
Benoit Marty 7c437761c4 Move Json provider from Network module to AppModule to reuse it. 2025-10-16 16:37:08 +02:00
Benoit Marty 4400cd3643 Extract code that log a ConsoleMessage so that it can be reused. 2025-10-16 16:15:09 +02:00
Benoit Marty cdd0b29527 Add a way to reset the colors. 2025-10-16 15:19:19 +02:00