Commit graph

9003 commits

Author SHA1 Message Date
cketti
c726a2d902 Remove unused field 'lastCheckFailed' from FolderInfoHolder 2020-01-28 17:22:12 +01:00
cketti
533c9e5622 Remove unused code from FolderInfoHolder 2020-01-28 17:22:12 +01:00
cketti
846aabe598 Remove FolderInfoHolder.getDisplayName() 2020-01-28 17:22:12 +01:00
cketti
5c3750ede3
Merge pull request #4478 from k9mail/bye_Folder
Get rid of base class Folder
2020-01-28 17:16:40 +01:00
cketti
58f32df670 Remove now unused class 'Folder' 2020-01-28 16:22:09 +01:00
cketti
35da218170 Make WebDavFolder no longer extend Folder
This highlighted that a bunch of code in backend-webdav was unused.
2020-01-28 16:22:09 +01:00
cketti
bf69052995
Merge pull request #4483 from k9mail/MessageListLoader_close_Cursor
Close Cursor in MessageListLoader
2020-01-28 16:14:52 +01:00
cketti
c5b113bb58
Merge pull request #4480 from k9mail/theme_fixes
Only use K9 themes in AndroidManifest.xml
2020-01-28 16:14:17 +01:00
cketti
b936781f7f
Merge pull request #4485 from morckx/fix-missing-subject-crash
Allow missing (null) subject headers
2020-01-28 15:18:24 +01:00
Marc K
b7482b28ad Add MessageListAdapter tests for missing and empty subject 2020-01-28 11:33:10 +01:00
Marc K
3f199bb8c7 Allow missing (null) subject headers
Fixes #4484
2020-01-27 23:08:45 +01:00
cketti
642a20740a Close Cursor in MessageListLoader 2020-01-27 17:40:07 +01:00
cketti
9845b76338 Only use K9 themes in AndroidManifest.xml 2020-01-27 02:39:28 +01:00
cketti
579027e66c Make Pop3Folder no longer extend Folder
This highlighted that a bunch of code in backend-pop3 was unused.
2020-01-26 23:35:25 +01:00
cketti
76bc52beef Make ImapFolder no longer extend Folder 2020-01-26 23:35:25 +01:00
cketti
873208cd46
Merge pull request #4476 from k9mail/bye_RemoteStore
Get rid of base class RemoteStore
2020-01-26 23:35:10 +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
7d1200f374
Merge pull request #4477 from ByteHamster/default-progress-0
Make default progress 0%
2020-01-26 18:56:22 +01:00
ByteHamster
745708649c Make default progress 0% 2020-01-26 16:24:19 +01:00
cketti
9335080545 Get rid of common base class RemoteStore
This also allows removing some unnecessary methods in former subclasses.
2020-01-26 05:16:01 +01:00
cketti
2afacbc498
Merge pull request #4474 from k9mail/fix_contacts_permission_check
Only check for contacts read permission when fetching contact pictures
2020-01-26 01:28:01 +01:00
cketti
c85221cadf Check arguments when creating PendingCommand instances 2020-01-26 01:27:24 +01:00
cketti
1bac774a60
Merge pull request #4473 from k9mail/message_list_progress
Display progress when syncing a folder
2020-01-26 01:22:37 +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
1de6f3c48a Clean up MessageListFragment.setWindowProgress() 2020-01-23 16:36:21 +01:00
cketti
937882f836 Display progress when syncing a folder 2020-01-23 16:36:21 +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
35031e800c
Merge pull request #4468 from k9mail/fix_MessageListExtractor
Fix MessageListExtractor to only read thread count when requested
2020-01-23 16:27:39 +01:00
cketti
4f6943336c
Merge pull request #4467 from k9mail/MessagingListener_cleanup
More MessagingListener cleanup
2020-01-23 16:25:30 +01:00
cketti
0d3511cf53 Fix MessageListExtractor to only read thread count when requested
Turns out that sometimes we do have a column with index THREAD_COUNT_COLUMN
but it's the unique ID and not a thread count.
2020-01-22 22:40:10 +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
79259b678c
Merge pull request #4466 from k9mail/MessagingListener_cleanup
Remove MessagingController.listFolders() and associated callbacks
2020-01-22 16:52:00 +01:00
cketti
7940e0911e
Merge pull request #4465 from dhebbeker/feature/add-default-mail-intent
add intent filter to main activty to provide default email application setting
2020-01-21 17:39:39 +01:00
Henry
28b8cabb2c
Add intent filter to main activity to provide default email application setting.
Adds intent filter [`CATEGORY_APP_EMAIL`] in order to provide the app's activity as possible default email application. This must be interpreted by Android and [set by the user outside of the application][1].

The new intent-filter for `APP_EMAIL` was added to activity `MessageList`.

[`CATEGORY_APP_EMAIL`]: https://developer.android.com/reference/android/content/Intent.html#CATEGORY_APP_EMAIL
[1]: https://github.com/k9mail/k-9/issues/3231#issuecomment-515759615
2020-01-21 17:14:10 +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
4bf1ef1dbe
Merge pull request #4463 from k9mail/MessagingListener_cleanup
Get rid of ActivityListener
2020-01-21 14:05:18 +01:00
cketti
2fcaa8e16c Merge ActivityListener into MessageListActivityListener 2020-01-20 16:54:36 +01:00