Commit graph

10145 commits

Author SHA1 Message Date
cketti
a940b2deb2 Update to Kotlin 1.4.10 2020-10-18 20:07:48 +02:00
cketti
212a8c1303
Merge pull request #5015 from k9mail/optional_leakcanary
Make using LeakCanary in debug builds optional
2020-10-18 16:38:15 +02:00
cketti
ba8834d3f7 Make using LeakCanary in debug builds optional 2020-10-18 16:27:14 +02:00
cketti
152b9e3952
Merge pull request #5013 from k9mail/code_style_settings
Update code style settings
2020-10-17 01:43:36 +02:00
cketti
039521f51c Add Java code style settings 2020-10-16 17:19:58 +02:00
cketti
1873593dc5 Format Kotlin code 2020-10-16 16:41:19 +02:00
cketti
10be88d3e1 Specify import ordering rules
Now Android Studio and ktlint should finally agree on how to order imports.
2020-10-16 14:35:46 +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
40319700d8
Merge pull request #5006 from k9mail/message_id
Change the way moving messages between folders in the database works
2020-10-16 03:49:54 +02:00
cketti
a2ac5b167e Change the way moving messages between folders in the database works
Previously, when moving a message, the entry in the `messages` table was rewritten to reference the destination folder. Then a "deleted" message entry was created referencing the source folder.
This commit changes the move code to create a new entry for the message in the destination folder and then changes the original message entry to be a "deleted" entry.
It's a first step towards being able to use a message's database ID instead of the server ID in "pending commands".

This also continues the project of moving database-related code to the `storage` module. There should now be enough scaffolding in place to make moving code from `LocalStore` and `LocalFolder` relatively painless.
2020-10-15 23:51:49 +02:00
cketti
5aac50d1ee
Merge pull request #5009 from anadi198/automaticIdentityForwarding
Apply automatic identity selection for forwarding emails based on `to:` field of mail being forwarded
2020-10-15 19:04:49 +02:00
Anadi Kashyap
9a464eb6f1 Apply automatic identity selection to forwarding emails 2020-10-15 18:48:50 +02:00
cketti
24a9e76a31
Merge pull request #5010 from anadi198/transiStrings
Replaced CDATA[] for unknown_recipient and unknown_sender with < a…
2020-10-15 17:59:24 +02:00
Anadi Kashyap
f757ce9148 Replaced CDATA[] for unknown_recipient and unknown_sender with < and > in strings.xml 2020-10-15 21:06:17 +05:30
cketti
3921f57906
Merge pull request #5005 from k9mail/fix_urls_in_drafts
Fix URLs in drafts
2020-10-13 04:10:58 +02:00
cketti
2a67408981 Fix URLs in drafts
When converting from HTML to plain text, if the link text is identical to the link URL, only output the URL.
2020-10-13 03:57:47 +02:00
cketti
1835b502b5
Merge pull request #5001 from k9mail/no_encoding_in_MimeHeader
No encoding in MimeHeader
2020-10-13 03:54:13 +02:00
cketti
e3178a5117
Merge pull request #5003 from k9mail/show_recipient_name
Show recipient name for all messages in Sent, Drafts, and Outbox folders
2020-10-13 03:41:10 +02:00
cketti
57bde56e16
Merge pull request #5002 from k9mail/long_subjects
Display up to 3 lines of the subject by default
2020-10-13 03:37:12 +02:00
cketti
5bc7ac3901 When constructing new messages check header values 2020-10-13 03:29:20 +02:00
cketti
8663bbb5b9 Check (unstructured) header field syntax when adding them to MimeHeader 2020-10-13 03:29:20 +02:00
cketti
733624cfcf
Merge pull request #4998 from k9mail/fix_EmailSectionExtractor
Fix EmailSectionExtractor
2020-10-13 03:17:28 +02:00
cketti
b7dc6d9146
Merge pull request #4996 from k9mail/improve_http_uri_detection
Improve HTTP URL detection
2020-10-13 03:13:55 +02:00
cketti
604c87b130 Always show contact picture of sender in message view 2020-10-12 01:48:36 +02:00
cketti
5f05b8bb07 Show sender/recipient name in message list based on folder
The recipient name is shown for messages in the Sent, Drafts, and Outbox folders. For messages in all other folders the sender name is shown.
2020-10-12 01:48:36 +02:00
cketti
427aecb2ab Remove unused properties from MessageListItem 2020-10-12 00:06:05 +02:00
cketti
9227206872 Display up to 3 lines of the subject by default
Clicking the subject text will toggle between showing all lines and 3 lines max.
2020-10-11 23:06:51 +02:00
cketti
fac346009a Only pass encoded headers to MimeHeader
Remove code to encode header values from from MimeHeader.writeTo()
2020-10-11 02:28:36 +02:00
cketti
85b8cb96a3
Don't allow blank issue templates 2020-10-10 16:18:29 +02:00
cketti
82f8a78e88 EmailSectionExtractor: Don't consider blank lines for indentation depth 2020-10-10 01:49:13 +02:00
cketti
955f556afa Fix EmailSectionExtractor to support empty quoted lines 2020-10-10 00:36:07 +02:00
cketti
2c95b7df65
Merge pull request #4994 from k9mail/message_batch_actions
Don't show archive or spam action when displaying the corresponding folder
2020-10-09 22:58:49 +02:00
cketti
7a65210199
Merge pull request #4993 from k9mail/display_headers_in_order
Display message headers in the original order
2020-10-09 22:56:28 +02:00
cketti
ea7ca6e3d4 Make HTTP URL detection work with parentheses 2020-10-09 04:29:02 +02:00
cketti
b1d21dc27c Clean up 'HttpUriParser'
There shouldn't be any functional changes.
2020-10-09 02:33:11 +02:00
cketti
76e43a411d Convert 'HttpUriParser' to Kotlin 2020-10-09 00:52:18 +02:00
cketti
e4297b3a4c Rename 'HttpUriParser' prior to conversion to Kotlin 2020-10-09 00:37:51 +02:00
cketti
617dd1641e Don't show archive or spam action when displaying the corresponding folder 2020-10-08 22:56:05 +02:00
cketti
3b7c5ea10f Display message headers in the original order 2020-10-08 16:16:50 +02:00
cketti
8685da31d4 Prepare for version 5.722 2020-10-07 17:51:43 +02:00
cketti
e7bcfe7e3e Version 5.721 2020-10-07 17:07:23 +02:00
cketti
68405c91b4
Merge pull request #4991 from k9mail/signature_detection_fix
Fix bug in signature detection
2020-10-07 16:54:44 +02:00
cketti
4fbe07ed1c
Merge pull request #4989 from k9mail/copy_link_text
Add "copy link text to clipboard" option when long-pressing links
2020-10-07 16:49:19 +02:00
cketti
b76d112c02
Merge pull request #4988 from k9mail/GH-3357_tab_preceding_url
Treat all whitespace as separator when detecting URIs
2020-10-07 16:06:58 +02:00
cketti
1a58f4d4f0 Fix bug in signature detection
When SignatureWrapper detected a signature it would exclude the last character of the text. This lead to an exception being thrown when the signature ended with a URL and the HtmlModification instance for the URL would not be fully contained within the one for the signature.
2020-10-07 15:43:29 +02:00
cketti
4fd51cf313 Add "copy link text to clipboard" option when long-pressing links 2020-10-07 02:04:53 +02:00
cketti
5312c3d1ca Treat all whitespace as separator when detecting URIs 2020-10-06 22:39:04 +02:00
cketti
378c90b46e Prepare for version 5.721 2020-10-06 20:29:06 +02:00
cketti
6c097b47da Version 5.720 2020-10-06 20:21:55 +02:00