Commit graph

10987 commits

Author SHA1 Message Date
cketti
2c86c196ac Update Kotlin to version 1.6.10
And update Moshi to version 1.13.0 to avoid an incompatibility with Kotlin 1.6
2022-03-03 16:52:44 +01:00
cketti
13b4ba1070 Update Android SDK build tools to version 32.0.0 2022-03-03 16:52:44 +01:00
cketti
82cd9a91cc Update Gradle Wrapper to version 7.4 2022-03-01 18:23:25 +01:00
cketti
b5db89a7a4 Update Android Gradle Plugin to version 7.1.2 2022-03-01 18:17:51 +01:00
cketti
64e46e275b
Merge pull request #5936 from k9mail/notification_channel
Use account settings when creating the NotificationChannel for messages
2022-03-01 17:41:34 +01:00
cketti
f66f7e5073 Use account settings when creating the NotificationChannel for messages 2022-03-01 16:42:33 +01:00
cketti
547a87381b
Merge pull request #5935 from k9mail/callback_cleanup
Callback cleanup
2022-03-01 16:42:22 +01:00
cketti
237a6024e4 Remove unused callbacks 2022-02-24 20:46:58 +01:00
cketti
c206af5ab0 Remove unnecessary method parameter 2022-02-24 20:34:45 +01:00
cketti
51457a6859 Simplify LocalStore.searchForMessages() 2022-02-24 20:28:03 +01:00
cketti
4bed7a595b Remove unused method parameters 2022-02-24 19:56:50 +01:00
cketti
e59f57f602 Remove unused callbacks from MessageRetrievalListener 2022-02-24 19:42:01 +01:00
cketti
065f98cfdd Remove unnecessary method parameters 2022-02-24 19:24:17 +01:00
cketti
f59976ada2
Merge pull request #5934 from k9mail/no_notifications_when_refreshing_message_list
Suppress notifications when manually refreshing the message list
2022-02-24 19:08:26 +01:00
cketti
dea6bf1f01 Don't create notifications when manually refreshing the message list 2022-02-24 00:05:51 +01:00
cketti
58709b156a Remove commented out code 2022-02-22 22:14:21 +01:00
cketti
3a98e7b0ec Prepare for version 5.913 2022-02-22 21:47:45 +01:00
cketti
b165aeaf81 K-9 Mail 5.912 2022-02-22 21:47:45 +01:00
cketti
2152d0d30e
Merge pull request #5932 from k9mail/update_translations
Update translations
2022-02-22 21:47:26 +01:00
cketti
7413ee653a Update translations 2022-02-22 20:59:13 +01:00
cketti
37e406ab50
Merge pull request #5931 from k9mail/remove_notifications_on_action
Remove notification when message is marked as read or deleted
2022-02-22 20:23:29 +01:00
cketti
e1c43beee1 Remove 'new message' notification when user deletes the message
We already handled the case where the deletion was synced from the server. This handles the case where the user locally deletes the message.
2022-02-22 19:22:21 +01:00
cketti
7a784f1fcd Remove 'new message' notification when user marks the message as read
We already handled the case where the message was marked as read on the server. This handles the case where the user marks the message as read locally.
2022-02-22 19:22:21 +01:00
cketti
504062a533
Merge pull request #5929 from k9mail/remove_button_bar
Revert "Button bar in navigation drawer"
2022-02-22 19:22:01 +01:00
cketti
66903ae692 Revert "Button bar in navigation drawer"
This reverts commit 96b7ca26
2022-02-22 17:59:42 +01:00
cketti
3046312be6
Merge pull request #5928 from k9mail/more_notification_logging
Add more logging around notifications
2022-02-22 17:59:21 +01:00
cketti
c0f8c43baa Add logging for summary notifications
These are the notifications responsible for sound/vibration/light.
2022-02-22 17:44:01 +01:00
cketti
48caeffe10 More logging when recreating a NotificationChannel 2022-02-22 17:44:01 +01:00
cketti
6595a513b2
Merge pull request #5918 from k9mail/targetSdkVersion_31
Set `targetSdkVersion` to 31
2022-02-22 02:47:06 +01:00
cketti
fea7b7c7bf Update Robolectric to 4.7.3 2022-02-21 18:43:01 +01:00
cketti
91239f92d2 Update StrictMode policy 2022-02-21 18:43:01 +01:00
cketti
5d102ec610 Set targetSdkVersion to 31 2022-02-21 18:43:01 +01:00
cketti
13b57b7eba Use android:exported="false" when possible 2022-02-21 18:42:27 +01:00
cketti
8847e30cb7 Add appropriate mutability flags to PendingIntents 2022-02-21 18:42:27 +01:00
cketti
e61666db81
Merge pull request #5926 from k9mail/create_outbox
Create Outbox if necessary when attempting to send a message
2022-02-21 16:58:52 +01:00
cketti
ad18dc2f74 Create Outbox if necessary when attempting to send a message 2022-02-21 16:58:43 +01:00
cketti
b94113f8b6
Merge pull request #5925 from k9mail/do_not_expose_MessageProvider
Don't expose MessageProvider to third-party apps
2022-02-21 16:57:37 +01:00
cketti
f6e03ff040 Don't expose MessageProvider to third-party apps
If this was an important feature to you, please contact us and tell us a little bit about your use case.
2022-02-17 20:56:31 +01:00
cketti
b862ab3468
Merge pull request #5923 from k9mail/ringtone_preference
Display "New mail ringtone" setting on Android 8+
2022-02-17 18:25:06 +01:00
cketti
9cf0708683 Display "New mail ringtone" setting on Android 8+
Some vendors don't support changing the notification sound via the system's user interface to configure notification categories.
2022-02-15 21:21:18 +01:00
cketti
6ccc16568c
Merge pull request #5916 from k9mail/fix_share_link
Use intent chooser when sharing links
2022-02-15 19:30:38 +01:00
cketti
aba7168393 Use intent chooser when sharing links
When sharing we don't want the user to be able to select a default app to perform the action.
2022-02-14 18:23:34 +01:00
cketti
4270e398e8 Prepare for version 5.912 2022-02-12 00:52:02 +01:00
cketti
49ceab2b6f Version 5.911 2022-02-12 00:35:19 +01:00
cketti
f2f01f1167
Merge pull request #5909 from k9mail/immutable_storage
Attempt at fixing the "lost all accounts" bug
2022-02-12 00:11:25 +01:00
cketti
55e0288ffe Hold accountLock while saving an account 2022-02-12 00:00:11 +01:00
cketti
ffa0ebb5bb Change the Storage class to be immutable
Also make sure the in-memory state and the database are modified together while a lock is being held.
2022-02-12 00:00:11 +01:00
cketti
ec04a1c827
Merge pull request #5906 from k9mail/rework_notification_led_color_preference
Rework notification light setting
2022-02-11 23:59:41 +01:00
cketti
56ac6ab0bd Rework notification light setting 2022-02-11 23:56:12 +01:00
cketti
18ff960acc
Merge pull request #5905 from k9mail/fix_clear_notification
Remove rows from 'notifications' table when clearing notifications
2022-02-11 21:27:12 +01:00