Commit graph

9335 commits

Author SHA1 Message Date
cketti
991cea06de Convert 'FolderInfoHolder' to Kotlin 2020-05-04 16:31:00 +02:00
cketti
61e4f5299e WIP: Renaming file 'FolderInfoHolder' with Kotlin extension 2020-05-04 16:31:00 +02:00
cketti
2da3fd8f2b Remove RESULT_SELECTED_FOLDER from ChooseFolderActivity 2020-05-04 16:31:00 +02:00
cketti
d86945d35d Change ChooseFolderActivity to use a folder ID for "scroll to folder" 2020-05-04 16:31:00 +02:00
cketti
010c0b42ef Remove folderServerId from MessageReference 2020-05-04 16:31:00 +02:00
cketti
1eb2ce7454 Switch MessageListLoader to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
9291881b6b Switch LocalSearch and everything connected to it to using folder IDs 2020-05-04 16:31:00 +02:00
cketti
34049eec29 Switch MessageReferenceTest to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
76c9d74dea Switch MessageCompose to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
7e3624063a Switch MessageViewFragment to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
42e545826f Switch MessagingController.move*() to use folder IDs 2020-05-04 16:31:00 +02:00
cketti
2974471d02 Switch LocalFolder to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
d43282fc6c Change MessagingController.setFlag() to use folder ID 2020-05-04 16:31:00 +02:00
cketti
53fdbeb74e Switch MessageListAdapter to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
70d194a99a Switch MessageLoaderHelper to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
e152f4c571 Switch LocalMessageLoader to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
85aaf759d4 Switch RawMessageProvider to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00
cketti
f1093a7633 Change ChooseFolderActivity to use folder ID for "current folder" 2020-05-04 16:30:59 +02:00
cketti
dde0ef9820 Change MessageProvider delete URI to use folder ID instead of server ID 2020-05-04 15:01:29 +02:00
cketti
70841e40d7 Change K-9 Mail message URI to use folder ID instead of server ID 2020-05-04 15:01:29 +02:00
cketti
1c55ffda51 Change MessageReference to also store folder database ID 2020-05-04 15:01:29 +02:00
cketti
a0d9b8be01 Make ChooseFolderActivity also return the folder ID of the selected folder 2020-05-04 15:01:29 +02:00
cketti
c26037c534
Merge pull request #4722 from basilgello/remove-fulltext-remnants
Compact messages_fulltext table after messages destroyed
2020-05-04 14:54:25 +02:00
cketti
f62818b5ef
Merge pull request #4709 from basilgello/restore-clear-local-folder
Restore per-folder clear local messages
2020-05-04 14:39:44 +02:00
cketti
17bda4029c Change MessagingController.clearFolder() to use the folderId 2020-05-04 11:35:15 +02:00
cketti
33d7b31ff9 Only show "clear local messages" in menu after data has been loaded 2020-05-04 11:30:44 +02:00
cketti
3bdda4eac1 Cleanup 2020-05-04 11:30:43 +02:00
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
cketti
496dac7f68
Merge pull request #4720 from basilgello/pgp-signonly-ignore-encrypt-subject
Do not encrypt message subject if message body is not encrypted
2020-05-03 20:39:48 +02:00
Vasyl Gello
c7ecd90817 Add the per-folder local message cleanup
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2020-05-03 21:06:47 +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
26b7823382
Merge pull request #4716 from k9mail/remove_StoreConfig
Remove StoreConfig
2020-05-01 18:11:18 +02:00
cketti
767f7e0efe Remove StoreConfig 2020-05-01 05:42:50 +02:00
cketti
02049c5882 Create DraftsFolderProvider 2020-05-01 05:38:37 +02:00
cketti
82db38bd08 Create ImapStoreConfig 2020-05-01 05:30:34 +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
1858986fc4 Remove StoreConfig.isAllowRemoteSearch() 2020-05-01 04:03:02 +02:00
cketti
88bcea1552 Remove StoreConfig.getOutboxFolder() 2020-05-01 03:36:42 +02:00
cketti
fcfc7e6a22 Remove unused method StoreConfig.getInboxFolder() 2020-05-01 03:31:11 +02:00
cketti
5abb0dc71f
Merge pull request #4714 from k9mail/allow_special_folder_removal
Allow removal of special folders
2020-04-30 17:16:21 +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
9acef0e9a0 Remove placeholder messages that have been kept accidentally in the past 2020-04-29 12:03:46 +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
0dabe18bc6
Merge pull request #4710 from k9mail/fix_empty_trash
Properly deal with local messages when the Trash folder is emptied
2020-04-28 23:51:23 +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