Commit graph

280 commits

Author SHA1 Message Date
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é
8e99d69442
Add MailConnectionSecurity 2023-06-26 16:59:47 +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
Wolf-Martell Montwé
c12ac2fecd
Add app auth dependency to OAuth module 2023-06-23 11:57:30 +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
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
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
cketti
656a9d3862 Use relaxed mode to parse email addresses from message headers 2023-06-15 19:32:56 +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é
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é
4d2712eeca
Change AutoDiscoveryServerSettingsView to also handle IP addresses 2023-06-15 17:45:59 +02:00
Wolf-Martell Montwé
ef6d35c44c
Change AutoDiscoveryStatusHeaderState to enum 2023-06-15 17:45:52 +02:00
Wolf-Martell Montwé
e0dd88d599
Add configuration approval view and state 2023-06-14 16:28:16 +02:00
Wolf-Martell Montwé
4549d25323
Add AutoDiscoveryStatusBodyView 2023-06-14 14:45:34 +02:00
Wolf-Martell Montwé
2a720fa5bf
Add AutoDiscoveryStatusItem 2023-06-14 14:45:34 +02:00
Wolf-Martell Montwé
8aadfe4bae
Cleanup AutoDiscovery entities 2023-06-14 14:24:42 +02:00
Wolf-Martell Montwé
30cc0b6ccf
Add retry behavior 2023-06-14 14:24:42 +02:00
Wolf-Martell Montwé
8df500b52e
Add AutoDiscovery loading 2023-06-14 14:24:42 +02:00
Wolf-Martell Montwé
54d082c919
Add loading and error views with state handling 2023-06-14 14:24:42 +02:00
Wolf-Martell Montwé
a7b0e92213
Add GetAutoDiscovery usecase and test implementation 2023-06-14 14:24:40 +02:00
Wolf-Martell Montwé
a4daa0beeb
Change error message to error classes 2023-06-14 14:23:41 +02:00
Wolf-Martell Montwé
a16b0834cc
Add autodiscovery dependency 2023-06-14 14:23:40 +02:00
Wolf-Martell Montwé
64727067c0
Add BooleanInputField 2023-06-12 10:16:05 +02:00
Wolf-Martell Montwé
4fef436925
Add AccountAutoConfig validation 2023-06-09 13:30:43 +02:00
Wolf-Martell Montwé
c72745f915
Add email validation 2023-06-08 14:42:39 +02:00
Wolf-Martell Montwé
dcc063911b
Add content items for email address and password and add state handling 2023-06-08 14:42:39 +02:00
Wolf-Martell Montwé
0e84935977
Add common ListItem 2023-06-08 14:42:38 +02:00
Wolf-Martell Montwé
089c29c6fb
Change protocol type tests 2023-06-08 14:30:10 +02:00
Wolf-Martell Montwé
9b4d81ac1f
Change state tests 2023-06-08 14:12:02 +02:00
Wolf-Martell Montwé
fd3dfb3235
Add AccountAutoConfig contract and view model 2023-06-08 14:12:02 +02:00
Wolf-Martell Montwé
a644d37742
Add entities for auto config 2023-06-08 14:12:01 +02:00
Wolf-Martell Montwé
10b03863c5
Add email error mapping and move mapper to common 2023-06-08 14:12:01 +02:00
Wolf-Martell Montwé
aab7371750
Add common top header 2023-06-08 14:12:01 +02:00
Wolf-Martell Montwé
dbc9aaadeb
Add AccountIncomingConfig validation 2023-06-07 15:59:53 +02:00
Wolf-Martell Montwé
b09b83b1fa
Add ImapPrefix validator 2023-06-07 15:59:53 +02:00
Wolf-Martell Montwé
ae5e38e6ba
Change security and port on protocol type changed 2023-06-07 15:49:48 +02:00
Wolf-Martell Montwé
e04bc10729
Add AccountIncomingConfigContract and ViewModel 2023-06-07 15:49:47 +02:00
Wolf-Martell Montwé
2b436e7bc2
Change input fields to class instead of data class and add equals and hashCode 2023-06-07 15:49:16 +02:00
Wolf-Martell Montwé
d3d8821896
Add account incoming config content ui 2023-06-07 15:49:16 +02:00
Wolf-Martell Montwé
df0dba1c20
Add IncomingProtocolType 2023-06-07 15:25:13 +02:00
Wolf-Martell Montwé
d4c949e350
Fix validate port allowing 0 2023-06-07 15:12:25 +02:00
Wolf-Martell Montwé
3d311b554f
Add AccountOutgoingConfig validation 2023-06-07 15:05:43 +02:00
Wolf-Martell Montwé
e3175afc13
Add validation use case definition and concrete implementation for server, port, username and password 2023-06-07 15:05:42 +02:00
Wolf-Martell Montwé
b47f464872
Add AccountOutgoingConfigContract and ViewModel 2023-06-07 14:55:31 +02:00
Wolf-Martell Montwé
1f18130b5c
Change test setup to generalised event state testing 2023-06-07 14:55:31 +02:00
Wolf-Martell Montwé
fe86ef5878
Add account outgoing config content ui 2023-06-07 14:55:31 +02:00
Wolf-Martell Montwé
69a2643b4e
Add connection security 2023-06-07 14:55:31 +02:00
Wolf-Martell Montwé
440fa4957c
Add NumberInputField 2023-06-07 14:55:30 +02:00
Wolf-Martell Montwé
608cf6d3da
Fix inconsistencies 2023-06-07 14:54:39 +02:00
Wolf-Martell Montwé
32a8b79a13
Add AccountOptions validation 2023-05-31 17:26:26 +02:00
Wolf-Martell Montwé
48ac48fda3
Change validation to use ValidationError interface for errors instead of exceptions 2023-05-31 17:17:22 +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
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
Wolf Montwé
1e9a5dbb30
Add account screens 2023-05-02 14:00:38 +02:00
Wolf Montwé
a007a5f9a0
Add account setup screen 2023-05-02 13:49:32 +02:00