Commit graph

1845 commits

Author SHA1 Message Date
cketti
e32c497f8f Prepare for version 5.735 2021-05-01 00:14:06 +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
a389c1860f Move notification mechanism from K9MessageStore to NotifierMessageStore 2021-04-24 01:09:37 +02:00
cketti
8d45e9cdd3 Remove now unused code from LocalFolder 2021-04-23 22:28:40 +02:00
cketti
c204c24c23 Use new implementation in MessageStore to copy messages 2021-04-23 22:28:40 +02:00
cketti
e05bc461b5 Re-implement copy message functionality in MessageStore
Instead of loading a message into memory and then saving it to the new folder the new code copies the database entries and data files.
2021-04-23 22:28:40 +02:00
cketti
9ef105d74f
Merge pull request #5267 from k9mail/update_dependencies 2021-04-22 18:37:38 +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
105d55a303 Remove unnecessary code to update thread entry 2021-04-22 03:43:00 +02:00
cketti
4573b5d001 Clean up ThreadInfo 2021-04-22 03:33:32 +02:00
cketti
813cc4eec2 Remove unused ThreadInfo.messageIdHeader 2021-04-22 03:17:48 +02:00
cketti
826e4a470e Various message threading fixes 2021-04-21 20:44:47 +02:00
cketti
341687e9dc
Merge pull request #5263 from k9mail/custom_language_rewrite
Rewrite custom app language feature
2021-04-20 22:12:27 +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
c43f27a9ff
Merge pull request #5259 from k9mail/save_messages 2021-04-20 21:23:47 +02:00
cketti
034e1fbd79 Fix crash when starting MessageCompose without an account UUID 2021-04-19 21:21:13 +02:00
cketti
abd336addb Save message in Outbox folder using MessageStore 2021-04-18 02:28:33 +02:00
cketti
903babe917 Save drafts using MessageStore 2021-04-17 23:26:46 +02:00
cketti
f58860f8bb
Merge pull request #5257 from k9mail/save_messages
Split Backend.fetchMessage() into two methods
2021-04-17 21:45:00 +02:00
cketti
127e311385 Change FolderDetailsAccessor to better support local folders
For "local-only" folders the server ID column in the database is NULL.
2021-04-17 17:54:25 +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
plan3d
27e6dc9d84 Issue #5249: Fixed NPE in folder settings of outbox folder 2021-04-17 10:12:54 +02:00
cketti
428ae60a58 Split Backend.fetchMessage() into two methods
The two new methods now also save the downloaded message data instead of returning a Message instance.
MessageStore.saveRemoteMessage() will now replace a message if it already exists.
2021-04-17 00:04:58 +02:00
cketti
4bfe03de35
Merge pull request #5255 from k9mail/BackendStorage_to_MessageStore 2021-04-16 20:46:06 +02:00
cketti
1bbaf668f6 Remove K9BackendStorage's dependency on LocalStore 2021-04-15 01:51:57 +02:00
cketti
289744ec24 Change key/value functions in K9BackendFolder to use MessageStore 2021-04-15 01:51:54 +02:00
cketti
cf51883637 Change K9BackendFolder.getOldestMessageDate() to use MessageStore 2021-04-15 01:51:52 +02:00
cketti
0a50acd38b
Merge pull request #5251 from k9mail/BackendStorage_to_MessageStore
Change K9BackendFolder.saveMessage() to use MessageStore
2021-04-15 01:51:24 +02:00
cketti
4e4babeea6 Change K9BackendFolder.saveMessage() to use MessageStore 2021-04-15 01:19:18 +02:00
cketti
756ffc7856
Merge pull request #5246 from k9mail/BackendStorage_to_MessageStore
Remove ThreadMessageOperations' dependency on LocalStore
2021-04-13 18:03:49 +02:00
cketti
78e616ed37 Remove ThreadMessageOperations' dependency on LocalStore 2021-04-13 17:43:24 +02:00
plan3d
352cd7a356 Issue #1430: Fixed lost signature spaces 2021-04-13 07:37:52 +02:00
plan3d
960989bdb2 Fixed TextBodyBuilder 2021-04-13 07:37:52 +02:00
plan3d
20a00de34c Rewrote TextBodyBuilderTest 2021-04-13 07:37:52 +02:00
cketti
1a68adc803
Merge pull request #5242 from k9mail/BackendStorage_to_MessageStore 2021-04-12 21:00:07 +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
a00d69cf13
Merge pull request #5241 from k9mail/BackendStorage_to_MessageStore 2021-04-09 23:21:15 +02:00
cketti
923b0308b4 Change K9BackendFolder.setMessageFlag() to use MessageStore 2021-04-09 03:08:25 +02:00
cketti
c20de077d9 Change K9BackendFolder.getMessageFlags() to use MessageStore 2021-04-09 02:24:02 +02:00
cketti
c17db2cb94 Change K9BackendFolder.isMessagePresent() to use MessageStore 2021-04-09 02:00:10 +02:00
cketti
d52b4511fe Change K9BackendFolder.setStatus() to use MessageStore 2021-04-08 21:33:25 +02:00
cketti
e7b764e6e8 Change K9BackendFolder.setLastChecked() to use MessageStore 2021-04-08 21:28:05 +02:00
cketti
cbb5825d03 Change K9BackendFolder.setMoreMessages() to use MessageStore 2021-04-08 21:23:48 +02:00
cketti
7dc4b6dd71 Change K9BackendFolder.getMoreMessages() to use MessageStore 2021-04-08 21:12:01 +02:00
cketti
3336fd3ed3 Extract 'MoreMessages' to a separate file 2021-04-08 20:40:49 +02:00
cketti
3a86cc632e Update 'delete_message' trigger to delete entries in 'threads' table 2021-04-08 20:27:03 +02:00
cketti
cf9037a513 Add code to delete messages to MessageStore 2021-04-08 20:27:03 +02:00
cketti
24f25ca1d9
Merge pull request #5234 from k9mail/BackendStorage_to_MessageStore 2021-04-08 18:35:26 +02:00
cketti
9d4d7f0352 Move code to get message server IDs and dates from K9BackendFolder to MessageStore 2021-04-07 20:39:19 +02:00
cketti
484db5730d Move code to get message server IDs from K9BackendFolder to MessageStore 2021-04-07 20:23:54 +02:00
cketti
102fbc690f Move code to get highest message UID from K9BackendFolder to MessageStore 2021-04-07 20:23:52 +02:00
cketti
79b6289d40
Merge pull request #5233 from k9mail/BackendStorage_to_MessageStore
Move 'delete folder' code from K9BackendStorage/LocalFolder to MessageStore
2021-04-07 18:30:28 +02:00
cketti
2e6b5710be Move code to retrieve folder details from K9BackendFolder to MessageStore 2021-04-07 17:21:40 +02:00
cketti
6373d0249f Move delete folder code from K9BackendStorage to MessageStore 2021-04-06 22:17:38 +02:00
cketti
62bf9c36f7
Merge pull request #5231 from k9mail/BackendStorage_to_MessageStore 2021-04-06 19:57:31 +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
59b8ead290 Move create/update folder code from K9BackendStorage to MessageStore 2021-04-03 18:35:29 +02:00
cketti
9932ed3b68 Move "extra values" code from K9BackendStorage to MessageStore 2021-04-03 17:48:43 +02:00
cketti
3dd7d1b6d8 Start using MessageStore in K9BackendStorage 2021-04-03 17:12:01 +02:00
cketti
035c853047 Remove unused dependency from FolderRepository 2021-04-03 02:34:57 +02:00
cketti
9c257685a3 Move more code from FolderRepository to MessageStore 2021-04-03 02:32:13 +02:00
cketti
e2bc68e0ac Move FolderRepository.updateFolderDetails() to MessageStore.updateFolderSettings() 2021-04-03 00:23:11 +02:00
cketti
796d22a132 Move FolderRepository.getFolderId() to MessageStore 2021-04-02 06:12:09 +02:00
cketti
392ae3eb3c Move FolderRepository.getDisplayFolders() to MessageStore 2021-04-02 05:52:57 +02:00
cketti
05543214e5 Move more code from FolderRepository to MessageStore 2021-04-02 01:26:12 +02:00
cketti
0250736cf5 Move code to read a single folder from FolderRepository to MessageStore 2021-04-02 00:27:02 +02:00
cketti
d5e43594c7
Merge pull request #5226 from k9mail/create_folders
Refactor LocalStore.createFolders()
2021-04-01 15:57:16 +02:00
cketti
8f67846813
Merge pull request #5224 from k9mail/MessageStore_getHeaders 2021-04-01 15:21:09 +02:00
cketti
1ee2c54f6d Refactor LocalStore.createFolders() 2021-04-01 02:45:33 +02:00
cketti
24f55ee03e Add test for RetrieveMessageOperations.getHeaders() 2021-04-01 01:32:46 +02:00
cketti
e76082568d Move code from MessageRepository to MessageStore 2021-03-31 23:03:46 +02:00
cketti
f0bb82e1a9 Remove unused code related to "latest old message seen time" 2021-03-31 18:09:25 +02:00
cketti
4748a5a190
Merge pull request #5223 from k9mail/refactor_LocalKeyStore 2021-03-31 15:42:49 +02:00
cketti
0e1ff7d6b1 Remove LocalKeyStore's dependency on Android's Context
And lazily initialize the KeyStore so we're not doing any work when the instance is created.
2021-03-30 22:08:06 +02:00
cketti
bb1c9c32be Convert 'LocalKeyStore' to Kotlin 2021-03-30 22:06:12 +02:00
cketti
e745f55413 Add tests for MessageStoreManager 2021-03-30 16:27:37 +02:00
cketti
cc65f72d66 Make 'MessageStoreManager' listen for account deletions 2021-03-30 16:27:37 +02:00
cketti
e8d9dae3fa Rename 'MessageStoreProvider' to 'MessageStoreManager' 2021-03-30 16:27:37 +02:00
cketti
2b6be48205 Add listener to be notified when an Account has been deleted 2021-03-30 16:27:37 +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
d3e2c6635c Add 'SettingsChangeListener' mechanism to 'Preferences' 2021-03-24 17:18:16 +01:00
cketti
827ea0059d Make everyone use Preferences.saveSettings() to save general settings 2021-03-24 17:08:17 +01:00
cketti
dc93335100 Move old migration code from 'K9' to storage module 2021-03-24 16:28:07 +01:00
cketti
fb426b4008 Remove migration code for really old K-9 Mail versions 2021-03-24 16:04:53 +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
b66662918c Prepare for version 5.734 2021-03-23 19:36:30 +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
2ddf38e666 Rename .java to .kt 2021-03-22 22:29:04 +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
26bb8e3bb7 Merge 'K9ActivityCommon' into 'K9Activity' 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
374a96ec9e Prepare for version 5.733 2021-03-04 18:57:08 +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
b83686e760 Prepare for version 5.732 2021-02-23 16:45:18 +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
2630b2a395 Add 'MessageRepository' 2021-02-20 13:28:15 +01:00
cketti
06de64cd2c Make MessageHeaderParser more flexible 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
68be2ba75e Prepare for version 5.731 2021-02-16 20:15:17 +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
cketti
3457f69c56
Merge pull request #5138 from ByteHamster/keep-swiperefresh-active
Fix swipeRefreshLayout being hidden before refresh is finished
2021-02-15 13:54:16 +01:00
Ody-sseus
b48ad28743 Fix MessageCompose activity enabled status 2021-02-14 22:49:32 +02:00
ByteHamster
052d56222e Fix swipeRefreshLayout being hidden before refresh is finished 2021-02-13 18:40:54 +01:00
cketti
1659363805 Prepare for version 5.730 2021-02-12 18:53:00 +01:00
cketti
eaa766a1a7 Version 5.729 2021-02-12 18:00:46 +01:00
cketti
e601d866c3 Don't violate ServerSetting's nullability constraints when decoding store URIs 2021-02-11 13:24:40 +01:00
cketti
06ae7cc9d4 Prepare for version 5.729 2021-02-10 15:10:06 +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
ddabe3a238 Rewrite stored value from "hideSpecialAccounts" to "showUnifiedInbox" 2021-02-07 15:45:14 +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
1f2404557b Migrate storeUri/transportUri to new server settings format 2021-02-01 17:30:21 +01:00