Commit graph

12561 commits

Author SHA1 Message Date
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
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
13150fe2e1
Merge pull request #7001 from thundernest/fix_GH-7000
Upgrade AndroidX Fragment to 1.6.0
2023-06-19 12:29:40 +02:00
cketti
1f85416afb Upgrade AndroidX Fragment to 1.6.0 2023-06-18 22:15:09 +02:00
cketti
07985f7066 Use IOUtils.skipFully() in FixedLengthInputStream
There was a bug in the `skip()` implementation of `PeekableInputStream` which have could lead to an endless loop in `skipRemaining()`. Using `IOUtils.skipFully()` should avoid such a problem in the future.
2023-06-17 17:21:48 +02:00
cketti
7b7ffe4b88 Fix PeekableInputStream to adhere to the InputStream contract 2023-06-17 17:21:48 +02:00
cketti
fde82fe7b4 Convert PeekableInputStream to Kotlin 2023-06-17 17:21:45 +02:00
cketti
ff9bec87e1 Rename .java to .kt 2023-06-17 13:13:34 +02:00
cketti
cde85b97a2 Add tests for PeekableInputStream 2023-06-17 13:13:34 +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
fb457bc7d6
Merge pull request #6972 from gitstart/K9-OSS-3
Inconsistent recipient names when composing a message
2023-06-16 15:30:20 +02:00
cketti
ff79ee70fc Fix broken test and minor cleanup 2023-06-16 15:08:44 +02:00
cketti
bf73b0a787
Merge pull request #6987 from thundernest/relaxed_email_address
Change `EmailAddressParser` to support addresses violating the specification
2023-06-16 14:59:44 +02:00
GitStart
e23371985a Inconsistent recipient names when composing a message 2023-06-16 08:28:37 +00:00
cketti
bc041376da Add message with email address where local-part exceeds length limit to demo backend 2023-06-15 20:14:44 +02:00
cketti
656a9d3862 Use relaxed mode to parse email addresses from message headers 2023-06-15 19:32:56 +02:00
cketti
c96d0ce65a Allow disabling length checks in EmailAddressParser 2023-06-15 19:32:56 +02:00
Wolf-Martell Montwé
4bc2afa9ad
Merge pull request #6984 from thundernest/rename_account_setup_autoconfig_to_autodiscovery
Rename account setup autoconfig to autodiscovery
2023-06-15 18:42:42 +02:00
Wolf-Martell Montwé
f97476b134
Add BackHandler to delegate back navigation to view model 2023-06-15 18:33:59 +02:00
Wolf-Martell Montwé
df604d9955
Rename AutoConfig to AutoDiscovery in class names and variables 2023-06-15 18:33:31 +02:00
Wolf-Martell Montwé
b1eaabf699
Rename autoconfig package to autodiscovery 2023-06-15 18:33:30 +02:00
Wolf-Martell Montwé
15dc5e68b0
Merge pull request #6983 from thundernest/add_account_setup_discovery_status_validation
Add account setup discovery status validation
2023-06-15 18:33:10 +02:00
Wolf-Martell Montwé
8a3cb578e7
Refactor validation tests to use test subject property 2023-06-15 18:17:27 +02:00
Wolf-Martell Montwé
d04a91f566
Add ConfigurationApproval validation 2023-06-15 18:02:35 +02:00
Wolf-Martell Montwé
9f96ab6ee0
Remove ValidationUseCase and replace by SAM interfaces to have more flexibility 2023-06-15 18:02:35 +02:00
Wolf-Martell Montwé
021d9ab9ef
Reduce visibility to internal where possible to hide implementation 2023-06-15 18:02:35 +02:00
Wolf-Martell Montwé
805406107b
Merge pull request #6982 from thundernest/add_account_setup_discovery_status_view
Add account setup discovery status view
2023-06-15 18:01:07 +02:00
Wolf-Martell Montwé
4d2712eeca
Change AutoDiscoveryServerSettingsView to also handle IP addresses 2023-06-15 17:45:59 +02:00