Commit graph

6643 commits

Author SHA1 Message Date
Vincent Breitmoser
2dd9c9c3b8 Merge pull request #1795 from k9mail/fail_early
Throw instead of returning null when Body.getInputStream() is not supported
2016-11-14 16:09:03 +01:00
cketti
48581bd53c Throw instead of returning null when Body.getInputStream() is not supported
Inspired by trying to find out what happened in issue #1794
2016-11-14 12:18:08 +01:00
Vincent Breitmoser
cedaecb38e Merge pull request #1769 from k9mail/attachment-ninjafix
use AttachmentTempFileProvider to expose file-backed content uris
2016-11-08 11:21:39 +01:00
cketti
bc41d9124e Merge pull request #1714
Added some more coverage to the MessageReferenceTest
2016-11-08 11:16:39 +01:00
cketti
5b0544cbab Clean up new tests 2016-11-08 11:13:57 +01:00
cketti
58bd73db3b Merge pull request #1773 from philipwhiuk/webDavLogging
WebDAV: Improve logging when we get an unexpected redirect during sync
2016-11-08 09:36:33 +01:00
cketti
502bb6570f Don't use 'exit-early' pattern for non-error cases 2016-11-08 09:07:52 +01:00
cketti
47a5401ca7 Introduce local variable to make code easier to read 2016-11-08 09:07:52 +01:00
cketti
fbecc40d01 Use okio with AttachmentTempFileProvider 2016-11-08 09:07:52 +01:00
Philip Whitehouse
76536ce5c9 WebDAV: Improve logging when we get an unexpected redirect during sync 2016-11-05 17:25:44 +01:00
Vincent Breitmoser
75b2cafddc fix context menu for inline attachments 2016-11-03 13:57:19 +01:00
Vincent Breitmoser
be45380415 use AttachmentTempFileProvider to expose file-backed content uris 2016-11-03 13:57:19 +01:00
cketti
0617d4250f Merge pull request #1759 from k9mail/mch-fix-broken-signature-behavior
Improve behavior for broken signatures
2016-11-03 02:04:18 +01:00
cketti
59dcdf6b68 Merge pull request #1766 from k9mail/expert-signatures
Turn support for signed-only mails into an opt-in feature
2016-11-03 01:29:04 +01:00
Vincent Breitmoser
58eb9b52ca remove unused lastAutomaticCheckTime attribute from Account 2016-11-02 14:30:58 +01:00
Vincent Breitmoser
f5f3208b2d incorporate requested changes by cketti 2016-11-02 14:30:58 +01:00
Vincent Breitmoser
380fd94b22 some more tests for PgpMessageBuilder 2016-11-02 14:30:51 +01:00
Vincent Breitmoser
54c0ac6e7b disabled lock status icon is dark grey 2016-10-31 07:57:08 +01:00
Vincent Breitmoser
c7a637f21b don't sign in opportunistic mode if sign-only isn't supported 2016-10-31 07:57:08 +01:00
Vincent Breitmoser
98286fd7fb split off sign-only variant of CryptoSettingsDialog 2016-10-31 07:29:05 +01:00
cketti
d0b3caf976 Merge pull request #1755 from k9mail/GH-1741_notification_actions
Add notification actions to "stacked notifications"
2016-10-31 06:15:09 +01:00
Vincent Breitmoser
395f37ea1c add account setting to support unencrypted authentication 2016-10-31 04:30:14 +01:00
Vincent Breitmoser
7fe6a90396 clean up warnings in Account (no semantic changes) 2016-10-31 04:14:12 +01:00
Vincent Breitmoser
80d7ce4887 messageview: if OpenPGP-API throws on signature verification, don't treat data as undisplayable 2016-10-26 18:44:45 +02:00
Vincent Breitmoser
136ee8e34f fix possible NPE in message crypto helper 2016-10-26 17:37:38 +02:00
cketti
a434f37320 Add notification actions to "stacked notifications"
On Android 7.0 notifications that previously only showed on Android Wear
 devices are also displayed on the phone/tablet. To be able to use notification
 actions there and have a separate set of actions for Wear devices we need to
 do some extra work.
2016-10-25 14:58:14 +02:00
cketti
23bf474d93 Merge pull request #1735 from jberkel/use-properties-for-config
Inject config from properties file
2016-10-20 23:44:26 +02:00
Jan Berkel
8b1c768483 Inject config from properties file 2016-10-19 12:35:28 +02:00
Jan Berkel
0342648568 Merge pull request #1734 from k9mail/test_cleanup
Clean up ImapFolderTest
2016-10-19 10:53:54 +02:00
cketti
44b4984f97 Merge pull request #1717 from jonas-lundqvist/messagebrowse
Enable directional pads for next/previous message
2016-10-19 10:38:12 +02:00
cketti
e2f5719826 Override hostname used for EHLO command in tests 2016-10-19 10:20:27 +02:00
cketti
21d4ceb0d8 Merge pull request #1649 from philipwhiuk/smtpTesting
SMTP: Testing SmtpTransport using new MockSmtpServer
2016-10-19 10:04:41 +02:00
cketti
81245150d7 Tweak test names 2016-10-19 09:57:52 +02:00
cketti
457f69a94e Add missing assertions to SmtpTransportTest 2016-10-19 09:57:52 +02:00
cketti
5ab9de5f55 Make tests more concise to improve readability 2016-10-19 09:57:52 +02:00
cketti
2ecd7f0e4e Add nicer API to build test messages 2016-10-19 09:57:52 +02:00
cketti
edbda6df26 Move test helper classes to different package 2016-10-19 09:57:52 +02:00
cketti
82bc18673c Code style fixes 2016-10-19 09:56:16 +02:00
Philip Whitehouse
a2b545fc39 SMTP: Further test coverage for various cases 2016-10-19 09:56:16 +02:00
Philip Whitehouse
d1904900c8 SMTP: Add test for 8-bit encoding behaviour 2016-10-19 09:56:16 +02:00
Philip Whitehouse
0d339ef56c SMTP: Test sendMessage 2016-10-19 09:56:16 +02:00
Philip Whitehouse
215cbb6d9a SMTP: Testing SmtpTransport using new MockSmtpServer 2016-10-19 09:56:16 +02:00
cketti
61662c5b4a Don't use numerals in test names 2016-10-19 09:38:41 +02:00
cketti
89212cd10c Use okio's Buffer instead of ByteArrayOutputStream 2016-10-19 09:33:06 +02:00
cketti
1a60a91ddf Stop using "result" as variable name to store result of tested method 2016-10-19 09:31:30 +02:00
cketti
6caada1b48 Fix warnings 2016-10-19 09:31:30 +02:00
cketti
f9853dce08 Code style fixes 2016-10-19 09:19:48 +02:00
Jan Berkel
7956c3aa83 Merge pull request #1654 from philipwhiuk/imapTesting
IMAP: Tests for fetchPart and other uncovered areas of code
2016-10-19 08:30:27 +02:00
Philip Whitehouse
2feb367de1 Changes from code review by jberkel 2016-10-19 01:34:05 +01:00
cketti
06e16478cb Merge pull request #1726 from k9mail/fix_notification_grouping
Don't use same notification group key for all accounts
2016-10-19 02:21:17 +02:00