Commit graph

438 commits

Author SHA1 Message Date
cketti
19310314c5 Remove unused "Gestures" setting and unused code 2020-03-15 17:22:09 +01:00
cketti
00086bd15e Update Koin to 2.1.1 2020-03-04 14:39:30 +01:00
cketti
2a8d094343 JMAP: Add support for uploading messages 2020-02-25 19:00:18 +01:00
cketti
a2f1487ba5 JMAP: Add support for deleting messages 2020-02-18 16:47:33 +01:00
cketti
b78c2e295e Add JMAP message sync (part 2) - delta sync 2020-02-14 00:16:34 +01:00
cketti
6768e74fc2 Be a bit more selective on which StrictMode warnings we enable 2020-02-12 22:27:13 +01:00
cketti
ab7feffa68 Add JMAP message sync (part 1)
This only supports doing a full sync and downloading complete messages.
2020-02-12 19:12:11 +01:00
cketti
0f07359bd9 Update AndroidX Core to 1.2.0 2020-02-06 17:53:07 +01:00
cketti
611a57fb0e Remove now unused folder name from SyncListener callbacks 2020-02-05 01:27:06 +01:00
cketti
86326ea0b9 Remove unused folder name from MessagingListener callbacks 2020-02-05 01:25:24 +01:00
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