ElementBot
860390beb0
Sync Strings from Localazy ( #5971 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
bmarty
f35d7086cb
Sync Strings from Localazy
2025-12-29 00:19:01 +00:00
bmarty
a2ca2e7c1f
Sync Strings from Localazy
2025-12-23 11:23:46 +01:00
Jorge Martin Espinosa
83eae74488
Fix unverified account after account creation ( #5914 )
...
* Fix unverified account after account creation:
When we create an account either using OIDC or by importing a login and password one, we need to wait until the verification state is known (either verified or unverified).
The problem is the verification service will return incorrect values until the E2EE tasks are initialized in the SDK, even if we add the state listeners after doing so.
So what we can do is initialize the E2EE setup, discard any invalid verification state received while it's not initialized, and take only those received after it's initialized.
* Actually restore the `Client` in `RustMatrixAuthenticationService.importCreatedSession` so we don't need to use `clear` and have the navigation restore the client later:
This standarizes the way the login/registration flow works, always restoring/reusing the existing client instance
2025-12-19 12:55:34 +01:00
Benoit Marty
086229f5dc
Add test on RustCheckCodeSender
2025-12-16 20:03:33 +01:00
ElementBot
6880cf518c
Sync Strings from Localazy ( #5904 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
Benoit Marty
6100d4944f
Cleanup
2025-12-11 17:23:34 +01:00
Benoit Marty
d65cbd46a9
PermissionsEvents -> PermissionsEvent
2025-12-10 10:50:10 +01:00
bmarty
2b49c40592
Sync Strings from Localazy
2025-12-01 00:23:54 +00:00
Benoit Marty
f733588f6e
Fix compilation issue in test
2025-11-21 16:22:33 +01:00
Benoit Marty
24b76f2001
Fix crash when clicking fast on back key on the Add account screen.
2025-11-21 15:51:11 +01:00
Benoit Marty
5728452e68
Remove unused slidingSyncProxy from DB.
2025-11-18 15:58:22 +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
Benoit Marty
a352952a34
Fix test
2025-11-07 16:53:53 +01:00
Benoit Marty
42a0b91acc
Improve API of LoginHelper and AccountProviderDataSource
2025-11-07 16:53:52 +01:00
Benoit Marty
a3483d1f40
Rename API
2025-11-07 16:53:51 +01:00
Benoit Marty
8012dfb01c
Ensure that the current account provider is set when using a login deeplink. Fixes #5004
2025-11-07 16:53:50 +01:00
Benoit Marty
6619a2fbcf
Oups, thanks unit tests!
2025-11-07 14:11:37 +01:00
Benoit Marty
cf19daf3a4
Rename handleEvents to handleEvent
2025-11-07 12:21:43 +01:00
Benoit Marty
a7f3fb9c38
Avoid usage of not() and add unit tests.
2025-11-07 10:18:45 +01:00
Benoit Marty
9e8fe55a90
Improve error mapping
2025-11-07 10:08:14 +01:00
Benoit Marty
a39b675cc1
Improve error mapping
2025-11-07 09:52:04 +01:00
Benoit Marty
a82c916ca9
Create specific errors for Invalid or Unsupporte homeserver.
2025-11-07 09:42:06 +01:00
Benoit Marty
8e72ea4e7c
Use presenter test extension
2025-11-06 15:38:43 +01:00
Benoit Marty
0c5912ded4
Small cleanup
2025-11-06 15:38:41 +01:00
Benoit Marty
bb93d6ff06
Always let the user try what they have entered, to get an explicit error if they continue
2025-11-06 15:38:40 +01:00
Benoit Marty
c397c8e2c3
Ensure user cannot select unsupported homeserver. In this case show the appropriate error (parity with iOS)
2025-11-06 15:38:39 +01:00
Benoit Marty
6006537bdc
Remove A_HOMESERVER and A_HOMESERVER_OIDC from TestData and replace by local fun aMatrixHomeServerDetails().
2025-11-06 15:38:37 +01:00
Benoit Marty
04584412f9
Fix test
2025-11-06 14:27:20 +01:00
Benoit Marty
6d252c0b20
MatrixAuthenticationService: remove fun getHomeserverDetails(): StateFlow<MatrixHomeServerDetails?>. The MatrixHomeServerDetails are now return by setHomeserver
2025-11-06 12:22:48 +01:00
Benoit Marty
c800f86b7c
Merge pull request #5678 from element-hq/feature/bma/countAccounts
...
Introduce new query to count accounts
2025-11-04 16:17:10 +01:00
Jorge Martin Espinosa
015b497d5a
Use the SDK Client to check whether a homeserver is compatible ( #5664 )
...
* Use the SDK `Client` to check whether a HS is compatible
* Remove usage of unused `WellKnown`, keep `ElementWellKnown`
* Make `HomeServerLoginCompatibilityChecker.check` return `true/false` values to distinguish non-valid homeservers from a failed check
* Use `inMemoryStore` and `serverNameOrHomeserverUrl`
* Do some cleanup of `isValid` and `isWellknownValid`
* Make the debounce for starting the search a bit higher, as checking for the homeservers seems more resource-intensive now
2025-11-04 15:43:00 +01:00
Benoit Marty
0367ae610c
Session database: use the new count API.
2025-11-04 15:30:29 +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
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
Benoit Marty
52dffa5418
Merge branch 'develop' into feature/bma/metro070
2025-10-23 11:30:25 +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
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
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
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
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