636 Commits

Author SHA1 Message Date
Benoit Marty
f5ca009887 Restore deleted code 2025-11-13 18:11:39 +01:00
Benoit Marty
13854bb2c7 Ensure that disabling (resp. enabling) notification unregisters (resp. registers) the pusher 2025-11-13 17:50:21 +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
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
f32e893361 Merge pull request #5698 from element-hq/feature/bma/handleEvent
Code consistency around view event handling
2025-11-10 09:36:04 +01:00
ElementBot
43aa4c0e1f Sync Strings from Localazy (#5704)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-10 09:21:00 +01:00
Benoit Marty
cffd4c31c9 Fix compilation issue 2025-11-07 13:35:23 +01:00
Benoit Marty
cf19daf3a4 Rename handleEvents to handleEvent 2025-11-07 12:21:43 +01:00
Benoit Marty
0743b56bc4 Always use the handleEvent(s) function the same way. 2025-11-03 18:49:00 +01:00
Benoit Marty
e70d767183 Remove context(parentNode: Node) and provide the parent Node as a parameter. 2025-10-31 12:04:57 +01:00
Benoit Marty
187479849d Create Fake classes in test modules 2025-10-30 18:32:31 +01:00
Benoit Marty
05c5f3c914 Use context parameter for the parentNode 2025-10-30 16:32:53 +01:00
Benoit Marty
566515ca88 Remove NodeBuilder to ensure that Params and Callback are always provided. 2025-10-30 16:32:52 +01:00
Benoit Marty
5197154f54 Ensure a Callback and only one is provided in the Plugin. Also reduce boilerplate code in Nodes. 2025-10-30 16:32:51 +01:00
Benoit Marty
09a18ad7ca Rename fun in Callback for clarity. 2025-10-30 16:32:48 +01:00
ElementBot
b2aa6b1622 Sync Strings from Localazy (#5610)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-27 13:53:07 +01:00
Benoit Marty
c53dabce16 Remove dependency on AppNavigationStateService from DefaultGetCurrentPushProvider 2025-10-23 15:03:04 +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
64b5b53510 Improve API and documentation 2025-10-21 11:53:36 +02:00
Benoit Marty
64ff19c808 Update API around brandColor. 2025-10-20 16:33:46 +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
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
Benoit Marty
0656b5b2c4 Merge remote-tracking branch 'origin/develop' into feature/bma/assetReader 2025-10-16 20:34:38 +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
Benoit Marty
8b703ed046 Let the enterprise build be able to update the colors. 2025-10-15 11:25:58 +02:00
Benoit Marty
bd177084a5 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
7ad659a4c8 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
ElementBot
57e8b47683 Sync Strings from Localazy (#5515)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-13 08:01:58 +02:00
Benoit Marty
5f5d1a21ba Replace Uri by String in State that are used in Composable function. 2025-10-10 17:44:50 +02:00
Benoit Marty
e6cd8d5fb5 Remove useless Immutable annotation 2025-10-09 18:22:33 +02:00
Benoit Marty
f6eed21055 Make AboutState stable 2025-10-09 18:22:20 +02:00
Benoit Marty
0f1ae41b41 Fix instability of Uri 2025-10-09 18:22:19 +02:00
Benoit Marty
7ce2c08f6e Merge pull request #5490 from element-hq/feature/bma/improveImmutables
Ensure that we are using Immutable instead of Persistent
2025-10-09 11:48:32 +02:00
Benoit Marty
da78386d25 Add Konsist test to check that toPersistentList() is not used.
Same for `toPersistentSet()` and `toPersistentMap()`.
Fix existing issues.
2025-10-08 15:51:18 +02:00
bmarty
03ae925f2a Sync Strings from Localazy 2025-10-08 10:23:22 +00:00
Benoit Marty
8cdc2b1dc3 Update Localazy config and sync all the strings. 2025-10-07 15:53:53 +02:00
Jorge Martin Espinosa
0659174735 Add Labs screen for beta testing of public features (#5465)
* Add Labs screen:

- Make `Feature` have an `isInLabs` boolean to distinguish private feature flags from public ones.
- Have `FeatureFlagsService` provide the list of available flags.
- Display the labs item in the settings screen only if there are available public features.
- Remove public feature toggles from developer options.
- Implement the labs screen with the public features.
- Add a clear cache step to the threads feature toggle
- Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-10-07 10:02:54 +00:00
ElementBot
a9912e4a1e Sync Strings from Localazy (#5460)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-06 12:38:51 +02:00