Commit graph

1347 commits

Author SHA1 Message Date
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
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
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
c6936043c6 Remove unused functionality from StorageManager and StorageProvider 2021-09-24 18:39:20 +02:00
cketti
eae910fe8f Add "demo" backend 2021-09-23 22:43:02 +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
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
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
602e509528 Version 5.902 2021-09-21 12:40:33 +02:00
cketti
e4b585bcc2 Version 5.901 2021-09-17 11:47:20 +02:00
cketti
fb8f98486f Remove Account.isAvailable() 2021-09-17 10:47:03 +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
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
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
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
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
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
5bba535699 Convert notification classes to Kotlin 2021-08-26 01:36:25 +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
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
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
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
3b42061377
Merge pull request #5584 from ByteHamster/authenticate-before-password
Authenticate user before showing password
2021-08-19 19:42:19 +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
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
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
70e5b203f6 Make sure the app icon always brings the app to the foreground 2021-08-16 23:56:54 +02:00
G
d042340596 Show scrollbar in manage folders and choose folder lists 2021-08-16 20:37:08 +02:00
cketti
f9c56e7db0 Upgrade to targetSkdVersion 30 2021-08-14 18:59:10 +02:00
G
388bfec9aa Show scrollbar in manage folders and choose folder lists 2021-08-13 18:06:55 +02:00
cketti
0e28b3ac45
Merge pull request #5423 from arissystem-labs/issue-5384
Search view replaced and its UI and logic refactored in MessageList
2021-08-12 17:38:37 +02:00
cketti
acbeff5b98 Version 5.803 2021-08-12 13:10:10 +02:00
cketti
7c34a80525 Update translations 2021-08-12 10:17:26 +02:00
cketti
78317f17b4
Merge pull request #5531 from k9mail/fix_folder_list_filter
Ignore extraneous spaces when filtering the folder list
2021-08-09 14:46:21 +02:00
cketti
3578c51057 Use "notification categories" instead of "notification channels" 2021-08-09 13:17:09 +02:00
cketti
21b7d37dfc
Merge pull request #5520 from k9mail/fix_crypto_status_icon
Fix crypto status icon
2021-08-08 21:10:08 +02:00
cketti
7aac9ce6dc Open system settings screens for notification channels directly 2021-08-06 17:16:23 +02:00
cketti
c43cb3868b Ignore extraneous spaces when filtering the folder list
Filter strings with e.g. a trailing space were split into the search term and the empty string. But the empty string can be found in every folder name, so all folders were displayed. This change drops all search terms that are the empty string.
2021-08-06 14:41:38 +02:00
cketti
ba151ff970 Fix bug that kept the crypto status icon disabled 2021-08-04 21:09:02 +02:00
cketti
7b16e1b87d Convert MessageCryptoDisplayStatus to Kotlin 2021-08-04 21:02:44 +02:00
cketti
29fa2fc2b3 Rename .java to .kt 2021-08-04 21:02:44 +02:00
cketti
7a36187170 Version 5.802 2021-08-04 16:08:58 +02:00
cketti
97bcaea2ed
Merge pull request #5515 from k9mail/fix_glide_crash
Don't use Glide when the Activity is marked as destroyed
2021-08-04 15:26:08 +02:00
cketti
b7c9f0f77e
Merge pull request #5512 from k9mail/star_color
Use yellow for message star
2021-08-04 15:25:43 +02:00
cketti
2328abd3a1 Don't use Glide when the Activity is marked as destroyed 2021-08-03 22:09:17 +02:00
cketti
5b0f803112 Use yellow for message star 2021-08-03 19:40:45 +02:00
cketti
0742528398 Don't show archive/spam action when no such folder is configured 2021-08-02 14:53:05 +02:00
cketti
a44aedb4a8 Refactor code to configure the message list action mode menu 2021-08-02 14:52:13 +02:00
cketti
efaea0ae1b Support archive/spam action in message lists with multiple accounts
When the account of at least one selected message has a designated archive/spam folder we now display the archive/spam actions. The messages that can't be moved because their account doesn't have an archive/spam folder will simply remain where they are.
2021-07-31 18:29:58 +02:00
cketti
199db3141e Version 5.801 2021-07-30 19:18:17 +02:00
cketti
2eb4bbb447 Update translations 2021-07-29 19:46:54 +02:00