Commit graph

586 commits

Author SHA1 Message Date
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
cketti
0f873683f7 Cleanup 2021-04-06 19:20:49 +02:00
plan3d
8672ee9365 Issue 2485: Added ability to discard changes and keep original draft 2021-04-06 12:14:23 +02:00
cketti
33fe1ee2f6
Merge pull request #5215 from k9mail/use_glide_in_drawer
Load account images off the main thread
2021-03-30 14:51:13 +02:00
cketti
0e14b17b3d Load account images off the main thread (using Glide) 2021-03-30 12:46:49 +02:00
cketti
b1265d81c3
Merge pull request #5216 from k9mail/special_characters_in_contact_email_addresses
Skip unsupported email addresses in RecipientLoader
2021-03-30 12:18:41 +02:00
cketti
1a91345f3e
Merge pull request #5217 from k9mail/split_mode_changing_folders
Clear message view when switching folders in split view
2021-03-30 12:16:07 +02:00
cketti
f7887b3472 Clear message view when switching folders in split view 2021-03-26 02:10:13 +01:00
cketti
12213b5316 Skip unsupported email addresses in RecipientLoader
Currently we don't support email addresses containing non-ASCII characters.
2021-03-25 22:13:36 +01:00
cketti
827ea0059d Make everyone use Preferences.saveSettings() to save general settings 2021-03-24 17:08:17 +01:00
cketti
9ee8746255 Move some code from 'Preferences' to 'AccountRemover' 2021-03-24 15:48:30 +01:00
cketti
cc2413a180
Merge pull request #5209 from k9mail/convert_to_kotlin 2021-03-24 15:03:05 +01:00
cketti
967cc5684b Version 5.733 2021-03-23 19:23:59 +01:00
cketti
c55b19d957 Update translations 2021-03-23 19:03:54 +01:00
cketti
370481236a Convert 'Preferences' to Kotlin 2021-03-22 22:57:33 +01:00
cketti
48718c167d Mark account currently opened in MessageList as active in drawer 2021-03-22 17:25:31 +01:00
cketti
c4ce5f608c Lock DrawerLayout closed when drawer is disabled 2021-03-22 15:38:48 +01:00
cketti
5b82c74ba4 Remove unused ThemeType.ACTION_BAR 2021-03-15 16:57:04 +01:00
cketti
b5b85f5e54 Make all of our activities extend 'K9Activity' 2021-03-15 16:56:53 +01:00
mehdisadeghi
a0b160c7cd
Add support for In-Reply-To parameter in mailto: URIs (#5194) 2021-03-09 15:32:30 +01:00
cketti
4feb51278b Version 5.732 2021-03-04 17:58:03 +01:00
cketti
1494a73a83 Update translations 2021-03-04 16:11:16 +01:00
cketti
9330f72ee4
Merge pull request #5189 from k9mail/fix_outgoing_server_settings
Don't attempt to create invalid ServerSettings instance
2021-03-04 16:04:21 +01:00
cketti
e0836a169b
Merge pull request #5188 from k9mail/drawer_fixes 2021-03-04 16:03:59 +01:00
cketti
3002964f0a Don't attempt to create invalid ServerSettings instance 2021-03-03 22:25:36 +01:00
cketti
1eb108fa7b Fix layout for split view 2021-03-03 21:57:04 +01:00
cketti
9e29f40892 Fix width of drawer 2021-03-03 21:28:52 +01:00
cketti
1aab01ce41 Update drawer with new account color
When the color of the currently selected account has changed update the drawer to reflect that change.
2021-03-03 20:04:35 +01:00
cketti
51e25a0bdd
Merge pull request #5185 from k9mail/fix_import_screen_bug
Fix importing settings file not containing general settings
2021-03-03 19:06:53 +01:00
cketti
62e2123142 Fix importing settings file not containing general settings 2021-03-02 19:35:49 +01:00
cketti
e642ff2896 Remove Kotlin Android extensions plugin
See https://youtrack.jetbrains.com/issue/KT-42121
2021-03-02 17:58:20 +01:00
cketti
02c38b60b1 Remove synthetic view references from 'PasswordPromptDialogFragment' 2021-03-02 17:38:18 +01:00
cketti
56a9bcac66 Remove synthetic view references from 'AccountSelectionSpinner' 2021-03-02 17:38:18 +01:00
cketti
c2bde4deba Remove synthetic view references from 'AccountSettingsActivity' 2021-03-02 17:38:18 +01:00
cketti
cbe5a22a9d Remove synthetic view references from 'AutocryptKeyTransferActivity' 2021-03-02 17:38:18 +01:00
cketti
8176ec3d41 Remove synthetic view references from 'EditIdentity' 2021-03-02 17:38:18 +01:00
cketti
462e7598a8 Remove synthetic view references from 'SettingsImportFragment' 2021-03-02 17:38:18 +01:00
cketti
32b7a4c6c7 Remove synthetic view references from 'SettingsExportFragment' 2021-03-02 17:38:18 +01:00
cketti
b980d0cacb Remove synthetic view references from 'SettingsListFragment' 2021-03-02 17:38:18 +01:00
cketti
86a8f1d12a
Merge pull request #5180 from k9mail/fix_notification_delete_confirmation 2021-03-02 15:41:59 +01:00
cketti
689d108c53
Merge pull request #5179 from k9mail/fix_remove_account_ui_glitch 2021-03-02 13:46:48 +01:00
cketti
aecba14cab
Merge pull request #5178 from k9mail/update_account_list_in_drawer
Update account list in drawer
2021-03-02 13:44:43 +01:00
cketti
1faa3555a8 Use Koin to fetch dependencies 2021-03-02 02:38:55 +01:00
cketti
31e54b5f9a Use ConfirmationDialogFragment in DeleteConfirmationActivity 2021-03-02 02:35:31 +01:00
cketti
1f60b7df2d Don't display window title when using the translucent theme 2021-03-02 02:17:00 +01:00
cketti
25c172c0fa Convert 'DeleteConfirmationActivity' to Kotlin 2021-03-02 02:17:00 +01:00
cketti
871802fccc Rename .java to .kt 2021-03-02 02:04:02 +01:00
cketti
9b53ae26d6 Rename 'NotificationDeleteConfirmation' to 'DeleteConfirmationActivity' 2021-03-01 22:21:50 +01:00
cketti
6c3d71c0fa Move 'NotificationDeleteConfirmation' to new package 2021-03-01 22:21:12 +01:00
cketti
999bfe9001 Make AccountSelectionSpinner extend AppCompatSpinner 2021-03-01 19:34:33 +01:00
cketti
1b1c3031d3 Don't start another instance of AccountSettingsActivity when removing an account
Removing an account will trigger an update of AccountSelectionSpinner which will then detect the currently selected account is no longer available. It'll mark the default account as selected which in turn will trigger a call to onAccountSelected(). That will start AccountSettingsActivity with the newly selected account.
We now check whether finish() has already been called (because deleting the account will do that) and not start another instance of AccountSettingsActivity in that case.
2021-03-01 19:26:47 +01:00
cketti
ce5a3f4796 Update account list in drawer
Update the list of accounts in the drawer when an account is added, removed, or changed.
2021-03-01 16:39:59 +01:00
cketti
eeabd1e98d Call method to hide swipe refresh indicator on UI thread 2021-03-01 14:24:07 +01:00
cketti
c943579615 Don't switch the currently active account when opening the Unified Inbox 2021-02-26 02:38:43 +01:00
cketti
e6920e32d4 Tweak divider in drawer 2021-02-26 02:33:40 +01:00
cketti
5a83fbde95 Clear list of folders in drawer when switching accounts 2021-02-26 02:20:38 +01:00
cketti
45f07607b8 Remove K9Drawer.updateFooterItems()
Once created the footer doesn't change anymore.
2021-02-26 02:13:12 +01:00
Mike Penz
e5b473b4fb Upgrade to MaterialDrawer v8.3.3 2021-02-26 02:10:06 +01:00
Mike Penz
b225b427e4 Upgrade to MaterialComponents (Bridge) Theme 2021-02-26 01:51:42 +01:00
Mike Penz
ba3c332c63 Upgrade FastAdapter to v5.3.4 2021-02-26 01:51:40 +01:00
cketti
d3e881e032 Version 5.731 2021-02-23 16:16:41 +01:00
cketti
b7cfacd3f7 Switch ChangelogFragment/ChangelogViewModel to use 'liveDataLoader' 2021-02-23 14:36:48 +01:00
cketti
3cd28c5b2c
Merge pull request #5152 from ByteHamster/message-header-view
Show message headers in fragment
2021-02-23 14:25:10 +01:00
cketti
b431377c12 Refactor MessageList.decodeExtras()
This will do the right thing when displaying the Unified Inbox from a launcher shortcut.
2021-02-22 18:02:00 +01:00
cketti
fb98aa0e55 Add 'MessageHeadersViewModel' to manage loading headers 2021-02-20 15:34:20 +01:00
cketti
c296a0d8d0 Clean up code 2021-02-20 15:32:34 +01:00
ByteHamster
973c5ed02b Show message headers in fragment 2021-02-20 13:28:15 +01:00
cketti
b4f9ea29d8 Add Malayalam translation 2021-02-19 14:17:38 +01:00
cketti
4505597380
Merge pull request #5150 from k9mail/DownloadManager_temp_fix
Make sure downloaded images are accessible via the system's file picker
2021-02-18 21:34:39 +01:00
ByteHamster
14f7c37435 Added menu to 'edit identity' screen 2021-02-18 16:35:33 +01:00
cketti
f4eb0ea9ba Remove unused code 2021-02-18 02:03:09 +01:00
cketti
452cccb7b8 Make sure downloaded images are accessible via the system's file picker
Starting with API 29 files downloaded with DownloadManager are not automatically written to a location that is accessible via the system's file picker. Manually specifying the 'Downloads' directory does work and doesn't require the WRITE_EXTERNAL_STORAGE permission (on API 29+).
2021-02-17 14:31:59 +01:00
cketti
c452e588af Version 5.730 2021-02-16 17:21:43 +01:00
cketti
1fb8c0be14
Merge pull request #5147 from k9mail/update_translations
Update translations
2021-02-16 17:13:47 +01:00
cketti
998c5d1fbf
Merge pull request #5145 from k9mail/message_list_back_button
Go to Unified Inbox when pressing back in message list
2021-02-16 17:09:02 +01:00
cketti
17f447705e Update translations
Add languages: be, en_GB
2021-02-16 15:26:31 +01:00
cketti
0121bab2e9 Go to Unified Inbox when pressing back in message list 2021-02-16 13:02:47 +01:00
cketti
705a02f72b Get rid of Account.isEnabled()
We no longer have the concept of disabled accounts.
2021-02-16 00:28:01 +01:00
cketti
0f89db7dd4 Hide progress indicator when checking for email has finished 2021-02-16 00:10:31 +01:00
ByteHamster
052d56222e Fix swipeRefreshLayout being hidden before refresh is finished 2021-02-13 18:40:54 +01:00
cketti
eaa766a1a7 Version 5.729 2021-02-12 18:00:46 +01:00
cketti
4d9c8e6b17 Version 5.728 2021-02-10 14:51:25 +01:00
cketti
09b793f9e9 Update translations 2021-02-10 13:14:36 +01:00
cketti
09ab26f763 Try to create email tokens in recipient input field when it loses focus 2021-02-08 17:44:41 +01:00
cketti
5655bf3c03
Merge pull request #5128 from k9mail/fix_import
Fix display in 'import settings' screen
2021-02-08 13:10:17 +01:00
cketti
ee2e5a0071
Merge pull request #5127 from k9mail/minor_AccountList_cleanup
Minor AccountList cleanup
2021-02-08 13:10:00 +01:00
cketti
2c2187e1fe Cleanup 2021-02-08 12:58:06 +01:00
toppk
d5597e88cf
This works around a tiny issue made worse with the unified inbox as folder
presentation.

If you disable the unified inbox while still viewing it, you could end
up with no account "selected", in a drawer showing folders.  This could
lead to a crash if the user clicks on a folder before selecting a
profile.  This patch resets the drawer to the default account, and
deselects any folder in the drawer.
2021-02-07 22:15:41 -05:00
toppk
f681c0afb2
convert unified inbox from a virtual account to a virtual folder.
This is only in the UI.  This initial implementation leaves
unified inbox implemented as a SearchAccount, but otherwise ignored as
an account, and is generally treated as a special folder.
2021-02-07 13:05:38 -05:00
cketti
9ad2f07a5f Fix display in 'import settings' screen
Only show 'general settings' as an option when the settings file actually contains general settings.
2021-02-07 18:46:31 +01:00
cketti
4453b431b4 Remove unnecessary code 2021-02-07 16:39:49 +01:00
cketti
a3e0b89f01 Rename K9.isHideSpecialAccounts to K9.isShowUnifiedInbox 2021-02-07 13:15:53 +01:00
cketti
bcb9c2f839 Rename setting to "Show Unified Inbox"
Change the display setting "Hide Unified Inbox" to "Show Unified Inbox".
2021-02-07 13:04:23 +01:00
toppk
d07cd850e6
Allow setting password and client certificates from first step of account setup. 2021-02-05 00:24:11 -05:00
toppk
05e5c802ce
decouple client certificates from authentication
This allows the usage of client certificates to be independent of
authentication.  It is possible that the usage of client certificates
eliminate the need for any authentication, or that they provide
other benifits.

This patch restructures the incoming and outgoing server setup pages
so that client certificates can be set as long as the connection uses
TLS/SSL.  If the user chooses client certificates for authentication
it will prompt for certificate only if there isn't one already set.

Mixing password and client certificates works, and this builds upon
other work that allows these settings to coexist in the imap/smtpURI.

This also give the certificate spinner a little more polish.
  - label looks like other labels
  - some indentation
  - the cancel button only appears if there is something to cancel
2021-02-04 23:45:07 -05:00
cketti
de2560b90b Remove Account.storeUri and Account.transportUri
The URIs are still used as serialization format when saving settings
2021-02-01 12:54:02 +01:00
cketti
69ed32ff8a Convert 'ServerSettings' to Kotlin 2021-02-01 10:39:19 +01:00
cketti
97051f3f7c Make WebDavStore use ServerSettings directly
Instead of using WebDavStoreSettings as a ServerSettings subclass make it a helper to extract WebDav-specific settings.
2021-01-31 18:50:14 +01:00
cketti
42e180d6fa Make ImapStore use ServerSettings directly
Instead of using ImapStoreSettings as a ServerSettings subclass make it a helper to extract IMAP-specific settings.
2021-01-31 18:50:14 +01:00
cketti
61949eaff9 Improve sort order of email addresses in auto-complete popup 2021-01-27 02:50:34 +01:00
Jasti Sri Radhe Shyam
8f690a6d10
add release dates to changelog xml
- release dates (format: YYYY-MM-DD) are in accordance with UTC timezone.
- removed extra spaces and lines.
issue: 5099

Signed-off-by: Jasti Sri Radhe Shyam <samabhasatejsrs@outlook.com>
2021-01-25 18:23:02 +00:00
cketti
56ce36167c Version 5.727 2021-01-25 16:17:58 +01:00
cketti
3ef1ea6726 Update translations 2021-01-25 15:40:50 +01:00
cketti
3cd7f5b3a7
Merge pull request #5100 from k9mail/support_forum
Add link to forum to settings screen
2021-01-24 06:46:14 +01:00
cketti
c2ff696a93
Merge pull request #5097 from k9mail/unify_icons
Unify icon vector drawables for dark and light themes
2021-01-24 06:44:25 +01:00
cketti
62b1344f82 Code cleanup 2021-01-24 06:21:01 +01:00
MonkeyMatt
93770dda41 Reset account settings during setup progression
Fixes problem with settings carrying over after back navigation during setup
2021-01-24 06:16:24 +01:00
cketti
fae9255bca Update/fix notification icons 2021-01-23 04:26:39 +01:00
cketti
5eeb4b56be Unify icon vector drawables for dark and light themes 2021-01-23 04:26:39 +01:00
cketti
86c517013b Add link to support forum to settings screen 2021-01-23 03:56:24 +01:00
cketti
540b77dd24 Add fragment to show the changelog 2021-01-21 08:01:41 +01:00
cketti
431f81978c Rework About screen
Add links to the website, the user forum, and the social media accounts.
2021-01-16 10:45:59 +01:00
cketti
d1f781f0e3 Change layout of library list items in About screen 2021-01-16 08:54:27 +01:00
cketti
b3ae2fe22f Clean up code for About screen 2021-01-16 08:29:14 +01:00
cketti
9d5273ee5e Remove Kotlin synthetics from About screen 2021-01-16 08:21:06 +01:00
cketti
d29085774d Version 5.726 2021-01-06 07:42:43 +01:00
cketti
1259d372b6
Merge pull request #5085 from Monkey-Matt/fix-setup-back-navigation
Fix setup back navigation
2021-01-06 07:16:39 +01:00
cketti
a9122dfd5f Update translations 2021-01-05 19:17:22 +01:00
MonkeyMatt
d6d3fb884e Add setup finished flag on account
Relying on account name caused faults when exiting setup flow at the last step
2020-12-29 13:12:29 +13:00
MonkeyMatt
ee6d7afc75 Allow back navigation through setup screens
Fixes setup flow and ensures an account is fully setup before being usable
2020-12-28 17:39:30 +13:00
cketti
938a265464
Merge pull request #5078 from k9mail/GH-5077_fix_FoldableLinearLayout_state_restore
Make FoldableLinearLayout.SavedState public
2020-12-23 01:15:52 +01:00
cketti
1f65982263 Make FoldableLinearLayout.SavedState public 2020-12-22 17:36:27 +01:00
MonkeyMatt
699c8408be Remove unused showPassword method 2020-12-21 15:48:31 +13:00
MonkeyMatt
c0341851fc Use TextInputLayout on setup outgoing
Also adds password visibility toggle
2020-12-21 14:11:37 +13:00
MonkeyMatt
c889259707 Use TextInputLayout in setup incoming
Adds the show password eye to setup incoming screen. Layout adjustments to account for the difference in TextInputEditText
2020-12-21 13:53:02 +13:00
MonkeyMatt
84557da148 Add show password eye to setup basic
Use TextInputEditText to handle show/hide of password rather than doing it with our own checkbox
2020-12-19 18:39:13 +13:00
cketti
1f586eb1aa Version 5.725 2020-11-18 19:47:26 +01:00
cketti
3fb457bb3c Update translations 2020-11-16 18:03:03 +01:00
cketti
70bbad03c7 Consider default email address in auto-complete suggestions 2020-11-16 15:53:54 +01:00
cketti
b6ba133d12 Convert 'MessageListFragment' to Kotlin 2020-11-06 14:58:22 +01:00
cketti
6d506151f3 Rename 'MessageListFragment' prior to conversion to Kotlin 2020-11-06 14:58:22 +01:00
cketti
011ac576a2 Remove MessageListFragment.context 2020-11-06 14:58:21 +01:00
cketti
32f04270fd Remove MessageListFragment.layoutInflater 2020-11-06 00:51:05 +01:00
cketti
ea01c92d1c Version 5.724 2020-11-01 15:44:13 +01:00
cketti
37c391f596
Merge pull request #5038 from k9mail/fix_message_list_loading
Don't crash when MessageListLoader couldn't retrieve any Cursors
2020-11-01 15:36:37 +01:00
cketti
fa9f6adb30 Fix parameter types to avoid NullPointerException 2020-11-01 15:16:19 +01:00
cketti
404edf8cab Don't crash when MessageListLoader couldn't retrieve any Cursors 2020-11-01 15:04:34 +01:00
cketti
2f564e991b Version 5.723 2020-10-31 19:11:05 +01:00
cketti
4acd304ff4 Update translations 2020-10-31 18:53:12 +01:00
cketti
7d7c198e73 Don't show recipient names in Inbox, Archive, Spam and Trash folders
Some people assign e.g. the 'Sent' role to the Inbox. In that case we need to treat the folder like the Inbox rather than the Sent folder when it comes to deciding whether or not to display the recipient address in the message list.
2020-10-31 17:57:58 +01:00
cketti
90c94dc38e
Merge pull request #5032 from k9mail/replace_groupie
Replace Groupie with FastAdapter
2020-10-31 16:09:25 +01:00
cketti
cd912fd2c0 Replace Groupie with FastAdapter 2020-10-31 15:52:42 +01:00
cketti
bec3cc9045 Use Koin's standard mechanism for getting dependencies in 'MessageList' 2020-10-26 17:22:45 +01:00
cketti
abf3d2a3a2 Convert 'MessageList' to Kotlin 2020-10-26 15:47:14 +01:00
cketti
2004cfc4b1 Rename 'MessageList' prior to conversion to Kotlin 2020-10-25 14:56:16 +01:00
cketti
141bcf8f10 Hide message list footer while list is loading 2020-10-24 17:49:47 +02:00
cketti
2a6b242d40
Merge pull request #5024 from k9mail/improve_outbox
Improve Outbox
2020-10-24 16:52:35 +02:00
cketti
000918fb06 Add "Move to Drafts" action to message view 2020-10-22 19:26:31 +02:00
cketti
251071c58e Don't allow messages in Outbox to be starred or marked as read via message view 2020-10-22 18:17:02 +02:00
cketti
8abcba90c0 Don't allow messages in Outbox to be starred or marked as read via message list 2020-10-22 17:36:13 +02:00
cketti
bea08ccb68 Remove EolConvertingEditText 2020-10-22 03:01:19 +02:00
cketti
78a70c305b Version 5.722 2020-10-21 01:11:58 +02:00
cketti
3917c102e7 Update translations 2020-10-21 00:34:33 +02:00
cketti
c7ed0ec8e4 Clean up 'SaveMessageTask' 2020-10-20 03:45:06 +02:00
cketti
1c57b31900 Clean up retrieving dependencies in 'MessageCompose' 2020-10-19 10:09:00 +02:00
cketti
f11b170a42 Make MessagingController.saveDraft() return message database ID 2020-10-19 09:25:56 +02:00
cketti
54e5d8af9c Change the way we replace drafts on the server
Don't overwrite the previous draft in the database. Create a new message entry and convert the previous one to a 'deleted' placeholder.
This also introduces a new pending command 'replace'. It is implemented as upload + delete.
2020-10-19 09:25:56 +02:00
cketti
45bf5d0aef Inline constant parameter value (we always upload drafts if possible) 2020-10-18 21:53:34 +02:00
cketti
36c9e799f1 Don't use magic value when draft message ID is missing 2020-10-18 21:53:34 +02:00
cketti
1873593dc5 Format Kotlin code 2020-10-16 16:41:19 +02:00
cketti
ed8009d9fa Update ktlint-gradle to 9.4.1, ktlint to 0.39.0
Apply ktlint-gradle plugin to all Gradle subprojects.
2020-10-16 14:27:23 +02:00
cketti
5aac50d1ee
Merge pull request #5009 from anadi198/automaticIdentityForwarding
Apply automatic identity selection for forwarding emails based on `to:` field of mail being forwarded
2020-10-15 19:04:49 +02:00
Anadi Kashyap
9a464eb6f1 Apply automatic identity selection to forwarding emails 2020-10-15 18:48:50 +02:00
Anadi Kashyap
f757ce9148 Replaced CDATA[] for unknown_recipient and unknown_sender with &lt; and &gt; in strings.xml 2020-10-15 21:06:17 +05:30
cketti
e3178a5117
Merge pull request #5003 from k9mail/show_recipient_name
Show recipient name for all messages in Sent, Drafts, and Outbox folders
2020-10-13 03:41:10 +02:00
cketti
604c87b130 Always show contact picture of sender in message view 2020-10-12 01:48:36 +02:00
cketti
5f05b8bb07 Show sender/recipient name in message list based on folder
The recipient name is shown for messages in the Sent, Drafts, and Outbox folders. For messages in all other folders the sender name is shown.
2020-10-12 01:48:36 +02:00
cketti
427aecb2ab Remove unused properties from MessageListItem 2020-10-12 00:06:05 +02:00
cketti
9227206872 Display up to 3 lines of the subject by default
Clicking the subject text will toggle between showing all lines and 3 lines max.
2020-10-11 23:06:51 +02:00
cketti
2c95b7df65
Merge pull request #4994 from k9mail/message_batch_actions
Don't show archive or spam action when displaying the corresponding folder
2020-10-09 22:58:49 +02:00
cketti
617dd1641e Don't show archive or spam action when displaying the corresponding folder 2020-10-08 22:56:05 +02:00
cketti
3b7c5ea10f Display message headers in the original order 2020-10-08 16:16:50 +02:00
cketti
e7bcfe7e3e Version 5.721 2020-10-07 17:07:23 +02:00
cketti
4fd51cf313 Add "copy link text to clipboard" option when long-pressing links 2020-10-07 02:04:53 +02:00
cketti
6c097b47da Version 5.720 2020-10-06 20:21:55 +02:00
cketti
388a7f263e Add zero-width space to changelog version values
For some reason version attributes like "5.700" are displayed as "5.7". We work around that by adding a zero-width space at the end.
2020-10-06 20:21:55 +02:00
cketti
3133573139 Rewrite Share functionality in message view screen
The shared text now contains subject, date, sender, and recipients in addition to the message body text.
2020-10-05 05:38:54 +02:00
cketti
d541eaef51 Version 5.719 2020-10-04 19:12:01 +02:00
cketti
2c4744da60 Update translations 2020-10-04 18:33:09 +02:00
cketti
19eb78de30 Small code cleanup 2020-10-02 19:03:26 +02:00
starshipcoder
7f32c9e0d8 In recipient contact selection, display favorites first
Fix: sorting was case sensitive
2020-10-02 19:03:26 +02:00
cketti
7992be9068 Return empty result when EmailProvider query fails
In developer mode we still crash for all errors except for malformed MATCH expressions (which are rather easy to generate given that we pass user input to SQLite).
2020-09-22 18:13:28 +02:00
cketti
bedf26d19b
Merge pull request #4931 from GNUDimarik/issue_4914
Use correct OpenPGP key when sending signed-only email
2020-09-20 19:27:43 +02:00
cketti
0c97e2a4e0 Update Robolectric to 4.4
Replace usage of classes from transitive dependencies that are no longer available.
2020-09-18 03:14:46 +02:00
Dmitry Adzhiev
d718b33ef6 Use correct OpenPGP key when sending signed-only email 2020-09-18 00:38:48 +06:00
cketti
3211e3942c Show image previews even when wrong MIME type is used
More precisely, show image preview when the MIME type is application/octet-stream and the file extension maps to a supported image MIME type.
2020-09-09 12:16:03 +02:00
Dmitry Adzhiev
bf83ff3a90 Display SHA-1, SHA-256 and SHA-512 fingerprints of TLS certificates 2020-09-01 16:27:30 +02:00
cketti
c82b2f827e Version 5.718 2020-08-18 16:27:19 +02:00
cketti
97211358df Update translations 2020-08-17 14:12:36 +02:00
cketti
daa75579b5 Another attempt at fixing image loading for recipient chips 2020-08-13 22:12:36 +02:00
cketti
4a92388ed4 Refactor code for readability and consistency 2020-08-13 17:56:55 +02:00
Victor Frandsen
009050567d Don't show standard message actions for messages in the Outbox 2020-08-13 17:42:16 +02:00
cketti
00d48de228
Merge pull request #4897 from starshipcoder/hide_empty_footerview
Message list: hide footer view if empty
2020-08-13 16:01:29 +02:00
cketti
05fe558ea6 Refactor MessageListFragment.updateFooter() 2020-08-13 15:33:07 +02:00
lwerneke
fa5b2b77f1
Add method for launching MessageList with an account 2020-08-13 15:17:40 +02:00
starshipcoder
2410ed5cb1 Message list: hide footer view if empty 2020-07-30 14:28:14 +02:00
cketti
97619c07ed Don't display address label in recipient token 2020-07-29 17:40:48 +02:00
cketti
8d2314fa79 Relayout recipient token view when switching to alternate email address 2020-07-29 17:40:48 +02:00
cketti
5b62e6c6a2 Fix baseline issues with RecipientSelectView 2020-07-29 17:40:48 +02:00
cketti
423575051d Change recipient token layout to support dynamic text sizes 2020-07-29 17:40:48 +02:00
cketti
74c5e4c068 Dismiss "recipient alternates popup" when pressing the back button 2020-07-23 16:46:58 +02:00
cketti
28adf89426 Don't use custom touch handling to detect RecipientTokenSpan clicks 2020-07-23 16:44:54 +02:00
cketti
c186395ead Update TokenAutoComplete to 4.0.0-beta01 2020-07-23 16:39:18 +02:00
cketti
2d1c00a93c Remove unused resources 2020-07-22 20:20:06 +02:00
cketti
988966d190 Update Glide to 4.11.0 2020-07-17 23:37:17 +02:00
cketti
057d1c804d Update Robolectric to 4.3.1 2020-07-15 19:40:32 +02:00
cketti
445cd12651 Remove unnecessary JDOM dependencies 2020-07-15 18:36:27 +02:00
cketti
8e7fe76e49 Update AndroidX SwipeRefreshLayout to 1.1.0 2020-07-15 17:59:17 +02:00
cketti
4aa5eab751 Use variable for AndroidX LocalBroadcastManager artifact version 2020-07-15 17:57:21 +02:00
cketti
63e93ef8b7 Rename file to match class (AboutFragment) 2020-07-11 01:10:48 +02:00