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
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
656a9d3862
Use relaxed mode to parse email addresses from message headers
2023-06-15 19:32:56 +02:00
cketti
fa487b2016
Always use extension function to create EmailAddress
instance
2023-06-01 14:29:28 +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
Self Not Found
f2ce1fe344
IMAP: Add support for sending ID command with app name
2023-04-26 14:58:44 +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
423bb3e181
Change MessageWebView
to use Koin to retrieve dependencies
2023-04-17 20:13:58 +02:00
cketti
692b03a550
Enable home screen widgets by default
2023-04-17 15:13:08 +02:00
Wolf Montwé
fd30437c94
Remove truth library and remaining usage
2023-03-21 14:14:44 +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
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
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
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