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