Commit graph

10232 commits

Author SHA1 Message Date
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
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
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
cketti
f3b7cd7d14 Add notification channel for a Push foreground service 2021-06-11 18:33:09 +02:00
cketti
5df81c2908 Rewrite tests for NotificationIds
Check the properties we actually care about instead of testing implementation details.
2021-06-11 13:52:01 +02:00
cketti
db2b9c746f Add ImapFolderIdler that uses IMAP's IDLE command to listen for changes 2021-06-10 21:40:36 +02:00
cketti
296ba92221
Merge pull request #5333 from k9mail/imap_interfaces 2021-06-10 21:28:01 +02:00
cketti
e877c3b313
Merge pull request #5329 from k9mail/fix_locale_override
Re-apply the locale override to the configuration if necessary
2021-06-10 21:27:35 +02:00
cketti
63d9872755 Introduce additional interfaces so RealImapFolder is decoupled from RealImapStore 2021-06-10 21:00:58 +02:00
cketti
94f630cf88 Introduce ImapStore interface 2021-06-10 21:00:58 +02:00
cketti
55c54555ff Introduce ImapFolder interface 2021-06-09 16:15:12 +02:00
cketti
d0fa865e1f Rename ImapFolder.kt to RealImapFolder.kt 2021-06-09 16:15:12 +02:00
cketti
ededa33ff2 Use enum class for ImapFolder.open() argument 2021-06-09 16:15:12 +02:00
cketti
3041a787d6 Introduce ImapConnection interface
The implementation is now called RealImapConnection.
2021-06-09 16:15:12 +02:00
cketti
24eb92d56d Update communication section in README 2021-06-06 14:58:21 +02:00