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
d45bb6d683
Always exclude common files from Android packaging
2023-10-26 21:47:17 +02: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é
d425762a82
Fix signingConfig hack
2023-10-06 15:47:11 +02:00
Wolf-Martell Montwé
42a93bcfef
Change AccountUpdater to AccountServerSettingsUpdater
2023-10-05 17:55:08 +02:00
cketti
a8298006a1
Merge pull request #7214 from thundernest/fix_fdroid_build
...
Fix F-Droid build
2023-10-04 14:35:10 +02:00
cketti
8b9abf2bcc
Fix F-Droid build
...
fdroidserver contains code to strip signing config blocks from `build.gradle[.kts]` files. That code also removed the assignment inside the `let` lambda. This in turn lead to Gradle failing the compilation of the Kotlin script because the argument `releaseSigningConfig` was unused 😞
Adding the "F-Droid hack" comment in this line prevents fdroidserver's regular expression from matching and removing this line.
2023-10-04 14:03:35 +02:00
cketti
8248b220c3
Prepare for version 6.712
2023-10-04 12:58:29 +02:00
cketti
97f18d313c
Version 6.711
2023-10-04 12:32:26 +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é
1fe926fad4
Bump Gradle 8.1.1 -> 8.3
2023-09-06 18:13: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
cbf480dbf7
Prepare for version 6.711
2023-08-18 19:58:01 +02:00
cketti
7aa919e097
Version 6.710
2023-08-18 18:40:20 +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
40d7db53f4
Prepare for version 6.710
2023-08-14 19:17:11 +02:00
cketti
7784d37e99
Version 6.709
2023-08-14 19:10:31 +02:00
cketti
ca851d1b80
Switch to new account setup UI
2023-08-14 18:44:57 +02:00
cketti
fe80fa9166
Prepare for version 6.709
2023-08-09 00:05:45 +02:00
cketti
a51d34b756
Version 6.708
2023-08-08 22:03:12 +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