Commit graph

12785 commits

Author SHA1 Message Date
Wolf-Martell Montwé
4306925492
Merge pull request #7102 from thundernest/remove_string_resources
Remove unused string resources
2023-08-01 07:47:51 +00:00
Wolf-Martell Montwé
303a8f94d6
Change back to not change state and instead navigate back immediately 2023-07-31 18:18:46 +02:00
Wolf-Martell Montwé
4c7b6366c3
Fix timer based navigation 2023-07-31 18:12:31 +02:00
Wolf-Martell Montwé
06a118ca41
Change SignInWithGoogleButton to fit to our button style and add outline to add contrast in light mode, also removed the loading indicator as not needed 2023-07-31 17:49:43 +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
Wolf-Martell Montwé
0d564955d3
Merge pull request #7101 from thundernest/oauth_setup_flow
Add OAuth support to automatic setup flow
2023-07-31 13:53:04 +00: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
a233a63bf4
Merge pull request #7100 from thundernest/update_ServerSettingsValidator
Add an `AuthStateStorage` parameter to `ServerSettingsValidator`
2023-07-30 17:06:04 +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
3bc0bada31
Merge pull request #7099 from thundernest/remove_unused_code
Remove unused code
2023-07-29 22:25:42 +02:00
cketti
191693a534 Remove unused code 2023-07-29 20:21:35 +02:00
cketti
0a2880f437
Merge pull request #7097 from thundernest/remove_FakeAutoDiscoveryService
Remove `FakeAutoDiscoveryService`
2023-07-28 13:15:52 +02:00
cketti
a8dc84a69b Remove FakeAutoDiscoveryService 2023-07-28 12:53:06 +02:00
cketti
efd54b89dd
Merge pull request #7094 from thundernest/change_to_new_validation_screen
Change to new validation screen
2023-07-28 11:52:41 +02:00
Wolf-Martell Montwé
6b3c7a8f57
Merge pull request #7091 from thundernest/add_config_validation_screen
Add config validation screen
2023-07-27 18:20:52 +00: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é
594b667a9a
Change MviTurbineExtension to extend TestScope 2023-07-27 13:17:07 +02:00
Wolf-Martell Montwé
44dee0e511
Merge pull request #7090 from thundernest/add_mvi_turbine_test_extension
Add MviTurbineExtension to simplify test setup
2023-07-27 11:16:34 +00: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
cketti
6288edf5b3
Merge pull request #7086 from thundernest/auth_state_storage
Add abstraction for storing and retrieving the OAuth state
2023-07-27 12:19:58 +02:00
Wolf-Martell Montwé
a63da8ed4d
Add MviTurbineExtension to simplify test setup 2023-07-27 11:31:50 +02:00
Wolf-Martell Montwé
70984d7ee6
Merge pull request #7087 from thundernest/change_wizard_navigation_bar
Change WizardNavigationBar to be able to show and hide buttons
2023-07-27 09:29:21 +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
cketti
84f132c148 Add abstraction for storing and retrieving the OAuth state 2023-07-26 15:28:34 +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é
b5a44a54b5
Merge pull request #7080 from thundernest/fix_auto_discovery_status_view_border_shape
Fix AutoDiscoveryStatusView border shape
2023-07-26 09:09:28 +00:00
Wolf-Martell Montwé
eeb03b6d15
Fix AutoDiscoveryStatusView border shape 2023-07-20 18:17:36 +02:00
cketti
93cf883fca
Merge pull request #7078 from thundernest/fix_oauth_config
Fix hostnames for Microsoft OAuth configuration
2023-07-20 16:15:02 +02:00
cketti
d8598a64b3 Fix hostnames for Microsoft OAuth configuration 2023-07-20 14:50:39 +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