Commit graph

877 commits

Author SHA1 Message Date
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
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
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
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
2fcaa8e16c Merge ActivityListener into MessageListActivityListener 2020-01-20 16:54:36 +01:00
cketti
37845d751a Remove unused functionality from ActivityListener 2020-01-20 16:43:33 +01:00
cketti
3dbdfb8882 Remove usage of ActivityListener in ManageFoldersActivity 2020-01-20 15:59:52 +01:00
cketti
9a04de0d00 Remove unused android-job library 2020-01-19 17:02:40 +01:00
cketti
e16c3ff21f Update Material Components to 1.1.0-rc02 2020-01-19 16:45:42 +01:00
cketti
0de96b6592 Update FastAdapter to 4.1.2 2020-01-19 16:27:53 +01:00
cketti
582eb27dd3 Update Material Drawer to 7.0.0 2020-01-19 16:27:53 +01:00
cketti
c2f518f8e2 Update kotlinx-coroutines to 1.3.2 and kotlinx-coroutines-android 1.3.0 2020-01-19 16:27:53 +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
148af8aae8 Add k9mail-jmap app for JMAP development 2020-01-15 16:14:16 +01:00
cketti
6e7f7549f8 Revert "Add NavController to MessageList"
This reverts commit ac94879c
2020-01-15 16:10:55 +01:00
cketti
f98d6c95b3
Merge pull request #4446 from k9mail/navigation_main
Add NavController to MessageList
2020-01-14 16:34:54 +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
ac94879c98 Add NavController to MessageList 2020-01-13 01:21:41 +01:00
cketti
5870861b6b Rename styles.xml to unread_widget_styles.xml 2020-01-12 23:28:59 +01:00
cketti
53e3604274 Remove unread widget styles from styles.xml in 'ui' module 2020-01-12 23:28:59 +01:00
cketti
95c927b9f7 Remove Theme.K9Dialog 2020-01-12 19:37:41 +01:00
cketti
5b7738fc7f Stop using Holo context menu styles 2020-01-12 19:31:53 +01:00
cketti
ab61e80bc3 Switch MessageListFragment away from CursorLoader 2020-01-12 15:58:15 +01:00
cketti
4fa2fd7094
Merge pull request #4438 from k9mail/bye_CursorAdapter
Switch MessageListAdapter away from CursorAdapter
2020-01-12 13:59:52 +01:00
cketti
41bc3e10e9
Merge pull request #4440 from k9mail/improve_FoldersLiveData
Make MessageListViewModel only expose one LiveData for the folder list
2020-01-12 13:53:36 +01:00
cketti
b5be183eda Switch MessageListAdapter away from CursorAdapter 2020-01-12 13:44:19 +01:00
cketti
848b87c996 Make MessageListViewModel only expose one LiveData for the folder list 2020-01-11 01:48:12 +01:00
cketti
16d4e5dfc2 Replace CoroutineScopeViewModel with lifecycle-viewmodel-ktx library 2020-01-11 00:43:20 +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
cbe0f30a24 Prepare for version 5.705 2020-01-09 17:47:07 +01:00
cketti
57ef94ccd5 Version 5.704 2020-01-09 17:37:16 +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
b40a5f1ffd
Merge pull request #4433 from k9mail/string_constants
Move URLs from strings.xml to constants.xml
2020-01-09 17:23:53 +01:00
cketti
e0ba03c74b Remove unused setting "Wrap long folder names" 2020-01-09 17:02:33 +01:00
cketti
8955de30eb Move URLs from strings.xml to constants.xml 2020-01-09 16:40:24 +01:00
cketti
aab4ca78fc Refactor code in MessageListAdapter 2020-01-09 14:50:22 +01:00