Commit graph

267 commits

Author SHA1 Message Date
Wolf-Martell Montwé
875dd8f464
Move AccountSetupTopAppBar to common and rename to AccountTopAppBar 2023-09-06 12:10:27 +02:00
Wolf-Martell Montwé
26e4ee5d52
Move InputFields to account common module 2023-09-06 12:10:27 +02:00
Wolf-Martell Montwé
dcad7a95b6
Move server certificate to server module 2023-09-05 17:10:44 +02:00
Wolf-Martell Montwé
6acdf48e2d
Add account server validation module 2023-09-05 16:14:22 +02:00
Wolf-Martell Montwé
51fb165003
Remove ServerSettingsExtension as it's already part of the OAuth module 2023-09-01 12:37:23 +02:00
Wolf-Martell Montwé
795b5a42ea
Add servercertificate module and move code from setup there 2023-09-01 12:28:37 +02:00
Wolf-Martell Montwé
385de5fdeb
Rename account oauth DomainContract to AccountOAuthDomainContract 2023-08-31 19:16:24 +02:00
Wolf-Martell Montwé
5fff204b95
Move shared domain from setup to common module 2023-08-31 19:07:25 +02:00
Wolf-Martell Montwé
1d350ec6e1
Merge pull request #7123 from thundernest/sign_in_with_google_button
Use `OutlinedButton` for `SignInWithGoogleButton`
2023-08-23 17:15:09 +02:00
cketti
41435cb7f6 Fix behavior of back button when adding additional accounts 2023-08-18 18:17:03 +02:00
cketti
cc88a39528 Simplify AuthorizationRepository
This also fixes a bug; previously the `AuthorizationResponse` wasn't included in `AuthState`.
2023-08-16 14:05:36 +02:00
cketti
476cd91624 Remove AccountOAuthContract.State.authorizationState 2023-08-16 13:27:36 +02:00
cketti
bffddf254d
Merge pull request #7126 from thundernest/refactor_assertk_usage
Use nicer syntax for assertk assertions
2023-08-14 18:37:50 +02:00
cketti
49adf029f3 Use nicer syntax for assertk assertions 2023-08-14 16:46:07 +02:00
cketti
81002855b4 Don't enable signature when signature input during setup was left empty 2023-08-14 15:38:26 +02:00
cketti
a9179b6eac Use OutlinedButton for SignInWithGoogleButton
This way the "Sign in with Google" button looks and behaves more like a regular button.
2023-08-14 14:33:00 +02:00
cketti
5e9d9fe847
Merge pull request #7121 from thundernest/validation_hide_next_button
Always hide "Next" button in server settings validation screen
2023-08-14 12:31:46 +02:00
cketti
717cdfffbb
Merge pull request #7120 from thundernest/oauth_hide_next_button
Hide "Next" button in OAuth 2.0 flow
2023-08-14 12:31:15 +02:00
cketti
219a97e3d7 Always hide "Next" button in server settings validation screen 2023-08-10 19:54:20 +02:00
cketti
7e097fabf7 Fix AccountValidationMainScreen previews 2023-08-10 19:54:20 +02:00
cketti
1077f121df Hide "Next" button in OAuth 2.0 flow 2023-08-10 19:22:34 +02:00
cketti
c1726ebf28 Fix AccountSetupState.toAccountOptionsState() 2023-08-10 17:46:39 +02:00
cketti
b712f04db6 Add placeholder certificate error screen 2023-08-10 00:23:58 +02:00
cketti
a99d1817d9 Fix test for AccountAutoDiscoveryStateMapper.kt 2023-08-07 14:12:25 +02:00
Wolf-Martell Montwé
46deb14649
Add sign in message 2023-08-03 18:54:40 +02:00
Wolf-Martell Montwé
4f280d71f7
Remove AutoDiscover email address is enabled check to allow editing anytime 2023-08-03 17:42:03 +02:00
Wolf-Martell Montwé
5ab82847c6
Change AutoDiscovery to save state 2023-08-03 17:39:02 +02:00
Wolf-Martell Montwé
b005e26a02
Add OAuth to AccountValidation 2023-08-03 17:19:22 +02:00
Wolf-Martell Montwé
c8ca64ac29
Change injection 2023-08-03 16:36:00 +02:00
Wolf-Martell Montwé
559e68761c
Change Options to use AccountSetupState 2023-08-03 16:36:00 +02:00
Wolf-Martell Montwé
21b500c8a1
Change OutgoingConfig to use AccountSetupState 2023-08-03 16:35:41 +02:00
Wolf-Martell Montwé
cfccc950cc
Change AccountValidation to use AccountSetupState 2023-08-03 16:35:23 +02:00
Wolf-Martell Montwé
69ad9c52ef
Change IncomingConfig to use AccountSetupState 2023-08-03 16:34:56 +02:00
Wolf-Martell Montwé
a5a8291e55
Change AutoDiscovery to use AccountSetupState 2023-08-03 16:34:40 +02:00
Wolf-Martell Montwé
cdb7f77d2e
Move AccountAutoDiscoveryStateMapper to autodiscovery package 2023-08-03 16:34:23 +02:00
Wolf-Martell Montwé
9b62c1f8d0
Change AutoDiscoveryTest setup 2023-08-03 16:34:12 +02:00
Wolf-Martell Montwé
4c570e7985
Add AccountSetupState and repository to keep it in memory 2023-08-03 16:34:05 +02:00
Wolf-Martell Montwé
5f027d206c
Remove duplicated FakeAccountOAuthViewModel 2023-08-03 16:33:44 +02:00
Wolf-Martell Montwé
b19aa29e6d
Add OAuth to auto discovery flow 2023-08-03 16:33:37 +02:00
Wolf-Martell Montwé
9f0f32b0c0
Change Dummy to PreviewAccountOAuthViewModel 2023-08-02 14:18:35 +02:00
Wolf-Martell Montwé
7da66f1867
Merge pull request #7105 from thundernest/fix_timer_based_navigation
Fix timer based navigation
2023-08-01 07:49:38 +00:00
Wolf-Martell Montwé
d7a9ff1485
Merge pull request #7104 from thundernest/change_sign_in_button
Change SignInWithGoogleButton to fit to our button style
2023-08-01 07:48:55 +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
cketti
4efbf3d0d9 Add OAuth to auto discovery flow 2023-07-31 15:16:09 +02:00