Commit graph

720 commits

Author SHA1 Message Date
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
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
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
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
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
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
f1093a7633 Change ChooseFolderActivity to use folder ID for "current folder" 2020-05-04 16:30:59 +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
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
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
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
fa8b8dbdc3 Version 5.710 2020-04-24 05:49:27 +02:00
cketti
c6b1ce503d
Merge pull request #4688 from cketti/keyboard_shortcuts
Remove keyboard shortcuts for menu items
2020-04-24 05:32:39 +02:00
cketti
dd1a1013ac Remove keyboard shortcuts for menu options 2020-04-23 21:50:49 +02:00
cketti
543498ce89 Only handle keyboard shortcuts when no modifier key has been pressed 2020-04-23 21:42:27 +02:00
cketti
3ef8521d08 Don't show extracted IME text UI
This is so the fullscreen keyboard isn't used in landscape mode.
2020-04-23 21:27:03 +02:00
cketti
2530dea98a
Merge pull request #4674 from k9mail/cleanup
Remove unused code
2020-04-19 22:00:45 +02:00
cketti
d70564e423 Remove unused code 2020-04-18 19:51:48 +02:00
cketti
d30de2fa61 Add missing super calls to onActivityResult() 2020-04-18 18:58:47 +02:00
cketti
ec0ce5ed1d Version 5.709 2020-04-18 17:38:07 +02:00
cketti
9fdf396cb8
Merge pull request #4672 from k9mail/update_translations
Update translations
2020-04-18 16:36:30 +02:00
cketti
400afb6367
Merge pull request #4671 from k9mail/discard_unmodified_message
Don't mark draft as changed when setting 'always BCC' recipients
2020-04-18 16:35:02 +02:00
cketti
48e6f3702b
Merge pull request #4670 from k9mail/fix_edit_quote_button
Fix button to make quoted text editable
2020-04-18 16:33:20 +02:00
cketti
dfe09e8619
Merge pull request #4669 from k9mail/remove_unused_assets
Remove unused assets
2020-04-18 16:32:00 +02:00
cketti
58455abe4a Update translations 2020-04-18 00:14:04 +02:00
cketti
fc49fb9d67 Don't mark draft as changed when setting 'always BCC' recipients 2020-04-17 19:51:58 +02:00
cketti
560003234f Fix button to make quoted text editable 2020-04-17 18:15:16 +02:00
cketti
196b225a1d Remove unused assets 2020-04-16 00:06:14 +02:00
cketti
ac9f4059f6 Upgrade to kotlinx-coroutines 1.3.5 2020-04-15 23:32:23 +02:00