Vincent Breitmoser
b7bcaf8deb
rename firstClassAttachment to inlineAttachment (with reversed logic)
2016-07-24 22:08:16 +02:00
Vincent Breitmoser
c1d57aa324
parts without name are still first class attachments
2016-07-24 21:05:13 +02:00
Vincent Breitmoser
7826febedb
Merge pull request #1511 from k9mail/sanitize-in-extract
...
Sanitize HTML in MessageViewExtractor instead of MessageWebView
2016-07-24 20:51:47 +02:00
Vincent Breitmoser
526448d18b
incorporate tests feedback
2016-07-24 20:51:37 +02:00
Vincent Breitmoser
773600c717
sanitize html in MessageViewInfoExtractor
...
also, inject HtmlSanitizer to keep MessageViewInfoExtractor testable and
pass Context through Globals
2016-07-24 20:51:37 +02:00
Vincent Breitmoser
65f2539e0b
move MessageViewInfoExtractorTest to unit tests
...
(Yes, I made sure these still run successfully!)
2016-07-24 20:50:35 +02:00
cketti
8df6a56a6f
Merge pull request #1521 from k9mail/attachment-count-encrypted
...
Set attachment count to zero for encrypted messages
2016-07-24 20:37:16 +02:00
Vincent Breitmoser
5c638dd205
use MessageDecryptVerifier methods in EncryptionDetector
2016-07-22 15:17:43 +02:00
Vincent Breitmoser
034b1eda41
compose: inject loader manager to RecipientSelectView via presenter ( fixes #1251 )
...
Conflicts:
k9mail/src/main/java/com/fsck/k9/view/RecipientSelectView.java
2016-07-22 15:03:59 +02:00
cketti
2622b08767
Merge pull request #1484 from k9mail/decrypted-file-provider
...
decrypted file provider
2016-07-18 00:01:59 +02:00
cketti
d096261c56
Make use of Globals to simplify code
2016-07-17 23:02:10 +02:00
Vincent Breitmoser
8b719a3274
prefer real objects for Part in tests over mocks
2016-07-17 23:02:10 +02:00
Vincent Breitmoser
c4cb83d370
rename some classes from service to mailstore
2016-07-17 23:02:10 +02:00
Vincent Breitmoser
351737512b
fix deferred file body test
2016-07-17 23:02:10 +02:00
Vincent Breitmoser
69b0b3a763
split FileProvider logic, incorporate some other feedback
2016-07-17 23:02:09 +02:00
cketti
95c546d992
Merge pull request #1485 from k9mail/notifications_only_from_contacts
...
Setting: only show notifications for messages from contacts
2016-07-06 21:55:32 +02:00
Vincent Breitmoser
0e3d18e7f7
we don't use displayName from database either (for now), fix tests to reflect that
2016-07-06 21:48:39 +02:00
Vincent Breitmoser
bb9f857d86
add Attachment* tests, and some annotations
2016-07-06 21:48:38 +02:00
cketti
ee8dd311df
Pass Contacts via constructor into MessagingController
2016-07-05 01:34:40 +02:00
Vincent Breitmoser
1c8a6f05d0
make Attachment class immutable
2016-07-01 18:40:48 +02:00
Vincent Breitmoser
6371cde568
messageview: nicer handling of pendingintent in MessageList and MessageCryptoHelper
2016-06-30 10:49:05 +02:00
Vincent Breitmoser
b57ef10e90
messageview: add support for encapsulated signed parts ( fixes #576 )
2016-06-30 10:49:04 +02:00
Vincent Breitmoser
43efd6db0b
add some unit tests to MessageDecryptVerifier
2016-06-30 10:25:26 +02:00
Vincent Breitmoser
8f4ac55d6c
don't rely on cached metadata from database for attachment info
...
This commit removes use of LocalFolder.MessagePartType as an indication
of part types in AttachmentInfoExtractor. The enum was intended as a
caching mechanism to skip loading unimportant parts from the database,
but only the reading side was implemented. As the expected performance
gain is negligible, I disabled the reading side for now (computing the
data instead) and more explicitly disabled the writing side as well.
2016-06-13 17:11:47 +02:00
cketti
3762e1561f
Only test one thing per test method
2016-05-20 23:55:45 +02:00
cketti
56e8fc1d77
Remove redundant checks and ones that make tests needlessly brittle
2016-05-20 23:52:21 +02:00
cketti
7e829bbfb7
Fix test instead of adding null check to ListHeaders
2016-05-20 23:39:55 +02:00
Vincent Breitmoser
43899da77c
same signature to get replyTo and replyToAll addresses in ReplyToParser
2016-05-20 11:26:13 +02:00
Vincent Breitmoser
3de2360a43
inject ReplyToParser and test for use in initFromReplyTo
2016-05-17 16:39:27 +02:00
Vincent Breitmoser
f85bef1261
move reply to all logic into ReplyToParser and add tests
2016-05-17 16:00:40 +02:00
Vincent Breitmoser
b6cd69f247
compose: check that message is simple before applying PGP/INLINE encoding
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
b6f540bfd9
compose: apply transfer encoding *after* PGP/INLINE signing
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
8a58398cb8
add first tests for MessageBuilder
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
665feffe70
add some tests for PgpMessageBuilder
2016-05-09 09:54:06 +02:00
cketti
0640a60362
Introduce hack to remove flakiness from MigrationTest
2016-04-30 02:33:39 +02:00
cketti
e6d84afacc
Merge pull request #1317 from philipwhiuk/messagingControllerImprovement
...
Tests for MessagingController
2016-04-29 03:25:00 +02:00
Philip Whitehouse
4bb116f2f4
Add tests for remote search
2016-04-23 01:20:01 +01:00
Vincent Breitmoser
e888ab8b4a
rename preview package to extractors
2016-04-22 13:22:17 +02:00
Philip Whitehouse
bb8042669b
Add tests for searchLocalMessagesSynchronous
2016-04-21 20:52:38 +01:00
Philip Whitehouse
da8b0c56e4
Tests for MessagingController
2016-04-21 01:51:02 +01:00
cketti
78715ed29f
Merge pull request #1248 from k9mail/GH-879_notify_on_authentication_failure
...
Notify user on authentication failure
2016-04-11 22:57:00 +02:00
cketti
c7562a9ff2
Merge pull request #1197
...
Add debugging for when file I/O fails
2016-04-08 12:53:43 +02:00
cketti
866cc08ff0
Show notification on authentication failures
2016-04-01 22:07:00 +02:00
cketti
74c6e76433
Merge pull request #1210 from k9mail/GH-1164_fix_preview_extraction_failure
...
Handle preview extraction failures
2016-03-29 08:01:03 +02:00
cketti
9bacb2d5bc
Merge pull request #1196
...
Testing improvements for various components
2016-03-24 09:16:02 +01:00
cketti
f6b32f2983
Code cleanup
2016-03-24 09:12:48 +01:00
Philip Whitehouse
8ffd250f47
Add test coverage to POP3 store and Account Creator. Document some area to improve
2016-03-24 05:42:41 +01:00
cketti
d93a7de367
Merge pull request #1174
...
Handle synchronizing empty folders
Fixes #1139
2016-03-24 05:22:04 +01:00
cketti
cd79f7e225
Code style fixes
2016-03-24 05:18:50 +01:00
Philip Whitehouse
fd0ea66ebe
Improve testing of synchronizeMailboxSynchronous
2016-03-24 05:18:41 +01:00