Commit graph

362 commits

Author SHA1 Message Date
Wolf-Martell Montwé
e81bea1a0f
Merge pull request #7491 from thunderbird/display_inbox_after_setup
Display inbox of newly created account after account setup
2024-01-11 12:03:27 +01:00
Wolf-Martell Montwé
c50314ffbe
Rename AuthorizationState property to value 2024-01-11 11:12:05 +01:00
cketti
b34cf91b8e Display inbox of newly created account after account setup 2024-01-10 15:18:52 +01:00
cketti
df776baeea Save special folder mapping when creating an account 2023-12-19 19:51:46 +01:00
cketti
a1a090f77e Fetch folder list when creating an account 2023-12-14 00:37:23 +01:00
Wolf-Martell Montwé
c04e7de4b0
Merge pull request #7414 from thunderbird/bump_dependencies
Bump dependencies
2023-12-07 12:42:05 +00:00
Wolf-Martell Montwé
a230e11910
Bump Spotless 6.22.0 -> 6.23.3 and Ktlint 0.50.0 -> 1.0.1 2023-12-06 15:04:55 +01:00
Wolf-Martell Montwé
530a7b0524
Replace AccountCreatorHelper with DeletePolicyHelper 2023-12-04 17:11:53 +01:00
Wolf-Martell Montwé
45002cf10d
Merge pull request #7396 from thunderbird/refactor_account_manager_usage
Refactor account manager usage
2023-12-04 15:50:40 +00:00
cketti
2160a759e4 Don't start ImapBackendPusher when the app doesn't have permission to schedule exact alarms 2023-12-01 15:23:14 +01:00
Wolf-Martell Montwé
76551bd238
Replace usage of Preferences by AccountManager where appropriate 2023-12-01 13:11:53 +01:00
Wolf-Martell Montwé
4d2a07e9a7
Add getAccounts to AccountManager and replace usage 2023-12-01 12:33:04 +01:00
Wolf-Martell Montwé
6be64f095e
Move account color picking to own class 2023-12-01 12:33:03 +01:00
Wolf-Martell Montwé
1566b2063d
Add extension function to set incoming server settings 2023-12-01 12:29:35 +01:00
Wolf-Martell Montwé
0f14eb8545
Remove AccountSetupCheckSettings activity 2023-11-29 16:04:04 +01:00
Wolf-Martell Montwé
c76e3a13e8
Remove AccountSetupOutgoing activity 2023-11-29 14:26:09 +01:00
Wolf-Martell Montwé
e366fb3dad
Remove AccountSetupIncoming activity 2023-11-29 13:19:19 +01:00
Wolf-Martell Montwé
f87c156262
Replace change to new account edit and remove feature flag 2023-11-29 12:12:09 +01:00
Wolf-Martell Montwé
4426a2a0a4
Change new edit server settings to default 2023-11-28 16:39:26 +01:00
cketti
d0052238d3
Merge pull request #7365 from thunderbird/update_auth_state
Update authorization state when editing server settings
2023-11-20 11:17:40 -05:00
cketti
7fed8d87a1 Update authorization state when editing server settings 2023-11-17 19:12:57 +01:00
cketti
ab49c54464 Increase targetSdkVersion to 33 2023-11-13 13:06:56 +01:00
cketti
e86803c147
Merge pull request #7320 from thunderbird/extend_id_command
IMAP: Add app version to ID command
2023-11-04 05:45:46 -04:00
cketti
77ff16bcf7 IMAP: Add app version to ID command 2023-11-02 17:56:55 -04:00
Wolf-Martell Montwé
04c0418c7a
Remove `AccountSetupAccountType 2023-11-01 14:35:25 +01:00
cketti
d5c16f2bf9 Convert between ServerSettings variants when necessary
Currently, `useCompression` and `isSendClientIdEnabled` are not part of `ServerSettings` in `Account` (and storage, and settings files, etc). We need to fix this eventually. But it's a larger change. For now we convert between the `ServerSettings` variants at the edges.
2023-10-25 16:06:11 +02:00
Wolf-Martell Montwé
801611779a
Merge pull request #7239 from thundernest/remove_account_setup_basics
Remove `AccountSetupBasics`
2023-10-11 18:06:00 +02:00
Wolf-Martell Montwé
c02ed0589a
Remove AccountSetupBasics 2023-10-11 17:26:13 +02:00
Wolf-Martell Montwé
012c8bd3b4
Fix low hanging detekt violations 2023-10-10 14:26:11 +02:00
Wolf-Martell Montwé
42a93bcfef
Change AccountUpdater to AccountServerSettingsUpdater 2023-10-05 17:55:08 +02:00
Wolf-Martell Montwé
f980caa48f
Add new_account_edit feature flag 2023-09-27 17:56:18 +02:00
Wolf-Martell Montwé
72ab8f679c
Merge pull request #7193 from thundernest/remove_legacy_account_setup
Remove legacy account setup and onboarding, part 1
2023-09-26 08:42:01 +00:00
Wolf-Martell Montwé
496a64c04e
Change name to AccountStateLoader 2023-09-25 16:21:48 +02:00
Wolf-Martell Montwé
f0353eb743
Change to AccountManager and add test for AccountLoader 2023-09-25 16:13:01 +02:00
Wolf-Martell Montwé
eff8b25a3a
Add AccountLoader 2023-09-25 16:13:00 +02:00
Wolf-Martell Montwé
7b189afa6e
Remove OnboardingActivity 2023-09-22 19:01:41 +02:00
Wolf-Martell Montwé
e454ac837a
Remove feature flag for new_onboarding 2023-09-22 19:01:40 +02:00
Wolf-Martell Montwé
8244470a9e
Remove AccountSetupOptions 2023-09-22 18:27:04 +02:00
Wolf-Martell Montwé
9fc8dffd2d
Remove AccountSetupNames 2023-09-22 17:55:32 +02:00
Wolf-Martell Montwé
8549bfc554
Add newAccount method to preferences to allow creation with given UUID 2023-09-15 11:24:17 +02:00
Wolf-Martell Montwé
61d955f774
Add AccountUpdater contract and implementation 2023-09-15 11:24:17 +02:00
Wolf-Martell Montwé
5fff204b95
Move shared domain from setup to common module 2023-08-31 19:07:25 +02:00
cketti
2b3b768eed Handle broken AuthState
The authorization state created using the new account setup in K-9 Mail 6.709 is broken and can't be used to refresh the access token. So we clear the authorization state when trying to refresh the token fails with an `IllegalStateException`.
2023-08-16 15:04:15 +02:00
cketti
ca851d1b80 Switch to new account setup UI 2023-08-14 18:44:57 +02:00
cketti
09240fec56 Implement AccountRemoverWorker.getForegroundInfo()
This is required to run expedited jobs on older Android versions.
2023-08-07 18:17:32 +02:00
GitStart
be83b62d32 Migrate JobIntentService to WorkManager 2023-08-07 17:07:39 +02:00
cketti
4efbf3d0d9 Add OAuth to auto discovery flow 2023-07-31 15:16:09 +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
84f132c148 Add abstraction for storing and retrieving the OAuth state 2023-07-26 15:28:34 +02:00
cketti
d8598a64b3 Fix hostnames for Microsoft OAuth configuration 2023-07-20 14:50:39 +02:00