Commit graph

54 commits

Author SHA1 Message Date
Wolf-Martell Montwé
dbb381d813
Remove :feature:autodiscovery:srvrecords as it's not used anymore 2024-01-04 10:59:13 +01:00
cketti
b4f255cc80 Avoid crash when MX lookup returns invalid hostname 2023-11-29 23:35:25 +01:00
cketti
513bd2cec9 Allow placeholders in Autoconfig domain elements 2023-11-09 23:46:25 +01:00
Wolf-Martell Montwé
1236d7114c
Change repository links from thundernest/k-9 to thunderbird/thunderbird-android 2023-11-02 14:35:06 +01:00
Wolf-Martell Montwé
be44dc3a69
Remove ProvidersXmlDiscovery 2023-10-11 18:07:06 +02:00
cketti
f73cd2ffef Return all supported authentication methods from RealAutoconfigParser 2023-07-19 19:58:20 +02:00
cketti
d09cb2afeb Add source to AutoDiscoveryResult.Settings 2023-07-15 21:39:43 +02:00
cketti
6394599ae3 MX lookup: Avoid exception when domain couldn't be resolved 2023-07-04 14:28:20 +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
Wolf-Martell Montwé
141dd0974c
Resolve app.testing dependency blocking oauth extraction 2023-06-20 14:57:44 +02:00
cketti
656a9d3862 Use relaxed mode to parse email addresses from message headers 2023-06-15 19:32:56 +02:00
cketti
eb68441379 Make AutoDiscoveryService return type non-nullable 2023-06-14 12:46:39 +02:00
cketti
7562eb84ac Add MxLookupResult with isTrusted property 2023-06-08 17:16:01 +02:00
cketti
18ee442d97 Add isTrusted property to HttpFetchResult 2023-06-08 16:43:20 +02:00
cketti
0653fbfb68 Add isTrusted property to AutoDiscoveryResult.Settings 2023-06-08 15:23:30 +02:00
cketti
6a80fefd84 Change AutoDiscoveryResult to a sealed interface 2023-06-06 19:47:09 +02:00
cketti
66bb36bd9f Add custom result type for AutoconfigParser 2023-06-06 17:16:45 +02:00
cketti
08786a37a1 Extract common functionality to AutoconfigFetcher 2023-06-06 16:57:36 +02:00
cketti
9ae4c89c4e Add custom result type for HttpFetcher 2023-06-01 16:18:48 +02:00
cketti
87a1fd69cf Rename AutoconfigFetcher to HttpFetcher 2023-06-01 16:12:40 +02:00
cketti
27ba2b5d8d Remove use of EmailHelper from :feature:autodiscovery:autoconfig 2023-06-01 14:29:28 +02:00
cketti
c314b79dba Add AutoDiscoveryService to run auto discovery steps in parallel 2023-06-01 13:58:07 +02:00
cketti
04983db14a Add tests for MxLookupAutoconfigDiscovery 2023-05-26 19:03:54 +02:00
cketti
1c1465a702 Add tests for AutoconfigDiscovery 2023-05-26 19:03:31 +02:00
cketti
29ce3dbfaf Add AutoconfigParser interface 2023-05-26 17:00:11 +02:00
cketti
0ab058656e Add AutoconfigFetcher interface 2023-05-26 16:35:12 +02:00
cketti
50c1f6edb5 Reduce API surface of :feature:autodiscovery:autoconfig 2023-05-25 14:17:28 +02:00
Wolf-Martell Montwé
82810f5248
Fix failing tests 2023-05-25 14:01:49 +02:00
cketti
67d082f01f Make individual autoconfig steps suspendable and cancellable 2023-05-24 19:14:22 +02:00
cketti
ebe8dace2f Use new AutoDiscovery API in :feature:autodiscovery:autoconfig 2023-05-24 18:35:24 +02:00
cketti
f948fad797 Add new AutoDiscovery API 2023-05-24 18:35:24 +02:00
cketti
3bb0d2e529 Use EmailAddress class in :feature:autodiscovery:autoconfig module 2023-05-22 18:03:56 +02:00
cketti
57e3db5443 Use Domain class in :feature:autodiscovery:autoconfig module 2023-05-22 18:03:56 +02:00
cketti
2dbecb667c Move HostNameUtils to :core:common 2023-05-22 18:03:56 +02:00
cketti
e04306ea3d Ignore unsupported 'incomingServer' and 'outgoingServer' types 2023-05-19 16:40:12 +02:00
cketti
8790db6cfe Skip contents of unsupported 'incomingServer' and 'outgoingServer' elements 2023-05-19 16:07:10 +02:00
cketti
726027f961
Merge pull request #6903 from thundernest/mx_lookup_autoconfig_discovery
Add support for ISPDB query after DNS MX lookup
2023-05-17 18:05:13 +02:00
cketti
6dfc9c8ff0 Do ISPDB query after DNS MX lookup 2023-05-16 21:01:41 +02:00
cketti
37196c6431 Add code to do a DNS MX lookup 2023-05-16 21:00:34 +02:00
cketti
32d76d04ae Add code to extract the sub domain from a hostname 2023-05-16 21:00:34 +02:00
cketti
ef498c60e4 Update assertk to version 0.26 2023-05-16 17:20:25 +02:00
cketti
9f4597b48c Add code to extract the base domain from a hostname 2023-05-16 16:27:58 +02:00
cketti
510950da65 Change AutoconfigUrlProvider to accept a domain
The email address is now an optional parameter.
2023-05-16 16:27:58 +02:00
cketti
8376909043
Merge pull request #6897 from thundernest/rewrite_to_assertk
Switch assertions to assertk
2023-05-16 16:27:13 +02:00
cketti
9686270a1c Rewrite AutoconfigParser to be more robust 2023-05-15 15:20:24 +02:00
cketti
5498567bf2 Switch assertions to assertk 2023-05-14 13:00:28 +02:00
cketti
630b606f72 Add config options to ProviderAutoconfigUrlProvider 2023-04-27 17:30:43 +02:00
cketti
686bba8b9c Change ProviderAutoconfigUrlProvider to match Thunderbird's behavior
See <https://searchfox.org/comm-central/rev/f1c212acd8e3c3c2d1f5e2d442bb66e1407243b5/mail/components/accountcreation/FetchConfig.jsm#94-154>
2023-04-27 17:06:28 +02:00