cketti
b233104622
Make BackendFolder only save messages that have a server ID set
...
Since we're calling through to LocalFolder.appendMessages(), omitting
the server ID would create a local message (one with a UID starting
with "K9LOCAL:").
2020-02-04 19:58:24 +01:00
cketti
d8d2bebebe
BackendFolder should never hand out local-only messages
...
Backend implementations don't need to know about local messages.
2020-02-04 18:55:33 +01:00
cketti
77ff9ea9ba
Remove unused method BackendFolder.getUnreadMessageCount()
2020-02-04 18:17:22 +01:00
cketti
f2886364ef
Merge pull request #4475 from k9mail/pending_commands_cleanup
...
Check arguments when creating PendingCommand instances
2020-01-26 23:30:41 +01:00
cketti
c85221cadf
Check arguments when creating PendingCommand instances
2020-01-26 01:27:24 +01:00
cketti
aad060fb41
Remove unnecessary code from PendingMoveAndMarkAsRead
2020-01-26 00:47:23 +01:00
cketti
54bf442259
Rename outdated PendingMoveOrCopy factory method to createLegacy()
2020-01-26 00:47:23 +01:00
cketti
71df8f2f0d
Remove code to enqueue legacy form of 'PendingMoveOrCopy'
2020-01-26 00:47:23 +01:00
cketti
5b436adaee
Only check for contacts read permission when fetching contact pictures
2020-01-24 15:10:10 +01:00
cketti
28dadaf468
Merge pull request #4469 from k9mail/fix_LocalSearch_accounts
...
Fix crash when opening Unified Inbox
2020-01-23 16:35:12 +01:00
cketti
320f916098
Remove support for the magic ALL_ACCOUNTS constant from LocalSearch
2020-01-22 21:59:47 +01:00
cketti
ad731aa3d9
Fix bug in MessageListLiveData when using LocalSearch to retrieve accounts UUIDs
2020-01-22 21:19:55 +01:00
cketti
f8baaa60f6
Fix bug in MessageListLoader when using LocalSearch to fetch accounts
2020-01-22 21:05:15 +01:00
cketti
b99d445736
Remove unused message counts from MessagingListener.synchronizeMailboxFinished()
2020-01-22 17:16:06 +01:00
cketti
aeef338efd
Remove unread count from MessagingListener.folderStatusChanged()
2020-01-22 17:02:16 +01:00
cketti
2dc75163a0
Remove unused MessagingListener callbacks for sending messages
2020-01-22 16:52:26 +01:00
cketti
6916ea8ce5
Remove unused callback MessagingListener.systemStatusChanged()
2020-01-22 16:52:26 +01:00
cketti
edbee481dd
Remove unused callback MessagingListener.setPushActive()
2020-01-22 16:52:25 +01:00
cketti
0b49b22af0
Remove unused callback MessagingListener.emptyTrashCompleted()
2020-01-22 16:52:25 +01:00
cketti
0cd7164c2e
Remove MessagingListener.messageDeleted()
...
Only home screen widgets used the callback to update themselves. But
they're also updating when folderStatusChanged() is invoked. So we can
safely get rid of messageDeleted().
2020-01-22 16:52:25 +01:00
cketti
56151e7b7e
Remove unused MessagingListener callbacks for pending commands
2020-01-22 16:52:25 +01:00
cketti
d0bb3a0524
Remove MessagingController.listFolders() and associated callbacks
...
We now use FolderRepository to retrieve the folder list. listFolders()
was only used to refresh the folder list from the server.
2020-01-21 14:45:55 +01:00
cketti
9a04de0d00
Remove unused android-job library
2020-01-19 17:02:40 +01:00
cketti
dd99636fa8
Update Truth to 1.0.1
2020-01-19 16:27:53 +01:00
cketti
9b2b82eee6
Update Mockito to 3.2.4 and Mockito-Kotlin to 2.2.0
2020-01-19 16:27:53 +01:00
cketti
28f411f3d4
Update Moshi to 1.9.2
2020-01-19 16:19:20 +01:00
cketti
320cc8b40b
Add UI to add a JMAP account to the app
2020-01-18 21:14:57 +01:00
cketti
a873a1c41f
Merge pull request #4442 from k9mail/bye_CursorLoader
...
Switch MessageListFragment away from CursorLoader
2020-01-14 16:20:37 +01:00
cketti
a939eca6d5
Fix deleting a message when there's no Trash folder
2020-01-13 16:14:49 +01:00
cketti
ab61e80bc3
Switch MessageListFragment away from CursorLoader
2020-01-12 15:58:15 +01:00
cketti
f68da8fe04
Merge pull request #4432 from k9mail/message_list_item_data_class
...
Create MessageListExtractor to read from Cursor
2020-01-10 22:51:21 +01:00
cketti
d4df9274bb
Extract code to read from Cursor to MessageListExtractor
2020-01-10 20:07:19 +01:00
cketti
ed77c652e6
Merge pull request #4434 from k9mail/remove_wrap_long_folder_names
...
Remove setting "Wrap long folder names"
2020-01-09 17:29:08 +01:00
cketti
e0ba03c74b
Remove unused setting "Wrap long folder names"
2020-01-09 17:02:33 +01:00
cketti
67468687e5
Simplify LocalFolder.open()
2020-01-09 14:14:52 +01:00
cketti
2d470c73a0
Move FolderType and FolderClass out of Folder
2020-01-09 14:08:41 +01:00
cketti
ef2862b443
Remove unused code from LocalFolder
2020-01-09 14:08:41 +01:00
cketti
5f9999e173
Change LocalFolder to no longer extend Folder
2020-01-09 14:08:41 +01:00
cketti
13bc16caf8
Remove Message.getFolder()
2020-01-08 23:30:03 +01:00
cketti
0d303c8740
Merge pull request #4429 from k9mail/LocalFolder
...
Use LocalFolder instead of Folder in MessagingController
2020-01-08 21:30:35 +01:00
cketti
b336ad283f
Merge pull request #4046 from ByteHamster/mark-as-read-on-delete
...
Mark messages read when deleting
2020-01-08 19:00:38 +01:00
ByteHamster
7b9f44ca1e
Added function to move to trash and read to backend
2020-01-08 18:48:28 +01:00
ByteHamster
1bac17d244
Added setting to mark messages read when deleting
2020-01-08 18:44:46 +01:00
cketti
d4d2758a8a
Use LocalFolder instead of Folder in MessagingController
2020-01-08 01:42:57 +01:00
cketti
aaaf75dc6f
Merge pull request #4421 from k9mail/special_folders
...
Properly configure special folders during (initial) folder sync
2020-01-08 00:39:46 +01:00
cketti
495d8c0521
Move code to configure special folders to SpecialFolderUpdater
2020-01-02 22:07:40 +01:00
cketti
b504e6a83a
Move special folder handling out of FolderRepository
2020-01-02 20:33:17 +01:00
cketti
d937113b6b
Add subject to MessageViewInfo in case of errors
2020-01-02 16:55:14 +01:00
cketti
303148ab3a
Create empty root part when loading message with crypto error
...
Some parts of the code depend on MessageViewInfo.rootPart not being null.
2020-01-02 16:54:15 +01:00
cketti
d80cb6f614
EmailAddressValidator doesn't need to implement Validator
2019-12-19 14:45:03 +01:00