1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00
Commit Graph

5235 Commits

Author SHA1 Message Date
cketti
3919c9d2d6 Save multi part epilogue in MimeMultipart 2014-12-08 16:48:18 +01:00
cketti
d1d7b60a09 Add helper method to decode message bodies
Depending on whether a Body implements RawDataBody (which indicates the class
retains the original encoding) the helper method either strips the transfer
encoding or simply returns the result of Body.getInputStream().

This should restore the original functionality. So saving messages in the
database should work fine again.
2014-12-08 16:32:23 +01:00
cketti
f7d3eaa006 Fix setUsing7bitTransport() functionality for BinaryTempFileBody 2014-12-08 16:32:23 +01:00
cketti
9f4f0cf6a8 Modify BinaryTempFileBody to retain the encoded body
For now this breaks a lot of things, e.g. saving messages to the database
and making messages 7-bit safe.
2014-12-08 16:32:23 +01:00
cketti
d32d6eed0e Move "magic" from Part.setBody() implementations to MimeMessageHelper.setBody()
Now adding message bodies during parsing won't set/modify headers.
2014-12-08 16:32:23 +01:00
cketti
51a60b5ad3 Modify ReconstructMessageTest to highlight more problems 2014-12-08 16:32:23 +01:00
cketti
2404b80b04 Fix MessageTest now that we preserve line breaks in headers 2014-12-08 16:32:23 +01:00
cketti
bcb6c75c2e Add support for storing raw header fields 2014-12-08 16:32:23 +01:00
cketti
8630bb0ad4 Add simple test to check if writing a parsed message leads to input data 2014-12-08 16:32:23 +01:00
cketti
825c508ff6 Merge pull request #19 from k9mail/art/update-gradle
Update to be compatible with latest Android Studio
2014-12-07 20:52:26 +01:00
Art O Cathain
68c95d0283 Update to be compatible with latest Android Studio 2014-12-07 14:22:03 +00:00
cketti
878189baec Merge pull request #17 from k9mail/art/espresso-e2e-tests-2
Espresso tests for account setup
2014-12-07 04:40:47 +01:00
Art O Cathain
854b1b3ffc Add end-to-end tests using Espresso 2014-11-23 15:26:05 +00:00
cketti
a725099693 Merge pull request #499 from k9mail/remove_apg_interface
Remove APG legacy interface
2014-11-12 21:08:46 +01:00
cketti
526fa443a8 Merge branch 'pr/505'
Get more dependencies from jCenter
2014-11-12 20:55:14 +01:00
cketti
6542ba3a72 Reorder dependencies 2014-11-12 19:53:05 +01:00
cketti
c252335d2e Use jutf7 1.0.0 since 1.0.1-SNAPSHOT doesn't include any relevant improvements 2014-11-12 19:49:28 +01:00
cketti
9b61fe0f0e Merge remote-tracking branch 'k9mail_pgp_mime/master'
Conflicts:
	src/com/fsck/k9/activity/AccessibleEmailContentActivity.java
2014-11-12 19:22:53 +01:00
cketti
9e6fc7c7d1 Merge pull request #13 from k9mail/art/update-certificates-in-tests
Update certificates in tests
2014-11-12 16:30:53 +01:00
cketti
0f70d5db40 Merge pull request #12 from k9mail/art/warn-if-not-serializable
Art/warn if not serializable
2014-11-11 19:52:31 +01:00
cketti
bd4a236525 Merge pull request #11 from k9mail/art/fix-tests-on-jvm
fix tests on JVM
2014-11-11 19:46:58 +01:00
cketti
7211080415 Merge pull request #10 from k9mail/art/more-tidying-arrays
Replace many arrays with collections
2014-11-11 19:45:35 +01:00
tobiasbaum
3dab8a2ad1 Merge pull request #14 from k9mail/art/tidy-application-ref
remove unnecessary method parameters
2014-10-19 21:53:42 +02:00
Art O Cathain
438a350f55 remove unnecessary method parameters 2014-10-19 18:40:17 +01:00
Art O Cathain
a9b0907c31 further simplification 2014-10-12 09:24:08 +01:00
Art O Cathain
ba26cfce90 remove controversial methods 2014-10-12 08:54:44 +01:00
Art O Cathain
5dc1b82340 address review comments 2014-10-11 23:52:48 +01:00
Boris Kraut
aa959f4457 Get more dependencies from jCenter 2014-10-11 18:03:57 +02:00
Art O Cathain
e592aff437 fix test that failed due to certificate expiry 2014-10-11 16:34:58 +01:00
Art O Cathain
d980e49fd1 chain the exception 2014-10-11 16:11:12 +01:00
Art O Cathain
c6df8f1ba1 warn if not serializable, also add basic unit test 2014-10-11 12:37:36 +01:00
Art O Cathain
dd1ec5f47b add unit test 2014-10-11 12:13:07 +01:00
Art O Cathain
668ee71b6c fix tests on JVM 2014-10-11 12:10:07 +01:00
cketti
4aad31e05a Bump version to 5.101 2014-10-10 13:42:52 -04:00
cketti
d2bfcab939 Update changelog for 5.101 2014-10-10 13:39:30 -04:00
cketti
c3c8221d4a Set minSdkVersion + targetSdkVersion via build.gradle
Without this building with Gradle adds a 'maxSdkVersion' attribute to the manifest. This seems to cause the targetSdkVersion value being ignored. And with a targetSdkVersion value lower than 16 the permissions READ_CONTACTS/WRITE_CONTACTS imply READ_CALL_LOG/WRITE_CALL_LOG. But we don't need/want those permissions.
2014-10-10 13:15:48 -04:00
cketti
7945aab8a7 Merge pull request #9 from k9mail/art/interface-not-impl
use interfaces, not implementions
2014-10-07 23:00:11 -04:00
cketti
0f844fd4d2 Bump version to 5.100 2014-10-07 21:50:15 -04:00
cketti
270160e65a Support reading signing config values from Gradle properties 2014-10-07 21:40:42 -04:00
cketti
87acbb7cac Update changelog for 5.100 2014-10-07 21:30:55 -04:00
cketti
06d1a2471a Change text in feature graphic 2014-10-07 21:27:45 -04:00
Joe Steele
a141457886 Revert "Implement SSL file-based session caching"
This reverts commit 43c38a047f.
2014-10-07 21:23:04 -04:00
Art O Cathain
40102d560d Set interface makes more sense for flags 2014-10-05 12:40:35 +01:00
Art O Cathain
195f28db00 Revert accidental change 2014-10-05 12:23:43 +01:00
Art O Cathain
444756839c EnumSet is more efficient than HashSet 2014-10-05 12:08:55 +01:00
Art O Cathain
fe7c0ebfac simplify following code review 2014-10-05 11:57:11 +01:00
Art O Cathain
159017e91d removed unneeded variables and clarified names 2014-10-05 11:50:04 +01:00
Art O Cathain
d38f21265d use isEmpty instead of size() == 0 for clarify 2014-10-05 10:37:50 +01:00
Art O Cathain
02c0b5f2a3 Use collections instead of arrays to enable stronger typing and reduce cruft 2014-10-05 10:37:36 +01:00
Art O Cathain
203dcfe2c3 use interfaces, not implementions 2014-10-04 12:00:48 +01:00