Commit graph

9359 commits

Author SHA1 Message Date
ByteHamster
8dd05862a7 Made it easier to see progress bar 2020-05-13 11:01:52 +02:00
cketti
664e444d79
Merge pull request #4728 from k9mail/use_folder_ids
Change "frontend" code to refer to folders by database ID
2020-05-06 00:17:06 +02:00
cketti
9ed54011ce Refactor MigrationTo75 2020-05-05 22:55:19 +02:00
cketti
1717ede350 Avoid NullPointerExceptions when unboxing 2020-05-05 17:16:04 +02:00
cketti
e305d91cf2 Remove FolderInfoHolder.serverId 2020-05-05 15:49:29 +02:00
cketti
af667131a9 Remove folderServerId from MessageListItem 2020-05-05 15:49:29 +02:00
cketti
7e958abb1d Fix exporting folder names for special folders 2020-05-05 15:49:29 +02:00
cketti
d503935ac5 Fix code to create Outbox folder after settings import 2020-05-05 15:49:29 +02:00
cketti
584c365a3d Use imported special folders after refreshing the folder list 2020-05-05 15:49:29 +02:00
cketti
9e02b1cba5 Use imported auto-expand folder after refreshing the folder list 2020-05-04 16:31:00 +02:00
cketti
cc637a6575 Rename Account.get*Folder() to getImported*Folder() 2020-05-04 16:31:00 +02:00
cketti
fe5dcfa8a1 Rename Account.getInboxFolder() to getLegacyInboxFolder() 2020-05-04 16:31:00 +02:00
cketti
f82214d5cc Replace Account.getAutoExpandFolder() with Account.getAutoExpandFolderId() 2020-05-04 16:31:00 +02:00
cketti
8079ef89b4 Reset folder server IDs in Account 2020-05-04 16:31:00 +02:00
cketti
2f875abcfc Replace remaining usages of Account.get*Folder() 2020-05-04 16:31:00 +02:00
cketti
d298897b51 Store folder IDs of special folders in Preferences 2020-05-04 16:31:00 +02:00
cketti
bb9e6558f0 Replace Account.getArchiveFolder() with Account.getArchiveFolderId() 2020-05-04 16:31:00 +02:00
cketti
7f80947740 Replace Account.getSentFolder() with Account.getSentFolderId() 2020-05-04 16:31:00 +02:00
cketti
253f4c85ff Replace Account.getSpamFolder() with Account.getSpamFolderId() 2020-05-04 16:31:00 +02:00
cketti
c943c03879 Replace Account.getDraftsFolder() with Account.getDraftsFolderId() 2020-05-04 16:31:00 +02:00
cketti
c56ae6dcab Replace Account.getTrashFolder() with Account.getTrashFolderId() 2020-05-04 16:31:00 +02:00
cketti
c6d96b2b34 Replace Account.getInboxFolder() with Account.getInboxFolderId()
In some instances the check for the Inbox folder could be removed.
We no longer allow one folder to have multiple roles, e.g. Inbox + Drafts.
2020-05-04 16:31:00 +02:00
cketti
789769ef39 Replace Account.getOutboxFolder() with Account.getOutboxFolderId() 2020-05-04 16:31:00 +02:00
cketti
0b939eee25 Use Account.get*FolderId() to figure out folder type 2020-05-04 16:31:00 +02:00
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