Commit graph

474 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
981e7fbe70 Improve support for RTL languages in layouts 2021-11-26 22:45:48 +01:00
cketti
caf341c187 Remove obsolete SDK version identifiers 2021-11-26 20:21:46 +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
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
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
f9afb31f39 Fix Recipient comparator 2021-11-24 14:53:04 +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
80f29f9b3b Update Koin to version 3.1.3 2021-10-30 05:32:51 +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
20dfc9a75b Convert class 'Clock' to an interface 2021-10-23 04:00:15 +02:00
cketti
7a572731a2 Don't use "unread count" in notifications 2021-10-11 18:42:51 +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
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
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
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