Commit graph

1113 commits

Author SHA1 Message Date
cketti
71d6a4f52e Perform NotificationActionService actions in background thread
Updating notifications involves disk I/O.
2022-12-06 18:58:00 +01:00
cketti
f75101dfc1 Add support for swipe actions not animating the view all the way off the screen 2022-11-09 11:48:42 +01:00
cketti
73d9100087 Make AccountManager.getAccountsFlow() only return fully set up accounts 2022-11-07 16:39:03 +01:00
cketti
e251ec7f57 Add more logging for creating/removing notifications 2022-10-25 11:30:20 +02:00
cketti
893a6900dd Don't throw when calling MessageStore.getMessageServerId()
Return `null` when the message can no longer be found in the message store.
2022-10-25 10:59:52 +02:00
cketti
da283a7c32 Change the way the message list widget listens to changes
Also change the code to only listen for message list changes when the message list widget has been added to the home screen.
2022-10-19 18:38:03 +02:00
cketti
186a1eda16 Load Unified Inbox when opening a message from the message list widget 2022-10-19 10:47:36 +02:00
cketti
af11ca5e4e Remove now unused MessageProvider 2022-10-17 11:37:57 +02:00
cketti
dfef2d9ece Convert MessageListRemoteViewFactory to Kotlin 2022-10-14 14:34:45 +02:00
cketti
a833cd5b08 Stop using white-space: pre-wrap for the HTML signature
Line breaks display inconsistently across browser implementations when using both `<br>` and the CSS rule.
2022-10-12 15:49:27 +02:00
cketti
511af40dc3 Use proper API to set SNI server name on API 24+ 2022-10-12 15:32:43 +02:00
cketti
c145fe03ea Add settings to configure swipe actions 2022-10-06 17:49:36 +02:00
cketti
ac99032d3c Add support for swipe actions to the message list screen 2022-10-06 17:49:36 +02:00
cketti
6d16698eeb Read account default colors from resources 2022-10-05 15:59:29 +02:00
cketti
d82bc5844e Create resource file for material colors 2022-10-05 15:59:29 +02:00
cketti
44f9efdfd5 Change 'background sync' default value to 'always' 2022-10-05 15:23:20 +02:00
cketti
6db5f09ddf Set app theme before the first Activity is started 2022-10-05 12:15:53 +02:00
cketti
c7c0b0aa23 Update the message list when the "more messages" value of a folder changes 2022-09-26 17:03:51 +02:00
cketti
b3c8e85918 Remove volume key navigation for list views 2022-09-22 12:30:24 +02:00
cketti
66739b4b70 Switch to using 'namespace' property in build.gradle 2022-09-20 14:53:19 +02:00
cketti
8b21092cc2 Convert :backend:* to JVM modules 2022-09-17 14:53:04 +02:00
cketti
8a73c93134 Move code to select message list items to MessageListAdapter 2022-09-12 13:51:47 +02:00
cketti
cd621d047f Rewrite MessagingController.deleteDraft() to not use LocalStore 2022-09-10 01:53:53 +02:00
cketti
0591ff7822 Rewrite MessagingController.loadMessageRemoteSynchronous() to not use LocalStore 2022-09-10 01:42:04 +02:00
cketti
95cfc85858 Use MessageStore to set folder status 2022-09-10 00:57:38 +02:00
cketti
0e56eb8072
Merge pull request #6283 from thundernest/outbox_logging
Fix error reporting for send failures
2022-09-08 11:57:29 +02:00
cketti
5e977f3aeb
Merge pull request #6282 from thundernest/fix_search_bug
Fix bug in SQL query used for search
2022-09-08 11:56:22 +02:00
cketti
c80254f3a5 Remove unnecessary code 2022-09-07 17:45:21 +02:00
cketti
53a08bcdee Fix mechanism to notify about messages that failed to send 2022-09-07 17:44:08 +02:00
cketti
2c94dc6d08 Use proper table name in SqlQueryBuilder 2022-09-07 17:10:05 +02:00
cketti
2fe289875e Add support for removing K-9 Mail signatures from HTML message parts 2022-09-07 16:29:15 +02:00
cketti
451f4df4b2 Convert HtmlSignatureRemoverTest to Kotlin 2022-09-07 13:37:34 +02:00
cketti
13a83d0be0 Rename .java to .kt 2022-09-07 13:36:33 +02:00
cketti
e74f0a5780 Convert HtmlSignatureRemover to Kotlin 2022-09-07 13:07:44 +02:00
cketti
fb44ff8f1f Rename .java to .kt 2022-09-07 13:07:44 +02:00
cketti
034eac8847 Add fast path to MessageListRepository to bypass an empty cache 2022-09-01 16:12:25 +02:00
cketti
5418f71fc5 Change API of MessageListCache to better match how it is used 2022-08-31 17:50:00 +02:00
cketti
cfa01261ae Rename EmailProviderCache to MessageListCache 2022-08-31 17:50:00 +02:00
cketti
7ea928bba5 Finally get rid of EmailProvider 2022-08-31 17:50:00 +02:00
cketti
6be1eb11dc Use MessageRepository instead of EmailProvider in MessageListLoader 2022-08-31 17:50:00 +02:00
cketti
dabb398e65 Add MessageListRepository.getThread() 2022-08-31 17:50:00 +02:00
cketti
4b03f99ff7 Add MessageListRepository.getThreadedMessages() 2022-08-31 17:50:00 +02:00
cketti
170f0dbecc Add MessageListRepository.getMessages() 2022-08-31 17:50:00 +02:00
cketti
b89f8c0e57 Convert EmailProviderCache to Kotlin 2022-08-31 17:50:00 +02:00
cketti
3345701471 Rename .java to .kt 2022-08-31 17:50:00 +02:00
cketti
a9d03a147d Fix EmailProviderCacheTest 2022-08-31 17:50:00 +02:00
cketti
4210237dff Rename .java to .kt 2022-08-31 17:50:00 +02:00
cketti
e9b91f3654 Add MessageListRepository
Remove the "message list changed" notification mechanism provided by `EmailProvider` and use a simple callback mechanism instead.
2022-08-31 17:50:00 +02:00
cketti
e14ce585a5 Add MessageStore.getThread()
This is more or less a copy of `EmailProvider.getThread()`.
2022-08-30 14:49:30 +02:00
cketti
9b90d18051 Add MessageStore.getMessages()
This is more or less a copy of `EmailProvider.getMessages()`.
2022-08-30 13:43:30 +02:00