Commit graph

11180 commits

Author SHA1 Message Date
cketti
7135afb162
Merge pull request #6054 from k9mail/move_mime_type_handling
Move MIME type utility functions to `:k9mail:app:core`
2022-05-02 17:07:34 +02:00
cketti
ad337c0395 Move mime type utility functions to :k9mail:app:core 2022-05-02 14:41:55 +02:00
cketti
4cbd8424ee
Merge pull request #6053 from k9mail/jvm_logging
Replace usages of Timber in mail libraries
2022-05-02 14:41:40 +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
6685912cc4
Merge pull request #6052 from k9mail/deandroidify_Address
Remove Address's dependency on `Rfc822Tokenizer`
2022-05-02 02:44:17 +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
e619d38143
Merge pull request #6049 from k9mail/fix_smtp_starttls
Fix SMTP not working when STARTTLS is configured
2022-05-01 16:48:23 +02:00
cketti
1280f43cba Fix STARTTLS bug in SmtpTransport 2022-05-01 01:31:46 +02:00
cketti
0a05802843 Use our standard read/connect timeouts in SmtpTransport 2022-05-01 01:25:05 +02:00
cketti
d93f690c0e
Merge pull request #6045 from k9mail/replace_JSONObject
Replace usage of `JSONObject` with Moshi
2022-04-29 00:11:34 +02:00
cketti
906cc19b6e Replace usage of JSONObject with Moshi 2022-04-28 23:23:44 +02:00
cketti
9cece907d3
Merge pull request #6044 from k9mail/clean_up_OAuth2TokenProvider
Clean up `OAuth2TokenProvider`
2022-04-28 23:20:50 +02:00
cketti
6ea0bab0cf Remove SuppressLint annotations 2022-04-28 22:42:44 +02:00
cketti
4b1dc23ebb Remove unused code from OAuth2TokenProvider 2022-04-28 22:39:39 +02:00
cketti
a5b9cea58c
Merge pull request #6043 from k9mail/move_DefaultTrustedSocketFactory
Move `DefaultTrustedSocketFactory`
2022-04-28 22:37:39 +02:00
cketti
7f343e4fd1 Move DefaultTrustedSocketFactory 2022-04-28 22:18:14 +02:00
cketti
4ad2e04cff Decouple WebDavSocketFactory from DefaultTrustedSocketFactory 2022-04-28 22:02:48 +02:00
cketti
e4b82ad37b
Merge pull request #6041 from k9mail/moving_things
Move `MailTo` and `ListHeaders` classes
2022-04-28 21:34:17 +02:00
cketti
e2609f3a46 Move MailTo and ListHeaders classes 2022-04-28 18:56:53 +02:00
cketti
4a9a7baf79
Merge pull request #6040 from schlagi123/replace-android-annotations
Replace androidx.annotation.* Annotations
2022-04-28 17:45:35 +02:00
Bastian Wilhelm
d71e5b40ac Replace AndroidX annotations with the ones from JetBrains 2022-04-28 14:52:48 +02:00
cketti
27d296f873
Merge pull request #6036 from k9mail/remove_apg_references
Silently ignore the APG crypto provider if found
2022-04-26 20:51:54 +02:00
cketti
6740cd9597
Merge pull request #6033 from k9mail/rewrite_deflow
Rewrite `FlowedMessageUtils.deflow()`
2022-04-26 20:50:28 +02:00
cketti
53ea4fcc2d Silently ignore the APG crypto provider if found 2022-04-25 23:35:48 +02:00
cketti
f69a6dc2b9 Update links to user manual 2022-04-25 17:42: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
a5b58dc6fe
Merge pull request #6022 from k9mail/convert_to_kotlin
Convert SMTP code to Kotlin
2022-04-21 01:44:46 +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
0934f274b7 Get rid of EnhancedNegativeSmtpReplyException 2022-04-20 18:01:36 +02:00
cketti
e9369e1b04 Convert NegativeSmtpReplyException to Kotlin 2022-04-20 18:01:36 +02:00
cketti
0aaa0a9a82 Rename .java to .kt 2022-04-20 18:01:36 +02:00
cketti
0c5a9a678a Convert StatusCodeClass to Kotlin 2022-04-20 18:01:36 +02:00
cketti
198f04359c Rename .java to .kt 2022-04-20 18:01:36 +02:00
cketti
56da545493 Convert SmtpTransport to Kotlin 2022-04-20 18:01:36 +02:00
cketti
2f258d6886 Rename .java to .kt 2022-04-20 17:08:40 +02:00
cketti
cf2979e9fb Convert SmtpTransportTest to Kotlin 2022-04-20 17:08:40 +02:00
cketti
c25884314f Rename .java to .kt 2022-04-20 17:08:40 +02:00
cketti
9dc86ba522
Merge pull request #6019 from k9mail/simplify_imap_compression_setting
Simplify IMAP compression setting
2022-04-20 17:06:46 +02:00
cketti
eb305db65d
Merge pull request #6008 from arissystem/Issue-6007
Disable messageview_show_next item when messageview_return_to_list is checked
2022-04-20 14:11:10 +02:00
cketti
a042e66367 Merge branch '6.0-MAINT' into main 2022-04-20 14:06:35 +02:00
cketti
0a8f9b45f2 Version 6.000 2022-04-17 20:21:06 +02:00
cketti
72e679dca0 Add migration for IMAP compression in settings file 2022-04-12 21:58:15 +02:00
cketti
814583a89e Add migration for persisted IMAP compression preference 2022-04-12 21:58:15 +02:00
cketti
7be4ea62fe Remove ImapStore's dependency on ConnectivityManager 2022-04-12 21:58:15 +02:00