cb1d65c47825dc7a45c7954cd93669296b35305e |
|
26-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Fix mailbox finding and unit tests. We seemed to not properly fallback to querying the database if the cache did not contain a mailbox of a specific type. We may want to consider caching mailboxes related to PIM data, but for now this is a quick fix. Also fixes unit tests. Bug: 5019661 Change-Id: Idcac0a6f15aa7f174890ae586f478fbb8f6e05b7
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
f5418f1f93b02e7fab9f15eb201800b65510998e |
|
14-Jun-2011 |
Marc Blank <mblank@google.com> |
Move Account into its own top-level class Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
12b82d9374947c9268217f45befe8a74bd9b60d7 |
|
20-May-2011 |
Ben Komalo <benkomalo@google.com> |
Move HostAuth to top level class. No other changes made. Change-Id: I1c6497c98abc0f99443ea42d8aed6295b263c123
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
daf869cf60de75bc91ed3aef6ac0bff1fe371733 |
|
20-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Use an Account object to create a mail sender Instead of boiling the account down to an unusable URI, just pass along the Account object. Change-Id: Ida408912de29734c8f4ed9cdf09a4d633dd03002
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
a7bc0319a75184ad706bb35c049af107ac3688e6 |
|
10-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part six: EmailContent * Moved EmailContent to emailcommon Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
2193962ca2b3157e79f731736afa2a0c972e778a |
|
10-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part quatre: Move along, nothing to see here * No code was harmed, er, changed in the making of this CL * All that's happened is that code that is needed by both Email and Exchange have been moved into emailcommon * This required import changes to many files, which explains the length of the CL Change-Id: I4e12455ba057a4a8054fdbd0b578c73afa411c8a
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
c849936a36424645af73dc307b19778a89d6ee84 |
|
13-Dec-2010 |
Makoto Onuki <omakoto@google.com> |
Fix unit tests - Now ProviderContextSetupHelper.getProviderContext() invalidates DB cache * MailboxAccountLoaderTestCase - Save hostauth properly - (ProviderContextSetupHelper invalidates cache before each test) Bug 3280911 * SmtpSenderUnitTests - Use ProviderContextSetupHelper to create isolated context, which now also invalidates DB cache Bug 3280913 * MailboxFinderTest - When kicking Controller.Result methods directly from tests, call the raw callback, rather than the one wrapped with ControllerResultUiThreadWrapper, to make it synchronous. Bug 3280898 * MessageViewTest - Disable testOpenMessage() This test doesn't work because it sets up test data in an isolated context but the activity/fragment don't see them because they use the real context. I have no idea why it worked before... Maybe because there were accounts/mailbox/message with the same ID in the DB by chance. Bug 3280905 Change-Id: I6beb08c58fff102e90bebd2c35f70820268b9e62
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
f4dac9f266906a84f4710d8af5d4a24f2290b1ba |
|
22-Apr-2010 |
Makoto Onuki <omakoto@google.com> |
Send local IP address with EHLO instead of "localhost". Bug 1515345 Change-Id: I181c9f0d79fbdf62f7df77f72a1ec9653797b6dd
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
5f95d682885db306b966e245627a175b866f0f53 |
|
08-Apr-2010 |
Andrew Stadler <stadler@android.com> |
am 3839dc98: Merge "Improve MIME & SMTP compliance on outbound messages" into froyo Merge commit '3839dc981f15bb7da5e7500ee175485dc85a6f6a' into kraken * commit '3839dc981f15bb7da5e7500ee175485dc85a6f6a': Improve MIME & SMTP compliance on outbound messages
|
6bcccf628413d40696980d0d86c7ab2b4f831952 |
|
08-Apr-2010 |
Andrew Stadler <stadler@android.com> |
Improve MIME & SMTP compliance on outbound messages * Write MIME-Version: 1.0 in all outbound messages, not just those with multiparts. This is required by RFC 2045. * Unit tests Bug: 1678296 Change-Id: Icf37d93b8b0150f490791792499865a60744adea
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
dc0753373ea6cc87902ea907eb654850ed90ce57 |
|
06-Apr-2010 |
Andrew Stadler <stadler@android.com> |
DO NOT MERGE. Handle STARTTLS when last line in EHLO response. When receiving the EHLO response from the SMTP server, the multiline answer has "-" prefix in all lines except the last line, where the prefix is a blank. This is according to RFC 2821 section 4.2.1. This has also been reported as issue 2309 at code.google.com. Bug: 1744768 Change-Id: I3feccabed30767d2fa5b06352cd7d1c803e8d59c
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
e4a7cc440f081ef9c4375a2bd2f82680cc11b152 |
|
30-Sep-2009 |
Andrew Stadler <stadler@android.com> |
Re-enable modernized version of "optional" SSL/TLS * Add "Accept all certificates" modes to incoming/outgoing secure choices * Change URI scheme slightly to make "trust" a flag, not part of the protocol. * Change Stores to know about new URI scheme * Slightly rework Transport API to make "trust" an independent flag * Adapt HostAuth to handle new Uri scheme * Remove the old ambiguous "optional" code, which was allowing some unsigned certificates, but was *also* allowing TLS to optionally start (though not SSL, despite the UI strings.) * Add a few unit tests to EmailContent * Add logging and a bunch of comments to TrustManagerFactory, and a bit of simple cleanup to make it more readable. * Add missing conversion of SSLException->CertificateValidationException in TLS so we get the correct certificate errors from TLS too. * Re-enable TLS for mac.com accounts (which had a certificate problem) Fixes bug http://b/2119755, http://b/1374780, and probably a raft of earlier and/or external bugs about certificate problems. Change-Id: Iaf99a8da3eaadaa4cdeec224737838b5d6813e55
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
c640cbbaf385566e1b6de361b2b23156e10f695d |
|
13-Aug-2009 |
Andrew Stadler <stadler@android.com> |
Update SMTP to send from provider messages, and attachments * Change Sender definition (remove old Message from API) and update any existing calls through that API * Rewrite SMTPSender to use provider messages * Add attachments to RFC822Output * Minor bugfixes in RFC822Output * Unit tests
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
b011a812e05902d7e417b8c47acc90a592f4b412 |
|
22-May-2009 |
Andrew Stadler <stadler@android.com> |
Fix the java.lang.StringIndexOutOfBoundsException that occurs when an SMTP server closes the connection early or returns an empty line. Fix the same error in the Pop3 UIDL parser.
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
ae8ca3fbd1545c3a94011d7d70bcadac99e7779f |
|
27-Mar-2009 |
Andy Stadler <> |
Automated import from //branches/donutburger/...@143018,143018
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
96c5af40d639d629267794f4f0338a267ff94ce5 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
8c2158a5ebb88e226c23b66ff95910158a2727df |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|
687f9962d7095e18ef994cd0e64337f02ed1a5bd |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/Email/tests/src/com/android/email/mail/transport/SmtpSenderUnitTests.java
|