Commit graph

12742 commits

Author SHA1 Message Date
Wolf-Martell Montwé
e49d9e5c5e
Add checkSettings with loading, error and success states to incoming config 2023-06-27 11:43:39 +02:00
Wolf-Martell Montwé
22d1784d60
Add SuccessView 2023-06-27 11:43:38 +02:00
Wolf-Martell Montwé
0a047a1e13
Change import 2023-06-27 11:43:38 +02:00
Wolf-Martell Montwé
72d002571d
Add missing dependencies to feature app 2023-06-27 11:43:38 +02:00
Wolf-Martell Montwé
d51a33ec3c
Add incoming settings check 2023-06-27 11:43:38 +02:00
Wolf-Martell Montwé
ea8c0beb5c
Add server config validation use cases and change check interface to SAM 2023-06-27 11:33:46 +02:00
Wolf-Martell Montwé
183998a21a
Fix MainDispatcherRule 2023-06-27 11:33:46 +02:00
Wolf-Martell Montwé
8e99d69442
Add MailConnectionSecurity 2023-06-26 16:59:47 +02:00
Wolf-Martell Montwé
a5d14de34a
Merge pull request #7026 from thundernest/refactor_oauth_flow
Refactor OAuthFlow
2023-06-26 14:18:10 +02:00
Wolf-Martell Montwé
1429327c69
Extract GetOAuthRequestIntent into own use case for use in the new account flow 2023-06-26 14:06:34 +02:00
cketti
46657ba23c
Merge pull request #7025 from thundernest/improve_send_failure_logging
Write error message to log when skipping message during send
2023-06-26 13:40:53 +02:00
cketti
ed49b34412
Merge pull request #7024 from thundernest/check_imap_server_settings
Add `ImapServerSettingsValidator`
2023-06-26 13:39:37 +02:00
cketti
5babadf429
Merge pull request #7023 from thundernest/check_pop3_server_settings
Add `Pop3ServerSettingsValidator`
2023-06-26 13:36:53 +02:00
cketti
4c8261089b Write error message to log when skipping message during send 2023-06-24 17:36:20 +02:00
cketti
2706107519 Add ImapServerSettingsValidator 2023-06-23 17:20:06 +02:00
Wolf-Martell Montwé
cc0572967f
Merge pull request #7021 from thundernest/add_oauth_module
Add OAuth module
2023-06-23 17:13:36 +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
cketti
8143ae53ec Add responseText property to NegativeImapResponseException 2023-06-23 14:11:30 +02:00
cketti
3abe666bd3 Convert NegativeImapResponseException to Kotlin 2023-06-23 14:11:30 +02:00
cketti
289eadd575 Rename .java to .kt 2023-06-23 14:11:30 +02:00
cketti
04d0c762a9 Add Pop3ServerSettingsValidator 2023-06-23 13:36:25 +02:00
cketti
f404dabf08
Merge pull request #7017 from thundernest/refactor_pop3_exception_handling
Change exception handling in POP3 code
2023-06-23 13:35:30 +02:00
cketti
99a59db7d3
Merge pull request #7011 from thundernest/check_server_settings
Add interface for validating server settings
2023-06-23 13:34:14 +02:00
Wolf-Martell Montwé
c12ac2fecd
Add app auth dependency to OAuth module 2023-06-23 11:57:30 +02:00
Wolf-Martell Montwé
5dfb37bfb0
Remove OAuth dependency from app.core 2023-06-23 11:52:13 +02:00
Wolf-Martell Montwé
526a6fe933
Refactor SuggestServerName 2023-06-23 11:46:05 +02:00
Wolf-Martell Montwé
03772c6a5c
Rename to SuggestServerName 2023-06-23 11:42:28 +02:00
Wolf-Martell Montwé
a56ca2cbdc
Change ServerNameSuggesterTest to Kotlin
Signed-off-by: Wolf-Martell Montwé <wolf@thunderbird.net>
2023-06-23 11:27:37 +02:00
Wolf-Martell Montwé
507da47b06
Rename .java to .kt
Signed-off-by: Wolf-Martell Montwé <wolf@thunderbird.net>
2023-06-23 11:26:59 +02:00
Wolf-Martell Montwé
bbfc232975
Add feature:account:oauth module and move ServerNameSuggester there 2023-06-23 11:24:45 +02:00
cketti
a58af22806
Merge pull request #7010 from thundernest/improve_AuthenticationFailedException
Create better `AuthenticationFailedException` instances
2023-06-22 19:05:17 +02:00
cketti
f2d096c6e3 Change exception handling in POP3 code
Defer wrapping an IOException in a MessagingException for as long as possible.
2023-06-22 14:36:11 +02:00
cketti
0bdb03d50c Add SmtpServerSettingsValidator 2023-06-22 13:22:11 +02:00
cketti
d99067a9a7 Add ServerSettingsValidator interface 2023-06-21 19:41:35 +02:00
cketti
a574c39be0 Create better AuthenticationFailedException instances
Provide a value for `messageFromServer` whenever possible. We're showing this to the user when checking server settings has failed, so they get a better idea of what went wrong.
2023-06-21 18:31:52 +02:00
Wolf-Martell Montwé
3699e7d68d
Merge pull request #7007 from thundernest/refactor_oauth_setup
Refactor OAuth setup
2023-06-21 15:35:44 +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
cketti
774d95d4f5
Merge pull request #7008 from thundernest/consistent_reply_behavior
Fetch `List-Post` header when downloading partial message
2023-06-20 16:42:14 +02:00
cketti
eab8511d05
Merge pull request #6995 from thundernest/fix_InputStream_implementations
Fix `InputStream` implementations
2023-06-20 16:41:37 +02:00
Wolf-Martell Montwé
8c6c24cfe0
Add OAuthProviderSettings to feature app 2023-06-20 15:17:47 +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
ff31f79dc2 Fetch List-Post header when downloading partial message 2023-06-20 15:04:43 +02:00
Wolf-Martell Montwé
141dd0974c
Resolve app.testing dependency blocking oauth extraction 2023-06-20 14:57:44 +02:00
Wolf-Martell Montwé
f72bd24fbd
Merge pull request #7005 from thundernest/add_account_setup_state_propagation
Add account setup state propagation
2023-06-20 14:57:29 +02:00
Wolf-Martell Montwé
b826961287
Add AccountAutoDiscoveryStateMapper and propagate to other view models 2023-06-20 14:32:44 +02:00
Wolf-Martell Montwé
d2685dbede
Add AutoDiscovery IncomingServerSettings and ConnectionSecurity mapping 2023-06-20 13:24:31 +02:00
Wolf-Martell Montwé
45f52bd68e
Add events to propagate finished states 2023-06-20 13:24:31 +02:00
Wolf-Martell Montwé
a898491c6b
Merge pull request #6986 from thundernest/change_account_setup_back_behaviour
Change account setup back behaviour
2023-06-20 13:01:00 +02:00