Commit Graph

5406 Commits

Author SHA1 Message Date
cketti 2532362ed5 Add test for updating a message with a missing part 2015-01-10 04:39:02 +01:00
cketti bd97004ebd Fix downloading/saving single message parts 2015-01-10 04:38:57 +01:00
cketti 743e640d8c Remove references to 'text_content' and 'html_content' 2015-01-10 01:22:39 +01:00
cketti ce862c88f8 Change AttachmentProvider to use the new database structure 2015-01-07 02:34:44 +01:00
cketti e5f0bec6bc Get rid of "backward compatibility" in AttachmentProvider 2015-01-07 00:16:37 +01:00
cketti c5ba202a56 Code style fixes 2015-01-07 00:13:28 +01:00
cketti 34b5d56ab1 Get rid of 'attachments' table 2015-01-06 23:59:58 +01:00
cketti 1a5ecfea1d Also delete local messages when using "clear messages" on an account
We have been throwing away all attachments already, so it doesn't make
too much sense to keep local messages. And when we're not keeping local
messages we can remove all entries from the 'threads' table.
2015-01-06 23:48:22 +01:00
cketti 30e37000f9 Remove remnants of the "headers" table 2015-01-06 21:36:31 +01:00
cketti d7edb0ed4f Minimal version that reconstructs original message from the database
This change breaks all kinds of things, e.g.
- deleting messages
- updating messages
- downloading attachments
- deleting attachments
- searching in message bodies
2015-01-06 03:20:38 +01:00
cketti 523ebd0f2a Remove 'dirty' check for LocalMessage 2015-01-05 02:25:17 +01:00
cketti 3eb25a011f Don't automatically create Message-ID when none is found 2015-01-05 02:25:17 +01:00
cketti d7085a2f07 Properly decode the body in MessageExtractor.getTextFromPart() 2015-01-05 00:57:25 +01:00
cketti abbad18283 Code style fixes 2015-01-05 00:45:05 +01:00
cketti 7b5c73b43c Add (failing) test for reconstructing a message from the database 2015-01-03 09:38:49 +01:00
cketti ddd78bd3e3 Merge branch 'findbugs_fixes' 2015-01-03 06:33:43 +01:00
cketti 72f022d7ed Ignore newline in format string Findbugs warnings 2015-01-03 05:41:29 +01:00
cketti 57ad0fd6b3 Remove unused implementation from abstract class 2015-01-03 04:39:25 +01:00
cketti ad8da49991 Remove unused code 2015-01-03 04:27:27 +01:00
cketti b6315b15b0 Fix equals() method to work with all objects 2015-01-03 04:10:15 +01:00
cketti 6804ee04e3 Fix some MS_SHOULD_BE_FINAL Findbugs warnings 2015-01-03 03:51:47 +01:00
cketti 65d2de0fcc Fix bug caused by edge case of Math.abs() 2015-01-03 03:51:47 +01:00
cketti 928c7f33a3 Add missing hashCode() method to SearchCondition 2015-01-03 03:51:47 +01:00
cketti e45d780c6f Fix WebDavFolder.equals() 2015-01-03 02:12:37 +01:00
cketti b69bba01da Fix DM_BOXED_PRIMITIVE_FOR_PARSING findbugs warning 2015-01-03 02:02:54 +01:00
cketti e2a9dd3042 Upgrade to Espresso 2.0 2015-01-02 23:43:46 +01:00
cketti 82736f3a8b Merge pull request #524 from k9mail/merge_pgp_mime_branch
Merge changes from PGP/MIME repository
2015-01-02 22:04:28 +01:00
Jan Berkel 78758714c2 Add testcase for #525 2014-12-31 00:43:28 +01:00
m0viefreak e8c6a56fd2 Use correct sub-part of a multipart message when getting text.
946565347a passed 'this' to
getTextFromPart() which could be a multipart. This caused
all multipart messages to show 'No text' as the body.

Fix it by passing it the correct 'part' that was found.
2014-12-25 14:48:05 +01:00
Jan Berkel fe8e779b32 Reformat 2014-12-23 10:15:24 +01:00
cketti 704cb35d7e Fix Espresso tests 2014-12-22 23:52:34 +01:00
cketti c96a11212e Update dependencies 2014-12-22 23:09:05 +01:00
Jan Berkel b0d401c3b7 Added note about expected method parameter format
8194c20ffe (commitcomment-9069167)
2014-12-22 22:37:17 +01:00
cketti 6c172f94a1 Add missing global settings to settings export 2014-12-22 19:47:15 +01:00
cketti 152e0a0530 Revert ImapStore URI change
Reverts changes introduced with commit 8194c20ffe
Adds test to make sure usernames/passwords with special characters encode/decode properly.
2014-12-22 18:24:22 +01:00
cketti 703c007fc8 Fix code style 2014-12-22 17:33:48 +01:00
Jan Berkel 8194c20ffe Fix IMAP uri decode when user/pw contains ':' 2014-12-21 11:52:05 +01:00
cketti 4f8fc5bc5b Merge remote-tracking branch 'k9mail_pgp_mime/master'
Fixed lots of conflicts
2014-12-20 08:07:46 +01:00
cketti 7752f42db6 Merge branch 'gradle_only_and_k9mail_library'
Conflicts:
	k9mail-library/src/main/java/com/fsck/k9/mail/transport/imap/ImapSettings.java
	src/com/fsck/k9/mail/store/imap/ImapSettings.java
	src/com/fsck/k9/mail/transport/imap/ImapSettings.java
2014-12-20 04:46:14 +01:00
Jan Berkel ae6f1fa299 Cleanup 2014-12-20 03:10:31 +01:00
Jan Berkel 1bd74ad263 Move settings to the right place 2014-12-20 03:03:06 +01:00
cketti 52b3974c4f Run checkstyle and findbugs on k9mail-library 2014-12-20 01:49:09 +01:00
cketti 105bca735b Move 'mail' package to library project 2014-12-20 01:31:33 +01:00
Jan Berkel 6a24aca343 Move TracingPowerManager into mail package 2014-12-20 00:50:09 +01:00
cketti 9e7721ca62 Make ckChangeLog an external dependency 2014-12-20 00:33:00 +01:00
cketti 348051cb95 Remove outdated docs 2014-12-20 00:21:02 +01:00
cketti 4d61a6407d Move lint configuration file into 'config' folder 2014-12-20 00:10:38 +01:00
cketti 0a6046cae7 Update Transifex client configuration 2014-12-20 00:10:38 +01:00
cketti 7d3cea87f9 Use default directory structure for tests-on-jvm subproject 2014-12-20 00:10:38 +01:00
cketti 1212f9d0f2 Move main application from root project to subproject 'k9mail' 2014-12-20 00:10:38 +01:00