Commit graph

870 commits

Author SHA1 Message Date
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
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
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