Commit Graph

4998 Commits

Author SHA1 Message Date
Benoit Marty
c53dabce16 Remove dependency on AppNavigationStateService from DefaultGetCurrentPushProvider 2025-10-23 15:03:04 +02:00
Benoit Marty
52dffa5418 Merge branch 'develop' into feature/bma/metro070 2025-10-23 11:30:25 +02:00
Benoit Marty
fedbc1e70a Merge pull request #5566 from element-hq/feature/bma/securityAndPrivacy
Enable access to security and privacy
2025-10-23 11:29:34 +02:00
Benoit Marty
826cacf209 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
Benoit Marty
9ad9efe547 Improve API of interface WellknownRetriever to be able to distinguish between 404 and other errors. 2025-10-22 14:45:15 +02:00
Benoit Marty
acdef75949 Merge remote-tracking branch 'origin/develop' into bma/brandColorFix 2025-10-22 12:27:00 +02:00
Benoit Marty
9e6fd63feb Add missing tests on CallType and make it internal. 2025-10-22 12:20:06 +02:00
Benoit Marty
4026757201 Add missing tests on DefaultEnterpriseService 2025-10-22 11:55:58 +02:00
Benoit Marty
1587ed5fe2 Fix tests. 2025-10-22 10:18:44 +02:00
Benoit Marty
e7f6a1a5e6 Fix tests. 2025-10-22 10:15:32 +02:00
Benoit Marty
9af694b4a2 Use right colors on ForcedDarkElementTheme 2025-10-22 09:48:07 +02:00
Benoit Marty
82c6aca7e5 Move SemanticColorsLightDark to compound module 2025-10-22 09:35:55 +02:00
Benoit Marty
c2c77aad2a Improve API and fix theme glitch when switching between accounts. 2025-10-22 09:32:15 +02:00
ganfra
3d203d19e1 misc: fix insets for search room list after offline banner rework 2025-10-21 17:26:43 +02:00
ganfra
68daf8d2cf misc: display offline banner directly in LoggedInFlowNode (and fix window insets) 2025-10-21 16:05:20 +02:00
Benoit Marty
e122ff96ba Add missing test. 2025-10-21 14:34:11 +02:00
Benoit Marty
e9969fda56 Iterate on rendering the "Ask to join" option. 2025-10-21 14:31:29 +02:00
Benoit Marty
f8628840ca 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
64b5b53510 Improve API and documentation 2025-10-21 11:53:36 +02:00
Jorge Martin Espinosa
10bf5f1c8c 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
cbeb58f00e 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
9d537589ff Show AskToJoin option if this is the current value, even if the Knock FF is disabled. 2025-10-20 17:26:19 +02:00
Benoit Marty
7cb4a96fbe Hide "Ask to join" option if Knock feature is disabled. 2025-10-20 17:11:47 +02:00
Benoit Marty
8ffae8d416 Remove Knock FF check to show the Security and Privacy entry point. 2025-10-20 17:11:46 +02:00
Benoit Marty
0e4a3c8d12 Bug reporter: ensure the log are store in the correct folder. 2025-10-20 16:33:49 +02:00
Benoit Marty
64ff19c808 Update API around brandColor. 2025-10-20 16:33:46 +02:00
Benoit Marty
71c853d1a7 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
5f6a93cd1a 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
ab35235bae Avoid creating a Json instance many times. 2025-10-20 09:40:47 +02:00
Benoit Marty
241a968d66 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
c962201722 Merge pull request #5557 from element-hq/feature/bma/sortFF
Sort feature flags
2025-10-17 15:26:39 +02:00
Benoit Marty
52789cec8c Fix test. 2025-10-17 12:38:56 +02:00
Benoit Marty
09a6ffc081 Improve and fix tests. 2025-10-17 12:38:54 +02:00
Benoit Marty
b6ec06ebc6 Ensure labs feature are ordered as they are declared. 2025-10-17 12:38:53 +02:00
Benoit Marty
ff70722f8d Perform toImmutableList() less often. 2025-10-17 12:38:52 +02:00
Benoit Marty
098a74435d Extract EnabledFeature. 2025-10-17 12:38:51 +02:00
Benoit Marty
e747426bf9 Show a ProgressDialog during Clear cache action. 2025-10-17 12:38:50 +02:00
Benoit Marty
b7ac322d18 Improve FeatureFlagService API. 2025-10-17 12:38:49 +02:00
Benoit Marty
9094f2e823 Fix warning 2025-10-17 12:38:48 +02:00
Benoit Marty
d913c6db0c Improve fun api. 2025-10-17 12:38:47 +02:00
Benoit Marty
828ee38c09 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
597c9b473a 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
0656b5b2c4 Merge remote-tracking branch 'origin/develop' into feature/bma/assetReader 2025-10-16 20:34:38 +02:00
Benoit Marty
44a70729f8 Merge branch 'develop' into feature/bma/extractConsoleMessageLogger 2025-10-16 17:14:37 +02:00
Benoit Marty
bb104cc96f Fix test compilation/execution issue.
Happened after concurrent merging of PRs.
2025-10-16 17:13:37 +02:00
Benoit Marty
276c707e42 Move Json provider from Network module to AppModule to reuse it. 2025-10-16 16:37:08 +02:00
Benoit Marty
14c7a63f45 Extract code that log a ConsoleMessage so that it can be reused. 2025-10-16 16:15:09 +02:00
Benoit Marty
7d6971a9e5 Add a way to reset the colors. 2025-10-16 15:19:19 +02:00
Benoit Marty
5b00fcc129 Always show dividers. 2025-10-16 12:19:48 +02:00
ganfra
82fd2866d7 Merge pull request #5540 from element-hq/feature/fga/space_ui_tweak
design(space): match figma for Space views
2025-10-16 10:26:50 +02:00