Commit graph

499 commits

Author SHA1 Message Date
Vasyl Gello
97c7b29cd9
Compact messages_fulltext table after messages destroyed
Fixes the 'messages_fulltext_segdir' entries left after
emptying the trash folder.

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2020-05-03 23:09:13 +03:00
Vasyl Gello
5444415c12
Do not encrypt message subject if message body is not encrypted
Fixes #4718

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2020-05-03 20:59:25 +03:00
cketti
767f7e0efe Remove StoreConfig 2020-05-01 05:42:50 +02:00
cketti
a6f75dc587 Remove StoreConfig.getMaximumAutoDownloadMessageSize() 2020-05-01 05:15:51 +02:00
cketti
d7d1fe0c0e Remove StoreConfig.isRemoteSearchFullText() 2020-05-01 04:18:16 +02:00
cketti
d904a8965d Allow removal of special folders 2020-04-30 15:52:49 +02:00
cketti
4fce6e4bfe
Merge pull request #4712 from k9mail/fix_message_deletion
Fix message deletion
2020-04-29 20:28:47 +02:00
cketti
fde4e267e0
Merge pull request #4711 from k9mail/account_change_marker
Don't set change marker when loading/initializing an Account instance
2020-04-29 12:46:52 +02:00
cketti
5fd08c444a Remove placeholder after deleting a message from the Trash folder 2020-04-29 03:07:38 +02:00
cketti
dcf8502a19 Don't mark deleted message as empty
LocalMessage.destroy() will handle converting the deleted message to an
empty message if necessary.
2020-04-29 00:05:06 +02:00
cketti
aac921e2c0 Remove local placeholder messages when emptying trash folder 2020-04-28 23:32:05 +02:00
cketti
de2845aefa Loading/initializing an Account instance shouldn't set change marker 2020-04-28 20:52:44 +02:00
cketti
a7a2e8dc9f Destroy local messages right away when emptying trash folder 2020-04-28 14:18:27 +02:00
cketti
f4a9d843b0
Merge pull request #4706 from k9mail/Message_type_cleanup
More specific Message types for method parameters
2020-04-28 13:11:11 +02:00
cketti
db34c3e68d
Merge pull request #4702 from k9mail/remove_placeholder_messages
Destroy local placeholder messages in source folder after a move operation
2020-04-28 13:08:16 +02:00
cketti
94489bf55a Change List<? extends Message> to List<Message> where appropriate 2020-04-27 18:37:10 +02:00
cketti
46b2633bea Change List<? extends Message> to List<LocalMessage> where appropriate 2020-04-27 17:51:26 +02:00
cketti
d33643ba99 Destroy local placeholders in source folder after a move operation 2020-04-27 11:59:48 +02:00
cketti
e86f294a0f Change the BackendStorage API to add/update/remove folders
This way the code to update special folders only runs once, and not on
every change.
2020-04-27 06:44:26 +02:00
cketti
5c10cfc6e6 Use folder database ID for PendingMoveOrCopy and PendingMoveAndMarkAsRead 2020-04-25 01:00:21 +02:00
cketti
cc1002eeb4 Use folder database ID for PendingSetFlag 2020-04-25 00:39:34 +02:00
cketti
bc6f2bf97f Use folder database ID for PendingAppend 2020-04-25 00:39:34 +02:00
cketti
63c16c137c Use folder database ID for PendingDelete 2020-04-25 00:02:50 +02:00
cketti
4e2d084401 Use folder database ID for PendingMarkAllAsRead 2020-04-24 23:34:21 +02:00
cketti
c98943e983 Use folder database ID for PendingExpunge 2020-04-24 23:29:34 +02:00
cketti
626f8e18d6
Merge pull request #4689 from cketti/fix_lost_linebreaks
Properly handle <br> tag when converting HTML to plain text
2020-04-24 05:33:21 +02:00
cketti
532b94bc69
Merge pull request #4686 from cketti/fix_pop3_move_to_trash
Move deleted message to Trash folder when using POP3
2020-04-24 05:31:09 +02:00
cketti
a3bf389065 Properly handle <br> tag when converting HTML to plain text 2020-04-24 00:30:35 +02:00
cketti
d1c3cca213 Move deleted message to Trash folder when using POP3 2020-04-23 20:55:30 +02:00
cketti
2dccbb7c48 Remove local message if we can't get new server ID after moving/copying 2020-04-23 03:28:06 +02:00
cketti
d70564e423 Remove unused code 2020-04-18 19:51:48 +02:00
cketti
1ac7387e83 Upgrade to jsoup 1.13.1 2020-04-15 23:32:23 +02:00
cketti
a05181eb2a
Merge pull request #4663 from k9mail/message_view_content_font_size_migration
Convert old value for message view content font size to new format
2020-04-14 22:27:02 +02:00
cketti
8786a2f63b Change default to always show delete button in notifications 2020-04-13 16:54:44 +02:00
cketti
3b19d53a0e Convert old value for message view content font size to new format 2020-04-13 16:44:22 +02:00
cketti
b99c1b5f59 Use FolderSettingsProvider when exporting settings 2020-04-13 01:05:31 +02:00
cketti
5a15ceece1 Rename 'FolderSettings' to 'FolderSettingsDescriptions' 2020-04-12 20:58:17 +02:00
cketti
6fba5f8e6a Rename 'IdentitySettings' to 'IdentitySettingsDescriptions' 2020-04-12 20:58:12 +02:00
cketti
c5195890a1 Rename 'AccountSettings' to 'AccountSettingsDescriptions' 2020-04-12 20:58:10 +02:00
cketti
6e6abe2e68 Rename 'GlobalSettings' to 'GeneralSettingsDescriptions' 2020-04-12 20:58:07 +02:00
cketti
ce29fd20fb Use saved folder settings when creating folders 2020-04-12 20:53:44 +02:00
cketti
46870b4a42 Don't save folder settings to preferences when updating a folder 2020-04-10 21:32:52 +02:00
cketti
6ca331b4e8
Merge pull request #4652 from k9mail/refactor_SettingsExporter
Refactor 'SettingsExporter'
2020-04-10 01:34:10 +02:00
cketti
ad3c40195d Refactor 'SettingsExporter' 2020-04-09 00:19:58 +02:00
cketti
ff7bb4094a Convert 'SettingsExporterTest' to Kotlin 2020-04-08 23:22:51 +02:00
cketti
e4bacaf71b Convert 'SettingsExporter' to Kotlin 2020-04-08 22:56:12 +02:00
cketti
497ca62fe3 WIP: Renaming file 'SettingsExporter' with Kotlin extension 2020-04-08 20:48:42 +02:00
cketti
de2f0a37ef Create local folders with FolderClass.NO_CLASS 2020-04-08 18:58:45 +02:00
cketti
43130437ef Make 'FolderSettingsDataStore' use 'FolderRepository' instead of 'LocalFolder' 2020-04-08 04:00:56 +02:00
cketti
3eb70c6e27 Make "manage folders" screens use database ID to refer to folders 2020-04-08 01:28:35 +02:00