ganfra
087142224c
Pin setup: PR review
1 year ago
ganfra
a3e6d691a5
Pin setup : clean up
1 year ago
ganfra
588565995c
Pin code : add simple grace period
1 year ago
ganfra
bdcd2714cc
Pin : rename PinStateDataSource by PinStateService
1 year ago
ganfra
304ec0b740
Pin unlock : hides behind feature flag (disabled by default)
1 year ago
ganfra
ea0963c0c8
Pin: use moveTaskToBack instead of finish
1 year ago
ganfra
2d5a3a473c
Pin setup with fake lock
1 year ago
Benoit Marty
8f1ccfccf2
Move SignedOut classes to their own module.
1 year ago
Benoit Marty
0bc2020411
Konsist: add test Function which creates Presenter in test MUST be named 'createPresenterName', and fix existing issues
1 year ago
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
1 year ago
Benoit Marty
c3a0deb201
Code quality.
1 year ago
Benoit Marty
266f93cc28
Add SignedOutNode, to handle session behind deleted from outside (no support for soft-logout)
1 year ago
Benoit Marty
124d6bf95f
SignedOut mode - WIP
1 year ago
ganfra
330ed73dab
Appyx : quick management of PermanentChild
1 year ago
Benoit Marty
37249261e1
Add test for `MatrixClientsHolder`
1 year ago
ganfra
a84e82344a
Fix RoomFlowNodeTest
1 year ago
ganfra
74735605e4
Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count
1 year ago
ganfra
da21e8ba63
Navigation: put RoomList SingleTop when navigating from permalink
1 year ago
Benoit Marty
0e4c146e87
Detekt: Rename `DayNightPreviews` to `PreviewsDayNight` to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
1 year ago
ganfra
916801b357
Fix test compilation
1 year ago
ganfra
6c296c1cf8
DI: rework how components are created and provided
1 year ago
Benoit Marty
2819448cd4
Use `DayNightPreview`
1 year ago
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using `WarmUpRule`.
1 year ago
Benoit Marty
9c9a6ce7be
Add a way to configure tracing when the session does not exist yet.
1 year ago
Benoit Marty
61f5983b2b
Remove unused val.
1 year ago
ganfra
6f86fca2c2
Sync: use the new SyncIndicator api
1 year ago
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
1 year ago
Benoit Marty
128c4a7b09
SDK 0.1.49: notification decryption is now fully handled by the Rust SDK. ( #1231 )
...
* Revert "Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running."
This reverts commit 82f6f358a7
.
* Integrate SDK from https://github.com/matrix-org/matrix-rust-sdk/pull/2505
* Enable retryDecryption() on the NotificationClient.
* SDK 0.1.49 - Encryption Sync is enabled by default now, and retryDecryption is the default too.
* Remove feature flag `UseEncryptionSync`
* Fix sample project build
* Exclude `DeveloperSettingsPresenter` from kover verification.
* Add changelog
---------
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen ( #1223 )
...
* Replace notification permission dialog with a screen
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
82f6f358a7
Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running.
...
Fixes notification with endecrypted content (#1178 )
1 year ago
Benoit Marty
79d4a4c1be
`LoggedInAppScopeFlowNode` is just having one permanent child: `LoggedInFlowNode`. So no need to have a Backstack here, a ParentNode with PermanentNavModel is enough.
1 year ago
Benoit Marty
8c2cc41f97
Add missing plugin forward between `LoggedInAppScopeFlowNode` and `LoggedInFlowNode`. The RoomComponent was not created.
...
Fix crash when opening a room.
1 year ago
Benoit Marty
e47d137c6a
Add documentation to LoggedInAppScopeFlowNode.
1 year ago
Benoit Marty
d8459093a5
Introduce `LoggedInAppScopeFlowNode`. It's a Node just responsible to set up the Dagger SessionScope.
...
This allow to inject objects with SessionScope in the node `LoggedInFlowNode` and all it's dependency (in my case `FtueState` and `MatrixClient`)
1 year ago
Benoit Marty
7083abcf09
migrate `object` to `data object` ( #1135 )
1 year ago
ganfra
a911134636
Update rust sdk to 0.1.42 (changes in tracing and sync apis) ( #1055 )
...
* Update rust sdk to 0.1.42 (changes in tracing and sync apis)
* Fix sample compilation
---------
Co-authored-by: ganfra <francoisg@element.io>
1 year ago
ganfra
e600b0515f
Sync: remove distincUntilChanged which can cause sync to stay blocked ( #1044 )
...
Co-authored-by: ganfra <francoisg@element.io>
1 year ago
ganfra
fa51f6eaa7
Feature/fga/sync states ( #1042 )
...
* Change RoomSummaryDataSource to RoomListService to better reflects the rust api
* Better Sync management
* Sync: improve sync spinner rendering
* Sync: make test compiles
* Sync: add more test for sync spinner
* Sync: more clean-up
* Sync: pr review
---------
Co-authored-by: ganfra <francoisg@element.io>
1 year ago
ganfra
8393db5d9e
Sync: move sync lifecycle to onStart/onStop instead of onResume/onPause
1 year ago
Benoit Marty
0e219200b0
Enable detekt rules `OptionalUnit` and fix existing issues.
1 year ago
Benoit Marty
e0255777c0
Enable detekt rules `CascadingCallWrapping` and fix existing issues.
1 year ago
Benoit Marty
6aa5239189
Enable detekt rule `PreviewPublic` and fix existing issues.
1 year ago
ganfra
e35bb73a86
Rework some MatrixRoom api and fix rust 'destroyed' crash
1 year ago
ganfra
a3bcb2c4ca
Room: avoid calling displayName/avatarData on each recomposition
1 year ago
Benoit Marty
2928073e22
Enable detekt rules `UnusedImports` and cleanup the code.
1 year ago
renovate[bot]
156bf08b7a
Update dependency app.cash.molecule:molecule-runtime to v1 ( #925 )
...
* Update dependency app.cash.molecule:molecule-runtime to v1
* Replace `RecompositionClock` with `RecompositionMode`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
Benoit Marty
5792fdad04
Show Sync status when state is Terminated.
1 year ago
Benoit Marty
3c9ecec563
Make `SyncState` values match `SyncServiceState` values.
1 year ago
Benoit Marty
2686e5d912
Ensure uitest take preview from appnav module.
1 year ago
Benoit Marty
b55b4d551d
Implement SyncState chip. ( #909 )
1 year ago