Commit graph

2627 commits

Author SHA1 Message Date
cketti
ad337c0395 Move mime type utility functions to :k9mail:app:core 2022-05-02 14:41:55 +02:00
cketti
d69c1f4c46 Add simple logging abstraction
Once there's a JVM artifact for Timber, hopefully all we have to do is replace the imports again.
2022-05-02 02:44:35 +02:00
cketti
7f343e4fd1 Move DefaultTrustedSocketFactory 2022-04-28 22:18:14 +02:00
cketti
4ad2e04cff Decouple WebDavSocketFactory from DefaultTrustedSocketFactory 2022-04-28 22:02:48 +02:00
cketti
e2609f3a46 Move MailTo and ListHeaders classes 2022-04-28 18:56:53 +02:00
cketti
53ea4fcc2d Silently ignore the APG crypto provider if found 2022-04-25 23:35:48 +02:00
cketti
9dc86ba522
Merge pull request #6019 from k9mail/simplify_imap_compression_setting
Simplify IMAP compression setting
2022-04-20 17:06:46 +02:00
cketti
eb305db65d
Merge pull request #6008 from arissystem/Issue-6007
Disable messageview_show_next item when messageview_return_to_list is checked
2022-04-20 14:11:10 +02:00
cketti
a042e66367 Merge branch '6.0-MAINT' into main 2022-04-20 14:06:35 +02:00
cketti
0a8f9b45f2 Version 6.000 2022-04-17 20:21:06 +02:00
cketti
72e679dca0 Add migration for IMAP compression in settings file 2022-04-12 21:58:15 +02:00
cketti
814583a89e Add migration for persisted IMAP compression preference 2022-04-12 21:58:15 +02:00
cketti
7be4ea62fe Remove ImapStore's dependency on ConnectivityManager 2022-04-12 21:58:15 +02:00
cketti
a796b1d941 Change IMAP code to use single compression setting 2022-04-12 21:58:15 +02:00
cketti
903d0f43c4 Change Account to use a single setting for IMAP compression 2022-04-12 21:58:15 +02:00
cketti
0a60b7ce21 Simplify UI to configure IMAP compression 2022-04-12 21:58:15 +02:00
cketti
391d45d52b Merge branch '6.0-MAINT' into main 2022-04-12 00:23:08 +02:00
cketti
58b4cb02a9 Version 5.916 2022-04-12 00:05:37 +02:00
cketti
bd76b75bb4 Merge branch 'pr_6006' into 6.0-MAINT 2022-04-11 23:43:12 +02:00
cketti
f427326da6 Simplify error notifications 2022-04-11 20:15:51 +02:00
cketti
e815d318aa Don't set notification sound/vibration/light on Android 8+
On Android 8+ these values should be ignored anyway. But on some devices setting a notification sound could lead to a SecurityException (when the app doesn't have permission to access the notification sound URI).
2022-04-11 20:15:51 +02:00
cketti
c415635ae0 Prepare for version 5.916 2022-04-11 20:15:18 +02:00
cketti
31860a209e Fix usage of ContentResolver.openOutputStream() 2022-04-11 17:40:36 +02:00
cketti
6da9195179 Truncate file when overwriting existing settings file 2022-04-11 17:40:36 +02:00
cketti
dc9e667d53
Merge pull request #6006 from arissystem/issue-6004
Save and restore activeMessages in savedInstanceState to avoid NullPointerException
2022-04-11 16:29:09 +02:00
Alexandre
0dbca2dddf Append a space to » and › in messages list. 2022-04-11 15:13:54 +02:00
cketti
9b9b3d8f69 Prepare for version 6.100 2022-04-11 15:09:42 +02:00
r.zarchi
37bf6965d6 Disable messageview_show_next item when messageview_return_to_list is checked 2022-04-11 11:09:29 +04:30
r.zarchi
85a19ccb2b Save and restore activeMessages in savedInstanceState to avoid NullPointerException when rotating 2022-04-10 11:48:41 +04:30
cketti
d9153f4c20 Version 5.915 2022-04-06 17:39:51 +02:00
cketti
7f57fa286c Update translations 2022-04-06 16:50:45 +02:00
cketti
0c381c2bcd
Merge pull request #6002 from k9mail/Issue-5961
Fix issues when switching between LTR and RTL languages
2022-04-06 16:05:14 +02:00
cketti
d6f218b3ec
Merge pull request #6000 from k9mail/fix_update_notification_preferences
Fix reading notification settings from `NotificationChannel`
2022-04-06 15:59:45 +02:00
cketti
bf8ab4e6cf
Merge pull request #5998 from arissystem/Issue-5961
Activity recreate method changed because it didn't work properly on some Android versions
2022-04-05 16:48:20 +02:00
cketti
685374dad8 Explicitly set the layout direction on Android 12+ 2022-04-05 16:37:57 +02:00
cketti
49160cb1a9 Always use ActivityCompat.recreate() 2022-04-05 15:15:38 +02:00
r.zarchi
c3d5928c1f Activity recreate method changed because it didn't work properly on Android older than 9 2022-04-05 10:42:18 +04:30
cketti
6721a15663 Fix importing multiple accounts 2022-04-04 19:30:15 +02:00
cketti
486593919e Don't use app vibration defaults in NotificationVibrationDecoder
The code didn't handle the case where vibration was enabled but the pattern was `null` (system default).
2022-04-04 18:53:10 +02:00
cketti
f30a8ca3bb Use NotificationSettingsUpdater in AccountSettingsFragment 2022-04-04 18:53:10 +02:00
cketti
0e78b8aae6 Version 5.914 2022-03-24 18:41:05 +01:00
cketti
2483b975b9 Update translations 2022-03-24 18:04:44 +01:00
cketti
d53dc73e07
Merge pull request #5979 from k9mail/GH-5978_fix_folder_not_found_crash
Avoid crash when trying to open non-existent folder
2022-03-24 17:19:16 +01:00
cketti
322c8be4ae Avoid crash when trying to open non-existent folder
For now we load the default folder instead.
2022-03-21 18:48:17 +01:00
cketti
0f3df9d2e2 Avoid UninitializedPropertyAccessException 2022-03-21 17:54:45 +01:00
cketti
372252710d Update name/description of notification channels when app locale changes 2022-03-17 18:35:59 +01:00
cketti
aa842efea8 Set messagesNotificationChannelVersion on settings import
Avoid reusing previously created notification channels when restoring an account using settings import.
2022-03-15 00:39:28 +01:00
cketti
47441a9837 Prepare for version 5.914 2022-03-11 19:30:13 +01:00
cketti
40e446c442 Version 5.913 2022-03-11 19:30:13 +01:00
cketti
09ebe08f33 Update translations 2022-03-11 18:58:42 +01:00
cketti
075324af14 Clean up code to update notification channels 2022-03-11 18:44:36 +01:00
cketti
8206cbce4c Update accounts with NotificationChannel configurations before exporting settings 2022-03-10 16:06:46 +01:00
cketti
803e388b90 Extract logic to convert system vibration pattern into NotificationVibrationDecoder 2022-03-10 16:06:46 +01:00
cketti
25c0e4af43 Extract vibration settings to separate class NotificationVibration 2022-03-09 22:35:13 +01:00
cketti
f3241622d5 Avoid race condition when selecting a notification sound 2022-03-08 23:51:45 +01:00
cketti
aa90f4369d Avoid race condition when recreating the messages NotificationChannel 2022-03-08 22:53:22 +01:00
cketti
d784151ef0 Add support for updating existing notifications 2022-03-08 18:29:27 +01:00
cketti
4581bf3f8b Update SearchPreference to version 2.1.0 2022-03-04 00:55:16 +01:00
cketti
d5baa9982d Update Jsoup to version 1.14.3 2022-03-04 00:55:16 +01:00
cketti
eb1ea4f246 Update MaterialDrawer to version 8.4.5 2022-03-04 00:55:16 +01:00
cketti
7814b138d3 Update AndroidX Preference to version 1.2.0 2022-03-04 00:55:16 +01:00
cketti
c34340e14f Update AndroidX Navigation to version 2.4.1 2022-03-04 00:55:16 +01:00
cketti
e24d51a437 Remove @OptIn annotations that are now unnecessary 2022-03-03 16:55:36 +01:00
cketti
4c67bbd156 Update kotlinx-coroutines to version 1.6.0 2022-03-03 16:52:44 +01:00
cketti
f66f7e5073 Use account settings when creating the NotificationChannel for messages 2022-03-01 16:42:33 +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
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
7413ee653a Update translations 2022-02-22 20:59:13 +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
66903ae692 Revert "Button bar in navigation drawer"
This reverts commit 96b7ca26
2022-02-22 17:59:42 +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
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
ad18dc2f74 Create Outbox if necessary when attempting to send a message 2022-02-21 16:58:43 +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
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
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
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
56ac6ab0bd Rework notification light setting 2022-02-11 23:56:12 +01:00
cketti
4d0bbd1e8a Remove rows from 'notifications' table when clearing notifications 2022-02-10 01:49:53 +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
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
deecc9ea16 Fix NotificationChannel recreation avoidance logic 2022-02-07 19:22:03 +01:00
cketti
d161f7972d
Merge pull request #5895 from k9mail/vibration_pattern
Unify settings to configure notification vibration
2022-02-07 18:29:52 +01:00
cketti
173dded6b0
Merge pull request #5896 from k9mail/keep_doctype
Retain doctype when sanitizing HTML
2022-02-07 17:43:31 +01:00
cketti
d4d3fe2a98 Retain doctype when sanitizing HTML 2022-02-05 17:34:32 +01:00
cketti
64c6bcd48f Unify settings to configure notification vibration 2022-02-04 06:52:52 +01:00
cketti
4c875027a6 Crash app when trying to add duplicate notification on debug builds
This is not a critical error. So we're not crashing release builds. We could skip the duplicate notification in release builds. But the hope is that users will notice them and report a bug, allowing us to find and fix the root cause rather than the symptom.
2022-02-03 02:16:06 +01:00
cketti
a4e1a77892 Switch to mockito-inline 2022-02-03 01:10:52 +01:00
cketti
979a9b4968
Extract string resource (#5888) 2022-01-28 19:08:08 +01:00
cketti
587e964e87
Merge pull request #5885 from k9mail/html_cleaner_cli
Add command line application to sanitize HTML files
2022-01-28 16:53:10 +01:00
cketti
362ecae297 Fix HtmlProcessor/HtmlSanitizer parameter types 2022-01-28 04:40:30 +01:00
cketti
6e9a8f9559 Move HtmlProcessor into a separate module 2022-01-28 04:40:30 +01:00
parkerfath
1265d0724b
Open Outbox from 'send failed' notification (#5887) 2022-01-28 03:33:06 +01:00
cketti
f74d1c0fee Change HtmlProcessor to retrieve custom <head> contents from an interface 2022-01-26 03:19:48 +01:00
cketti
7c05ec5b21 Don't use dependency injection for HtmlSanitizer 2022-01-26 03:12:11 +01:00
cketti
013e0dc788 Convert 'HtmlProcessor' to Kotlin 2022-01-26 03:05:42 +01:00
cketti
f84ebecd73 Rename .java to .kt 2022-01-26 02:57:01 +01:00
cketti
4f7bda0c29 Convert 'HeadCleaner' to Kotlin 2022-01-26 02:44:57 +01:00
cketti
2dd2b7492c Rename .java to .kt 2022-01-26 02:44:04 +01:00
cketti
cfc4c0bb71 Prepare for version 5.911 2022-01-25 19:41:32 +01:00
cketti
5c35d08f93 Version 5.910 2022-01-25 19:29:44 +01:00
cketti
262f97812f Remove JMAP app
The JMAP backend is still part of the repository. Only currently unused.
2022-01-20 00:28:01 +01:00
parkerfath
fda4e8243a
Allow remote search by default (#5867) 2022-01-20 00:20:22 +01:00
schlagi123
e8a798c9de
Change default color for registered contacts (#5865)
Change default value of `registeredNameColor` to have enough contrast in both the light and dark theme.
2022-01-20 00:10:05 +01:00
cketti
0e703cb380
Merge pull request #5864 from schlagi123/#5800
Trim usernames entered in setup screens
2022-01-15 01:08:20 +01:00
Bastian Wilhelm
1ffc7ba02c Remove warnings 2022-01-14 23:01:44 +01:00
Bastian Wilhelm
1efec7828f Trim username by setup 2022-01-14 23:01:44 +01:00
parkerfath
722e6b923f
Change delimiter in address fields from ASCII 0 to 1 (#5863)
Fixes search by sender name.

Co-authored-by: Fath <fath@147dda1a2773.ant.amazon.com>
2022-01-14 19:40:28 +01:00
cketti
343ead3fda Prepare for version 5.910 2022-01-12 16:33:30 +01:00
cketti
0269cd5df7 Version 5.909 2022-01-12 16:24:24 +01:00
cketti
35ac4b3726 Update translations 2022-01-12 15:04:25 +01:00
cketti
6e6fd8623a Only remove notifications for messages currently displayed
This only works for the Unified Inbox, the "new messages" view, and when viewing a single folder. Search views are currently not supported.
2022-01-11 01:46:01 +01:00
cketti
2dff253d43 Change code to remove notifications to accept a selector function 2022-01-10 22:01:13 +01:00
cketti
88e823d685
Merge pull request #5856 from k9mail/opening_message_from_notification
Open message from notification in Unified Inbox if possible
2022-01-10 18:25:54 +01:00
cketti
affc355e4a
Merge pull request #5854 from k9mail/fix_outbox_message_count
Trigger folder list update when a message has been sent
2022-01-10 18:23:41 +01:00
cketti
91c0787fa5 Open message from notification in Unified Inbox if possible 2022-01-09 23:10:04 +01:00
cketti
d68b326994 Trigger folder list update when a message has been sent 2022-01-09 08:12:29 +01:00
cketti
54ac569ea9 Don't intercept key events when the search view in the toolbar is expanded 2022-01-08 19:42:00 +01:00
cketti
b05c0ea5c4 Prepare for version 5.909 2022-01-06 00:08:41 +01:00
cketti
aa560736a6 Version 5.908 2022-01-05 23:56:41 +01:00
cketti
3b59a87329 Update translations 2022-01-05 22:29:11 +01:00
cketti
17e69419b8 Remove now unused BackendFolder.getLastUid() 2022-01-05 20:21:58 +01:00
cketti
2331626170 Add a migration to seed the new location with the highest known UID 2022-01-05 20:21:58 +01:00
schlagi123
30f5cac95e
Make ThemeManager listen to theme setting changes (#5833)
This way importing settings will automatically apply the imported theme value.
2021-12-29 23:03:49 +01:00
cketti
8bf1eb72a5 Prepare for version 5.908 2021-12-27 20:16:45 +01:00
cketti
cbd2ded456 Version 5.907 2021-12-27 20:06:15 +01:00
cketti
09ea6bd7e8
Merge pull request #5837 from k9mail/no_vibrator
Hide notification vibration settings when there's no vibrator hardware
2021-12-27 18:56:19 +01:00
cketti
5a57ccd307 Update translations 2021-12-26 22:35:31 +01:00
cketti
14f2988d13 Hide notification vibration settings when there's no vibrator hardware 2021-12-26 22:11:37 +01:00
cketti
955b22b970 Add support for setting the notification vibration pattern on Android 8+ 2021-12-22 02:59:27 +01:00
cketti
53112bc5fb
Merge pull request #5831 from k9mail/vibration_pattern
Change UI to configure the notification vibration pattern
2021-12-22 02:09:39 +01:00
cketti
7ee57170dc Tweak strings related to vibration patterns 2021-12-22 01:32:23 +01:00
cketti
448439609f Change UI to configure the notification vibration pattern 2021-12-22 01:32:23 +01:00
schlagi123
1ab5b8a3e6
Fix hotkey handling (take keyboard layout into account) 2021-12-18 20:42:55 +01:00
cketti
6c236be16d Make NotificationsPreference always use the current notification channel ID 2021-12-15 19:05:59 +01:00
cketti
69490a2c43 Add support for changing the notification light color on Android 8+
Android doesn't support changing this setting on an existing NotificationChannel. So we delete the existing NotificationChannel and create a new one with the same settings as the old one and the new notification light color.
2021-12-15 19:05:59 +01:00
cketti
36364f0463 Display notification light color picker on API 26+ devices 2021-12-15 19:05:59 +01:00
cketti
fc5aa0a004 Specify which colors to display in notification LED color picker 2021-12-14 01:38:48 +01:00
cketti
3298a8e90d Add message notification channel versioning 2021-12-13 21:23:51 +01:00
cketti
fd920971b8 Mark all messages as "not new" when summary notification is dismissed 2021-12-11 18:56:02 +01:00
cketti
a8937a2a2d Mark all messages as "not new" when leaving the "New messages" view 2021-12-11 15:41:15 +01:00
cketti
4e3d8789e3 Mark a message as "not new" when opening it for viewing 2021-12-11 15:41:15 +01:00
cketti
8e12d05a1d Update summary notification click behavior
Open "New messages" view when tapping the summary notification and not all messages either belong to the Unified Inbox or to a single folder.
2021-12-11 15:41:15 +01:00
cketti
386dd9073f Update 'new_message' column when adding and removing notifications 2021-12-11 15:41:15 +01:00
cketti
245404d6e4 Add 'new_message' column to 'messages' table 2021-12-11 15:41:15 +01:00
cketti
32ce0f8764 Select proper account when opening Unified Inbox from a notification 2021-12-09 22:41:10 +01:00
cketti
c289c74238 Update summary notification click behavior
When tapping the summary notification and all new messages belong to folders that are included in the Unified Inbox, we display the Unified Inbox.
2021-12-09 22:21:55 +01:00
cketti
13f769a74b
Merge pull request #5820 from k9mail/single_message_notification_action
Fix back button behavior in MessageList
2021-12-09 18:51:52 +01:00
cketti
14c8127e65 Add support for "message view only" mode
This is used when opening a message from the message list widget. Pressing the back button will finish the Activity, returning to the home screen instead of returning to the message list screen inside the app.
2021-12-09 02:18:35 +01:00
cketti
514802e010 Make sure the message list widget reuses an existing MessageList activity 2021-12-09 02:01:40 +01:00
cketti
6c54b324d6 Switch back to using launchMode="singleTop" for MessageList
We previously removed it because using the default launcher intent would open the default folder instead of just bringing the app to the foreground. We now handle that case by ignoring the default launcher intent in MessageList.onNewIntent().

See 97a75a54ef
2021-12-09 01:50:56 +01:00
cketti
3d04523429 Set account color on status/error notifications 2021-12-08 17:46:35 +01:00
cketti
4da9e023be Create public version for authentication error notifications
Don't expose account name or error details when Android is configured to hide sensitive information on the lock screen.
2021-12-08 02:37:21 +01:00
cketti
57d7616d5a Create public version for certificate error notifications
Don't expose account name or error details when Android is configured to hide sensitive information on the lock screen.
2021-12-08 02:37:21 +01:00
cketti
c47d79094c Create public version for send failed notifications
Don't expose error details when Android is configured to hide sensitive information on the lock screen.
2021-12-08 02:37:21 +01:00
cketti
725c32ea0c Create public versions for sync/sending notifications
When Android is configured to not show sensitive notification content, we no longer display account and folder names on the lock screen.
2021-12-08 02:22:18 +01:00
cketti
5d6f0fe8f5 Prepare for version 5.907 2021-12-07 21:07:24 +01:00
cketti
30cdcd5943 Version 5.906 2021-12-07 21:00:41 +01:00
cketti
084adb0769 Update translations 2021-12-07 20:29:07 +01:00
cketti
f042e2babd
Merge pull request #5812 from k9mail/fix_vibrate_on_notification
Only set vibration pattern if vibration is enabled
2021-12-07 20:23:40 +01:00
cketti
ec3cfce991
Merge pull request #5809 from k9mail/new_ringtone_preference
Use system's ringtone picker activity for 'new mail ringtone'
2021-12-07 19:50:58 +01:00
cketti
0964d50f2d Only set vibration pattern if vibration is enabled 2021-12-07 02:11:53 +01:00
cketti
81c7482055 Use system's ringtone picker activity for 'new mail ringtone'
With the old picker we can't support custom notification sounds because that requires the READ_EXTERNAL_STORAGE permission.
2021-12-06 01:38:43 +01:00
cketti
229eaa6350 Restore notifications when the app is restarted 2021-12-05 21:51:32 +01:00
cketti
14be46389f Persist data about notifications 2021-12-04 21:59:06 +01:00
cketti
4ff0eddaf2 Add 'notifications' table to the message database 2021-12-03 01:22:39 +01:00
cketti
443a1d5d04 Create NotificationDataStore and make NotificationData immutable 2021-12-02 21:54:58 +01:00
cketti
d4887866c1 Remove unused @JvmStatic and @JvmName annotations 2021-11-30 22:56:09 +01:00
cketti
aee9088874 Save the timestamp when a notification was created for the first time 2021-11-30 01:46:53 +01:00
cketti
981e7fbe70 Improve support for RTL languages in layouts 2021-11-26 22:45:48 +01:00
cketti
c9be254f0a Get rid of Range lint warnings 2021-11-26 21:38:49 +01:00
cketti
caf341c187 Remove obsolete SDK version identifiers 2021-11-26 20:21:46 +01:00
cketti
1071f3b9dd Fix warnings in AndroidManifest.xml 2021-11-26 16:11:39 +01:00
cketti
c4d0aa6f49 Replace "android:tint" with "app:tint" in layouts 2021-11-26 16:07:03 +01:00
cketti
71a267a97f Fix path in vector drawable 2021-11-26 16:01:05 +01:00
cketti
3f16553f24 Remove unnecessary attributes 2021-11-26 16:00:23 +01:00
cketti
a3033d1983 Use Timber for logging 2021-11-26 15:52:11 +01:00
cketti
878400c15f Explicitly specify locale in case conversion or string formatting 2021-11-26 15:43:28 +01:00
cketti
c8b8b6eb52 Fix string usage in layout 2021-11-26 15:34:14 +01:00
cketti
9074d6c570 Remove unused strings 2021-11-26 15:23:57 +01:00
cketti
230d0f4a84 Remove unused code (K9.Intents.Share.EXTRA_FROM) 2021-11-26 02:46:58 +01:00
cketti
1fe6b454cd Add support for properly importing/exporting "Auto-expand folder" = "None" 2021-11-24 22:34:46 +01:00
cketti
835eb6a7cc Use the inbox for the auto-expand folder by default 2021-11-24 22:34:46 +01:00
cketti
3754e1a971 Prepare for version 5.906 2021-11-24 22:05:20 +01:00
cketti
a5fa2ddcb4 Version 5.905 2021-11-24 21:45:19 +01:00
cketti
35f8ee9b6d Update translations 2021-11-24 21:20:46 +01:00
cketti
04c114bbca
Merge pull request #5788 from k9mail/notification_refactoring
Separate notification UI/UX logic from notification creation
2021-11-24 21:17:36 +01:00
cketti
e393edb652
Merge pull request #5790 from k9mail/fix_recipient_comparator
Fix Recipient comparator
2021-11-24 18:26:09 +01:00
cketti
b7526588c7 Separate notification UI/UX logic from notification creation 2021-11-24 17:49:14 +01:00
cketti
f9afb31f39 Fix Recipient comparator 2021-11-24 14:53:04 +01:00
Tobias Preuss
f0d3f371f0 Avoid leaking CountingOutputStream.
+ Affects com.fsck.k9.mail.filter.CountingOutputStream.
2021-11-23 09:45:05 +01:00
Tobias Preuss
2db95470db Avoid leaking CountingOutputStream.
+ Affects org.apache.commons.io.output.CountingOutputStream.
2021-11-23 09:44:27 +01:00
cketti
c0c0e05a29
Merge pull request #5783 from k9mail/avoid_glide_crashes
Avoid Glide crash
2021-11-22 20:09:36 +01:00
cketti
d99c8580e6 Avoid Glide crash
This hopefully fixes the check that tests whether the Activity has been destroyed already.
2021-11-20 02:13:36 +01:00
cketti
63364b5c30 Refactor code to export the debug log 2021-11-15 16:29:39 +01:00
ByteHamster
5e741a4d56 Add button to export logs 2021-10-31 19:05:21 +01:00
cketti
61046ef0fd Update Mockito (Kotlin) to version 4.0.0 2021-10-30 05:32:51 +02:00
cketti
dc27893631 Update Android Gradle Plugin to version 7.0.3 2021-10-30 05:32:51 +02:00
cketti
80f29f9b3b Update Koin to version 3.1.3 2021-10-30 05:32:51 +02:00
cketti
ac8e61b6e9 Update AndroidX WorkManager to version 2.7.0 2021-10-30 04:22:16 +02:00
cketti
96f9b3bdd6 Update AppCompat to version 1.3.1
Update AndroidX Core to version 1.7.0
Update AndroidX Activity to version 1.4.0
Update Androidx Fragment to version 1.3.6
Update Androidx Lifecycle to version 2.4.0
2021-10-30 03:28:36 +02:00
cketti
086ce98f44 Add sample data and various tools attributes to layouts 2021-10-27 14:38:18 +02:00
cketti
7209dc0ff2 Set theme in ui-legacy module so the IDE preview picks it up 2021-10-27 04:37:51 +02:00
Dimitri Wauters
c6af46ce58
Don't crash when loading images without internet permission (#5745)
Catch SecurityException when unblocking network load
2021-10-26 18:15:56 +02:00
cketti
a951e07fed
Merge pull request #5752 from k9mail/clock
Convert class 'Clock' to an interface
2021-10-25 18:10:20 +02:00
cketti
20dfc9a75b Convert class 'Clock' to an interface 2021-10-23 04:00:15 +02:00
cketti
bbe015eea8 Rename .java to .kt 2021-10-23 03:53:19 +02:00
cketti
0f278ebfe2 Set subject when forwarding a message as attachment 2021-10-22 19:46:31 +02:00
cketti
01f3be62dd Don't set notification priority to high for starred messages
This is an obscure feature I doubt was used much. It only worked on Android versions prior to 8.0 anyway.
2021-10-18 17:26:24 +02:00
cketti
266064c6cf Add parameter names to Koin declarations 2021-10-15 18:07:53 +02:00
cketti
d42ddd4698 Rename NewMailNotifications to NewMailNotificationController 2021-10-15 18:07:53 +02:00
cketti
7668e14577 Rename MessageSummaryNotifications to SummaryNotificationCreator 2021-10-15 18:07:52 +02:00
cketti
5aa465a68e Rename SingleMessageNotifications to SingleMessageNotificationCreator 2021-10-15 18:07:23 +02:00
cketti
13f64bd0d7 Rename LockScreenNotifications to LockScreenNotificationCreator 2021-10-15 18:07:21 +02:00
cketti
ad5b9a300b Rename SyncNotifications to SyncNotificationController 2021-10-14 17:28:15 +02:00
cketti
f48ff91af8 Rename SendFailedNotifications to SendFailedNotificationController 2021-10-14 17:22:51 +02:00
cketti
05a75b898e Rename CertificateErrorNotifications to CertificateErrorNotificationController 2021-10-14 17:20:30 +02:00
cketti
50187f8b53 Rename AuthenticationErrorNotifications to AuthenticationErrorNotificationController 2021-10-14 17:11:15 +02:00
cketti
8836ed4dec
Merge pull request #5734 from k9mail/remove_base_notifications
Remove BaseNotifications class
2021-10-12 18:49:01 +02:00
cketti
909904fd73 Remove BaseNotifications class 2021-10-11 20:26:26 +02:00
cketti
55ed63dee1 Remove unused code 2021-10-11 19:19:12 +02:00
cketti
7a572731a2 Don't use "unread count" in notifications 2021-10-11 18:42:51 +02:00
cketti
1a853c67f3 Prepare for version 5.905 2021-10-05 18:07:40 +02:00
cketti
179128a4d8 Version 5.904 2021-10-05 18:01:15 +02:00
cketti
2acd674c01 Update translations 2021-10-05 17:24:56 +02:00
cketti
7e80d61f08 Don't limit line length when converting from HTML to plain text 2021-10-04 17:06:06 +02:00
cketti
6050df0d87
Merge pull request #5712 from k9mail/fix_delete_account_crash
Don't crash when trying to load an account that has been removed
2021-10-04 15:15:20 +02:00
cketti
c09a374694 Don't crash when trying to load an account that has been removed 2021-10-04 14:55:58 +02:00
cketti
f22bc94bef Make sure IDs for folders in drawer don't overlap between accounts
Overlapping IDs can trigger item animations between unrelated folders when switching accounts.
2021-09-30 18:41:43 +02:00
cketti
9709610a7b Remove DRAWER_ACCOUNT_SHIFT
The drawer now uses two adapters for the account list and the folder list. So there's no need to keep the ID space separate.
2021-09-30 18:31:48 +02:00
cketti
07569ba424
Merge pull request #5708 from k9mail/remove_AccountsLiveData
Remove AccountsLiveData
2021-09-30 15:39:16 +02:00
cketti
cbd8ab5ded
Merge pull request #5707 from k9mail/fix_account_flow
Avoid crash when getting Flow for non-existent account
2021-09-30 14:11:59 +02:00
cketti
e1aef32042
Merge pull request #5703 from k9mail/choose_folder_ui
Tweak toolbar in 'choose folder' screen
2021-09-30 14:11:14 +02:00
cketti
389b6d340e Remove AccountsLiveData 2021-09-29 23:58:00 +02:00
cketti
84eca27d4f Avoid crash when getting flow for non-existent account 2021-09-29 23:47:34 +02:00
cketti
b2c998f0c5 Convert MessageReferenceTest to Kotlin 2021-09-29 15:51:30 +02:00
cketti
f17f0c6630 Rename .java to .kt 2021-09-29 15:51:30 +02:00
cketti
7d984f8918 Convert MessageReference to Kotlin 2021-09-29 15:38:23 +02:00
cketti
44275da943 Rename .java to .kt 2021-09-29 15:38:23 +02:00
cketti
8ae5378942 Remove Flag from MessageReference 2021-09-29 15:27:45 +02:00
cketti
4eb0c692d3 Change title of ChooseFolderActivity for copy/move operations 2021-09-28 18:48:53 +02:00
cketti
4d0d81fc79 Display 'close' icon in toolbar of ChooseFolderActivity 2021-09-28 17:28:22 +02:00
cketti
90e985f0c1 Prepare for version 5.904 2021-09-28 16:35:15 +02:00
cketti
9feddf7b09 Version 5.903 2021-09-28 16:00:53 +02:00
cketti
799917d5b8
Merge pull request #5697 from k9mail/demo_backend
Add "demo" backend
2021-09-28 15:28:35 +02:00
cketti
2ad12fbb6d
Merge pull request #5700 from k9mail/MessageStore_getFolderServerId
Moving another method from LocalStore to MessageStore
2021-09-28 15:19:48 +02:00
cketti
fc253f7fae
Merge pull request #5699 from k9mail/StorageManager_cleanup
Remove unused functionality from StorageManager and StorageProvider
2021-09-28 15:17:42 +02:00
cketti
03370b2aca
Merge pull request #5698 from k9mail/small_K9BackendStorage_fix
Don't call MessageStore.deleteFolders() with an empty list
2021-09-28 15:16:25 +02:00
cketti
fd52f60c40
Merge pull request #5696 from k9mail/fix_MemorizingMessagingListener
Make sure "memory key" in MemorizingMessagingListener doesn't change
2021-09-28 15:16:02 +02:00
cketti
96b03b71e5
Merge pull request #5695 from k9mail/fix_lock_screen_notification
Fix lock screen notification when there's only one new message
2021-09-28 15:14:24 +02:00
cketti
a6db05717e Remove LocalStore.getFolderServerId() 2021-09-24 18:55:38 +02:00
cketti
d211b72892 Add MessageStore.getFolderServerId() 2021-09-24 18:52:42 +02:00
cketti
c6936043c6 Remove unused functionality from StorageManager and StorageProvider 2021-09-24 18:39:20 +02:00
cketti
0bc6d380c5 Don't call MessageStore.deleteFolders() with an empty list 2021-09-24 18:22:24 +02:00
cketti
eae910fe8f Add "demo" backend 2021-09-23 22:43:02 +02:00
cketti
526a0440e1 Make sure "memory key" in MemorizingMessagingListener doesn't change
Previously, renaming an account could lead to old sync state being retained. I noticed this when the progress bar beneath the toolbar was shown even though no sync was in progress.
2021-09-23 22:07:44 +02:00
cketti
8f4c10d8b4 Fix lock screen notification when there's only one new message 2021-09-23 12:25:34 +02:00
cketti
8350a62cad
Merge pull request #5692 from k9mail/refactor_TracingPowerManager
Refactor TracingPowerManager
2021-09-23 11:46:01 +02:00
cketti
9bc32ca37a Fix code to pick initial account color 2021-09-22 22:00:29 +02:00
cketti
1cc41ce69d
Merge pull request #5690 from k9mail/remove_legacy_notification_settings
Remove "hide subject in notifications" setting
2021-09-22 18:37:40 +02:00
cketti
a06c54f1ad
Merge pull request #5689 from k9mail/remove_WrappedException
Remove WrappedException
2021-09-22 18:32:33 +02:00
cketti
e9d7606592
Merge pull request #5687 from k9mail/update_folder_list
Update displayed folder list when folders on server have changed
2021-09-22 18:29:37 +02:00
cketti
a63daa50a8 Rename TracingPowerManager to AndroidPowerManager 2021-09-22 12:49:45 +02:00
cketti
cd267a8e8a Use Koin to manage/obtain the TracingPowerManager instance 2021-09-22 12:47:55 +02:00
cketti
3393ae16ed Convert TracingPowerManager to Kotlin 2021-09-22 12:34:36 +02:00
cketti
27cc4d34ca Rename .java to .kt 2021-09-22 12:33:13 +02:00
cketti
8a0a56d671 Remove (unused) timer functionality from TracingPowerManager 2021-09-22 12:11:55 +02:00
cketti
1ff1bd8454 Remove "hide subject in notifications" setting
This feature didn't work properly. And the "lock screen notifications" setting offers very similar functionality.
2021-09-21 19:59:30 +02:00
cketti
1231bd5975 Remove WrappedException 2021-09-21 16:33:31 +02:00
cketti
2e1b002b21 Update displayed folder list when folders on server have changed 2021-09-21 14:30:32 +02:00
cketti
9990908640 Remove default account setting
The first account in the account list is now the default account.
2021-09-21 13:52:48 +02:00
cketti
51e6820d92
Merge pull request #5677 from k9mail/remove_Account_isAvailable
Remove Account.isAvailable()
2021-09-21 13:19:02 +02:00
cketti
8e002b7432 Prepare for version 5.903 2021-09-21 12:43:43 +02:00
cketti
602e509528 Version 5.902 2021-09-21 12:40:33 +02:00
cketti
d57b85b820 Fix notification sound for single message "summary" notification 2021-09-18 19:19:41 +02:00
cketti
128e06e42a Prepare for version 5.902 2021-09-17 12:04:30 +02:00
cketti
e4b585bcc2 Version 5.901 2021-09-17 11:47:20 +02:00
cketti
18fbb45352 Remove UnavailableStorageException 2021-09-17 11:06:17 +02:00
cketti
0167d8dfef Remove UnavailableAccountException 2021-09-17 10:56:53 +02:00
cketti
fb8f98486f Remove Account.isAvailable() 2021-09-17 10:47:03 +02:00
cketti
129557da99 Remove storage provider locking 2021-09-17 10:37:11 +02:00
cketti
219648f142 Get rid of mount/unmount receivers for external storage
We no longer support storing the database on "external storage". Even when migrating old databases chances are very slim "external storage" actually is a removable storage device.
2021-09-17 10:01:14 +02:00
cketti
73bcfb3837 Remove unused class FixedStorageProviderBase 2021-09-17 09:47:34 +02:00
cketti
29e1593d79 Update sync notification instead of recreating it for every folder 2021-09-17 05:31:58 +02:00
cketti
79514fbad1 Replace Account.setRingNotified() mechanism
MessagingController now uses NotificationState to make sure there's only one audible notification during a single sync operation.
2021-09-16 17:54:56 +02:00
cketti
0129dbb02d
Merge pull request #5666 from k9mail/refactor_notification_code
Refactor notification code
2021-09-16 16:51:37 +02:00
cketti
ad21449a0b Refactor notification code 2021-09-16 12:42:51 +02:00
cketti
d061e5aab5
Merge pull request #5668 from k9mail/reply_to_header_in_drafts
Load Reply-To header from draft messages
2021-09-16 05:46:28 +02:00
cketti
cc715dfcae
Merge pull request #5667 from k9mail/fix_split_screen
Fix split screen
2021-09-16 05:45:29 +02:00
cketti
54a04c3480
Merge pull request #5664 from k9mail/hide_notification_categories
Hide notification category settings on old Android versions
2021-09-16 05:44:40 +02:00
cketti
cb45bc7d65 Load Reply-To header from draft messages 2021-09-15 10:18:30 +02:00
cketti
bf509aac03 Fix "home" icon in split-screen view 2021-09-14 19:29:28 +02:00
cketti
4b590956e7 Extract drawer layout to a separate file
Use this layout for both the regular message list view and the split screen view.
2021-09-14 19:22:21 +02:00
cketti
c902667f61 Hide notification category settings on old Android versions 2021-09-13 17:10:39 +02:00
cketti
fb1fcf2fe0 Display unread/starred message count for Unified Inbox 2021-09-13 16:45:09 +02:00
cketti
e92b132369 Clean up ReplyToPresenter and ReplyToView 2021-09-13 14:52:28 +02:00
plan3d
5437fd2024 Issue #5611: Add support for setting Reply-To header 2021-09-13 14:52:28 +02:00
cketti
f52c1e332e Prepare for version 5.901 2021-09-09 13:48:54 +02:00
cketti
c4cac8c5e8 Version 5.900 2021-09-09 13:37:54 +02:00
cketti
b4c7d1c8bb Update translations 2021-09-09 13:02:50 +02:00
cketti
c3cc57658b
Merge pull request #5645 from ByteHamster/read-icon
Make unread icon look less like a compose button
2021-09-09 12:56:08 +02:00
cketti
0c413e34a7
Merge pull request #5650 from k9mail/show_gitlab_usernames
Show name part of certain addresses even if they contain an @ symbol
2021-09-09 12:47:00 +02:00
cketti
b71ad45057
Merge pull request #5649 from k9mail/small_drawer_fix
When switching accounts don't update accounts and folders in drawer twice
2021-09-09 12:46:04 +02:00
ByteHamster
29fb1baaad Make unread icon look less like a compose button 2021-09-06 18:24:08 +02:00
cketti
9156e8f699 Show name part of certain addresses even if they contain an @ symbol 2021-09-06 07:58:05 +02:00
cketti
9d7b9dd313 When switching accounts don't update accounts and folders in drawer twice 2021-09-06 00:20:31 +02:00
cketti
c0f7996858 Move accounts flow code from AccountsViewModel to Preferences 2021-09-05 22:53:21 +02:00
cketti
c92baae802
Merge pull request #5644 from k9mail/fix_callback_flow
Fix sending results in callback Flows
2021-09-05 22:29:01 +02:00
cketti
65b25df582 Make sure attachment box isn't cut off on small screens 2021-09-05 21:33:49 +02:00
cketti
58498b8fc2 Fix sending results in callback flows
Launching new coroutines to deliver the results from the callback to the channel can lead to the results arriving out of order.
2021-09-04 18:45:46 +02:00
cketti
beeebe2589 Remove FoldersLiveData 2021-09-02 21:50:35 +02:00
cketti
2f52fd5fb6 Rewrite ChooseFolderViewModel to use Flow 2021-09-02 21:49:35 +02:00
cketti
ddda3f88df Rewrite ManageFoldersViewModel to use Flow 2021-09-02 21:36:11 +02:00
cketti
288486e247 Rewrite FoldersViewModel to use Flow 2021-09-02 21:04:03 +02:00
cketti
a36d7e9d78
Merge pull request #5633 from k9mail/notification_tests
Convert notification tests to Kotlin
2021-09-02 19:13:02 +02:00
cketti
d5fc337a45
Merge pull request #5632 from k9mail/MessageStore_message_count
Move LocalFolder.getMessageCount() to MessageStore
2021-09-02 17:47:16 +02:00
cketti
b59ef8513a Merge branch 'update_providers' into main
See pull request #5638
2021-09-02 17:39:00 +02:00
abawany
80f1816d30 Add two domains of the email provider Mailo to providers.xml 2021-09-02 17:36:39 +02:00
cketti
c8268dbe45 Convert notification tests to Kotlin 2021-09-01 02:19:46 +02:00
cketti
140da14939 Rename .java to .kt 2021-09-01 02:18:54 +02:00
cketti
701b640da3 Move LocalFolder.getMessageCount() to MessageStore 2021-08-31 18:38:16 +02:00
cketti
5793d2e68f Convert RecipientPresenter to Kotlin 2021-08-31 15:09:17 +02:00
cketti
9a0c6843a7 Rename .java to .kt 2021-08-31 06:38:11 +02:00
cketti
f564d0247c Merge branch '5.8-MAINT' into main 2021-08-30 21:13:42 +02:00
cketti
f9a08fbc15 Version 5.806 2021-08-30 19:50:27 +02:00
cketti
74f7eed769
Merge pull request #5620 from k9mail/refactor_FolderRepository
Remove FolderRepositoryManager
2021-08-27 22:28:24 +02:00
cketti
f2f8e4d0f3 Remove FolderRepositoryManager
Instead we use one FolderRepository instance and pass Account as parameter to individual functions.
2021-08-26 22:34:57 +02:00
cketti
6084321bde Update Kotlin to 1.5.30
Replace calls to deprecated stdlib functions
2021-08-26 17:44:49 +02:00
cketti
e0fe1a2dfa
Merge pull request #5618 from k9mail/convert_to_kotlin
Convert classes in the "notification" package to Kotlin
2021-08-26 16:51:20 +02:00
cketti
5bba535699 Convert notification classes to Kotlin 2021-08-26 01:36:25 +02:00
cketti
ed6cbe1c4b Rename .java to .kt 2021-08-26 01:35:18 +02:00
cketti
d9bf7b491e
Merge pull request #5603 from k9mail/format_flowed_reply
Properly decode format=flowed body before including the text in a reply
2021-08-24 18:57:35 +02:00
cketti
b73659c149
Merge pull request #5598 from k9mail/move_LocalStore_compact
Move LocalStore.compact() to MessageStore
2021-08-24 16:37:45 +02:00
cketti
6825d3da97
Merge pull request #5596 from k9mail/tweak_translation
Tweak title for biometrics prompt when revealing password
2021-08-23 16:26:37 +02:00
cketti
9ee3a76ef1 Move format=flowed decoding to MessageExtractor 2021-08-22 16:20:15 +02:00
cketti
93a1df5bd0 Remove LocalStore.getFolderId() 2021-08-21 22:45:40 +02:00
cketti
f09f2d4003 Move LocalStore.compact() to MessageStore 2021-08-21 22:39:09 +02:00
cketti
baa94b84b9 Remove unused code 2021-08-21 22:38:10 +02:00
cketti
97b53fb685
Merge pull request #5498 from ByteHamster/drawer-buttons
Button bar in navigation drawer
2021-08-21 21:31:56 +02:00
cketti
766cf838e0
Merge pull request #5578 from k9mail/ignore_chat_messages
Add setting to suppress notifications for chat messages
2021-08-21 21:26:45 +02:00
cketti
e229254e53
Merge pull request #5574 from k9mail/no_notification_on_first_sync
Don't create notifications when first syncing a folder
2021-08-21 21:22:57 +02:00
cketti
beaefd84d0 Merge branch '5.8-MAINT' into main 2021-08-21 21:17:37 +02:00
cketti
dd151ec61c Version 5.805 2021-08-21 20:43:51 +02:00
cketti
ddff4c6c59
Merge pull request #5597 from k9mail/attachment_save_icon
Change "save attachment" icon
2021-08-21 20:36:58 +02:00
cketti
68ffba6f9e Change "save attachment" icon 2021-08-21 20:02:11 +02:00
cketti
29d112a150 Tweak title for biometrics prompt when revealing password 2021-08-21 19:32:38 +02:00
ByteHamster
96b7ca264d Button bar in navigation drawer 2021-08-20 19:51:35 +02:00
cketti
0ad8ce2c0d Fix check for missing incoming/outgoing server credentials 2021-08-19 23:09:39 +02:00
cketti
3b42061377
Merge pull request #5584 from ByteHamster/authenticate-before-password
Authenticate user before showing password
2021-08-19 19:42:19 +02:00
cketti
eb1b310968 Add migration to rewrite 'last_updated' column 2021-08-18 11:55:55 +02:00
cketti
21102b50dc Set 'last_updated' column to NULL when clearing local messages 2021-08-18 11:55:55 +02:00
cketti
9c185b15cb Remove unnecessary code
Backend.sync() already sets the 'last checked' time.
2021-08-18 11:55:55 +02:00
cketti
326d27476b Don't create notifications when syncing a folder for the first time 2021-08-18 11:55:55 +02:00
cketti
bc366e98eb Add support for retrieving a folder's last checked time via MessageStore 2021-08-18 11:55:21 +02:00
cketti
3252002629 Rename MessageStore.setLastUpdated() to setLastChecked() 2021-08-18 11:53:53 +02:00
cketti
652d52b6a6 Add setting to suppress notifications for chat messages
Messages containing a 'Chat-Version' header field will not generate notifications when this setting is enabled.
2021-08-18 11:17:06 +02:00
cketti
cff6041dc8 Extract code for authenticated password toggle to separate file
Add support for orientation changes and mark screen as secure if password has been revealed.
2021-08-18 04:42:06 +02:00
cketti
f6cb1f9072
Merge pull request #5573 from k9mail/targetSdkVersion30
Upgrade to targetSkdVersion 30
2021-08-18 01:28:19 +02:00
cketti
ddcdc72321
Merge pull request #5519 from andrewfg/starred-unread-count
Display both unread and starred message counts in navigation drawer
2021-08-18 01:05:30 +02:00
cketti
1c922e81da Merge branch '5.8-MAINT' into main 2021-08-18 00:36:19 +02:00
cketti
5055669da9 Version 5.804 2021-08-18 00:21:31 +02:00
cketti
8dc410562a Update translations 2021-08-17 23:29:57 +02:00
cketti
9817beb238
Merge pull request #5581 from k9mail/missing_password
Don't connect to server when incoming/outgoing server passwords are missing
2021-08-17 23:19:18 +02:00
cketti
8dbb3bf41a
Merge pull request #5580 from k9mail/bring_app_to_front
Make sure the app icon always brings the app to the foreground
2021-08-17 23:16:47 +02:00
ByteHamster
942d8e4a8f Authenticate user before showing password 2021-08-17 22:37:40 +02:00
cketti
74a0ed8b93 Remove UnreadMessageCountProvider 2021-08-17 20:02:56 +02:00
cketti
106c132d8d Code cleanup 2021-08-17 19:57:02 +02:00
Andrew Fiddian-Green
4729ae044a Optionally show starred message count in navigation drawer 2021-08-17 19:18:26 +02:00
cketti
46c4e6fd8d Don't connect to server when incoming/outgoing server passwords are missing
If a user imports an account but doesn't provide server passwords, don't attempt to connect to the incoming or outgoing server of that account.
2021-08-17 01:19:41 +02:00