Commit Graph

1340 Commits

Author SHA1 Message Date
cketti 09c93abf86 Delete the old localized outbox. Fixes the "two outboxes" problem.
Rename the "new" hardcoded outbox to "K9MAIL_INTERNAL_OUTBOX". This
is done to avoid collisions with folders named "OUTBOX" in a remote
store. See
https://groups.google.com/group/k-9-mail/browse_thread/thread/cbb1c77abba84695

Fixes issue 3411
2011-09-15 22:26:34 -04:00
Jesse Vincent 492cdc7012 This change frequently broke display of PGP-signed messages (and others)
Revert "Correct encoding and decoding for the filename parameter in the Content-Disposition."

This reverts commit 79a96952f2.

Conflicts:

	src/com/fsck/k9/activity/MessageCompose.java
	src/com/fsck/k9/mail/store/LocalStore.java
2011-06-09 20:20:28 -04:00
cketti fbdb38f4da Load AbsoluteSizeSpan(int,boolean) constructor via reflection
This will allow us to run on Android 1.5/1.6 devices.
2011-05-26 23:43:50 -04:00
Jesse Vincent bb93450f9a Fix a NPE 2011-05-26 22:57:47 -04:00
cketti 7f700f5a12 POP3: Check for support of the TOP command (if CAPA isn't supported)
This will allow to download partial messages if the server doesn't
support the CAPA command but supports the TOP command (e.g. Hotmail).

Fixes issue 2042
2011-05-15 12:39:28 -04:00
cketti 5269bc6563 Fix bug introduced with commit b7a6dbd973
Fixes issue 3297
2011-05-15 12:25:55 -04:00
cketti 39d9e64ad3 Get rid of constant K9.OUTBOX
Use Account.getOutboxFolderName() instead (still hardcoded, though)
2011-05-07 23:25:14 -04:00
cketti 2680e67970 Get rid of constant K9.INBOX
Use Account.getInboxFolderName() instead
2011-05-07 23:25:14 -04:00
cketti c2f96dad6d Restore hardcoded Outbox 2011-05-07 23:25:14 -04:00
cketti be6299fbf1 Avoid NullPointerException for messages with html_content = NULL in DB
Fixes issue 3302
2011-05-07 23:25:14 -04:00
Andrew Chen fb719d5b78 Issue 3105: Drop newlines in favor of preserving multiple spaces in htmlified text bodies. 2011-05-07 23:25:14 -04:00
Andrew Chen e1fde5a0f1 Issue 3105: Generate proper HTML-ified versions of text messages so that textification of the HTMLified text message preserves the original newlines. 2011-05-07 23:25:14 -04:00
Andrew Chen 1d0f5583e8 Preserve legacy SMTP authentication behavior for PLAIN by trying LOGIN if supported. 2011-05-07 23:25:14 -04:00
cketti fa3041c8ce Remove unnecessary null pointer check 2011-05-07 23:25:14 -04:00
cketti 6c297e060a Make the "pick directory intent" array a constant 2011-05-07 23:25:14 -04:00
cketti d05f6878d8 Changed order of pick directory intents 2011-05-07 23:25:13 -04:00
jmccabe ebcc34e323 Refactor of showFileBrowserActivity to add a couple of extra options
to the list of possible file browser intents (ES File Explorer and
Blackmoon File Browser) and simplify possible future updates.
2011-05-07 23:25:13 -04:00
Koji Arai a634dcc315 Refresh folder list when folder is cleared 2011-05-07 23:23:55 -04:00
Vitaly Polonetsky 8b8f7f3460 fixed displaying of "(null)" account description in notification at account setup wizard 2011-05-07 23:23:55 -04:00
Jesse Vincent 3660dd4746 turn off developer mode for 3.8 2011-05-02 10:12:20 -04:00
cketti 01937d4ab8 Don't crash if "footer view" is clicked in search results
Fixes issue 3071
2011-05-01 05:34:17 +02:00
Bernhard Redl f2283aa91e Catch IllegalCharsetNameException causing force-close on unsupported japanese charsets (issue 3272) 2011-05-01 04:32:10 +02:00
cketti b7a6dbd973 Skip IMAP folders with names that are not correctly encoded.
Configure the CharsetDecoder to throw an exception if malformed input
is encountered. Not doing this can cause an endless loop that
allocates memory until the application dies with an OutOfMemory error.
Until we have support for both a folder display name and a raw folder
name we simply ignore folders with names that aren't correctly encoded
with the modified UTF-7 variant.

Fixes issue 3268

Credits: Bernhard Redl (aatdark) analysed the problem and wrote the
initial version of the fix.
2011-04-28 04:46:01 +02:00
cketti 037b0ff64d Fix automatic authentication method selection for SMTP
Only use automatic authentication method selection if none was
explicitly selected in outgoing server settings.
2011-04-26 18:23:41 +02:00
cketti e8a1a9a466 Restored semantics of auth*Supported in SMTP authentication code
Also, display a debug message if a certain authentication method was
selected by the user but the server didn't advertise support for it in
the EHLO response.
2011-04-26 17:49:40 +02:00
cketti 80f60a06ca Merged pull request #21 from jott/master.
Support for SMTP authentication methods that are not announced by the server.
2011-04-26 08:18:49 -07:00
Koji Arai 9b2e4c43a9 Fixed default sender color in the MessageList 2011-04-26 23:49:25 +09:00
Jonas Hurrelmann da38149091 Support for SMTP authentication methods that are not announced by the server.
- Added AUTOMATIC as a new authentication method that will automatically choose the best authentication method (basically old behavior with CRAM_MD5). All other options will now enforce the selected authentication method.
- Added LOGIN as selectable option.
- Cleaned up code so strings to the different authentication methods are only defined once.
2011-04-25 22:32:48 +02:00
Jesse Vincent c3480db129 Add missing file from the file chooser work 2011-04-25 13:17:18 +10:00
Bernhard Redl f90fccbfa7 fix NullPtr Exception when there is no Sent Mail folder on the imap server 2011-04-24 14:19:58 +10:00
Bernhard Redl ab4bae214f Make attachment saving respect the new preference. Allow long-press to
choose a folder.

(new constant renamed from CHOOSE_FOLDER to CHOOSE directory for
clarity)
2011-04-24 14:01:03 +10:00
Bernhard Redl 96842b3ce6 Unroll import statements in AttachmentView.java 2011-04-24 13:56:54 +10:00
Bernhard Redl e278ea23e9 Add a preference for selecting a default folder in which to save attachments 2011-04-24 13:55:25 +10:00
cketti 4b2fe6efab Removed unused imports 2011-04-21 00:00:16 +02:00
cketti 49308922d9 Refactored code to calculate number of unread messages some more 2011-04-20 23:58:10 +02:00
Bernhard Redl 92f7c3a19f Refactored the code to calculate the number of unread messages in an account 2011-04-20 23:35:02 +10:00
Bernhard Redl 415c11d712 "When calculating the number of unread messages shown in the account list, INBOX now is always counted, even if a "special" folder has been set to INBOX (issue 3074) 2011-04-20 23:09:02 +10:00
Bernhard Redl 120a39d5d6 * Fix Bug https://code.google.com/p/k9mail/issues/detail?id=3224
12/24 timesetting is no based on the android system settings
2011-04-20 10:12:59 +08:00
Marcus Wolschon 6f4bef3530 Issue 3259: Show SubjectAltNames in acceptKeyDialog 2011-04-19 10:46:17 +02:00
Marcus Wolschon 59399506df fixed very rare NullPointerException 2011-04-19 09:01:01 +02:00
Jesse Vincent 724b6eaaa5 For a while, it was possible for users to conifgure their outbox and
drafts folders to be the same folder. This could result in drafts being
sent over and over.  This change uses the K-9 Identity header as a
shibboleth for drafts, as it's not actually set when a message is sent.
2011-04-17 21:07:13 +10:00
Koji Arai 659a5d36b2 Fixed issue 2991: Should display colorized name in the message list. 2011-04-16 18:16:33 +09:00
mwolschon 7f5c18bd2b updated comments 2011-04-14 10:07:33 +02:00
mwolschon 9bdfb0d023 BUGFIX: time changes are still honored even if the user choose the
[abort] button of the DialogPreference.
2011-04-13 12:18:07 +02:00
Jesse Vincent d3848d352d astyle 2011-04-12 22:17:22 +10:00
bitblaster d2c56edbd2 Restored original imports, added comments, changed method createFolder 2011-04-12 22:17:11 +10:00
bitblaster 0a5d7ba953 In getPersonalNameSpaces now we ask the server for the real folder names corresponding to the special folders ids (for which we have constants), so we can map the account folders using the real names. 2011-04-12 22:17:11 +10:00
bitblaster c46372b58c Replaced references to K9.INBOX with account.getInboxFolderName() 2011-04-12 22:17:11 +10:00
bitblaster 59b1d57658 Replaced references to K9.INBOX with account.getInboxFolderName() 2011-04-12 22:17:11 +10:00
bitblaster 20a9043a13 Replaced references to K9.INBOX with account.getInboxFolderName() 2011-04-12 22:17:11 +10:00