Benoit Marty
de2ab5a557
Merge pull request #5722 from element-hq/feature/bma/moduleCleanup
...
Module cleanup
2025-11-18 16:14:10 +01:00
Benoit Marty
a172f1324b
Fix warning
2025-11-14 09:39:55 +01:00
Benoit Marty
70d30c43a5
Small cleanup
2025-11-14 09:33:40 +01:00
Benoit Marty
35cebfca7d
No need to use apply setContentText accept null parameter.
2025-11-14 09:24:41 +01:00
Benoit Marty
97a288812e
Rename val
2025-11-13 14:58:44 +01:00
Benoit Marty
b3ec256dfa
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
1025cbbcfe
Fix package name
2025-11-12 12:24:46 +01:00
Benoit Marty
185d4fadde
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
1292da2a72
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
cf19daf3a4
Rename handleEvents to handleEvent
2025-11-07 12:21:43 +01:00
Benoit Marty
e96cd9e28f
Merge remote-tracking branch 'origin/develop' into feature/bma/mutliAccountNotification
2025-11-04 16:20:42 +01:00
Benoit Marty
0743b56bc4
Always use the handleEvent(s) function the same way.
2025-11-03 18:49:00 +01:00
Benoit Marty
fbecf8d34f
Let DefaultNotificationDrawerManager use NotificationDisplayer instead of NotificationManagerCompat
2025-10-31 09:29:48 +01:00
Jorge Martin Espinosa
048467b900
Revert "Make sure declining a call stops observing the ringing call state (#5…" ( #5615 )
...
This reverts commit 10bf5f1c8c .
2025-10-27 17:25:56 +01: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
9e6fd63feb
Add missing tests on CallType and make it internal.
2025-10-22 12:20:06 +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
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
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
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
67c6a1bd5f
Let MatrixClient exposes val instead of fun for the services.
2025-10-06 15:12:35 +02:00
renovate[bot]
c1cd259ce7
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]
2d6031d3ac
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
b75b79bf40
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
595cec7d33
Merge branch 'develop' into feature/bma/testEntryPoint
2025-09-18 18:58:30 +02:00
Valere
2a4f846374
Fix wrong expiration default that was breaking tests
2025-09-18 12:58:36 +02:00
Valere
f9fa38f229
refactor: rename CallNotify to RtcNotification to match new event
2025-09-18 09:25:13 +02:00
Valere
2ecd4ecaf5
review + tests
2025-09-18 09:18:36 +02:00
Valere
ac7e1d6dc3
fix test compilation
2025-09-17 15:53:14 +02:00
Valere
5221f0890c
Use the new RtcNotification instead of deprecated CallNotify
2025-09-17 15:15:33 +02:00
Benoit Marty
629fc552e5
Use DependencyHandlerScope.testCommonDependencies()
2025-09-16 14:38:31 +02:00
Valere Fedronic
2ca0afff3a
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
15a99a5f0c
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
1fe2eceb9a
Extract plantTestTimber
2025-09-11 16:58:47 +02:00
Benoit Marty
f1c0ac0b9b
Improve log messages and comment
2025-09-11 16:37:12 +02:00
Benoit Marty
2db74ce9e5
Code cleanup. Avoid usage of !!
2025-09-11 16:23:07 +02:00
Valere
3ee2e5575b
fix detekt
2025-09-11 13:41:24 +02:00
Valere
4e8e355f27
Call: RTC decline event support
2025-09-11 13:33:37 +02:00
Jorge Martin Espinosa
47ca80a939
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
Benoit Marty
4e720cecb1
Rename anvil modules to annotations and codegen
2025-09-05 14:26:27 +02:00
bmarty
676d7f6c8f
Sync Strings from Localazy
2025-09-05 07:44:19 +00:00
Jorge Martín
8f09fd62d9
Fixes after rebase
2025-09-04 16:49:21 +02:00
Jorge Martín
298fda8bcf
Fix push notification bindings
2025-09-04 16:49:21 +02:00
Jorge Martín
e06bacbff3
Redo DI gradle setup code
2025-09-04 16:49:20 +02:00
Jorge Martín
fc3153bd26
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00