Commit graph

7468 commits

Author SHA1 Message Date
cketti
8fc5c2db29 Merge pull request #2820 from jonas-lundqvist/message_list_help
Create MessageList specific key shortcut Toast
2017-10-14 02:42:44 +02:00
cketti
655e86b4f5 Move swipe refresh animation workaround from onPause() to onStop()
onPause() is also called when we don't want the animation to stop, e.g.
when changing the focus to another window in multi window mode.
However, adding a new Fragment will stop the old one. So onStop() is a
better place to cancel the animation.
2017-10-14 02:28:32 +02:00
Trogel
7c89108cea Stop refresh animation on pause
Workaround for Android bug https://issuetracker.google.com/issues/37008170
2017-10-09 12:39:22 +02:00
Trogel
e643cbd5f5 Don't set SEEN flag after complete download
This is no longer needed, now that we fetch the flags from the server.
2017-10-09 10:08:50 +02:00
Trogel
ecdd52c8ee Keep flags when downloading complete message
Avoid that clicking "Download complete message" deletes all flags of the
affected message from the local store.
2017-10-09 10:06:27 +02:00
Trogel
dbdccbf4da Don't try to download a message with local UID 2017-10-09 09:42:31 +02:00
Trogel
660ea31dfc Remove commented out code 2017-10-09 09:38:34 +02:00
Jonas Lundqvist
b56f3feb0b Create MessageList specific key shortcut Toast
Some of the key shortcuts does not trigger any actions when in
MessageList. This change creates a custom Toast message with the reduced
set of keys that has any action.
2017-10-06 22:23:39 +02:00
Vincent Breitmoser
d4eb23894d Merge pull request #2783 from k9mail/autocrypt-mutual
don't default to prefer-encrypt mutual
2017-10-06 01:04:28 +02:00
Vincent Breitmoser
53345b77dc Merge pull request #2816 from k9mail/recipients-from-crypto-provider
query recipients also from crypto provider, if available
2017-10-05 15:40:36 +02:00
Vincent Breitmoser
7cbef92581 Merge pull request #2813 from k9mail/sign-only-strings
nicer description for signed-only setting
2017-10-05 00:26:13 +02:00
Vincent Breitmoser
c2171b5161 add some unit tests for RecipientLoader 2017-10-05 00:22:01 +02:00
Vincent Breitmoser
fca4630177 query recipients also from crypto provider, if available 2017-10-04 22:29:40 +02:00
Vincent Breitmoser
688169077d add comment about missing protocol handling in MessageCryptoStructureDetector 2017-10-04 02:52:25 +02:00
Vincent Breitmoser
a7a55d4481 nicer description for signed-only setting 2017-10-04 01:28:41 +02:00
Vincent Breitmoser
94e5b88727 Don't default to prefer-encrypt mutual 2017-10-04 00:57:06 +02:00
cketti
6ececc378a Merge pull request #2777 from k9mail/simplify-message-extract
Some updates to MessageViewInfoExtractor
2017-10-03 20:28:40 +02:00
cketti
7ac6b5b0ef Merge pull request #2795 from k9mail/hide-pgp-inline
Show pgp inline menu item only if encryption/signing is actually enabled
2017-10-03 19:31:05 +02:00
cketti
7a9ea6c885 Merge pull request #2796 from k9mail/compose-error-without-key
Show error if encryption is enabled but no key is configured
2017-10-03 19:30:28 +02:00
cketti
ae38b1896a Merge pull request #2804 from Trogel/poll-read-only
Use read-only access for polling

Fixes #2772
2017-10-03 19:14:50 +02:00
Trogel
7107a606ac Adjust test for read-only connection for polling 2017-09-29 22:19:16 +02:00
Vincent Breitmoser
e97164cbb0 Show error if encryption is enabled but no key is configured 2017-09-26 22:15:44 +02:00
Vincent Breitmoser
d21639cca1 Show pgp inline menu item only if encryption/signing is actually enabled 2017-09-26 21:28:53 +02:00
Trogel
1c240031bf Connect read-only for poll 2017-09-22 22:18:01 +02:00
Vincent Breitmoser
b63ed68838 Merge pull request #2780 from k9mail/restore_instance_state
Fix MessageList.onRestoreInstanceState()
2017-09-19 00:23:32 +02:00
Vincent Breitmoser
ac628a265d use available methods for structure detection 2017-09-19 00:22:01 +02:00
cketti
4428174e8c Call through to onRestoreInstanceState() of super class 2017-09-18 23:47:15 +02:00
Vincent Breitmoser
57a5d96173 change variable name 2017-09-18 19:03:33 +02:00
Vincent Breitmoser
0dae7e8f63 Add some tests for message extraction 2017-09-18 01:53:20 +02:00
Vincent Breitmoser
d9ee8b5cf0 Simplify message extraction logic, fix #2776 2017-09-18 01:53:19 +02:00
cketti
e266547bfc Merge pull request #2763 from k9mail/improve-crypto-structure-detection
Improve crypto structure detection
2017-09-16 23:36:48 +02:00
Vincent Breitmoser
c46452ecdb get rid of inline assignments 2017-09-15 14:41:00 +02:00
Vincent Breitmoser
c4494904cf change multipart method signature 2017-09-15 14:40:40 +02:00
Philip
6b8e452f77 Improve the message we get when we reach the end of stream (#2769) 2017-09-14 15:02:56 +02:00
cketti
2b0dc82ce2 Merge pull request #2767 from k9mail/remove_errors_folder
Remove K9mail-errors folder
2017-09-14 03:18:26 +02:00
Philip
6121486211 OpenPGP Encryption dialog: Internationalise title and fix for dark theme (#2768) 2017-09-14 01:39:47 +01:00
cketti
2d90470d77 Remove K9mail-errors folder 2017-09-13 19:36:10 +02:00
Vincent Breitmoser
6de7f9dbed Remove pgp clearsign data during view extraction 2017-09-13 14:21:34 +02:00
Vincent Breitmoser
b3ad904238 Skip signature verification if it is not going to be displayed anyways
This also removes replacement of clearsigned data with its content from
MessageCryptoHelper, to be moved to text extraction later on.
2017-09-13 14:21:34 +02:00
Vincent Breitmoser
96bca146c0 Disregard protocol parameter of multipart/encrypted and /signed parts with missing bodies 2017-09-13 14:21:34 +02:00
Vincent Breitmoser
2902657e5b Extract content only from the signed part of multipart/signed messages 2017-09-13 14:21:24 +02:00
Vincent Breitmoser
afc4febd5d MessageDecryptVerified -> MessageCryptoStructureDetector 2017-09-13 11:51:36 +02:00
Vincent Breitmoser
68e0a8721f Slightly change MessageCryptoHelper and improve test structure 2017-09-13 11:51:36 +02:00
Vincent Breitmoser
93348c21ce More rigid detection of multipart/signed and /encrypted structures 2017-09-13 11:51:36 +02:00
cketti
7c248b47cf Merge pull request #2757 from k9mail/debug-icon
Use differently colored icon for debug build
2017-09-11 19:10:47 +02:00
Vincent Breitmoser
db09565fc8 use different icon for debug build 2017-09-11 18:48:02 +02:00
Philip
377ac71677 Upgrade MIME4J to latest release (#2744)
Upgrade MIME4J to latest release
2017-09-11 03:26:48 +02:00
cketti
ce1da94615 Merge pull request #2745 from k9mail/updateTesterLinks
Change Tester links to go directly to Google Play
2017-09-11 02:04:39 +02:00
cketti
24aacd47a1 Merge pull request #2739 from k9mail/add_kotlin_for_tests
Add Kotlin for tests
2017-09-11 01:34:19 +02:00
cketti
269ee2bca2 Prepare for next development iteration 2017-09-10 23:26:20 +02:00