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
88d2d26b80
Rename AccountUpdaterTest
to AccountServerSettingsUpdaterTest
2023-11-17 19:13:58 +01: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é
0333e4714e
Enable OptionalUnit
rule
2023-10-10 13:34:45 +02:00
Wolf-Martell Montwé
42a93bcfef
Change AccountUpdater to AccountServerSettingsUpdater
2023-10-05 17:55:08 +02:00
Wolf-Martell Montwé
657e734710
Merge pull request #7182 from thundernest/add_account_edit_feature
...
Add account edit feature
2023-09-28 13:28:55 +00:00
cketti
ce9704b275
Merge pull request #7197 from thundernest/simplify_app_icon
...
Use vector drawable for app icon
2023-09-28 10:44:48 +02:00
Wolf-Martell Montwé
f980caa48f
Add new_account_edit feature flag
2023-09-27 17:56:18 +02:00
cketti
b44d18082a
Use vector drawable for app icon
...
Remove shadows (using blur) from the logo. This allows us to use a vector drawable as app icon.
2023-09-27 12:44:58 +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é
11b12f9c5e
Change named injection to typed injection for server validation to avoid issues with dependency resolution
2023-09-13 18:46:22 +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é
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
cketti
0392f86a63
Extract values from ServerSettings
when creating an IMAP account
2023-07-17 15:49:39 +02:00
cketti
8c35dd5b34
Log error when creating an account fails
2023-07-17 12:39:18 +02:00
cketti
037b39a566
Fix setting account name and sender name when creating an account
2023-07-17 12:37:44 +02:00
cketti
8b07c61d18
Use signature when one was configured during account setup
2023-07-17 12:22:26 +02:00
cketti
248fd3dc2a
Set folderPushMode
to NONE
when creating account
2023-07-17 12:17:44 +02:00
Wolf-Martell Montwé
878cc45c04
Merge pull request #7040 from thundernest/add_feature_flags
...
Add feature flags
2023-07-03 16:04:27 +02:00
Wolf-Martell Montwé
c781e7032d
Add FeatureFlagFactory to K9 app and use the flag in MessageList
2023-07-03 15:37:22 +02:00
Wolf-Martell Montwé
1aa69635f5
Add launch import settings
2023-07-03 15:30:57 +02:00
Wolf-Martell Montwé
6cfd9481aa
Move AccountSetupFinishedLauncher to feature launcher
2023-07-03 10:21:14 +02:00