cketti
ee608a6201
Change ThunderbirdDiscovery
to support all specified autoconfig URLs
2022-10-27 11:02:49 +02:00
cketti
880b4d88b1
Remove DiscoveryTarget
2022-10-26 18:48:52 +02:00
cketti
66739b4b70
Switch to using 'namespace' property in build.gradle
2022-09-20 14:53:19 +02:00
cketti
a5c5278c71
Add 'com.android.lint' Gradle plugin to JVM projects
2022-08-09 13:55:01 +02:00
cketti
f4a47858da
Convert :app:autodiscovery:thunderbird to a JVM project
2022-08-08 23:38:27 +02:00
cketti
694b79ab7b
Convert :app:autodiscovery:srvrecords to a JVM project
2022-08-08 21:42:57 +02:00
cketti
d3262629a4
Convert :app:autodiscovery:api to a JVM project
2022-08-08 20:41:57 +02:00
cketti
be649e3ba0
Update Koin to version 3.2.0
2022-08-05 23:51:32 +02:00
cketti
598a171464
Add OAuth support for Microsoft accounts
2022-06-15 13:02:50 +02:00
cketti
6290e9b2a6
Add OAuth support for AOL accounts
2022-06-08 20:28:08 +02:00
Olivier Blin
4c937ad7a6
Move redirectUri in OAuthConfiguration
...
Not all providers accept the redirect URI Google requires Android apps to use.
2022-06-08 20:28:08 +02:00
cketti
d08aa55853
Add proper way to retrieve OAuth credentials
2022-06-05 16:35:39 +02:00
cketti
14a7f1b0d3
Add support for OAuth 2.0 (Gmail)
2022-05-23 22:26:49 +02:00
cketti
a4e1a77892
Switch to mockito-inline
2022-02-03 01:10:52 +01:00
cketti
80f29f9b3b
Update Koin to version 3.1.3
2021-10-30 05:32:51 +02:00
abawany
80f1816d30
Add two domains of the email provider Mailo to providers.xml
2021-09-02 17:36:39 +02:00
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