Commit Graph

308 Commits

Author SHA1 Message Date
Benoit Marty d97db21d75 Rather use NoDistributorsAvailable, it has more chance to happen IRL. 2024-06-17 18:03:00 +02:00
Benoit Marty 892a6d5503 Add test about selecting the first provider with a distributor. 2024-06-17 17:54:55 +02:00
Benoit Marty 0908e9b9e4 Fix test issue. 2024-06-17 17:49:01 +02:00
Benoit Marty e12f723ff7 Fix test compilation issue. 2024-06-17 17:38:10 +02:00
Benoit Marty b4b407a69e Store the first provider even if no distributor is available, else error in troubleshoot test will not be accurate.
Also when registering for the first time, pick the fist available provider with at least one distributor.
2024-06-17 17:36:39 +02:00
Benoit Marty 5180ce388c Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty 64930e4435 Add ability to not show the pusher registration again. 2024-06-17 11:38:32 +02:00
Benoit Marty 725c3838af Render an error dialog in case registering a pusher fails. 2024-06-17 11:30:23 +02:00
Benoit Marty 21ce1c40b3 Add pusher status in the state.
It improve the tests and we may want to render errors in the View at some point.
2024-06-17 11:30:23 +02:00
Benoit Marty 3d5951cbf0 Add test on pusher registration 2024-06-17 11:30:22 +02:00
Benoit Marty 68d2a1af8b More log. 2024-06-17 11:30:22 +02:00
Benoit Marty 247b60b9ce Add Timber tag. 2024-06-17 11:30:21 +02:00
Benoit Marty 101a6e6ff2 Ensure that the code is not run twice. 2024-06-17 11:30:21 +02:00
Benoit Marty acde970f01 Extract function and add more logs. 2024-06-17 11:30:21 +02:00
Benoit Marty 907fae10ac Pusher add more log and change comment to log. 2024-06-17 11:30:20 +02:00
ganfra 3b7d021fe1 Sending queue : rename const for more clarity. 2024-06-13 13:03:04 +02:00
ganfra 5765a754fc Fix formatting issues 2024-06-12 15:31:59 +02:00
ganfra 9250745333 Sending queue : adjust to match the latest rust api 2024-06-12 15:15:04 +02:00
ganfra b927daffe7 Merge branch 'develop' into feature/fga/message_queuing 2024-06-11 17:08:47 +02:00
ganfra a603855933 Sending queue : code quality 2024-06-11 17:05:12 +02:00
ganfra 452e5681a9 Sending queue : rename fake and add tests 2024-06-11 16:50:53 +02:00
ganfra 026a2cd33a Message queuing : branches the enable sending queue mechanism. 2024-06-06 17:09:52 +02:00
Benoit Marty e619fefb7f Add a flag to enable or disable incoming share 2024-06-06 12:34:05 +02:00
Benoit Marty 050dbdfa7c Fix test and add new tests. 2024-06-05 18:55:19 +02:00
Benoit Marty 9ae0107172 Incoming share 2024-06-05 18:08:14 +02:00
Valere 0d5bcd1f2d Merge branch 'develop' into feature/valere/super_properties 2024-05-31 15:09:24 +02:00
Jorge Martin Espinosa c8bd04ceb1 Sign in with QR code (#2793)
* Add QR code login.
* Add FF to disable it in release mode.
* Force portrait orientation on the login flow.
* Create `NumberedList` UI components.
* Improve camera permission dialog.
* Make nodes in qrcode feature use `QrCodeLoginScope` instead of `AppScope`
* Bump SDK version.
* Fix maestro tests

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-31 14:38:27 +02:00
Valere 37d85c7ed1 Test | Missing mocks in RootPresenterTest 2024-05-31 14:07:03 +02:00
Valere 7891507ba9 Moved updateSuperProperties from LoggedIn to Root controller 2024-05-31 14:07:02 +02:00
Valere bf6ad4c5ca Analytics | Add support for SuperProperties 2024-05-31 14:07:02 +02:00
Benoit Marty ec8cb2e32f Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty 7348f74702 Fix performance issue reported by Konsist test Sealed interface used in Composable MUST be Immutable or Stable 2024-05-29 18:05:03 +02:00
Benoit Marty 37d9a9f5a9 Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty 7911fda1fa Rename class (code quality) 2024-05-23 14:42:06 +02:00
Benoit Marty de032fa426 Use lambdaError() instead of throw NotImplementedError() 2024-05-23 09:33:41 +02:00
Benoit Marty 71763e3fed Merge pull request #2873 from element-hq/feature/bma/pushProviderSwitch
Push provider switch
2024-05-21 16:52:01 +02:00
Benoit Marty a65c290dd3 Improve API, to avoid ignoring errors 2024-05-21 14:45:16 +02:00
Benoit Marty d2fbff09b8 Push distributor: ensure the current UnifiedPush distributor is stored 2024-05-21 14:45:15 +02:00
ganfra b0c369ee1a Fix modal contents overlapping screen lock pin #2692 2024-05-17 18:40:16 +02:00
Benoit Marty 22329b9678 Provide serverNames when available and fix issue around analytics 2024-05-14 15:58:10 +02:00
Benoit Marty 5814de1efd It's not possible to join room from the RoomDirectory screen anymore.
Cleanup after #2827
2024-05-14 10:23:07 +02:00
Valere a8f5c8db39 Use LaunchedEffect and improve test 2024-05-07 10:41:08 +02:00
Valere 6ad40fc6e0 Code review - more tests 2024-05-07 09:38:26 +02:00
Valere a761215e31 Add support for Verification state analytics 2024-05-06 19:06:54 +02:00
Benoit Marty f48cc81434 Add tests on IntentResolver about external permalink. 2024-05-03 12:37:36 +02:00
Benoit Marty fb59776814 Small rework for code clarity.
Actually hide the attachment of LoggedInAppScopeFlowNode.
2024-05-03 12:07:20 +02:00
Benoit Marty 0476bd95c8 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
Benoit Marty 83506e5191 Fix navigation issue #2778 2024-05-01 13:50:53 +02:00
Benoit Marty b05fa82dfc Rename val for clarity. 2024-05-01 13:49:57 +02:00
Benoit Marty 528e7b390b Remove the FtueEntryPoint.Callback, LoggedInFlowNode is already observing the Ftue state to change the root target. 2024-05-01 13:49:57 +02:00