Commit graph

197 commits

Author SHA1 Message Date
Wolf Montwé
a670406eac
Change common module to assertk 2023-03-21 14:03:32 +01:00
Wolf Montwé
00b7bf45d7
Change truth testing library to legacy and only allow usage in old modules 2023-03-14 12:20:55 +01:00
Wolf Montwé
22d8e4b924
Change build files from Groovy to Kotlin 2023-02-23 14:52:16 +01:00
Wolf Montwé
96e2784b22
Rename build.gradle files to build.gradle.kts 2023-02-23 14:52:15 +01:00
Wolf Montwé
29d5220995
Add trailing comma allowance to code style 2023-02-17 16:14:13 +01:00
Wolf Montwé
45da12646b
Change to jvm build plugin 2023-02-15 17:40:57 +01:00
Wolf Montwe
1854a2c911
Change Kotlin code format 2023-02-03 17:23:57 +01:00
cketti
3e90f8b85e Remove unused methods 2023-01-27 19:50:46 +01:00
cketti
2df7c3301d Remove unused classes 2023-01-27 19:20:29 +01:00
cketti
ddd464cffb Update Apache James Mime4J to version 0.8.8 2023-01-17 14:55:25 +01:00
cketti
1052bd07c7 Rename some Gradle version catalog entries 2023-01-16 14:49:14 +01:00
Bastian Wilhelm
a3f6995a2e Migrate to Gradle's version catalog 2023-01-16 14:49:14 +01:00
Goooler
4b0567744d Cleanup 2022-12-07 19:21:12 +01:00
Goooler
d4055ea252 Configure java extensions in allprojects 2022-12-07 19:04:23 +01:00
cketti
2c1ef99c7a Remove unused interface Transport 2022-10-10 16:45:16 +02:00
cketti
be4a078a4b Add logging to LocalKeyStore.isValidCertificate() 2022-10-10 15:38:47 +02:00
cketti
037afd0596 Add support for UTF-8 data in BODYSTRUCTURE response 2022-09-14 15:33:20 +02:00
cketti
00259046c6 Add MimeParameterDecoder test for UTF-8 data in header value 2022-09-14 14:40:21 +02:00
cketti
2c22856781 Convert BoundaryGenerator to Kotlin 2022-08-31 19:53:32 +02:00
cketti
389f9f7175 Rename .java to .kt 2022-08-31 19:40:27 +02:00
cketti
ef91c6d3ff Convert MimeParameterDecoderTest to using Truth 2022-08-25 22:22:46 +02:00
cketti
7381cb808d Fix test in MimeParameterDecoderTest 2022-08-25 22:03:37 +02:00
cketti
dcb3321870 Fix bug in com.fsck.k9.logging.Timber 2022-08-09 17:21:48 +02:00
cketti
a5c5278c71 Add 'com.android.lint' Gradle plugin to JVM projects 2022-08-09 13:55:01 +02:00
cketti
8156a3832b Move EmailHelper from :app:core to :mail:common 2022-08-08 20:58:54 +02:00
cketti
d82b462565 IMAP: Fix creating header values from a BODYSTRUCTURE item 2022-08-02 19:55:31 +02:00
cketti
00e0d8b35a Change server settings to use OAuth after an authentication failure 2022-07-05 12:40:43 +02:00
cketti
d3be6e249b Add support for the OAUTHBEARER SASL method (IMAP) 2022-06-05 22:49:30 +02:00
cketti
14a7f1b0d3 Add support for OAuth 2.0 (Gmail) 2022-05-23 22:26:49 +02:00
cketti
e7032255c6 JVM-ify mail libraries 2022-05-02 20:05:00 +02:00
cketti
171c0eca43 Use DefaultHostnameVerifier from Apache's httpclient5 2022-05-02 20:05:00 +02:00
cketti
fdb8655f3a Remove Robolectric from a lot of tests 2022-05-02 17:08:22 +02:00
cketti
ad337c0395 Move mime type utility functions to :k9mail:app:core 2022-05-02 14:41:55 +02:00
cketti
d69c1f4c46 Add simple logging abstraction
Once there's a JVM artifact for Timber, hopefully all we have to do is replace the imports again.
2022-05-02 02:44:35 +02:00
cketti
ff48609b6f Remove CertificateValidationException's dependency on the Android SDK 2022-05-02 02:44:34 +02:00
cketti
c61dc117d2 Replace usage of android.text.util.Rfc822Token[izer] in Address
At some point we need to clean up our email address parser mess. But for now we just copy Android's implementation of `Rfc822Token` and `Rfc822Tokenizer`.
2022-05-01 23:54:29 +02:00
cketti
2abe7d2b9f Replace usage of android.text.TextUtils in Address 2022-05-01 23:22:00 +02:00
cketti
0a05802843 Use our standard read/connect timeouts in SmtpTransport 2022-05-01 01:25:05 +02:00
cketti
906cc19b6e Replace usage of JSONObject with Moshi 2022-04-28 23:23:44 +02:00
cketti
4b1dc23ebb Remove unused code from OAuth2TokenProvider 2022-04-28 22:39:39 +02:00
cketti
7f343e4fd1 Move DefaultTrustedSocketFactory 2022-04-28 22:18:14 +02:00
cketti
e2609f3a46 Move MailTo and ListHeaders classes 2022-04-28 18:56:53 +02:00
Bastian Wilhelm
d71e5b40ac Replace AndroidX annotations with the ones from JetBrains 2022-04-28 14:52:48 +02:00
cketti
ef8d9abed3 Rewrite FlowedMessageUtils.deflow()
This new version should use a lot less allocations.
2022-04-22 16:28:47 +02:00
cketti
f7b6b8371f Rename .java to .kt 2022-04-22 16:28:44 +02:00
cketti
77227b3290
Merge pull request #6030 from k9mail/fix_format_flowed
Fix bug in `FlowedMessageUtils.deflow()`
2022-04-22 16:27:28 +02:00
cketti
2f78315cb4 Fix bug in FlowedMessageUtils.deflow()
Properly handle the case when a quoted flowed line is followed by an empty line.
2022-04-21 02:56:00 +02:00
cketti
60baf4bd5b Reformat FlowedMessageUtils.deflow 2022-04-21 00:50:44 +02:00
cketti
9b00bccb2c Add tests for FlowedMessageUtils 2022-04-21 00:50:42 +02:00
cketti
a796b1d941 Change IMAP code to use single compression setting 2022-04-12 21:58:15 +02:00