1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-17 06:55:03 -05:00
Commit Graph

3385 Commits

Author SHA1 Message Date
cketti
6c23e204ba Replace invalid characters in file name instead of removing them 2012-01-27 03:21:20 +01:00
cketti
68f5f009f1 Whitespace cleanup 2012-01-27 03:07:44 +01:00
wilian-cb
9a0f650cd9 3674: Displaying the final file name. 2012-01-27 02:44:01 +01:00
wilian-cb
193450cd63 3674: Illegal characters used in file names are being removed when saving them on the device. 2012-01-27 02:44:01 +01:00
cketti
e8eae37389 Reset unread/flagged count on "empty trash" 2012-01-27 00:51:18 +01:00
cketti
0f668cc80d Don't delete local messages when synchronizing a folder
When "sync remote deletions" is disabled, we convert the messages that
were deleted from the server to proper local messages by changing the
UID.
2012-01-26 03:33:33 +01:00
cketti
5a8ddaa039 Make sure draft id points to a valid message before deleting it
Avoids IllegalArgumentException in LocalStore.getMessage()
2012-01-26 00:37:25 +01:00
cketti
aae734c175 Don't Log.w() full stacktrace if file wasn't found
This happens regularly when AttachmentView tries to get a thumbnail for
attachments that haven't been downloaded yet.
2012-01-24 22:14:21 +01:00
cketti
4e5d116713 Delete attachment metadata and thumbnails when deleting attachments 2012-01-24 16:15:45 +01:00
cketti
c6696f632a Code cleanup, fixed some warnings, rearranged some stuff 2012-01-24 16:15:44 +01:00
cketti
7a3cadbf1c Refactored AttachmentProvider.openFile() 2012-01-24 16:15:44 +01:00
Ashley Willis
c69e6dc97c Merge pull request #120 from ashleywillis/msu
added montclair.edu to res/xml/providers.xml based on http://oit.montcla...
2012-01-23 17:56:27 -08:00
ashley willis
bd700127de added montclair.edu to res/xml/providers.xml based on http://oit.montclair.edu/documentation/msu_apps/email/AndroidPhoneSettingUpYourMSUEmailAccount.pdf 2012-01-23 19:51:30 -06:00
ashley willis
a9ccad8d9f Merge branch 'master' into issue-162 2012-01-23 05:39:55 -06:00
ashley willis
8e77bb15e5 Some refactoring. Added LocalFolder flag "local_only".
MessagingController.updateUids(): syncs UIDs in processPendingMoveOrCopy(), instead of messages being redownloaded.
MessagingController.saveMessage(): unsynced messages can be moved, and therefore all messages are move/copy-capable.
2012-01-23 05:17:11 -06:00
Jesse Vincent
99e9bee724 Bumped manifest to 4.107 2012-01-22 23:12:16 -05:00
cketti
4bbc5de1ba Code cleanup / fixed lots of warnings 2012-01-22 06:25:06 +01:00
cketti
45faad041e Don't finish() MessageCompose in onPause() 2012-01-22 05:32:52 +01:00
cketti
bddacf6b64 Use database ID to keep track of the current draft
By using the database ID we avoid having to deal with the problem of
changing UIDs. First the message has a local UID, then, when the upload
to the server is completed, it gets a remote UID.
2012-01-22 05:20:41 +01:00
cketti
96f827d291 Modified LocalStore to use UPDATE when replacing existing messages
This way we can later use the database ID to keep track of drafts.
2012-01-22 05:20:41 +01:00
Jesse Vincent
16003abcc1 Bumped manifest to 4.106 2012-01-20 23:42:30 -05:00
cketti
be2aac52a8 Reload accounts after writing imported account settings to storage
This makes sure that when the next account is imported it will see the
account just imported. That's necessary e.g. when going though all
accounts to find the next free account number, or when avoiding account
name conflicts.
2012-01-21 03:10:40 +01:00
cketti
0625e13380 Canceling notifications once should be enough 2012-01-20 23:32:55 +01:00
cketti
a8f91b0f70 Minor code cleanup 2012-01-20 23:32:12 +01:00
cketti
7eccc1701d Merge branch 'issue3508' 2012-01-20 23:19:22 +01:00
cketti
2c5f640b9e Minor cleanup 2012-01-20 23:15:11 +01:00
wcb
457e65010e Issue 3139: notifications of new messages removed when unified inbox is selected 2012-01-20 11:55:04 -08:00
Andrew Chen
4c74001a28 Merge pull request #116 from levysiqueira/patch-1
Issue 4014: Correction of few translation errors and translating some of the NEW strings
2012-01-20 11:10:30 -08:00
Nick Nikolaou
773d1e30f1 Simplied code and added curly brackets to if/else 2012-01-20 19:10:11 +00:00
cketti
32a29f131b Make sure an IOException is always passed through as MessagingException
This is important for the code handling pending actions in
MessagingController. If a non-permantent MessagingException is
encountered, the pending action is retried later.

Fixes issue 3696
2012-01-20 19:50:07 +01:00
Nick Nikolaou
1a01c10fc5 Don't save to drafts if drafts folder is -NONE- 2012-01-20 17:02:35 +00:00
levysiqueira
18e4557b1e Correction of few translation errors and translating some of the NEW strings. 2012-01-18 16:17:37 -02:00
Jesse Vincent
96b0a7b28b Bumped manifest to 4.105 2012-01-17 17:51:43 -08:00
Jesse Vincent
da7f2a2943 update our upload target for sdk 16 2012-01-17 17:50:25 -08:00
Jesse Vincent
5c9b1db459 fix the push-tags target 2012-01-17 17:47:20 -08:00
cketti
258b0039d5 IMAP: also get the Message-ID when fetching the message "envelope"
This should fix issue 3994
2012-01-14 06:30:22 +01:00
ashley willis
c0aeca2d54 sanity checks: handle special folders settings, don't allow renaming of inbox and outbox. 2012-01-13 00:41:04 -06:00
ashley willis
bf5940db39 removed unused enum FolderType 2012-01-12 04:09:17 -06:00
ashley willis
eab23b5bbf Added folder rename and folder delete for IMAP and POP3. 2012-01-12 03:51:25 -06:00
cketti
66b7805a57 Fixed a bug in the IMAP response parser
Also got rid of ImapResponse.more() which isn't necessary anymore.
2012-01-12 07:56:52 +01:00
cketti
ad8b025b6f Fixed indentation 2012-01-12 02:20:22 +01:00
cketti
8e627834c1 Changed font size unit from DIP to SP
"Scale-independent Pixels - this is like the dp unit, but it is also
scaled by the user's font size preference. It is recommend you use this
unit when specifying font sizes, so they will be adjusted for both the
screen density and the user's preference." - Android Developer Docs
2012-01-12 02:18:41 +01:00
cketti
edf0361aab Added font size setting for text input fields in MessageCompose 2012-01-12 01:05:01 +01:00
cketti
e7f29d429c Fixed quoted text for plain text messages 2012-01-10 07:44:50 +01:00
cketti
0d8497b04b Restructured and documented MessageCompose.buildText()
Also fixed a bug where the signature wasn't appended in the HTML part of
newly composed messages.
2012-01-10 01:47:23 +01:00
ashley willis
d1dc346475 Local pop3 folders -- woot! Create folder, move or copy a message anywhere. Deleting folders not implemented yet. Issues 2189 and 2969. 2012-01-09 04:45:11 -06:00
ashley willis
dedecedfe4 IMAP folder creation. 2012-01-09 02:30:06 -06:00
cketti
a191415860 Avoid using TreeMap methods introduced with API 9 2012-01-08 04:04:25 +01:00
Andrew Chen
ffa77ad288 Commit a new default in IntelliJ IDE settings added by IntelliJ 11. 2012-01-07 09:36:07 -08:00
Jesse Vincent
ec78c1e009 Save settings changes "on pause" rather than "on back" so we actually
save settings when a user hits home or menu or whatever.
2012-01-06 20:27:10 -05:00