Commit graph

677 commits

Author SHA1 Message Date
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
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
Wolf-Martell Montwé
9bf80c2266
Change AccountSetupFinishedLauncher to use custom intent for properly launching MessageList 2023-06-30 13:18:19 +02:00
Wolf-Martell Montwé
fe180f282d
Add createAccount use case to account setup 2023-06-30 12:13:16 +02:00
Wolf-Martell Montwé
5c076d4f69
Change AccountSetupExternalContract to suspend and wrap IO operations with coroutine IO dispatcher 2023-06-30 12:04:27 +02:00
Wolf-Martell Montwé
32a8f23dc7
Add create account use case 2023-06-30 12:04:27 +02:00
Wolf-Martell Montwé
1c142876d0
Add AccountOptions and state mapper 2023-06-30 12:04:27 +02:00
Wolf-Martell Montwé
5384350689
Add AccountCreator as external dependency for the account setup 2023-06-30 12:04:27 +02:00
Wolf-Martell Montwé
88a4b7913f
Add AccountOwnerNameProvider 2023-06-29 12:24:28 +02:00
Wolf-Martell Montwé
dbdbb25cdb
Add AccountSetupFinishedLauncher 2023-06-29 12:24:28 +02:00
cketti
1e42e92b1b Include more information in IMAP-specific ServerSettings
The additional properties are necessary to validate server settings.
2023-06-23 17:13:22 +02:00
cketti
6d53e41114 Use constructor injection for "clientIdAppName" 2023-06-23 14:35:12 +02:00
Wolf-Martell Montwé
00148f1a99
Change OAuth to not use OAuthProvider enum and delegate configuration creation to the app 2023-06-21 14:05:28 +02:00
Wolf-Martell Montwé
e64d030d22
Refactor OauthConfiguration to be placed in common module with added OAuthProvder and OAuthProviderSettings 2023-06-20 15:17:47 +02:00
Wolf-Martell Montwé
9e0f1bd815
Resolve app.core dependency blocking oauth extraction 2023-06-20 15:17:45 +02:00
cketti
8973559507 Prepare for version 6.708 2023-06-19 13:49:01 +02:00
cketti
955dc2380b Version 6.707 2023-06-19 13:38:23 +02:00
cketti
e6469422a8 Prepare for version 6.707 2023-06-16 15:44:24 +02:00
cketti
f60e5e073f Version 6.706 2023-06-16 15:35:00 +02:00
cketti
656a9d3862 Use relaxed mode to parse email addresses from message headers 2023-06-15 19:32:56 +02:00
cketti
e7b0228369 Prepare for version 6.706 2023-06-12 17:13:37 +02:00
cketti
89fa882590 Version 6.705 2023-06-12 17:00:32 +02:00
cketti
fa487b2016 Always use extension function to create EmailAddress instance 2023-06-01 14:29:28 +02:00
cketti
ae165344e6 Prepare for version 6.705 2023-05-23 18:08:06 +02:00
cketti
1ee999ca7e Version 6.704 2023-05-23 17:37:48 +02:00
cketti
0220e1d800 Prepare for version 6.704 2023-05-08 13:48:20 +02:00
cketti
0df1fa5543 Version 6.703 2023-05-08 13:42:05 +02:00
cketti
b1f876cbdc
Merge pull request #6876 from thundernest/manifest_changes
Explicitly set manifest attribute "hasFragileUserData" to false
2023-05-05 18:06:03 +02:00
cketti
b56e444a74 Explicitly set manifest attribute "hasFragileUserData" to false 2023-05-05 16:21:26 +02:00
cketti
ff188cdfb5 Remove WebDAV code 2023-05-04 22:14:00 +02:00
cketti
94f95734b3 Prepare for version 6.703 2023-05-02 12:46:12 +02:00
cketti
87e0e979c8 Version 6.702 2023-05-02 12:33:41 +02:00
cketti
587c281434 Don't let R8 remove TokenCompleteTextView 2023-05-01 19:29:19 +02:00
cketti
f826bdd7cc Prepare for version 6.702 2023-04-28 18:35:37 +02:00
cketti
f1155d4be3 Version 6.701 2023-04-28 18:35:37 +02:00
Self Not Found
f2ce1fe344 IMAP: Add support for sending ID command with app name 2023-04-26 14:58:44 +02:00
Wolf-Martell Montwé
6e27fe5c84
Merge pull request #6829 from thundernest/bump-to-android-studio-flamingo
Bump to Android Studio Flamingo
2023-04-25 15:38:35 +00:00
Wolf Montwé
0339444dd3
Bump Android Gradle Plugin to 8.0.0 and move Kotlin compatibility to build-plugins 2023-04-25 17:21:32 +02:00
cketti
8fc01ce486 Prepare for version 6.701 2023-04-24 15:50:06 +02:00
cketti
2492d9ffc4 Version 6.700 2023-04-24 15:39:27 +02:00
cketti
3119985ffb
Merge pull request #6825 from thundernest/file_uri_link
Don't attempt to open `file:` URIs in an email
2023-04-18 13:21:57 +02:00
cketti
35dddef436 Merge branch '6.6-MAINT' into 'main' 2023-04-18 12:50:59 +02:00
cketti
af28c757dd Version 6.601 2023-04-18 12:14:01 +02:00
cketti
423bb3e181 Change MessageWebView to use Koin to retrieve dependencies 2023-04-17 20:13:58 +02:00
cketti
bda3a48784 Prepare for version 6.700 2023-04-17 15:33:32 +02:00
cketti
692b03a550 Enable home screen widgets by default 2023-04-17 15:13:08 +02:00
cketti
35f4c28ffa Version 6.600 2023-04-11 12:58:16 +02:00
cketti
10d93775cd Prepare for version 6.512 2023-03-31 17:14:46 +02:00
cketti
9da6212a86 Version 6.511 2023-03-31 17:14:46 +02:00
Wolf Montwé
fd30437c94
Remove truth library and remaining usage 2023-03-21 14:14:44 +01:00
cketti
ebc3af7b4d Prepare for version 6.511 2023-03-17 18:42:30 +01:00
cketti
c24b339daf Version 6.510 2023-03-17 18:27:58 +01:00
Wolf Montwé
00b7bf45d7
Change truth testing library to legacy and only allow usage in old modules 2023-03-14 12:20:55 +01:00
Wolf Montwé
9cdf3e2b7a
Add ContactRepository 2023-03-09 13:48:06 +01:00
Wolf Montwé
5e09e067b0
Add email value type 2023-03-07 18:12:38 +01:00
cketti
aed85dfd4b Fix release signing 2023-03-01 15:21:59 +01:00
cketti
04ece92e20 Prepare for version 6.510 2023-02-28 23:01:41 +01:00
cketti
2cffc0d64c Version 6.509 2023-02-28 22:34:06 +01:00
Wolf Montwé
22d8e4b924
Change build files from Groovy to Kotlin 2023-02-23 14:52:16 +01:00
Wolf Montwé
96e2784b22
Rename build.gradle files to build.gradle.kts 2023-02-23 14:52:15 +01:00
Wolf Montwé
fab7a8e6a6
Rename plugin for consistency 2023-02-23 11:16:17 +01:00
Wolf Montwé
cab1c71524
Cleanup remaining code style issues for Kotlin sources 2023-02-17 16:14:14 +01:00
Wolf Montwé
29d5220995
Add trailing comma allowance to code style 2023-02-17 16:14:13 +01:00
Wolf-Martell Montwé
b2b4974231
Merge pull request #6677 from thundernest/add-android-library-build-plugin
Add Android library build plugin
2023-02-17 12:38:18 +01:00
cketti
105947f1bb Prefix keystore properties with "k9mail." 2023-02-16 17:54:22 +01:00