Commit graph

10370 commits

Author SHA1 Message Date
cketti
eb301df95c Update translations 2021-07-22 20:47:09 +02:00
Matt Smith
baed7c09b8 Show full error message in notification 2021-07-17 15:36:18 +12:00
cketti
591af9cdd5 Version 5.740 2021-07-16 17:57:50 +02:00
cketti
14d0194302
Merge pull request #5417 from k9mail/update_translations
Update translations
2021-07-16 17:56:49 +02:00
cketti
016eb671b5 Update translations 2021-07-16 14:43:21 +02:00
cketti
70686c0a94 Fix errors in the 'push_info_disable_push_text' string 2021-07-15 17:14:38 +02:00
cketti
3782449ba4
Merge pull request #5413 from k9mail/push_explanation_screen
Add "Push Info" screen
2021-07-15 15:18:02 +02:00
cketti
26c64806f2 Add "Push Info" screen 2021-07-15 00:20:48 +02:00
cketti
d2ddff565b
Merge pull request #5412 from artbristol/art/no_push_class_local_folder
Do not show push mode for local folders
2021-07-14 15:57:15 +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
03caacc1a7 Make RealImapConnection (somewhat) thread-safe 2021-07-13 16:01:24 +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
5232a1a962 Ignore IOExceptions when sending DONE (Push)
Errors with the connection are dealt with in the receiver thread.
2021-07-13 15:09:09 +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
36f0f97ecd
Merge pull request #5399 from k9mail/fix_whats_new
Upgrade ckchangelog-core to 2.0.0-beta02
2021-07-10 15:29:51 +02:00
cketti
c85196ee0d
Merge pull request #5398 from k9mail/always_drop_wakelock
Fix Push keeping the device awake
2021-07-10 14:46:34 +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
d96641d7a0 Remove optimization to reduce the number of times a wakelock is acquired
ImapConnection.isDataAvailable() didn't reliably work on all devices (returned true when no complete IMAP response was available). This lead to situations where a wakelock was being held the whole time the IDLE command was active. At the same time no alarm was set to refresh the IDLE connection. So most of the time the blocking read would time out.
2021-07-09 18:06:13 +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
5d2dcafada
Merge pull request #5393 from k9mail/fix_saving_settings
Persist general settings on a background thread
2021-07-08 23:13:33 +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
cketti
09ce55e70d
Merge pull request #5330 from plan3d/issue_2490
Include inline attachments in forwarded message
2021-07-08 13:58:27 +02:00
plan3d
68fd9cf819 Issue #2490: Inline attachments are included in forwarded messages 2021-07-06 21:00:18 +02:00
cketti
1809f4a1ef
Merge pull request #5383 from k9mail/idle_refresh_interval
Don't allow an IDLE refresh interval of 1 minute
2021-07-06 18:25:11 +02:00
cketti
7580c04d6c Don't allow an IDLE refresh interval of 1 minute 2021-07-05 17:38:49 +02:00
cketti
5a10d08f8c
Merge pull request #5382 from k9mail/close_connections_on_network_change
[Push] Re-establish connections on network change
2021-07-05 13:48:04 +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
d408a5670e
Merge pull request #5380 from k9mail/close_imap_connections
Add a way to close all open IMAP connections
2021-07-04 19:36:28 +02:00
cketti
152424b20c Add a way to close all open IMAP connections
Use a "connection generation" value to mark all connections that have been created since the last closeAllConnections() call. Using that value we can recognize "old" connections that have not been in the connection pool at the time closeAllConnections() was called. We close them as soon as they are passed to releaseConnection().
2021-07-03 20:04:05 +02:00
cketti
f5c9c32a15
Merge pull request #5379 from k9mail/whats_new
Show "What's new" screen when app was updated
2021-07-03 15:06:50 +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
86c70772cc
Merge pull request #5376 from k9mail/GH-5197_onboarding_again
Don't reuse AccountsLiveData instance
2021-06-30 23:36:32 +02:00