Commit graph

656 commits

Author SHA1 Message Date
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
Wolf Montwé
f88613bf23
Change to Android library build plugin 2023-02-16 15:58:43 +01:00
Wolf Montwé
7d871fd9cb
Change k9mail app to use build plugin 2023-02-15 18:42:27 +01:00
cketti
e17b4c78ea Prepare for version 6.509 2023-02-15 15:37:28 +01:00
cketti
eda2a50c98 Version 6.508 2023-02-15 15:30:25 +01:00
cketti
d2e8dbb3ca Prepare for version 6.508 2023-02-10 11:50:54 +01:00
cketti
d43c8a1dc3 Version 6.507 2023-02-10 11:41:13 +01:00
cketti
487787bdd2 Simplify creation of FolderNameFormatter
`FolderNameFormatter` is only retrieving string resources. For this the global `Resources` instance will do. There's no need to pass instances retrieved from an `Activity`.
2023-02-08 16:09:32 +01:00
cketti
125e1af9d6 Use Koin instead of custom by lazy code 2023-02-07 01:08:01 +01:00
Wolf Montwe
1854a2c911
Change Kotlin code format 2023-02-03 17:23:57 +01:00
cketti
697f201c15 Prepare for version 6.507 2023-02-03 12:32:09 +01:00
cketti
8e7685c44d Version 6.506 2023-02-03 12:10:15 +01:00
cketti
180626c739 Prepare for version 6.506 2023-02-01 19:29:24 +01:00
cketti
de5d1cd1c9 Version 6.505 2023-02-01 18:56:47 +01:00
cketti
e826ed8db7
Merge pull request #6618 from thundernest/message-view-redesign
Add the redesigned message view screen
2023-02-01 18:51:05 +01:00
cketti
c93f5ea799
Merge pull request #6612 from thundernest/message_counts
Refactoring: Message counts
2023-02-01 17:36:59 +01:00
cketti
4cc1643643 Remove message count functionality from MessagingController 2023-02-01 14:39:59 +01:00
cketti
3e90f8b85e Remove unused methods 2023-01-27 19:50:46 +01:00
cketti
cff482e88f Prepare for version 6.505 2023-01-27 12:08:50 +01:00
cketti
033fd2da3b Version 6.504 2023-01-27 12:01:32 +01:00
cketti
b0765abd47 Prepare for version 6.504 2023-01-19 15:49:00 +01:00
cketti
a02946dee0 Version 6.503 2023-01-19 13:03:20 +01:00