Commit graph

9698 commits

Author SHA1 Message Date
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
b8d7c052d8
Merge pull request #4987 from k9mail/strip_unsupported_languages
Strip unsupported languages from APK
2020-10-06 19:57:15 +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
8673e6695f
Merge pull request #4982 from k9mail/share_header
Rewrite Share functionality in message view screen
2020-10-06 15:51:02 +02:00
cketti
b2e8e4b8b0
Merge pull request #4980 from k9mail/remove_message_charset
Clean up creating messages
2020-10-06 15:29:54 +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
3c0d9b99f9 Remove unused Message.setCharset() mechanism 2020-10-04 23:33:31 +02:00
cketti
2a3cc1d422 Don't pass charset to EncoderUtil.encodeEncodedWord() 2020-10-04 23:30:23 +02:00
cketti
267c658492 Only consider US-ASCII and UTF-8 in EncoderUtil.determineCharset() 2020-10-04 23:30:23 +02:00
cketti
8f7e9ee73c
Merge pull request #4979 from k9mail/fix_androidTest
Remove remaining (non-working) 'androidTest' tests
2020-10-04 23:27:00 +02:00
cketti
357e197256 Remove remaining (non-working) 'androidTest' tests 2020-10-04 23:11:42 +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
ab886c6f86
Merge pull request #4978 from k9mail/update_translations
Update translations
2020-10-04 18:54:58 +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
908f775806
Merge pull request #4962 from starshipcoder/favorites_contacts
In recipient selection dropdown display starred contacts first
2020-10-02 19:26:05 +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
8f40856809
Merge pull request #4950 from k9mail/targetSdkVersion29
Update to targetSdkVersion 29
2020-09-20 15:39:22 +02:00
cketti
fc45e059fc Update to targetSdkVersion 29 2020-09-20 01:29:50 +02:00
cketti
d85b50bcdc
Merge pull request #4947 from k9mail/quote_helper
Refactor QuoteHelper into QuoteDateFormatter
2020-09-20 01:23:07 +02:00
cketti
c601a22819 Output additional information for failing tests 2020-09-20 01:08:39 +02:00
cketti
391d8e403c Use mocked QuoteDateFormatter in TextQuoteCreatorTest 2020-09-20 01:08:39 +02:00