Commit graph

10444 commits

Author SHA1 Message Date
cketti
aa9f6eaefa Add IdleRefreshTimeoutProvider 2021-06-23 14:02:07 +02:00
cketti
145eba5e2e
Merge pull request #5360 from k9mail/account_flow
Add AccountManager.getAccountFlow()
2021-06-23 12:59:59 +02:00
cketti
7ea4365cda
Merge pull request #5359 from k9mail/remove_schedulePusherRefresh
Remove unused K9JobManager.schedulePusherRefresh()
2021-06-23 12:56:37 +02:00
cketti
15bac4c18a Add AccountManager.getAccountFlow()
Instead of adding a custom callbackFlow() for each account property we're interested in, we can now use `AccountManager.getAccountFlow(accountUuid).map { it.relevantProperty }`.
2021-06-23 10:05:52 +02:00
cketti
a7f4093147 Remove unused K9JobManager.schedulePusherRefresh() 2021-06-22 16:04:20 +02:00
cketti
594cb75ca5
Merge pull request #5356 from k9mail/push_controller
Add implementation for PushController
2021-06-22 15:57:12 +02:00
cketti
72a07b1169 Add back 'push folders' and 'folder push class' settings 2021-06-22 15:30:23 +02:00
cketti
8fea80f14c Add PushController implementation 2021-06-22 15:30:23 +02:00
cketti
e157203056
Merge pull request #5358 from Monkey-Matt/account-setup-textinputlayout
Use TextInputLayout to match other setup screens
2021-06-22 15:00:41 +02:00
cketti
027b3e5a41
Merge pull request #5357 from k9mail/global_search
Add 'search everywhere' menu item
2021-06-22 13:49:16 +02:00
cketti
f8b88ef9d0
Merge pull request #5355 from k9mail/request_code_fix
Fix request code handling
2021-06-22 12:56:58 +02:00
Matt Smith
a3f65ff5c8 Use textinputlayout to match other setup screens 2021-06-22 21:48:29 +12:00
cketti
f40e74886b Add 'search everywhere' menu item
When starting a search in a regular folder only messages in that folder are searched. 'Search everywhere' will re-run that search in all accounts and all folders.
2021-06-22 01:20:22 +02:00
cketti
4caeb6caa3 Start PushController from K9Activity 2021-06-21 14:24:54 +02:00
cketti
0b1a3a01fb
Merge pull request #5354 from k9mail/backend_changed_listener
Add listener mechanism to BackendManager
2021-06-21 14:16:29 +02:00
cketti
89d3cdbad5 Add listener mechanism to BackendManager 2021-06-21 14:03:45 +02:00
cketti
13caecad2d
Merge pull request #5353 from k9mail/connectivity_manager
Add ConnectivityManager to listen for changes in network availability
2021-06-21 13:58:53 +02:00
cketti
5f43303dd8
Merge pull request #5342 from artbristol/pgp_attachment_lost_on_forward
Allow encrypted attachments to be forwarded
2021-06-21 13:48:19 +02:00
Art O Cathain
05c5319b45 Fix error when forwarding encrypted attachments
SafeContentResolver refuses to load encrypted attachments with an error:
"Content provider is not explicitly allowed:
com.fsck.k9.debug.decryptedfileprovider"

For internally provided attachments, there is no need to use
SafeContentResolver, so we use the default system ContentResolver
2021-06-21 21:08:24 +10:00
cketti
20c3a4179f Fix request code handling
For its result dispatching mechanism ComponentActivity uses random request codes that may have one of "our" bits set. Those random request codes will always be greater than 0x00010000. We use this information to ignore all request codes that aren't ours.
2021-06-21 12:16:17 +02:00
cketti
37c9ffbe90 Add ConnectivityManager to listen for changes in network availability 2021-06-19 16:11:51 +02:00
cketti
190242943c
Merge pull request #5352 from k9mail/alarm_manager
Add implementation for AndroidAlarmManager
2021-06-19 16:06:37 +02:00
cketti
0c938c46d5
Merge pull request #5351 from k9mail/boot_complete_receiver
Add BootCompleteReceiver to start PushController on device boot
2021-06-19 15:50:03 +02:00
cketti
f7277c911e Add implementation for AndroidAlarmManager 2021-06-18 20:29:35 +02:00
cketti
bf21572b57 Add AlarmManagerCompat 2021-06-18 19:47:00 +02:00
cketti
78ad10e3df Remove unused K9AlarmManager 2021-06-18 19:46:48 +02:00
cketti
7a940240c3 Add BootCompleteReceiver to start PushController on device boot 2021-06-18 19:34:28 +02:00
cketti
5520fdac96
Merge pull request #5347 from k9mail/idle_refresh_manager
Add implementation for BackendIdleRefreshManager
2021-06-18 16:27:59 +02:00
cketti
be17063212
Merge pull request #5348 from k9mail/account_push_controller
Add AccountPushController
2021-06-17 22:15:20 +02:00
cketti
bf1d528972 Add AccountPushController 2021-06-17 21:49:23 +02:00
cketti
a2a6b93253
Merge pull request #5349 from k9mail/fix_attachment_box
Fix attachment box layout in compose screen
2021-06-17 21:38:47 +02:00
cketti
129ec0de98
Merge pull request #5350 from k9mail/fix_expunge_immediately
Honor expunge policy when deleting messages
2021-06-17 21:38:25 +02:00
cketti
cf4a6233fd
Merge pull request #5344 from arissystem-labs/bugfix-5343
fix some issues with "Add from Contact" when permission not granted
2021-06-17 21:33:39 +02:00
cketti
e4af588431 Honor expunge policy when deleting messages
Previously, we didn't expunge messages when the expunge policy was set to 'immediately' (default) and no Trash folder was configured.
2021-06-16 19:47:01 +02:00
cketti
6562ee4ac8 Fix attachment box layout in compose screen 2021-06-16 19:15:53 +02:00
cketti
a74c206a0c Add implementation for BackendIdleRefreshManager 2021-06-16 15:04:01 +02:00
r.zarchi
66d37a0db2 Ignore fillContactDataFromLookupKey if we don't have the necessary permission 2021-06-16 10:00:53 +04:30
r.zarchi
fb9ed80df6 check for contact permission and contact picker to show or hide "Add from Contacts" option 2021-06-16 09:46:08 +04:30
cketti
a8cf420741
Merge pull request #5341 from k9mail/backend_pusher 2021-06-15 15:28:23 +02:00
cketti
c8808ae447 Add ImapBackendPusher that manages multiple ImapFolderPusher instances 2021-06-13 00:51:23 +02:00
cketti
d62aa030c9 Add BackendPusher interface 2021-06-13 00:36:34 +02:00
cketti
154dbe1229
Merge pull request #5340 from k9mail/imap_folder_pusher
Add ImapFolderPusher to listen for changes to an IMAP folder
2021-06-13 00:13:30 +02:00
cketti
ac0f01c206
Merge pull request #5338 from k9mail/push_service
Add foreground service for Push
2021-06-13 00:09:02 +02:00
cketti
4b17e16782
Merge pull request #5339 from k9mail/auto_sync_listener
Add AutoSyncManager to listen for changes to the "auto sync" system setting
2021-06-13 00:03:26 +02:00
cketti
f45b8a2317 Add AutoSyncManager to listen for changes to the "auto sync" system setting 2021-06-12 23:53:15 +02:00
cketti
ca13a32fec Add ImapFolderPusher to listen for changes to an IMAP folder 2021-06-12 21:09:30 +02:00
cketti
46a2c351d5 Add foreground service for Push 2021-06-12 17:04:45 +02:00
cketti
fb55ee76f9
Merge pull request #5337 from k9mail/notification_ids_test
Rewrite tests for NotificationIds
2021-06-12 16:00:28 +02:00
cketti
85c98e2eba
Merge pull request #5336 from k9mail/push_notification_channel
Add notification channel for a Push foreground service
2021-06-12 15:58:45 +02:00
cketti
4df32e25e6
Merge pull request #5335 from k9mail/imap_idle
Add ImapFolderIdler that uses IMAP's IDLE command to listen for changes
2021-06-12 15:56:56 +02:00