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
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
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
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
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
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
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
279b084f76
Version 5.739
2021-07-10 15:35:07 +02:00
cketti
fae1bf30ba
Upgrade ckchangelog-core to 2.0.0-beta02
2021-07-10 03:39:10 +02:00
cketti
069b357f95
Version 5.738
2021-07-08 23:19:03 +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
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
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
7b10d6bb3f
Version 5.737
2021-06-26 23:53:30 +02:00
cketti
eb8fa56860
Version 5.736
2021-06-24 15:46:42 +02:00
cketti
81aab8945f
Hide Push-related settings when account doesn't support Push
2021-06-24 15:22:10 +02:00
cketti
dfcea339a3
Version 5.735
2021-06-24 13:36:05 +02:00
cketti
44d6023e23
Merge pull request #5361 from k9mail/idle_config
...
Re-enable "advanced" IMAP IDLE settings screen
2021-06-24 12:59:43 +02:00
cketti
3c354940e3
Update translations
2021-06-23 18:05:16 +02:00
cketti
5c25d454b1
Re-enable 'Advanced' settings screen for IDLE settings
2021-06-23 15:34:31 +02:00
cketti
a7f4093147
Remove unused K9JobManager.schedulePusherRefresh()
2021-06-22 16:04:20 +02:00
cketti
594cb75ca5
Merge pull request #5356 from k9mail/push_controller
...
Add implementation for PushController
2021-06-22 15:57:12 +02:00
cketti
72a07b1169
Add back 'push folders' and 'folder push class' settings
2021-06-22 15:30:23 +02:00
cketti
e157203056
Merge pull request #5358 from Monkey-Matt/account-setup-textinputlayout
...
Use TextInputLayout to match other setup screens
2021-06-22 15:00:41 +02:00
cketti
027b3e5a41
Merge pull request #5357 from k9mail/global_search
...
Add 'search everywhere' menu item
2021-06-22 13:49:16 +02:00
cketti
f8b88ef9d0
Merge pull request #5355 from k9mail/request_code_fix
...
Fix request code handling
2021-06-22 12:56:58 +02:00
Matt Smith
a3f65ff5c8
Use textinputlayout to match other setup screens
2021-06-22 21:48:29 +12:00
cketti
f40e74886b
Add 'search everywhere' menu item
...
When starting a search in a regular folder only messages in that folder are searched. 'Search everywhere' will re-run that search in all accounts and all folders.
2021-06-22 01:20:22 +02:00
Art O Cathain
05c5319b45
Fix error when forwarding encrypted attachments
...
SafeContentResolver refuses to load encrypted attachments with an error:
"Content provider is not explicitly allowed:
com.fsck.k9.debug.decryptedfileprovider"
For internally provided attachments, there is no need to use
SafeContentResolver, so we use the default system ContentResolver
2021-06-21 21:08:24 +10:00
cketti
20c3a4179f
Fix request code handling
...
For its result dispatching mechanism ComponentActivity uses random request codes that may have one of "our" bits set. Those random request codes will always be greater than 0x00010000. We use this information to ignore all request codes that aren't ours.
2021-06-21 12:16:17 +02:00
cketti
a2a6b93253
Merge pull request #5349 from k9mail/fix_attachment_box
...
Fix attachment box layout in compose screen
2021-06-17 21:38:47 +02:00
cketti
6562ee4ac8
Fix attachment box layout in compose screen
2021-06-16 19:15:53 +02:00
r.zarchi
66d37a0db2
Ignore fillContactDataFromLookupKey if we don't have the necessary permission
2021-06-16 10:00:53 +04:30
r.zarchi
fb9ed80df6
check for contact permission and contact picker to show or hide "Add from Contacts" option
2021-06-16 09:46:08 +04:30
cketti
46a2c351d5
Add foreground service for Push
2021-06-12 17:04:45 +02:00
cketti
f3b7cd7d14
Add notification channel for a Push foreground service
2021-06-11 18:33:09 +02:00
cketti
7fcd1976e9
Minor cleanup
2021-06-05 15:08:06 +02:00
Art O Cathain
886a5a0610
Show account unread count on account list in drawer
2021-06-05 15:28:43 +10:00
cketti
2e785325de
Simplify logic in MessageListFragment.setWindowTitle()
2021-06-04 11:47:55 +02:00
plan3d
4b488d9cbf
Issue #4407 : Fixed localized unified inbox title if app language was changed
2021-06-04 11:30:38 +02:00
cketti
c6fc922e5b
Merge pull request #5323 from k9mail/remove_notification_opens_unread
...
Remove "Notification opens unread messages" option
2021-06-01 16:05:29 +02:00
cketti
240c935f85
Merge pull request #5321 from plan3d/issue_4407_setTitle
2021-06-01 15:46:28 +02:00
cketti
bca8f2f301
Explicitly set activity titles
...
This is so cached activity titles aren't used when changing the app language.
See https://proandroiddev.com/change-language-programmatically-at-runtime-on-android-5e6bc15c758
2021-06-01 15:32:40 +02:00
cketti
2598d3e199
Remove "Notification opens unread messages" option
2021-06-01 09:45:12 +02:00
plan3d
1066cf84b0
Removed dead code
2021-05-31 16:30:53 +02:00
plan3d
26db6638d8
Issue #4407 : Fixed localized titles if app language and system language are different
2021-05-31 16:10:36 +02:00
cketti
fdaf91cd2e
Remove 'Poll when connecting for push' setting
2021-05-28 12:28:54 +02:00
cketti
72b1ab5ac5
Remove message list update mechanism that no longer works
...
The adapter in MessageListFragment used a complicated mechanism that allowed for changing the displayed list by changing the cache and not reading the data from the database again. With the latest change to the adapter this no longer works. And so the associated "notification" mechanism can be removed.
2021-05-23 10:01:10 +02:00
Nuno Ferreira
18e8b31f1c
Add long-press action to copy subject text to clipboard ( #5296 )
2021-05-14 18:21:00 +02:00
cketti
66bae83468
Use custom layout for folders in drawer
2021-05-12 15:12:26 +02:00
Marcus Wolschon
6f615337c0
Improve support for long folder names in drawer
...
Ellipsize long folder names in the middle, not the end.
2021-05-12 14:42:02 +02:00
cketti
a3d6fd7ab4
Merge pull request #5283 from k9mail/drawer_toggle
...
Remove ActionBarDrawerToggle
2021-05-02 14:58:07 +02:00
cketti
79fe2ca7ab
Remove ActionBarDrawerToggle
...
The animation of the menu icon was mostly obscured by the drawer anyway.
2021-05-01 03:43:59 +02:00
cketti
48c9a061c1
Use SummaryProvider instead of summary attribute with format strings
2021-05-01 03:11:41 +02:00
cketti
9c1c464dc3
Version 5.734
2021-04-30 23:54:36 +02:00
cketti
5313f0e01d
Update translations
2021-04-30 23:21:10 +02:00
cketti
1459a2feda
Remove duplicate drawable
2021-04-24 03:01:09 +02:00
cketti
5444d8be3a
Remove explicit dependency on Kotlin's standard library
2021-04-22 03:54:15 +02:00
cketti
632d8f3cb7
Upgrade Mockito-Kotlin to 3.1.0
2021-04-22 03:54:15 +02:00
cketti
0e7ec3846d
Upgrade Koin to 2.2.2
2021-04-22 03:54:15 +02:00
cketti
65d3df63b0
Upgrade AndroidX lifecycle libraries to 2.3.1
2021-04-22 03:54:15 +02:00
cketti
a61429e8c5
Rewrite custom app language feature
...
Add AppLanguageManager that notifies listeners when the app language has been changed. K9Activity uses this mechanism to restart() on language changes. The Application object will update its configuration.
Instead of using the deprecated Resources.updateConfiguration() we now use LocaleContextWrapper (in combination with AppCompat) to override the locale in the configuration.
2021-04-20 21:41:18 +02:00
cketti
034e1fbd79
Fix crash when starting MessageCompose without an account UUID
2021-04-19 21:21:13 +02:00
cketti
53d8ddef81
Clean up code in FolderSettingsFragment
2021-04-17 17:54:25 +02:00
plan3d
9558dec197
Hide folder poll class and folder notification class preferences for local folders
2021-04-17 10:12:54 +02:00
cketti
e521a8d23b
Extract variable for FastAdapter version and upgrade to 5.4.0
2021-04-12 16:14:27 +02:00
cketti
b9653f7b76
Only show drag handle if there's more than one account
2021-04-12 16:14:27 +02:00
cketti
35da587399
Save new account order in background thread
2021-04-10 07:29:37 +02:00
cketti
123292dde5
Use RecyclerViewBackgroundDrawable in settings screen
...
Use a background that becomes visible when account items are dragged. This creates a nice layered surfaces effect.
2021-04-10 07:15:23 +02:00
Poldi
3d9e9d96fc
Allow reordering accounts in settings
2021-04-10 06:47:02 +02:00