Commit graph

55 commits

Author SHA1 Message Date
cketti
9bcd64f54e
Merge pull request #6931 from thundernest/add_AutoDiscovery_tests
Add tests for AutoDiscovery implementations
2023-05-31 11:44:50 +02:00
Wolf-Martell Montwé
d7c10e3304
Add AccountOptionsContract and ViewModel 2023-05-31 11:25:57 +02:00
Wolf-Martell Montwé
d1eecbf3af
Add InputField and StringInputField 2023-05-31 11:23:13 +02:00
Wolf-Martell Montwé
493356726a
Add turbine test assertion 2023-05-31 11:23:13 +02:00
Wolf-Martell Montwé
6b44ff4004
Add account options content ui 2023-05-31 11:23:12 +02:00
Wolf-Martell Montwé
d889d144f3
Add common item padding 2023-05-31 11:23:12 +02:00
Wolf-Martell Montwé
af60c73d62
Add EmailSettings types 2023-05-31 11:23:12 +02:00
Wolf-Martell Montwé
ac0e4422cf
Add validation use case definition and concrete implementation for AccountName, DisplayName and EmailSignature 2023-05-31 10:19:02 +02:00
Wolf-Martell Montwé
724b219d9a
Change AccountManualConfig to split into incoming and outgoing screens 2023-05-31 10:08:20 +02:00
Wolf-Martell Montwé
cda125af7c
Change AccountAutoConfig to new layout 2023-05-31 10:08:19 +02:00
Wolf-Martell Montwé
0f64e303f1
Change AccountOptions to new layout 2023-05-31 10:08:19 +02:00
Wolf-Martell Montwé
ec915d49da
Add common AccountSetupBottomBar and AccountSetupTopAppBar 2023-05-31 10:08:19 +02:00
Wolf-Martell Montwé
a2b43c70b5
Change navigation naming from screen to route to better reflect it's purpose and distinct from screen 2023-05-31 10:06:51 +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
517fffaa0b
Merge pull request #6902 from thundernest/update_assertk
Update assertk to version 0.26
2023-05-17 18:02:22 +02:00
Wolf-Martell Montwé
6d1dc90528
Change onboarding screen function names 2023-05-17 16:47:49 +02:00
Wolf-Martell Montwé
c7112297b8
Change AccountSetup to use a contract that follows the unidirectional data flow 2023-05-17 16:47:49 +02:00
Wolf-Martell Montwé
39f24effdd
Add koin compose support 2023-05-17 16:47:49 +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
1de820571a
Merge pull request #6860 from thundernest/autoconfig_provider
Change autoconfig code to match Thunderbird's current behavior
2023-05-03 16:53:18 +02:00
Wolf Montwé
1e9a5dbb30
Add account screens 2023-05-02 14:00:38 +02:00
Wolf Montwé
0d57250352
Tweak onboarding for small screens 2023-05-02 14:00:37 +02:00
Wolf Montwé
25c529981e
Change onboarding namespace 2023-05-02 14:00:37 +02:00
Wolf Montwé
18969cc1df
Change LazyColumnWithFooter to LazyColumnWithHeaderFooter 2023-05-02 14:00:33 +02:00
Wolf Montwé
a007a5f9a0
Add account setup screen 2023-05-02 13:49:32 +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