Benoit Marty
310848ee38
Merge pull request #5722 from element-hq/feature/bma/moduleCleanup
...
Module cleanup
2025-11-18 16:14:10 +01:00
Benoit Marty
8a53be3b33
Fix warning
2025-11-14 09:39:55 +01:00
Benoit Marty
b64a46738e
Small cleanup
2025-11-14 09:33:40 +01:00
Benoit Marty
1c8b637858
No need to use apply setContentText accept null parameter.
2025-11-14 09:24:41 +01:00
Benoit Marty
71e8df2628
Rename val
2025-11-13 14:58:44 +01:00
Benoit Marty
8285478688
API modules do not need to setup dependency injection.
...
Move the implementation to the impl modules.
2025-11-12 19:05:39 +01:00
Benoit Marty
04589ec091
Fix package name
2025-11-12 12:24:46 +01:00
Benoit Marty
573767aca1
Let notifications use avatar fallback.
...
Extract code which handles Matrix image to its own api / impl / test modules.
2025-11-12 11:28:42 +01:00
Benoit Marty
eb31505dc7
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
c4e0370f41
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
7ad9c8f687
Rename handleEvents to handleEvent
2025-11-07 12:21:43 +01:00
Benoit Marty
1bba0d4dda
Merge remote-tracking branch 'origin/develop' into feature/bma/mutliAccountNotification
2025-11-04 16:20:42 +01:00
Benoit Marty
fdd4e2115c
Always use the handleEvent(s) function the same way.
2025-11-03 18:49:00 +01:00
Benoit Marty
04e5d684d4
Let DefaultNotificationDrawerManager use NotificationDisplayer instead of NotificationManagerCompat
2025-10-31 09:29:48 +01:00
Jorge Martin Espinosa
2af5570231
Revert "Make sure declining a call stops observing the ringing call state (#5…" ( #5615 )
...
This reverts commit 651263111e .
2025-10-27 17:25:56 +01:00
Benoit Marty
263e761907
Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding
2025-10-22 18:52:37 +02:00
Benoit Marty
67ecf8bcd3
Add missing tests on CallType and make it internal.
2025-10-22 12:20:06 +02:00
Benoit Marty
07b9a8456b
Move SemanticColorsLightDark to compound module
2025-10-22 09:35:55 +02:00
Benoit Marty
49c23a922e
Improve API and fix theme glitch when switching between accounts.
2025-10-22 09:32:15 +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
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
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
77647a3f11
Let MatrixClient exposes val instead of fun for the services.
2025-10-06 15:12:35 +02:00
renovate[bot]
5b9ce7a210
Update metro to v0.6.7 ( #5416 )
...
* Update metro to v0.6.7
* Replace `@Inject` with `@AssistedInject` where needed
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-26 08:16:36 +00:00
renovate[bot]
a0ed77775d
Update kotlin ( #5317 )
...
* Update kotlin
* Upgrade Metro and add new `@Origin` annotation
* Suppress warnings in overridden method as nothing else would work
* "Fix" quality warnings about reusing the same string literal
* Don't use `compat` version for `datetime` dependency
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-26 08:34:20 +02:00
Jorge Martin Espinosa
cc38651c44
When joining a call, wait for the content_loaded action ( #5399 )
...
* When joining a call, wait for the `content_loaded` action
This ensures the widget won't be disposed when the user joins a call and loads the lobby screen for room calls
2025-09-23 15:18:53 +00:00
Benoit Marty
b194153b66
Merge branch 'develop' into feature/bma/testEntryPoint
2025-09-18 18:58:30 +02:00
Valere
1a7ce368b7
refactor: rename CallNotify to RtcNotification to match new event
2025-09-18 09:25:13 +02:00
Valere
be5244708f
review + tests
2025-09-18 09:18:36 +02:00
Valere
508aef98ff
Use the new RtcNotification instead of deprecated CallNotify
2025-09-17 15:15:33 +02:00
Benoit Marty
a575019760
Use DependencyHandlerScope.testCommonDependencies()
2025-09-16 14:38:31 +02:00
Valere Fedronic
5d1154083b
Call: MSC4310 sending RTC decline event and listening for Decline from other sessions
...
MSC4310 RTC decline event support
2025-09-16 10:25:17 +02:00
Jorge Martin Espinosa
d9e7d74d2d
Upgrade Rust SDK bindings to v25.09.15 ( #5353 )
...
* Upgrade Rust SDK bindings to `v25.09.15`:
This contains important changes to the APIs used to build the EC widget.
* Use the new `intent` parameter correctly, by calculating locally its behaviour based on whether the room is a DM and there is an ongoing call or not.
Using just the `intent` parameter is our end goal, but sadly this is not fully supported by the current EC embedded `v0.15.0`, so we need to add a workaround using the `skipLobby` and `preload` parameters.
2025-09-15 15:15:10 +02:00
Benoit Marty
0b5cb57e46
Extract plantTestTimber
2025-09-11 16:58:47 +02:00
Benoit Marty
95207ee6eb
Improve log messages and comment
2025-09-11 16:37:12 +02:00
Benoit Marty
9585f59725
Code cleanup. Avoid usage of !!
2025-09-11 16:23:07 +02:00
Valere
9546a731d4
fix detekt
2025-09-11 13:41:24 +02:00
Valere
e20b3550dc
Call: RTC decline event support
2025-09-11 13:33:37 +02:00
Jorge Martin Espinosa
7e0931c299
Increase Element Call audio init delay ( #5315 )
...
This fixed the wrong audio stream being used when starting a call locally.
2025-09-10 10:47:12 +00:00
bmarty
8027ce9dca
Sync Strings from Localazy
2025-09-05 07:44:19 +00:00
Jorge Martín
e8328858ab
Fixes after rebase
2025-09-04 16:49:21 +02:00
Jorge Martín
badd8aa8a1
Fix push notification bindings
2025-09-04 16:49:21 +02:00
Jorge Martín
4ab62a6a38
Redo DI gradle setup code
2025-09-04 16:49:20 +02:00
Jorge Martín
29a97fc0d9
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00
Jorge Martín
b76a71ebf5
Start migrating Anvil KSP to Metro
2025-09-04 16:48:34 +02:00
ElementBot
02c9549bc0
Sync Strings from Localazy ( #5249 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-01 12:44:49 +02:00
ElementBot
7c40c87d9a
Sync Strings from Localazy ( #5178 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-08-18 11:09:27 +02:00