Jorge Martín
0ddadd8c5a
Fix lint issues
2024-08-13 08:55:06 +02:00
Jorge Martín
d5c2e5e436
Extract OIDC to its own module
2024-08-13 08:55:05 +02:00
Benoit Marty
94f38f1af5
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
2024-07-22 10:39:48 +02:00
renovate[bot]
8a2335f7aa
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.33 ( #3220 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.33
* Fix API breaks
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-07-19 13:33:27 +02:00
Benoit Marty
a83c5d4bd7
When clearing cache, ensure that SessionPreferencesStore is removed from the cache.
...
Fixes blank screen after clear cache.
Also cleanup the codebase.
2024-07-08 16:48:40 +02:00
Jorge Martin Espinosa
950e502ca6
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-07-03 13:05:06 +02:00
Benoit Marty
775cb89993
Fix image not rendering after clearing cache.
2024-06-24 13:58:15 +02:00
ganfra
e93a41a5b5
Merge branch 'develop' into feature/fga/sending_queue_iteration
2024-06-19 13:54:24 +02:00
ganfra
f98441c74d
Sending queue : change a bit the logic to re-enable sending queue.
2024-06-19 12:56:04 +02:00
Benoit Marty
ff51a90ee6
Typo
2024-06-19 09:10:41 +02:00
Benoit Marty
f2da62160b
Ensure that process recreation also use the restoreMutex
2024-06-18 18:33:04 +02:00
Benoit Marty
1bf27aad3e
Also fix same issue for analytics.
2024-06-18 11:08:25 +02:00
Benoit Marty
e44de15f94
Iterate on sessionVerificationService.sessionVerifiedStatus and fix tests.
2024-06-18 11:02:19 +02:00
Benoit Marty
ff40b095fe
Rather use NoDistributorsAvailable, it has more chance to happen IRL.
2024-06-17 18:03:00 +02:00
Benoit Marty
6ea0fc8d17
Add test about selecting the first provider with a distributor.
2024-06-17 17:54:55 +02:00
Benoit Marty
618c351f9f
Fix test issue.
2024-06-17 17:49:01 +02:00
Benoit Marty
ff201c6412
Fix test compilation issue.
2024-06-17 17:38:10 +02:00
Benoit Marty
622cc35616
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
2e8b63c006
Add a shortcut to navigate to the notification settings in case of error.
2024-06-17 16:29:10 +02:00
Benoit Marty
366d6c017d
Add ability to not show the pusher registration again.
2024-06-17 11:38:32 +02:00
Benoit Marty
e6f6e82ce2
Render an error dialog in case registering a pusher fails.
2024-06-17 11:30:23 +02:00
Benoit Marty
f7b8e0c931
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
3eaf780087
Add test on pusher registration
2024-06-17 11:30:22 +02:00
Benoit Marty
9097d73f38
More log.
2024-06-17 11:30:22 +02:00
Benoit Marty
cf2c8dfe3b
Add Timber tag.
2024-06-17 11:30:21 +02:00
Benoit Marty
122841a026
Ensure that the code is not run twice.
2024-06-17 11:30:21 +02:00
Benoit Marty
cb8bd077da
Extract function and add more logs.
2024-06-17 11:30:21 +02:00
Benoit Marty
209d4f8fe0
Pusher add more log and change comment to log.
2024-06-17 11:30:20 +02:00
ganfra
a1aac5578c
Sending queue : rename const for more clarity.
2024-06-13 13:03:04 +02:00
ganfra
05786cedc3
Fix formatting issues
2024-06-12 15:31:59 +02:00
ganfra
cd18e5a981
Sending queue : adjust to match the latest rust api
2024-06-12 15:15:04 +02:00
ganfra
71b6482094
Merge branch 'develop' into feature/fga/message_queuing
2024-06-11 17:08:47 +02:00
ganfra
bbd8e5d8dc
Sending queue : code quality
2024-06-11 17:05:12 +02:00
ganfra
825599abaf
Sending queue : rename fake and add tests
2024-06-11 16:50:53 +02:00
ganfra
80af40fb87
Message queuing : branches the enable sending queue mechanism.
2024-06-06 17:09:52 +02:00
Benoit Marty
6781b5cee7
Add a flag to enable or disable incoming share
2024-06-06 12:34:05 +02:00
Benoit Marty
ebe7ab2d2b
Fix test and add new tests.
2024-06-05 18:55:19 +02:00
Benoit Marty
c403dcd5da
Incoming share
2024-06-05 18:08:14 +02:00
Valere
92861458be
Merge branch 'develop' into feature/valere/super_properties
2024-05-31 15:09:24 +02:00
Jorge Martin Espinosa
35702c04e9
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
d2915cb0c8
Test | Missing mocks in RootPresenterTest
2024-05-31 14:07:03 +02:00
Valere
85c8823e30
Moved updateSuperProperties from LoggedIn to Root controller
2024-05-31 14:07:02 +02:00
Valere
3c98a843e5
Analytics | Add support for SuperProperties
2024-05-31 14:07:02 +02:00
Benoit Marty
cdf6f48112
Change Test class suffix.
2024-05-30 10:11:18 +02:00
Benoit Marty
ab6c428a61
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
87689d787e
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
c71656df0c
Rename class (code quality)
2024-05-23 14:42:06 +02:00
Benoit Marty
c7120ceca0
Use lambdaError() instead of throw NotImplementedError()
2024-05-23 09:33:41 +02:00
Benoit Marty
d67c1c6fb9
Merge pull request #2873 from element-hq/feature/bma/pushProviderSwitch
...
Push provider switch
2024-05-21 16:52:01 +02:00
Benoit Marty
4bd01b6f4f
Improve API, to avoid ignoring errors
2024-05-21 14:45:16 +02:00