Commit graph

2232 commits

Author SHA1 Message Date
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
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
6792f27127 Prepare for version 5.900 2021-08-12 13:17:04 +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
bb4baa1630
Merge pull request #5546 from k9mail/remove_notification_for_deleted_message
Remove notification when a message is removed from a folder
2021-08-09 14:46:59 +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
04d68624ad Remove notification when a message was deleted 2021-08-07 21:48:01 +02:00
cketti
11c85745d0
Merge pull request #5534 from k9mail/notification_settings
Open system settings screens for notification channels directly
2021-08-07 02:27:38 +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
lostfictions
8c56d0c702 make push notification low priority
fixes #5521.
2021-08-04 19:01:16 -04: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
3a6ca8dfd5 Prepare for version 5.803 2021-08-04 16:49:06 +02:00
cketti
7a36187170 Version 5.802 2021-08-04 16:08:58 +02:00
cketti
97891d15e0
Merge pull request #5511 from k9mail/fix_identity_header
Fold identity header value so we're not generating invalid messages
2021-08-04 15:36:00 +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
0e54bd2bc5 Fold identity header value so we're not generating invalid messages 2021-08-04 15:21:29 +02:00
cketti
782e1d0685
Merge pull request #5505 from k9mail/fix_idle_not_supported
Disable Push if not supported by the server
2021-08-04 15:15:49 +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
e9c45b4aa8 Disable Push if not supported by the server 2021-08-02 18:49:06 +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
d22bb731f6
Merge pull request #5494 from k9mail/notification_fixes
Notification fixes
2021-08-02 13:58:44 +02:00
cketti
49600c470c Reset "ring notified" flag when syncing a folder after a Push event
Without this (but with the new silent fixes) new messages downloaded after a Push event would only create silent notifications.
2021-07-31 20:38:50 +02:00
cketti
d461dece67 Fix sound/vibration for the summary notification 2021-07-31 20:36:01 +02:00
cketti
529a6c0aad Make sure summary notification is silent during quiet time 2021-07-31 20:02:59 +02:00
cketti
2ef430565d Make sure "stacked notifications" are silent 2021-07-31 20:02:18 +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
58a7b362ae Prepare for version 5.802 2021-07-30 19:49:32 +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
cketti
d0883d2cce
Merge pull request #5482 from k9mail/message_list_loader_errors
Don't crash when loading the message list fails
2021-07-29 19:05:09 +02:00
cketti
11ee55240a
Merge pull request #5481 from k9mail/avoid_glide_crash
Don't call through to Glide when the Activity has been destroyed
2021-07-29 18:59:16 +02:00
cketti
da807324ca
Merge pull request #5479 from k9mail/account_name_in_toolbar
Display account name in toolbar
2021-07-29 18:57:53 +02:00
cketti
b309bd6c77
Merge pull request #5477 from k9mail/close_drawer_when_switching_accounts
Close drawer when switching to an account with an auto-expand folder
2021-07-29 18:26:14 +02:00
cketti
b1e0a1d496
Merge pull request #5453 from k9mail/default_font_size
Tweak default font sizes
2021-07-29 18:24:34 +02:00
cketti
2ddb35e1f2
Merge pull request #5418 from Monkey-Matt/fix-error-notification
Show full error message in notification
2021-07-29 18:23:20 +02:00
cketti
1c08f81209 Don't crash when loading the message list fails
For a proper way to fix this see #5408.
2021-07-29 14:46:15 +02:00
cketti
e59d3d7583 Don't call through to Glide when the Activity has been destroyed 2021-07-29 14:38:45 +02:00
cketti
8f9ca74f9a Display account name in toolbar
If there's only one account set up, we skip displaying the account name. Same for views that don't belong to a single account (Unified Inbox, global search results).
2021-07-29 12:35:29 +02:00
cketti
ac4cb37ea7 Add network security config to allow user-installed CAs 2021-07-29 11:45:17 +02:00
cketti
b8bfde6e06 Prepare for version 5.801 2021-07-29 11:44:34 +02:00
cketti
2ff88b2908 Close drawer when switching to an account with an auto-expand folder configured 2021-07-29 10:32:44 +02:00
cketti
5882fa4827 Tweak default font sizes 2021-07-26 18:21:11 +02:00
r.zarchi
902e7ba306 Search view replaced and its UI and logic refactored in MessageList 2021-07-25 08:58:52 +04:30
cketti
db79174527 Version 5.800 2021-07-24 14:43:46 +02:00
cketti
8038ef4514 Version 5.741 2021-07-22 21:10:23 +02:00
cketti
eb301df95c Update translations 2021-07-22 20:47:09 +02:00
Matt Smith
baed7c09b8 Show full error message in notification 2021-07-17 15:36:18 +12:00
cketti
591af9cdd5 Version 5.740 2021-07-16 17:57:50 +02:00
cketti
016eb671b5 Update translations 2021-07-16 14:43:21 +02:00
cketti
70686c0a94 Fix errors in the 'push_info_disable_push_text' string 2021-07-15 17:14:38 +02:00
cketti
26c64806f2 Add "Push Info" screen 2021-07-15 00:20:48 +02:00
Art O Cathain
34320b4295 Do not show push mode for local folders 2021-07-14 23:24:57 +10:00
cketti
ec854e242e
Merge pull request #5407 from k9mail/fix_npe_in_drawer
Fix possible NullPointerException in K9Drawer
2021-07-14 14:45:03 +02:00
cketti
dfa939c57e
Merge pull request #5406 from k9mail/fix_push_crashes
Fix push crashes
2021-07-14 14:44:40 +02:00
cketti
659937aac5
Merge pull request #5405 from k9mail/update_list_of_libraries
Update list of libraries in About screen
2021-07-14 14:43:21 +02:00
cketti
bd342be05a Fix possible NullPointerException in K9Drawer 2021-07-13 16:10:27 +02:00
cketti
00be66b1c1 Don't throw in AccountPushController.updatePushFolders()
When the 'backendPusher' property is null the AccountPushController (and BackendPusher) have already been stopped.
2021-07-13 15:45:21 +02:00
cketti
51f486717b Update list of libraries in About screen 2021-07-13 14:57:35 +02:00
cketti
f8a13b41f9
Merge pull request #5401 from artbristol/art/rename_poll_to_sync
Update wording to be clearer
2021-07-13 13:32:44 +02:00
Art O Cathain
9d4c4e9082 Update wording to be consistent 2021-07-13 10:02:54 +10:00
cketti
890b1a02d1 Change text for Push notification 2021-07-11 17:34:08 +02:00
cketti
da7c0b7cf9 Prepare for version 5.740 2021-07-10 16:01:43 +02:00
cketti
279b084f76 Version 5.739 2021-07-10 15:35:07 +02:00
cketti
475a1474bd
Merge pull request #5400 from k9mail/fix_push_when_connectivity_returns
Restart AccountPushControllers when connectivity returns
2021-07-10 15:30:03 +02:00
cketti
38c0b2dfb2 Restart AccountPushControllers when connectivity returns
PushController.onConnectivityChanged() is not only called when the active network changes, but also when connectivity returns (offline -> online). In that case we need to restart the AccountPushControllers.
2021-07-10 14:28:57 +02:00
cketti
fae1bf30ba Upgrade ckchangelog-core to 2.0.0-beta02 2021-07-10 03:39:10 +02:00
cketti
ec1f3c3722 Prepare for version 5.739 2021-07-08 23:39:11 +02:00
cketti
069b357f95 Version 5.738 2021-07-08 23:19:03 +02:00
cketti
108868155e Persist general settings on a background thread 2021-07-08 22:56:45 +02:00
cketti
7f61b0d489
Merge pull request #5391 from k9mail/fix_AndroidAlarmManager
Fix AndroidAlarmManager dropping alarms
2021-07-08 22:30:38 +02:00
cketti
cac4874f25 Fix AndroidAlarmManager dropping alarms
It was possible that the 'callback' property was set to 'null' after another alarm was already scheduled. This meant the callback function wasn't called when the next alarm went off.
2021-07-08 18:49:30 +02:00
plan3d
68fd9cf819 Issue #2490: Inline attachments are included in forwarded messages 2021-07-06 21:00:18 +02:00
cketti
7580c04d6c Don't allow an IDLE refresh interval of 1 minute 2021-07-05 17:38:49 +02:00
cketti
95ecac8893 Close all Push connections when Android connects to another network
When the default network changes Android usually kills connections established over the old network after a little while. K-9 Mail treats this as a regular network error and sleeps for 5 minutes before trying to re-establish the Push connection(s). Closing old connections and opening new ones when a network change is detected avoids this error.
2021-07-04 21:27:38 +02:00
cketti
830b358ff3 Change 'ConnectivityChangeListener' interface
Distinguish between 'connectivity changed' and 'connectivity lost' events.
2021-07-04 21:17:06 +02:00
cketti
0073913279 Show snackbar in MessageList to get to "What's new" when the app was updated 2021-07-03 14:32:40 +02:00
cketti
1a12ab3177 Add new setting: showRecentChanges 2021-07-03 14:13:29 +02:00
cketti
ed25609df0
Merge pull request #5377 from k9mail/GeneralSettingsManager
Introduce GeneralSettingsManager
2021-07-01 19:06:34 +02:00
cketti
991f814980 Introduce GeneralSettingsManager
A first step towards moving away from the global mutable state in `K9`.
2021-07-01 17:47:10 +02:00
cketti
206c7378a8 Don't reuse AccountsLiveData instance
When the last account is deleted while AccountsLiveData is active it will hold on to an empty list. Then, when an account is added again and AccountsLiveData becomes active again, the empty list is emitted before the list containing the new account is emitted. This lead to the onboarding screen being shown when it shouldn't have. Not holding on to old AccountsLiveData instances will get rid of this problem.
2021-06-30 22:49:57 +02:00
cketti
4f7fb64117 Prepare for version 5.738 2021-06-26 23:57:28 +02:00
cketti
7b10d6bb3f Version 5.737 2021-06-26 23:53:30 +02:00
cketti
198975dda3 Use ConnectivityManager.registerDefaultNetworkCallback() on API 24+ 2021-06-26 23:15:15 +02:00