Commit graph

10915 commits

Author SHA1 Message Date
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
cketti
4d0bbd1e8a Remove rows from 'notifications' table when clearing notifications 2022-02-10 01:49:53 +01:00
cketti
c61b097f8b
Merge pull request #5902 from k9mail/convert_to_kotlin
Convert some classes to Kotlin
2022-02-09 20:26:38 +01:00
cketti
d087fde125 Change NotificationSettings into a data class 2022-02-09 19:36:33 +01:00
cketti
0fb6bd9198 Add a proper type for the vibration pattern the user can select 2022-02-09 19:36:33 +01:00
cketti
c58e357030 Convert 'NotificationSettings' to Kotlin 2022-02-09 19:36:33 +01:00
cketti
6256ec6d89 Rename .java to .kt 2022-02-09 19:36:33 +01:00
cketti
b91c902247 Rename class NotificationSetting to NotificationSettings 2022-02-09 19:36:33 +01:00
cketti
f923da4487 Convert 'Account' to Kotlin 2022-02-09 19:36:33 +01:00
cketti
2dbdca0fc4 Rename .java to .kt 2022-02-09 19:36:33 +01:00
cketti
f196b8ca5e Convert 'SearchAccount' to Kotlin 2022-02-09 19:36:33 +01:00
cketti
566be079c9 Rename .java to .kt 2022-02-08 17:07:38 +01:00
cketti
dee2ca345d Convert 'BaseAccount' to Kotlin 2022-02-08 16:54:15 +01:00
cketti
4583218750 Rename .java to .kt 2022-02-08 16:54:15 +01:00
cketti
388222a74b
Merge pull request #5901 from k9mail/account_display_name
Improve support for empty account name
2022-02-08 16:37:23 +01:00
cketti
8124a78fb6
Merge pull request #5900 from k9mail/logging_account_name
Use `Account.toString()` in log messages
2022-02-08 02:26:40 +01:00
cketti
eff9f1bf5e Improve support for empty account name 2022-02-08 02:23:04 +01:00
cketti
bfc708df19 Use Account.getDisplayName() when appropriate 2022-02-08 02:05:05 +01:00
cketti
19829eb2a2 Rename Account.getDescription() to Account.getName() 2022-02-08 01:13:30 +01:00
cketti
1d601c5c59 Rename Account.getName() to Account.getSenderName() 2022-02-08 00:50:26 +01:00
cketti
ff97264c08 Use Account.toString() in log messages
Have Account.toString() only return the account name when sensitive debug logging is enabled. Otherwise return the account UUID.
2022-02-08 00:16:33 +01:00
cketti
94bee8199b
Merge pull request #5899 from k9mail/fix_notification_channel_recreation
Fix NotificationChannel recreation avoidance logic
2022-02-07 23:06:28 +01:00
cketti
deecc9ea16 Fix NotificationChannel recreation avoidance logic 2022-02-07 19:22:03 +01:00