Wolf-Martell Montwé
4c7b6366c3
Fix timer based navigation
2023-07-31 18:12:31 +02:00
Wolf-Martell Montwé
9d8e54683b
Move onBack method below onNext
2023-07-31 16:52:33 +02:00
Wolf-Martell Montwé
92e949c299
Change remaining AccountSetupViewModelTest to new turbine setup
2023-07-31 16:52:33 +02:00
Wolf-Martell Montwé
8cd96d2e77
Fix account setup back navigation flow
2023-07-31 16:52:32 +02:00
Wolf-Martell Montwé
660f183607
Remove unused string resources
2023-07-31 16:37:28 +02:00
cketti
4efbf3d0d9
Add OAuth to auto discovery flow
2023-07-31 15:16:09 +02:00
cketti
6ff458da6c
Change AccountOAuthScreen()
to AccountOAuthView()
2023-07-30 17:06:40 +02:00
cketti
cb6520efd2
Change ViewModel orchestration in account setup
...
Using more direct dependencies makes it easier to follow what's going on.
2023-07-30 17:06:40 +02:00
cketti
8e7a5f3541
Add an AuthStateStorage
parameter to ServerSettingsValidator
...
Typically we use `Account` to hold the (OAuth 2.0) authorization state. But during account setup we don't have an `Account` instance yet. So we allow a `ServerSettingsValidator` caller to pass an `AuthStateStorage` that we then use with `OAuth2TokenProviderFactory` to create an `OAuth2TokenProvider` instance. When setting up an account we can use an `AuthStateStorage` implementation that will simply hold the state in memory.
2023-07-29 23:36:02 +02:00
cketti
191693a534
Remove unused code
2023-07-29 20:21:35 +02:00
cketti
a8dc84a69b
Remove FakeAutoDiscoveryService
2023-07-28 12:53:06 +02:00
Wolf-Martell Montwé
a00ca56f8e
Add validation flow to account setup
2023-07-27 20:18:13 +02:00
Wolf-Martell Montwé
eec5a358e9
Add incoming outgoing texts
2023-07-27 19:06:53 +02:00
Wolf-Martell Montwé
5e94369775
Change account validation bottom next button visibility to isSuccess state and wire it up
2023-07-27 19:06:53 +02:00
Wolf-Martell Montwé
9046a4c8fc
Remove loading from AccountOutgoingScreen
2023-07-27 19:06:52 +02:00
Wolf-Martell Montwé
1a7e60dfef
Remove loading from AccountIncomingScreen
2023-07-27 19:06:52 +02:00
Wolf-Martell Montwé
1360d058d7
Add string mapper
2023-07-27 13:17:07 +02:00
Wolf-Martell Montwé
63bfd64b37
Add AccountValidationScreen
2023-07-27 13:17:07 +02:00
Wolf-Martell Montwé
42e5bde2d3
Merge pull request #7088 from thundernest/add_validate_server_settings_use_case
...
Add ValidateServerSettings use case
2023-07-27 10:59:11 +00:00
Wolf-Martell Montwé
5897a655bf
Add ValidateServerSettings use case
2023-07-26 18:16:15 +02:00
Wolf-Martell Montwé
8af494fa52
Change WizardNavigationBar to be able to show and hide buttons
2023-07-26 18:13:19 +02:00
Wolf-Martell Montwé
0c0e57f7ba
Merge pull request #7079 from thundernest/add_account_setup_oauth
...
Add account setup oauth
2023-07-26 12:43:29 +00:00
Wolf-Martell Montwé
bfae204dc5
Remove OnNextClicked as SignInClicked controls the flow
2023-07-26 13:52:19 +02:00
Wolf-Martell Montwé
7b8107d2bc
Add error strings
2023-07-26 13:52:19 +02:00
Wolf-Martell Montwé
5b9d08fe8b
Add tests and remove CheckIsAuthorized as it's fully covered by the AuthorizationStateRepository
2023-07-26 13:52:19 +02:00
Wolf-Martell Montwé
35020a1cb9
Add CheckIsGoogleSignIn and use GoogleSignInButton
2023-07-26 13:52:19 +02:00
Wolf-Martell Montwé
615e16895f
Add FinishOAuthSignIn usecase
2023-07-26 13:52:18 +02:00
Wolf-Martell Montwé
e658b8256b
Add AccountOAuthScreen
2023-07-26 13:52:18 +02:00
Wolf-Martell Montwé
eeb03b6d15
Fix AutoDiscoveryStatusView border shape
2023-07-20 18:17:36 +02:00
cketti
3c344ff808
Merge pull request #7077 from thundernest/autoconfig_auth_types
...
Read all supported authentication methods from Autoconfig file
2023-07-20 11:47:50 +02:00
cketti
ce2ef439d0
Merge pull request #7075 from thundernest/client_certificate
...
New account setup: add support for client certificates
2023-07-20 11:47:30 +02:00
cketti
639f6e68b3
Use authentication type from AutoDiscoveryResult.Settings
2023-07-19 20:35:23 +02:00
cketti
f73cd2ffef
Return all supported authentication methods from RealAutoconfigParser
2023-07-19 19:58:20 +02:00
Wolf-Martell Montwé
0a2a1b7d93
Change WizardNavigationBar to enable next and back button based on given state
2023-07-19 18:53:58 +02:00
cketti
92d7682e48
Use client certificate alias when creating ServerSettings
2023-07-19 18:25:06 +02:00
cketti
d4b7668368
Add UI element to select a client certificate
2023-07-19 18:25:06 +02:00
Wolf-Martell Montwé
ada21aebd1
Add AuthorizationRepository
2023-07-19 17:34:34 +02:00
Wolf-Martell Montwé
b0cf2e5f28
Merge pull request #7073 from thundernest/add_content_list_view
...
Add ContentListView to wrap repeated content view setup
2023-07-19 13:44:10 +00:00
Wolf-Martell Montwé
c2d067f968
Move EventStateTestUtil to core:ui:compose:testing
2023-07-19 15:03:23 +02:00
Wolf-Martell Montwé
cbffe44496
Add ContentListView to wrap repeated content view setup
2023-07-19 14:39:19 +02:00
Wolf-Martell Montwé
f3d096fed4
Merge pull request #7071 from thundernest/add_sign_in_with_google_button
...
Add SignInWithGoogleButton
2023-07-19 09:31:40 +00:00
Wolf-Martell Montwé
f0672ddd53
Add OAuth check to GetAutoDiscovery
2023-07-19 10:36:39 +02:00
Wolf-Martell Montwé
23b0e79a0e
Add account common module to host shared code for reuse in oauth module
2023-07-19 10:36:39 +02:00
Wolf-Martell Montwé
e6b2c66f44
Change contracts from sealed class to sealed interface
2023-07-19 10:07:27 +02:00
Wolf-Martell Montwé
60370fc1d9
Add SignInWithGoogleButton
2023-07-19 10:06:49 +02:00
cketti
d8489c1cf1
Disable "IMAP path prefix" input when auto-detecting IMAP namespace
2023-07-17 17:26:28 +02:00
cketti
d09cb2afeb
Add source to AutoDiscoveryResult.Settings
2023-07-15 21:39:43 +02:00
cketti
e24cbaaddb
Map IMAP advanced settings when creating ServerSettings
2023-07-13 16:29:32 +02:00
cketti
cb78d34610
Add "Send client ID" to incoming server settings (IMAP)
2023-07-12 15:50:00 +02:00
cketti
07ccf3b0cb
Use AuthenticationType
when creating outgoing ServerSettings
2023-07-03 18:24:42 +02:00