Commit graph

5420 commits

Author SHA1 Message Date
Jan Berkel
44f6a2479b Remove reference to K9#hideTimeZone() + test 2014-12-16 12:07:27 +01:00
cketti
946565347a Revert adding methods to Message and Part 2014-12-16 06:04:39 +01:00
cketti
d24998d584 Fix tests-on-jvm 2014-12-16 05:16:09 +01:00
cketti
62c5ac8e5f Rename 'accountId' to 'accountUuid' 2014-12-16 04:02:54 +01:00
cketti
23d9310c61 Remove getUuid() from StoreConfig 2014-12-16 03:32:57 +01:00
Jan Berkel
c608258494 Unused imports 2014-12-15 13:46:23 +01:00
Jan Berkel
15a4c90f27 Update javadoc 2014-12-15 13:20:42 +01:00
Jan Berkel
b443af43ae Cleanup 2014-12-15 13:01:13 +01:00
Jan Berkel
2a2e18e8b6 WS / visibility 2014-12-15 12:45:04 +01:00
Jan Berkel
36ef6df018 Remove unused method 2014-12-15 12:42:05 +01:00
Jan Berkel
7d6e6b8abe MimeUtility / Message refactor
* break MimeUtility class into manageable pieces (MessageExtractor/CharsetSupport)
 * move HTML related code out of the mail package
2014-12-15 12:26:06 +01:00
Jan Berkel
476cb1d4ce Tidy responsibilities 2014-12-14 15:58:08 +00:00
Jan Berkel
238c1650c5 Remove URLEncodingHelper dependency 2014-12-14 15:54:27 +00:00
Jan Berkel
8ef9eae0d6 local -> mailstore 2014-12-14 15:28:42 +00:00
Jan Berkel
bd697bb56d getUuid() -> getAccountUuid() 2014-12-14 15:26:38 +00:00
cketti
96413a50a3 Merge pull request #517 from pylerSM/patch-1
Removed useless line
2014-12-14 04:20:46 +01:00
cketti
209072398e Merge pull request #518 from frankdu/clean-up
Remove K9FragmentActivity
2014-12-14 04:13:44 +01:00
Frank Du
ff70bf4e22 Remove K9FragmentActivity
Because it's same with K9Activity now, no need to keep it.

Test Plan:
./gradlew installDebug, and test the MessageList activity
2014-12-13 16:05:41 -08:00
pyler
39fc962da0 Removed useless line 2014-12-13 13:56:22 +01:00
Jan Berkel
12248bca92 Fix test location 2014-12-12 15:32:36 +00:00
Jan Berkel
54d62eb7b9 Naming 2014-12-12 15:19:13 +00:00
Jan Berkel
b644194a3d Fix LocalMessage equality/hash 2014-12-12 15:16:38 +00:00
Jan Berkel
40041ac0e0 Move local message code to local package
+ cut some helper dependencies
2014-12-12 15:02:59 +00:00
Jan Berkel
2e98ff56e5 Break dependencies 2014-12-12 13:35:36 +00:00
Jan Berkel
0024f39bc6 Local messages 2014-12-12 13:04:59 +00:00
Jan Berkel
708fb57c04 Move things into local 2014-12-12 12:49:26 +00:00
Jan Berkel
6264527abc Remove Preferences dependency 2014-12-12 12:42:48 +00:00
Jan Berkel
9f16b9f465 Move SSL code into package 2014-12-12 12:35:17 +00:00
Jan Berkel
2536719749 Naming 2014-12-12 07:03:14 +00:00
Jan Berkel
5af649c271 Avoid cast 2014-12-12 06:54:34 +00:00
Jan Berkel
9fd722d7cd Split message code into Local/Remote
The remote network code does not need to be aware of concepts like
Accounts etc.
2014-12-12 06:47:26 +00:00
Jan Berkel
6f4610dd5b Fix visibility 2014-12-12 00:30:41 +00:00
Jan Berkel
edfd20bf85 Fix visibility 2014-12-12 00:18:16 +00:00
Jan Berkel
e59adf46c0 Package visibility 2014-12-12 00:08:25 +00:00
Jan Berkel
12291bceb5 Move database code into correct package 2014-12-11 23:56:02 +00:00
Jan Berkel
ba4dd24bd5 Package visibility 2014-12-11 23:32:38 +00:00
cketti
f89b0548a6 Add test to verify a signed PGP/MIME message 2014-12-12 00:05:02 +01:00
Jan Berkel
ca10e4d94a Use TextUtils.isEmpty 2014-12-11 21:56:26 +00:00
cketti
987b8b17b1 Merge pull request #21 from k9mail/reconstruct_original_message_in_memory
Reconstruct original message in memory
2014-12-11 22:00:57 +01:00
cketti
37b0666f4a Remove Eclipse settings 2014-12-10 18:28:54 +01:00
cketti
f94491a359 Add code style settings for Android Studio 2014-12-10 18:24:27 +01:00
cketti
d1d9f1ea19 Merge remote-tracking branch 'upstream/master'
Conflicts:
	build.gradle
	gradle/wrapper/gradle-wrapper.properties
	plugins/openpgp-api-library/build.gradle
2014-12-09 00:57:27 +01:00
cketti
0ce7c911e5 Update compileSdkVersion to 21 and Gradle Android Plugin to 1.0.0 2014-12-09 00:41:10 +01:00
cketti
e374538110 Store multi part preamble as byte array 2014-12-08 17:38:30 +01:00
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