cketti
c7ed0ec8e4
Clean up 'SaveMessageTask'
2020-10-20 03:45:06 +02:00
cketti
1c57b31900
Clean up retrieving dependencies in 'MessageCompose'
2020-10-19 10:09:00 +02:00
cketti
09eb2561e9
Rename 'MessagesStoreProvider' to 'MessageStoreProvider'
2020-10-19 09:58:05 +02:00
cketti
f2be8aa336
Merge pull request #5017 from k9mail/replace_remote_draft
...
Fix replacing drafts on the server
2020-10-19 09:57:07 +02:00
cketti
f11b170a42
Make MessagingController.saveDraft() return message database ID
2020-10-19 09:25:56 +02:00
cketti
54e5d8af9c
Change the way we replace drafts on the server
...
Don't overwrite the previous draft in the database. Create a new message entry and convert the previous one to a 'deleted' placeholder.
This also introduces a new pending command 'replace'. It is implemented as upload + delete.
2020-10-19 09:25:56 +02:00
cketti
1ef1af8b0f
Log stack trace when pending commands fail
2020-10-18 22:01:44 +02:00
cketti
45bf5d0aef
Inline constant parameter value (we always upload drafts if possible)
2020-10-18 21:53:34 +02:00
cketti
36c9e799f1
Don't use magic value when draft message ID is missing
2020-10-18 21:53:34 +02:00
cketti
1fecd0b588
Convert code to save drafts to Kotlin
2020-10-18 21:53:34 +02:00
cketti
2b0e2905a9
Merge pull request #5016 from k9mail/kotlin_update
...
Update to Kotlin 1.4.10
2020-10-18 21:36:59 +02:00
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