cketti
4fd51cf313
Add "copy link text to clipboard" option when long-pressing links
2020-10-07 02:04:53 +02:00
cketti
5312c3d1ca
Treat all whitespace as separator when detecting URIs
2020-10-06 22:39:04 +02:00
cketti
378c90b46e
Prepare for version 5.721
2020-10-06 20:29:06 +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
08b6952382
Only keep resources for languages supported in K-9 Mail
...
This will strip strings of unsupported languages provided by libraries.
2020-10-06 19:41:18 +02:00
cketti
0c77513407
Merge pull request #4986 from k9mail/GH-4984_fix_preview_text_extraction
...
Fix preview text extraction
2020-10-06 16:11:40 +02:00
cketti
b8edb11eea
Merge pull request #4983 from k9mail/signature_display
...
De-emphasize signature when displaying text/plain part
2020-10-06 16:10:07 +02:00
cketti
e3b8855bdd
Catch unexpected exceptions in MessagePreviewCreator
2020-10-06 15:15:19 +02:00
cketti
15ca949698
Make PreviewTextExtractor work with empty string
2020-10-06 15:11:02 +02:00
cketti
ca5a044247
De-emphasize signature when displaying text/plain part
2020-10-05 18:27:10 +02:00
cketti
7d6ca63cf2
Add support for nested HtmlModifications to TextToHtml
2020-10-05 18:13: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
d38dd84e88
Exclude 'DebugProbesKt.bin' from APK
2020-10-04 21:51:17 +02:00
cketti
145c048326
Prepare for version 5.720
2020-10-04 20:19:45 +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
a5ef3f8b3c
Merge pull request #4964 from AlexKDawson/4936-bug/user-selected-account-lost
...
User selected Account is lost on screen rotation when setting up "Unread" widget
2020-10-03 18:27:23 +02:00
Alex Dawson
c671c84191
Persist state in unread widget configuration during screen rotation
2020-10-03 18:11:14 +02:00
cketti
8dd8881ab5
Merge pull request #4967 from k9mail/improve_preview_extraction
...
Improve preview text extraction
2020-10-03 03:41:52 +02:00
cketti
a1e9a521e3
Replace somewhat complex regular expression with code
...
Apparently the regular expression \n*(?:[^\n]+\n?)+:\n+$ is complex enough so matching takes the regex engine on Android forever on non-trivial inputs.
2020-10-03 02:28:48 +02:00
cketti
99ce09f19d
Improve preview text extraction
...
Using 'EmailSectionExtractor' provides the necessary context to reliably detect quote headers, i.e. text like "On $date $sender wrote:". The regular expression previously used would remove almost any line ending with ":".
2020-10-03 02:28:48 +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
6a25709e09
Convert 'PreviewTextExtractorTest' to Kotlin
2020-09-30 03:00:20 +02:00
cketti
4c08c964e7
Rename 'PreviewTextExtractorTest' prior to conversion to Kotlin
2020-09-30 03:00:20 +02:00
cketti
bb4ed7a15c
Convert 'PreviewTextExtractor' to Kotlin
2020-09-29 23:31:24 +02:00
cketti
ab4e0229dc
Rename 'PreviewTextExtractor' prior to conversion to Kotlin
2020-09-29 23:22:15 +02:00
cketti
5cec85cb15
Merge pull request #4958 from k9mail/GH-3653_fix_search_crash
...
Return empty result when EmailProvider query fails
2020-09-23 15:57:25 +02:00
cketti
172f98cd8c
Merge pull request #4952 from k9mail/GH-4951_fix_HtmlSanitizer
...
Add some HtmlSanitizer exceptions
2020-09-23 15:55:14 +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
b82be6f374
Retain some attributes of <body> element during HTML sanitization
2020-09-20 18:01:00 +02:00
cketti
10ce58d603
Add <title> tag to allow list
2020-09-20 17:42:35 +02:00
cketti
ec34b96bfa
Convert 'HtmlSanitizerTest' to Kotlin
2020-09-20 17:42:35 +02:00
cketti
796eabb705
Rename 'HtmlSanitizerTest' prior to conversion to Kotlin
2020-09-20 17:42:35 +02:00
cketti
fc45e059fc
Update to targetSdkVersion 29
2020-09-20 01:29:50 +02:00
cketti
391d8e403c
Use mocked QuoteDateFormatter in TextQuoteCreatorTest
2020-09-20 01:08:39 +02:00
cketti
fd9d6f8d95
Use default Locale in QuoteDateFormatter
2020-09-20 01:04:33 +02:00
cketti
2db24bec08
Change QuoteHelper into QuoteDateFormatter
2020-09-19 20:44:54 +02:00
cketti
075fb35cd9
Get rid of QuoteHelper.QUOTE_BUFFER_LENGTH
2020-09-19 19:51:13 +02:00
cketti
e79dacd126
Use buildString() helper in TextQuoteCreator
2020-09-19 19:27:56 +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
cketti
05882616d6
Update MiniDNS to 1.0.0
2020-09-18 02:42:07 +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
fefe183d9a
Merge pull request #4921 from k9mail/decode_encrypted_subject
...
Decode encrypted subject
2020-08-25 17:31:56 +02:00
cketti
bdbd8d98b2
Decode encrypted subject
2020-08-25 17:15:00 +02:00
Tobias Preuss
f8e6e59fd6
Use io extension functions to make code more concise.
...
+ This change replaces a few usages of BufferedWriter, ByteArrayInputStream,
OutputStreamWriter with their equivalent Kotlin extension functions.
2020-08-24 19:22:29 +02:00
cketti
753e03aa22
Prepare for version 5.719
2020-08-18 16:49:52 +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
28387c685e
Add missing Koin definitions to TestApp
2020-08-13 17:04:12 +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
d2f07e6ffe
Update Leak Canary to 2.4
2020-07-15 17:51:31 +02:00
cketti
833c3c62e7
Update AndroidX Core to 1.3.0
2020-07-15 16:04:20 +02:00
cketti
24d1906fb6
Merge pull request #4877 from k9mail/update_build_tools
...
Update Gradle Wrapper and Android Gradle Plugin
2020-07-15 15:30:10 +02:00
cketti
30eca8cc30
Update Android Gradle Plugin to 4.0.1
2020-07-15 01:51:13 +02:00
cketti
63e93ef8b7
Rename file to match class (AboutFragment)
2020-07-11 01:10:48 +02:00
Tobias Preuss
7bd92aebb9
Use "View#isVisible" extension function.
2020-07-09 09:33:49 +02:00
Tobias Preuss
b1119adfc7
Use "Context#withStyledAttributes" extension function.
2020-07-09 09:31:11 +02:00
Tobias Preuss
117af49699
Keep cascaded if because code is easier to read.
2020-07-08 19:22:29 +02:00
Tobias Preuss
d2d4614601
Make function somewhat more concise.
2020-07-08 19:20:49 +02:00
Tobias Preuss
4beee75b32
Use "isNotEmpty" convenience function.
2020-07-08 14:04:37 +02:00
Tobias Preuss
f7e9cbae3e
Use Kotlin "Any#toString" function.
2020-07-08 14:04:06 +02:00
Tobias Preuss
f075de1c7a
Let constant be "const".
2020-07-08 14:01:27 +02:00
Tobias Preuss
35b1d17244
Use property access syntax.
2020-07-08 14:00:23 +02:00
Tobias Preuss
0bb1cc73d9
Use Long#compare convenience function.
2020-07-08 13:58:57 +02:00
Tobias Preuss
9c6d08142a
Infer type.
2020-07-08 13:58:23 +02:00
cketti
0c40a77273
Merge pull request #4863 from starshipcoder/bugfix-2136
...
Restart message list activity after display settings have been changed
2020-07-03 18:40:45 +02:00
starshipcoder
c4c97d85d3
Fixed Issue#2136 Global display settings changes are not applied immediately
2020-07-03 18:12:47 +02:00
cketti
c71c6bc230
Automatically update folder list
...
Refresh list of folders before syncing an individual folder if the last time the folder list was refreshed was more than 30 minutes ago.
2020-06-26 23:56:07 +02:00
cketti
ccf9004090
Remove unused Contacts from MessagingController
2020-06-26 21:43:16 +02:00
cketti
7acab6cb33
Use injected Preferences instance in MessagingController
2020-06-26 21:42:53 +02:00
cketti
b87521ade4
Inject Preferences into MessagingController
2020-06-26 21:42:51 +02:00
cketti
02b7e5a2ee
Merge pull request #4849 from k9mail/update_SafeContentResolver
...
Update SafeContentResolver to version 1.0.0
2020-06-24 03:36:07 +02:00
cketti
ace8bc1244
Merge pull request #4847 from runningcode/no/api
...
Use api instead of implementation.
2020-06-24 03:22:35 +02:00
cketti
0de4dc8e77
Update SafeContentResolver to version 1.0.0
2020-06-24 03:17:15 +02:00
cketti
fbaa4ce037
Make openpgp-api module available for tests in app modules
2020-06-23 16:29:46 +02:00
Nelson Osacky
907106bfdc
Use api instead of implementation.
...
This improves the build times when making incremental changes.
See [this slide](https://speakerdeck.com/runningcode/beyond-modularization-scaling-your-android-build-with-gradle?slide=97 )
for the performance improvements.
2020-06-23 11:27:39 +02:00
cketti
fae2b54394
Prepare for version 5.718
2020-06-19 22:01:45 +02:00
cketti
4e35ad736d
Version 5.717
2020-06-19 21:54:44 +02:00
cketti
925bb66ea5
Remove failed pending commands
2020-06-19 19:43:33 +02:00
cketti
ebc11cfaf0
Update translation
2020-06-19 17:41:18 +02:00
cketti
74942150e5
Merge pull request #4839 from k9mail/local_only_operations
...
Don't attempt to perform remote operations on local-only folders
2020-06-19 16:57:47 +02:00
Mehdi Sadeghi
dfbcbad458
Let WebView handle bidirectional text
2020-06-19 16:25:21 +02:00
cketti
5c5f2409be
Don't upload draft message if not supported
2020-06-17 22:48:20 +02:00
cketti
be5b16040e
Don't upload sent message if Sent folder is local-only
2020-06-17 15:46:57 +02:00
cketti
f7ee43bc3d
Don't upload messages deleted from Outbox if not supported
...
When deleting a message from the local Outbox don't attempt to upload it to the (remote) Trash folder if the backend doesn't support that (POP3).
2020-06-17 15:39:51 +02:00
cketti
fc807303c9
Don't queue pending command for setting flags if not supported
...
If the backend doesn't support setting flags (POP3) or the folder is a local-only folder (Outbox), don't add a pending command that is guaranteed to fail.
2020-06-17 15:09:58 +02:00
cketti
14bf32cea4
Rename Backend.supportsSeenFlag to supportsFlags
2020-06-17 14:45:41 +02:00
cketti
39db941dab
Don't update special folders for POP3 accounts
2020-06-13 17:04:25 +02:00
cketti
0fb0de1bb2
Add database migration to clear 'server_id' column of local folders
2020-06-13 02:02:56 +02:00
cketti
1a96ef4641
Remove Folder.serverId property
2020-06-13 02:02:56 +02:00
cketti
01ae362ae5
Add FolderRepository.getRemoteFolderDetails()
2020-06-13 02:02:56 +02:00
cketti
5558f8a709
Remove unnecessary code from FolderSettingsViewModel
2020-06-13 02:02:56 +02:00
cketti
e5d6bf1cc6
Change UnreadWidgetDataProvider to not get FolderDetails
2020-06-13 02:02:56 +02:00
cketti
b175a6aa8b
Introduce RemoteFolder class
2020-06-13 02:02:56 +02:00
cketti
77a0be271e
Remove use of LocalFolder.serverId where not appropriate
2020-06-13 02:02:56 +02:00
cketti
99029a07b9
Fix reading of LocalFolder.databaseId
2020-06-13 02:02:56 +02:00
cketti
c31b753d26
Write 'server_id' value of NULL to database for local folders
2020-06-13 02:02:54 +02:00
cketti
fc3e2a18e5
Use folder ID in LocalStore.getPersonalNamespaces()
2020-06-12 18:53:11 +02:00
cketti
00fc6708cc
Change MessagingController.deleteMessagesSynchronous() to use folder ID
2020-06-12 18:53:11 +02:00
cketti
31ad75c539
Rewrite LocalStore.getFoldersAndUids() to getFolderIdsAndUids()
2020-06-12 18:53:11 +02:00
cketti
4976d4e178
Change MessagingListener.folderStatusChanged() to use folder ID
2020-06-12 18:53:11 +02:00
cketti
3ffa488e6c
Merge pull request #4823 from k9mail/always_notify_for_inbox
...
Don't skip notifications if the Inbox is configured as another special folder
2020-06-12 17:03:26 +02:00
cketti
291695b2d9
Merge pull request #4822 from k9mail/disable_default_signature
...
Disable default signature when creating new accounts
2020-06-12 17:03:04 +02:00
NITIN DUDIA
32a6c8fde1
Update unread_widget_configuration.xml
...
Allow folder selection only after a account is selected.
2020-06-05 19:57:27 +05:30
cketti
20b473b4d8
Don't skip notifications if the Inbox is configured as another special folder
2020-06-05 01:39:44 +02:00
cketti
f229b8ca3e
Disable use of the signature when creating the default identity
2020-06-04 22:26:04 +02:00
cketti
46747bf114
Prepare for version 5.717
2020-06-04 03:24:38 +02:00
cketti
fd59bee315
Version 5.716
2020-06-04 03:13:49 +02:00
cketti
ec8bf39252
Update translations
2020-06-03 20:44:26 +02:00
cketti
81b99bd307
Merge pull request #4810 from k9mail/wording
...
Fix names of some identifiers
2020-06-03 20:19:09 +02:00
cketti
87cd417076
Merge pull request #4808 from k9mail/notification_logging
...
Add logging to K9NotificationStrategy
2020-06-03 20:17:12 +02:00
cketti
8fa8b485c0
Replace the term 'blacklist' in the change log
2020-06-02 17:23:26 +02:00
cketti
c4e5e6b1ed
Rename PROVIDER_BLACKLIST to DISALLOWED_PROVIDERS
2020-06-02 17:22:39 +02:00
cketti
dd895ce204
Replace DozeChecker.isAppWhitelisted() with isIgnoringBatteryOptimizations()
2020-06-02 17:13:48 +02:00
cketti
02b5feacad
Replace 'Whitelist' with 'AllowList' in HtmlHelper
2020-06-02 17:09:47 +02:00
cketti
8b043840c7
Convert 'HtmlHelper' to Kotlin
2020-06-02 17:09:47 +02:00
cketti
0b202197f0
Rename 'HtmlHelper' prior to conversion to Kotlin
2020-06-02 17:09:47 +02:00
cketti
781a6f29b9
Replace 'Whitelist' with 'AllowList' in HtmlSanitizer
2020-06-02 17:09:47 +02:00
cketti
245ae8c123
Convert 'HtmlSanitizer' to Kotlin
2020-06-02 17:01:43 +02:00
cketti
00846b21b6
Rename 'HtmlSanitizer' prior to conversion to Kotlin
2020-06-02 16:51:55 +02:00
cketti
f1a08e54f6
Add logging to K9NotificationStrategy
2020-06-02 13:21:32 +02:00
cketti
63145dc7df
Make the sticky footer play nice with swipe-to-refresh in the drawer
2020-05-31 12:12:40 +02:00
cketti
5fe23c407d
Merge pull request #4800 from k9mail/disable_minify_for_debug_builds
...
Disable minify for debug builds
2020-05-29 22:07:49 +02:00
cketti
19de9ff7b7
Merge pull request #4799 from k9mail/fix_local_outbox
...
Fix local outbox
2020-05-29 22:07:34 +02:00
cketti
607d650bea
Disable minify for debug builds
...
Hopefully this will make debug builds faster.
2020-05-29 21:35:41 +02:00
cketti
8ffd7e9c20
Add database migration to correct Outbox 'server_id' value if necessary
2020-05-29 19:42:34 +02:00
cketti
25bdbe8a0d
Use proper "server ID" when creating local Outbox folder
2020-05-29 19:32:36 +02:00
cketti
a2287ce31c
Avoid NullPointerException when reading attachment
2020-05-29 12:40:17 +02:00
cketti
b9eba6971f
Prepare for version 5.716
2020-05-27 02:01:47 +02:00
cketti
405b207449
Version 5.715
2020-05-27 01:24:35 +02:00
cketti
e57f4d4728
Merge pull request #4787 from k9mail/clean_up_apk
...
Exclude unnecessary files from APK
2020-05-27 01:23:56 +02:00
cketti
ccfbc6e8eb
Exclude more things via packagingOptions
2020-05-27 00:42:38 +02:00
cketti
d94d39f160
Remove unnecessary dependencies from :app:autodiscovery:api
2020-05-26 20:05:13 +02:00
cketti
e3e132e5ef
Update translations
2020-05-26 16:31:13 +02:00
cketti
43cf0d78a5
Merge pull request #4780
...
Use day of week in message list
2020-05-26 16:13:41 +02:00
Simon Tenbeitel
da350055c1
Use day of week in message list
...
Closes #4715
2020-05-26 16:07:55 +02:00
cketti
ca2c6b460c
Allow using the new 'add account' screen during onboarding
...
To enable this add the following line to your global gradle.properties:
k9mail.useNewSetupUi=true
2020-05-22 02:14:20 +02:00
cketti
8c953c0907
Add a way to access the new setup UI in debug builds
2020-05-22 01:15:35 +02:00
cketti
543164e516
Add :app:ui:setup module for new setup UI
2020-05-22 01:15:35 +02:00
cketti
6bb407087e
Move NavigationExtensions.kt to :app:ui:base
2020-05-21 22:14:29 +02:00
cketti
779f2a7b9a
Move toolbar layout to :app:ui:base module
2020-05-21 22:00:43 +02:00
cketti
21c14c49bd
Add :app:ui:base module and move K9Activity to it
2020-05-19 18:16:15 +02:00
cketti
dc82a53713
Rename :app:ui to :app:ui:legacy
...
The goal is to split this module into smaller, more focused modules.
2020-05-19 18:16:15 +02:00
cketti
633b843f16
Inject style resource IDs into ThemeManager via ThemeProvider
2020-05-19 18:16:15 +02:00
cketti
b2a99a8cb7
Convert 'K9Activity' to Kotlin
2020-05-19 18:16:15 +02:00
cketti
f2587d3f16
WIP: Renaming file 'K9Activity' with Kotlin extension
2020-05-19 18:16:15 +02:00
cketti
c0b9db4643
Merge pull request #4769 from k9mail/fix_special_local_folders
...
Fix special local folders
2020-05-19 18:15:43 +02:00
cketti
7638a4b5be
Merge pull request #4774 from k9mail/permissions
...
Move Android permission handling out of K9Activity
2020-05-19 00:39:12 +02:00
cketti
bb0b59dabc
Merge pull request #4772 from k9mail/fix_disable_encryption
...
Disable encryption when selecting "disable encryption" in dialog
2020-05-19 00:37:11 +02:00
Olivia Mackintosh
d5f82fd041
Split autodiscovery methods into gradle builds
...
This commit should be faily self-explainatory. It splits the
three autodiscovery methods into their own gradle builds so
they can be plugged in and out easily. This commit doesn't
necessarily make the latter possible though.
Dependency graph should look something like this now:
app:ui
\
\app:autodiscovery:api
|
|\app:autodiscovery:providersxml
|
|\app:autodiscovery:srvrecords
|
\app:autodiscovery:thunderbird
2020-05-18 23:04:06 +01:00
cketti
f393c3a00f
Move Android permission handling out of K9Activity
2020-05-18 20:44:43 +02:00
cketti
fee3f2e00c
Disable encryption when selecting "disable encryption" in dialog
2020-05-17 20:40:41 +02:00
cketti
a6b3c69ba2
Merge pull request #4770 from k9mail/add_leakcanary
...
Add LeakCanary
2020-05-17 19:50:56 +02:00
Olivia Mackintosh
7c95e428c6
Allow ThunderbirdAutoconfig to return multiple in/out configs
...
In a similar fashion to SrvServiceDiscovery, this commit allows
ThunderbirdAutoconfig to only get the type of service needed
depending on DiscoveryTarget
Rename sorting Comparator to mailServicePriority
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
76678057ad
Replace deprecated RuntimeEnvironment.application
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
cd2a89ebdb
Make SrvServiceDiscovery cond. get in/out servers
...
SRV autodiscovery should only find either INCOMING; OUTGOING or
INCOMING_AND_OUTGOING services depending on the new DiscoveryTarget
enum
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
4493d8c76e
ConnectionSettingsDiscovery should return list of in/out settings
...
Creates a new data class: DiscoveryResults that holds a list of incoming
and outgoing DiscoveryServerSettings. This commit also creates a wrapper
for the currently used ProvidersXmlDiscovery to convert the new
DiscoveryResults object into ConnectionSettings.
In the future, this process will have a less-lazy algorithm that will be
smart enough to handle more than one incoming/outgoing server but this
commit assumes there are still one of each (by assertion).
Use enum to determine discovery target
Sort SrvServiceDiscovery results using pickMailService
2020-05-17 18:44:36 +01:00
Olivia Mackintosh
93c0d98419
Lay groundwork for optional in/out server discovery
2020-05-17 18:44:36 +01:00
cketti
ffe75e464f
Merge pull request #4762 from ByteHamster/pull-to-refresh-all
...
Add swipe to refresh to drawer
2020-05-16 21:17:53 +02:00
cketti
451a2b2d03
Add LeakCanary
2020-05-16 21:06:06 +02:00
ByteHamster
e6beeb1aed
Refresh all accounts in unified inbox and account list
2020-05-16 17:50:18 +02:00
cketti
7a7d588b43
Clean up special local folders in database
2020-05-16 17:46:26 +02:00
cketti
c85b56828e
Don't reset special local folders in SpecialFolderUpdater
2020-05-16 17:46:26 +02:00
cketti
35e5fceb0c
Display localized names for special local folders
2020-05-15 19:56:44 +02:00
cketti
981e12965a
Add isLocalOnly property to Folder
2020-05-15 19:55:26 +02:00
cketti
118450e31d
Only create special local folders once
...
Previously special local folders were created every time the server
settings were checked. The folders weren't created when the server settings
check would encounter an error, e.g. if there was no internet connectivity,
but the user decided to continue anyway.
2020-05-15 18:14:54 +02:00
cketti
482e8df663
Create SpecialLocalFoldersCreator to create special local folders
...
That's "Outbox" for all account types. And additionally "Drafts", "Sent",
and "Trash" folders for POP3 accounts.
2020-05-15 17:21:47 +02:00
cketti
686ad00cd3
Tweak progress view position and swipe behavior in drawer
2020-05-14 15:07:07 +02:00
cketti
23fb90605c
Prepare for version 5.715
2020-05-14 00:12:55 +02:00
cketti
842ee9ed2a
Version 5.714
2020-05-13 23:50:45 +02:00
cketti
26563cc7d0
Merge pull request #4764 from k9mail/update_list_of_libraries
...
Update list of libraries in About screen
2020-05-13 23:44:37 +02:00
cketti
3770d51361
Merge pull request #4763 from k9mail/missing_folder
...
Make trying to open a non-existent folder a permanent error
2020-05-13 23:44:20 +02:00
cketti
1673b424da
Merge pull request #4760 from k9mail/do_not_close_drawer
...
Keep drawer open after selecting an account
2020-05-13 23:43:51 +02:00
ByteHamster
e1273e28b7
Added swipe to refresh to drawer
2020-05-13 17:48:01 +02:00
cketti
94df5a0c64
Update list of libraries in About screen
2020-05-13 17:36:11 +02:00
cketti
9100438b31
Make trying to open a non-existent folder a permanent error
2020-05-13 16:31:35 +02:00