cketti
5444d8be3a
Remove explicit dependency on Kotlin's standard library
2021-04-22 03:54:15 +02:00
cketti
632d8f3cb7
Upgrade Mockito-Kotlin to 3.1.0
2021-04-22 03:54:15 +02:00
cketti
9e8c896b8a
Perform provider URI decoding inside 'ProvidersXmlDiscovery'
2021-01-31 18:12:14 +01:00
Mathew Smith
9d6558adf2
Add e.email to providers
2020-12-16 22:04:28 +13:00
cketti
1873593dc5
Format Kotlin code
2020-10-16 16:41:19 +02:00
cketti
ed8009d9fa
Update ktlint-gradle to 9.4.1, ktlint to 0.39.0
...
Apply ktlint-gradle plugin to all Gradle subprojects.
2020-10-16 14:27:23 +02:00
cketti
d2fd52e206
Manually fix up formatting of some raw strings
2020-10-16 12:54:30 +02:00
cketti
05882616d6
Update MiniDNS to 1.0.0
2020-09-18 02:42:07 +02:00
cketti
833c3c62e7
Update AndroidX Core to 1.3.0
2020-07-15 16:04:20 +02:00
cketti
d94d39f160
Remove unnecessary dependencies from :app:autodiscovery:api
2020-05-26 20:05:13 +02:00
Olivia Mackintosh
d5f82fd041
Split autodiscovery methods into gradle builds
...
This commit should be faily self-explainatory. It splits the
three autodiscovery methods into their own gradle builds so
they can be plugged in and out easily. This commit doesn't
necessarily make the latter possible though.
Dependency graph should look something like this now:
app:ui
\
\app:autodiscovery:api
|
|\app:autodiscovery:providersxml
|
|\app:autodiscovery:srvrecords
|
\app:autodiscovery:thunderbird
2020-05-18 23:04:06 +01:00
Olivia Mackintosh
7c95e428c6
Allow ThunderbirdAutoconfig to return multiple in/out configs
...
In a similar fashion to SrvServiceDiscovery, this commit allows
ThunderbirdAutoconfig to only get the type of service needed
depending on DiscoveryTarget
Rename sorting Comparator to mailServicePriority
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
76678057ad
Replace deprecated RuntimeEnvironment.application
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
cd2a89ebdb
Make SrvServiceDiscovery cond. get in/out servers
...
SRV autodiscovery should only find either INCOMING; OUTGOING or
INCOMING_AND_OUTGOING services depending on the new DiscoveryTarget
enum
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
4493d8c76e
ConnectionSettingsDiscovery should return list of in/out settings
...
Creates a new data class: DiscoveryResults that holds a list of incoming
and outgoing DiscoveryServerSettings. This commit also creates a wrapper
for the currently used ProvidersXmlDiscovery to convert the new
DiscoveryResults object into ConnectionSettings.
In the future, this process will have a less-lazy algorithm that will be
smart enough to handle more than one incoming/outgoing server but this
commit assumes there are still one of each (by assertion).
Use enum to determine discovery target
Sort SrvServiceDiscovery results using pickMailService
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
93c0d98419
Lay groundwork for optional in/out server discovery
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
dfe2698453
Add detection of configuration based on SRV records (RFC6186)
2020-05-09 17:48:40 +02:00
cketti
9b2b82eee6
Update Mockito to 3.2.4 and Mockito-Kotlin to 2.2.0
2020-01-19 16:27:53 +01:00
cketti
93d0e14b68
Fix code style issues found by ktlint
2019-11-29 13:44:00 +01:00
cketti
88d863c4c2
Add ktlint and Kotlin code style settings for Android Studio
2019-11-29 13:39:16 +01:00
cketti
9655216606
Update to Koin 2.0.1
2019-11-20 15:38:11 +01:00
cketti
7a4bc94dc5
Update OkHttp to latest version
2019-11-19 15:02:42 +01:00
cketti
57ff989edd
Add kotlinOptions.jvmTarget to Gradle projects using Kotlin
2019-11-17 14:45:05 +01:00
cketti
3470ee8774
Update Robolectric to 4.2.1
...
Not going directly to 4.3.1 because of this issue:
https://github.com/robolectric/robolectric/issues/5245
2019-11-13 17:37:37 +01:00
cketti
e3973096d3
Remove Checkstyle
2019-11-13 16:51:52 +01:00
cketti
56a37d9e14
Remove FindBugs
...
It's not maintained anymore and we're not currently using it.
2019-11-13 16:41:51 +01:00
cketti
105622a999
Use variable for 'sourceCompatibility' and 'targetCompatibility' values
2019-11-13 16:26:29 +01:00
cketti
d6423ff85e
Clean up code
2019-03-22 00:54:51 +01:00
Wiktor Kwapisiewicz
b7652205ae
Add Thunderbird autodiscovery code (part 1)
2019-03-20 17:27:44 +01:00
cketti
d56e49bb0a
Clean up ProvidersXmlDiscovery
2019-03-14 04:04:29 +01:00
cketti
e64177cedc
Convert ProvidersXmlDiscovery to Kotlin
2019-03-14 03:16:15 +01:00
cketti
8fea3b3a64
WIP: Renaming file 'ProvidersXmlDiscovery' with Kotlin extension
2019-03-14 03:04:42 +01:00
cketti
ed39bad737
Use EmailHelper in ProvidersXmlDiscovery
2019-03-14 03:04:07 +01:00
cketti
22798072fd
Extract code to find server settings via providers.xml
2019-03-10 20:13:36 +01:00
cketti
0b78c60978
Create (empty) autodiscovery Gradle module
2019-03-10 20:00:29 +01:00