Commit graph

36 commits

Author SHA1 Message Date
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
cketti
c585e05bc2 Make AutoconfigUrlProvider an interface
Have different implementations for an autoconfig server hosted by the email provider (`ProviderAutoconfigUrlProvider`) and the ISP DB (`IspDbAutoconfigUrlProvider`).
2023-04-27 16:51:59 +02:00
cketti
6b68a2d5d7 Use app.k9mail as base package name for all :feature:autodiscovery:* modules 2023-04-26 13:06:07 +02:00
cketti
5706539d3f Rename :feature:autodiscover:thunderbird to …:autoconfig 2023-04-25 19:33:51 +02:00
cketti
610d818f25 Move all :app:autodiscovery:* modules to :feature:autodiscovery 2023-04-25 19:30:14 +02:00