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é
6a19427a80
Remove deprecation warning of K9
class, as it's not true anymore and spamming the build output
2023-09-13 15:43:40 +02:00
Wolf-Martell Montwé
e9535ecdaa
Bump Spotless 6.14.0 -> 6.21.0 and KtLint 0.48.2 -> 0.50.0, and reformat/fix code
2023-09-06 18:13:23 +02:00
Wolf-Martell Montwé
2e886a7255
Bump Mockito 5.3.1 -> 5.4.0 and Mockito Kotlin 4.1.0 -> 5.1.0
2023-09-06 18:13: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é
385de5fdeb
Rename account oauth DomainContract to AccountOAuthDomainContract
2023-08-31 19:16:24 +02:00
Wolf-Martell Montwé
5fff204b95
Move shared domain from setup to common module
2023-08-31 19:07:25 +02:00
Wolf-Martell Montwé
cafc786367
Add error messages to allow better import debugging
2023-08-29 19:10:37 +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
3702eaee02
Merge pull request #7131 from thundernest/fix_new_oauth
...
Fix OAuth code in new account setup
2023-08-18 13:33:24 +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
b0ef477f6e
Remove "Show only subscribed folders" from (old) incoming server settings screen
2023-08-16 12:08:52 +02:00
cketti
397a06131e
Add "Show only subscribed folders" setting to folders section
2023-08-16 12:04:05 +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
44bdef9c97
Tie creating new accounts to 'new_onboarding' feature flag
2023-08-14 16:14:04 +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
92e0a0d3be
Update translations
2023-08-08 20:24:22 +02:00
cketti
f35603e14c
Merge pull request #7115 from thundernest/fix_IdentityHeaderBuilder
...
Write empty string to identity header field if name is null
2023-08-08 20:15:33 +02:00
cketti
5cb765f199
Merge pull request #7012 from gitstart/K9-OSS-20
...
Fix : Screen reader won't say unread for unread message #accessibility
2023-08-08 20:12:19 +02:00
cketti
6ff3d4087f
Merge pull request #7113 from thundernest/wrap_pasted_url
...
Wrap pasted URI in angle brackets
2023-08-08 20:09:04 +02:00
cketti
8a3ea4dfd4
Clean up content description of message list items
2023-08-08 19:40:31 +02:00
GitStart
47469223ca
Add "unread" to content description in message list
...
This should improve the experience for people using screen readers.
2023-08-08 19:26:35 +02:00
cketti
fee88a4b88
Write empty string to identity header field if name is null
2023-08-08 19:10:23 +02:00
cketti
fdc9052a29
Merge pull request #7006 from gitstart/K9-OSS-10
...
Migrate JobIntentService to WorkManager
2023-08-08 16:07:29 +02:00
gitstart
6ad1d0a65a
Fix - Unintuitive "compose" icon in widget
2023-08-07 20:19:26 +02:00
cketti
12a7b31046
Wrap pasted URIs in angle brackets
2023-08-07 20:04:50 +02:00
cketti
e5e2a9bafb
Add UriMatcher.isValidUri()
2023-08-07 19:32:25 +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
cketti
d8e09b5790
Clean up AccountRemover[Worker]
2023-08-07 17:07:39 +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
Wolf-Martell Montwé
35020a1cb9
Add CheckIsGoogleSignIn and use GoogleSignInButton
2023-07-26 13:52:19 +02:00
cketti
d8598a64b3
Fix hostnames for Microsoft OAuth configuration
2023-07-20 14:50:39 +02:00
Wolf-Martell Montwé
ada21aebd1
Add AuthorizationRepository
2023-07-19 17:34:34 +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
cketti
588d7a7329
Use theme attribute to style outlined buttons
2023-07-12 18:28:30 +02:00
cketti
5ddffb1928
Use theme attributes instead of referencing TextAppearance styles directly
2023-07-12 18:20:30 +02:00