Commit graph

4975 commits

Author SHA1 Message Date
Jorge Martin Espinosa
568146a2b8 Revert "Make sure declining a call stops observing the ringing call state (#5…" (#5615)
This reverts commit 651263111e.
2025-11-03 12:13:48 +01: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
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
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
bfe01e602c Fix test. 2025-10-17 12:38:56 +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
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
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
6d779770d7 Merge remote-tracking branch 'origin/develop' into feature/bma/assetReader 2025-10-16 20:34:38 +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
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
Benoit Marty
19e3d5901d Always show dividers. 2025-10-16 12:19:48 +02:00
ganfra
fc5417b7eb
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
Benoit Marty
5037dadf7e
Merge pull request #5532 from element-hq/feature/bma/multiAccountReport
Add number of accounts info in the rageshake data.
2025-10-16 10:26:13 +02:00
夜坂雅
fc587b9d39
fix: Remove unknown room display condition (#5514) 2025-10-15 16:35:49 +02:00
Benoit Marty
ac246dd521 Remove custom color for enterprise build. 2025-10-15 14:10:42 +02:00
Jorge Martin Espinosa
5b1bfac6ff
Allow uploading notification push rules in bug reports (#5538)
* Allow uploading push rules in bug reports

* Improve bug report screen previews

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-10-15 11:45:04 +02:00
ganfra
6b2e4ffbbd design(space): match figma for Space views 2025-10-15 11:28:55 +02:00
Benoit Marty
844e1d2ce5 Let the enterprise build be able to update the colors. 2025-10-15 11:25:58 +02:00
Benoit Marty
26683bd939 Remove comment. Default values will be detected by the existing Konsist test Data class state MUST not have default value 2025-10-14 14:31:19 +02:00
Benoit Marty
b043ddcddf Add number of accounts info in the rageshake data. 2025-10-14 09:49:20 +02:00
Benoit Marty
91a32b9034
Merge pull request #5527 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.13
2025-10-13 18:04:52 +02:00
Benoit Marty
26fcd1567c Let the preview provider use stable data. I do not get why the generated screenshot was always similar. 2025-10-13 17:12:40 +02:00
Benoit Marty
194b97ee10 Centralize WaveForm samples. 2025-10-13 17:12:36 +02:00
Benoit Marty
17fe2dd455
Merge pull request #5526 from element-hq/feature/bma/chipIteration
Let room filters follow the design.
2025-10-13 16:58:14 +02:00
Benoit Marty
d441c43993
Merge pull request #5508 from element-hq/feature/bma/noUriInComposeState
Replace Uri by String in States that are used in Composable function.
2025-10-13 15:32:39 +02:00
Benoit Marty
fcaa63b0c7 Let room filters follow the design.
Ref: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=2191-606

We cannot change the horizontal padding though, design says it has to be 12dp. Or we need to make our custom component.
2025-10-13 15:15:38 +02:00
ElementBot
8f4cc52ea4
Sync Strings from Localazy (#5515)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-13 08:01:58 +02:00
renovate[bot]
b6e2208ccb
fix(deps): update wysiwyg to v2.40.0 (#5400)
* fix(deps): update wysiwyg to v2.40.0

* Fix API mismatches

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-10-10 21:55:28 +02:00
Benoit Marty
c93561c513 Replace Uri by String in State that are used in Composable function. 2025-10-10 17:44:50 +02:00
Benoit Marty
3fb110d991
Merge pull request #5503 from element-hq/feature/bma/immutableCleanup
Do some cleanup on our immutable annotation usage
2025-10-10 17:42:26 +02:00
Benoit Marty
31c3aa7403 Remove unused import 2025-10-10 10:48:29 +02:00
Benoit Marty
ea2307a393 Do not create a new immutable list from a List every time we want to produce a new state 2025-10-10 10:10:13 +02:00
Benoit Marty
d1822fd33b Only timestamp is usefull, no need to build a Date. 2025-10-10 10:02:47 +02:00
Benoit Marty
d06cea1d17 KnockRequestsAction needs to be immutable 2025-10-09 21:06:25 +02:00
Benoit Marty
e03fe028ba Make AggregatedReactionSender stable 2025-10-09 18:22:39 +02:00