Commit graph

1816 commits

Author SHA1 Message Date
cketti
70686c0a94 Fix errors in the 'push_info_disable_push_text' string 2021-07-15 17:14:38 +02:00
cketti
26c64806f2 Add "Push Info" screen 2021-07-15 00:20:48 +02:00
Art O Cathain
34320b4295 Do not show push mode for local folders 2021-07-14 23:24:57 +10:00
cketti
ec854e242e
Merge pull request #5407 from k9mail/fix_npe_in_drawer
Fix possible NullPointerException in K9Drawer
2021-07-14 14:45:03 +02:00
cketti
dfa939c57e
Merge pull request #5406 from k9mail/fix_push_crashes
Fix push crashes
2021-07-14 14:44:40 +02:00
cketti
659937aac5
Merge pull request #5405 from k9mail/update_list_of_libraries
Update list of libraries in About screen
2021-07-14 14:43:21 +02:00
cketti
bd342be05a Fix possible NullPointerException in K9Drawer 2021-07-13 16:10:27 +02:00
cketti
00be66b1c1 Don't throw in AccountPushController.updatePushFolders()
When the 'backendPusher' property is null the AccountPushController (and BackendPusher) have already been stopped.
2021-07-13 15:45:21 +02:00
cketti
51f486717b Update list of libraries in About screen 2021-07-13 14:57:35 +02:00
cketti
f8a13b41f9
Merge pull request #5401 from artbristol/art/rename_poll_to_sync
Update wording to be clearer
2021-07-13 13:32:44 +02:00
Art O Cathain
9d4c4e9082 Update wording to be consistent 2021-07-13 10:02:54 +10:00
cketti
890b1a02d1 Change text for Push notification 2021-07-11 17:34:08 +02:00
cketti
da7c0b7cf9 Prepare for version 5.740 2021-07-10 16:01:43 +02:00
cketti
279b084f76 Version 5.739 2021-07-10 15:35:07 +02:00
cketti
475a1474bd
Merge pull request #5400 from k9mail/fix_push_when_connectivity_returns
Restart AccountPushControllers when connectivity returns
2021-07-10 15:30:03 +02:00
cketti
38c0b2dfb2 Restart AccountPushControllers when connectivity returns
PushController.onConnectivityChanged() is not only called when the active network changes, but also when connectivity returns (offline -> online). In that case we need to restart the AccountPushControllers.
2021-07-10 14:28:57 +02:00
cketti
fae1bf30ba Upgrade ckchangelog-core to 2.0.0-beta02 2021-07-10 03:39:10 +02:00
cketti
ec1f3c3722 Prepare for version 5.739 2021-07-08 23:39:11 +02:00
cketti
069b357f95 Version 5.738 2021-07-08 23:19:03 +02:00
cketti
108868155e Persist general settings on a background thread 2021-07-08 22:56:45 +02:00
cketti
7f61b0d489
Merge pull request #5391 from k9mail/fix_AndroidAlarmManager
Fix AndroidAlarmManager dropping alarms
2021-07-08 22:30:38 +02:00
cketti
cac4874f25 Fix AndroidAlarmManager dropping alarms
It was possible that the 'callback' property was set to 'null' after another alarm was already scheduled. This meant the callback function wasn't called when the next alarm went off.
2021-07-08 18:49:30 +02:00
plan3d
68fd9cf819 Issue #2490: Inline attachments are included in forwarded messages 2021-07-06 21:00:18 +02:00
cketti
7580c04d6c Don't allow an IDLE refresh interval of 1 minute 2021-07-05 17:38:49 +02:00
cketti
95ecac8893 Close all Push connections when Android connects to another network
When the default network changes Android usually kills connections established over the old network after a little while. K-9 Mail treats this as a regular network error and sleeps for 5 minutes before trying to re-establish the Push connection(s). Closing old connections and opening new ones when a network change is detected avoids this error.
2021-07-04 21:27:38 +02:00
cketti
830b358ff3 Change 'ConnectivityChangeListener' interface
Distinguish between 'connectivity changed' and 'connectivity lost' events.
2021-07-04 21:17:06 +02:00
cketti
0073913279 Show snackbar in MessageList to get to "What's new" when the app was updated 2021-07-03 14:32:40 +02:00
cketti
1a12ab3177 Add new setting: showRecentChanges 2021-07-03 14:13:29 +02:00
cketti
ed25609df0
Merge pull request #5377 from k9mail/GeneralSettingsManager
Introduce GeneralSettingsManager
2021-07-01 19:06:34 +02:00
cketti
991f814980 Introduce GeneralSettingsManager
A first step towards moving away from the global mutable state in `K9`.
2021-07-01 17:47:10 +02:00
cketti
206c7378a8 Don't reuse AccountsLiveData instance
When the last account is deleted while AccountsLiveData is active it will hold on to an empty list. Then, when an account is added again and AccountsLiveData becomes active again, the empty list is emitted before the list containing the new account is emitted. This lead to the onboarding screen being shown when it shouldn't have. Not holding on to old AccountsLiveData instances will get rid of this problem.
2021-06-30 22:49:57 +02:00
cketti
4f7fb64117 Prepare for version 5.738 2021-06-26 23:57:28 +02:00
cketti
7b10d6bb3f Version 5.737 2021-06-26 23:53:30 +02:00
cketti
198975dda3 Use ConnectivityManager.registerDefaultNetworkCallback() on API 24+ 2021-06-26 23:15:15 +02:00
cketti
ec6e976198
Merge pull request #5370 from k9mail/inbox_push_class
Set push class of Inbox to 'first class' by default
2021-06-26 22:37:50 +02:00
cketti
f9f5f8eb1c Set push class of Inbox to 'first class' by default 2021-06-26 22:17:24 +02:00
cketti
fe4282a03c
Merge pull request #5368 from k9mail/connectivity_manager_network_change
Make ConnectivityManager notify when the active network changes
2021-06-26 22:02:16 +02:00
cketti
1bd3173f71 Don't start PushService if there are no Push-enabled accounts 2021-06-26 21:22:19 +02:00
cketti
0ca3c5575f Make ConnectivityManager notify when the active network changes
Also fix how isNetworkAvailable() works. We now always query the active network (if there is one).
2021-06-26 21:11:33 +02:00
cketti
00f1d684e9 Prepare for version 5.737 2021-06-24 15:54:45 +02:00
cketti
eb8fa56860 Version 5.736 2021-06-24 15:46:42 +02:00
cketti
e6f152a00c Remove migration that enabled polling when we temporarily disabled push 2021-06-24 15:22:10 +02:00
cketti
ac131758b1 Make sure PushController only deals with Push accounts
We could end up with a non-Push-capable account that has `folderPushMode` set to something other than `NONE` due to missing checks in the settings import code. See issue #5363.
2021-06-24 15:22:10 +02:00
cketti
81aab8945f Hide Push-related settings when account doesn't support Push 2021-06-24 15:22:10 +02:00
cketti
54a2cf8e28 Rewrite 'folderPushMode' value of non-IMAP accounts to 'NONE' 2021-06-24 15:22:10 +02:00
cketti
211ffb98df Set default value of 'Push folders' to 'None' 2021-06-24 14:22:00 +02:00
cketti
d410ad3576 Prepare for version 5.736 2021-06-24 14:01:36 +02:00
cketti
dfcea339a3 Version 5.735 2021-06-24 13:36:05 +02:00
cketti
44d6023e23
Merge pull request #5361 from k9mail/idle_config
Re-enable "advanced" IMAP IDLE settings screen
2021-06-24 12:59:43 +02:00
cketti
3c354940e3 Update translations 2021-06-23 18:05:16 +02:00