397cce4229eb90a6582e1e5b7ce153536a986627 |
|
29-Nov-2012 |
Paul Westbrook <pwestbro@google.com> |
Specify a timeout for the connection handshake Email hadn't been setting a timeout on the connection handshake, so this could have stalled the thread indefinitely. We should use the same timeout that we use for the connection itself. Bug: 7583420 Change-Id: If8740b7f6c1d5fc18f40f0bb1ec7ed88d7b98af5
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
bc47398187c6ffd132435e51d8d61e6ec79a79db |
|
25-Sep-2012 |
Paul Westbrook <pwestbro@google.com> |
Merge Email1 into MR1 Change-Id: I45289d46b65faffc7a3a3dd46382899162f3aaab
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
b203b2b1196bfd5507c83a4fe81d362de840ec0a |
|
19-Sep-2012 |
Marc Blank <mblank@google.com> |
Remove useless class and crazy UIDL logging * The logging makes it very difficult to debug POP3 issues Change-Id: Ic3ffb9e5b3240918dff3e713fc2a7c49976efe84
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
532bcf4a522f91258c74604b74096c9b1f7c0510 |
|
07-Aug-2012 |
Paul Westbrook <pwestbro@google.com> |
Catch exception in monkey runs Bug: 6929910 Change-Id: I1d1703282af66bcba7e77277b8ea663fdebcc251
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
7d5e2a7c08966ffd4a9e8c78f504cc4fd5be4216 |
|
01-Aug-2012 |
Marc Blank <mblank@google.com> |
Do "same certificate" checking when using "trust certificates" * Refactor/simplify Transport/MailTransport * Add serverCert column to HostAuth table in EmailProvider * During first connection to server, save the server certificate in the HostAuth; on subsequent connections, ensure that the certificate presented has the same public key as the one stored * For now, we'll just fail to connect (with a CertificateException) if there's a mismatch TODO: Add some UI to handle different certificates Bug: 6888866 Change-Id: Ia79497e89eaad8d43617b50d3771121b2ed7f687
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
a8b683cf3f2efe726220c0235368cf6ea899e3ba |
|
18-Jul-2012 |
Marc Blank <mblank@google.com> |
More work on Imap2 * Handle sending mail and moving to sent folder * Implement picker for sent folder * Upload sent items to server * Add support for "automatic" sync window * Move some files from Email -> emailcommon * The added files are copied directly from Email (and can be removed if/when Imap2 is merged back with Email) Change-Id: I3a6a3d224826e547748be2f1b567b6294ad5db89
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 |
|
28-Jun-2012 |
Marc Blank <mblank@google.com> |
DO NOT MERGE: Move emailcommon2 sources to emailcommon Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
313586c8eb4e23ceec068b82f3dc0be1c8a7045f |
|
07-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Introduce client cert alias for HostAuth. Some email servers require client certificates to be presented to establish an SSL connection. While this certificate will be maintained by the system key store, we need to store the "alias" of the certificate stored in that system store. Wiring up to use the actual alias will be done in future CL's. It is currently unused. Change-Id: I8d1290151342daea9ceb0df8a4088405b44faa81
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
ebece4dbdcdfee85a410a0d00c9b6739ee3e705e |
|
16-May-2011 |
Todd Kennedy <toddke@google.com> |
Make ImapConnect a top-level class Split out ImapConnection to its own class. This allows us to update ImapStore without worrying about links between it and the connection. Also, added a bit more safety to the classes in terms of correctly freeing resources. Whenever the connection is closed, it now releases all resources. Additionally, if the connection is ever put back in the pool, any response data is released. Change-Id: Ie3bda40d677707a0d6655f57175e58dece539e19
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
bfac9f2e8a13f6c719608a6948203bbef921c99f |
|
13-May-2011 |
Makoto Onuki <omakoto@google.com> |
Move some of the log constants from Email to Logging Change-Id: If9f4e4e3adcdef897a0d6a4e153bb446a8b24fdd
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
e87ff6c3cbbfc5e3636f9827b58820652e3ea1c5 |
|
27-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Opportunistic cleanup not making any real code changes: * removed deprecated, unused methods * remove 'throws' clauses when that exception is never thrown * renamed method Controller#moveMessage()-->moveMessages() Change-Id: Ifd006f760f0c19283e94a11a45c71295c8da35f7
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
d9cf94632f53bbde14596ac48f0fb8818808a0b4 |
|
23-Apr-2011 |
Ben Komalo <benkomalo@google.com> |
Fix some unit tests - some proguard flags were stale - some deprecated methods were legitimately stripped - kill the tests for them Bug: 4330508 Change-Id: I6d5c46c99d002895377f32b203844e9a6dcf0074
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
a50fc99b0c433f0cde31ba1c7ab87fb9ea86345d |
|
19-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Use Account instead of URI to create transports There's no need to create a URI just to rip in appart again. Additionally, to support additional changes (i.e. to use Mailbox instead of Folder in the MessageController), we need to store the actual Account. NOTE -- This change only affects IMAP and POP3. SMTP will come in a follow-on CL Change-Id: I400036a17271c99272fd9c603547dcd713b50b9d
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
7af1ad3b583b6dea84889aa74ad7c327e7ca9b36 |
|
08-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These havent been working since before 1.0. Change-Id: Iea671dc01ff45f1009f6fbb22cf7259e0fc1d4f1
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
3a5c1fb274a9ce72d708d88509bf2607cb018ddd |
|
13-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part neuf: Setup, logging, attachment glue * Make "Exchange" option in account setup depend upon availability of the Exchange EmailService * Make presence of Exchange logging depend upon availability of the Exchange EmailService * Make AttachmentDownloadService use service rather than ExchangeService class * Move SSLUtils to emailcommon/utility * Move account manager type defs to emailcommon/AccountManagerTypes * Update proguard.flags * This is the penultimate CL for the Email package itself; the next CL creates a clean, SDK-compatible Email application Bug: 3442973 Change-Id: I9162cf5fa6b5a043ded0fdd1e25fd3ce5948ad8f
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
31d9acbf0623872f9d4a2b3210b5970854b654c7 |
|
12-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part huit: Refactor constants, clean emailcommon * There are three pieces to this CL (sorry): 1) Move and/or rename some constants into emailcommon 2) Move Utility to emailcommon, moving the few UI related utilities back into Email (FolderProperties and UiUtilities) 3) Remove all references to resources from emailcommon * The three pieces relate in that, between them, they allow the emailcommon static library to compile cleanly Bug: 3442973 Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.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/src/com/android/email/mail/transport/MailTransport.java
|
8d8537cd2e39268e0fdcd019bc8b6c4572b7c520 |
|
02-Feb-2011 |
Todd Kennedy <toddke@google.com> |
Resolve build warnings; part 3 Fixes deprecation warnings NOTE: This does not resolve hostauth deprecation; that will be fixed in a separate CL. Change-Id: I47115516da34effbf885615cb439c9d3e6f95b84
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
75f9fab0c7969487f0a451e5a74f0cb43cd3b702 |
|
01-Jul-2010 |
Andy Stadler <stadler@android.com> |
am a3e021d1: am 3b811ae4: resolved conflicts for merge of fb060de6 to gingerbread Merge commit 'a3e021d12c96d10f758fb6af3b7a05e85d0d8eeb' * commit 'a3e021d12c96d10f758fb6af3b7a05e85d0d8eeb': Explicitly verify certificate hostname on SSL connections
|
fb060de65db57607748cbf8bc5b93939281a443f |
|
30-Jun-2010 |
Andrew Stadler <stadler@android.com> |
Explicitly verify certificate hostname on SSL connections When connecting to an IMAP, POP3, or SMTP server using SSL, perform an explicit test of the certificate's host name against the server's host name. Refuse connection if they do not match. Bug: 2807409 Change-Id: Ib223170f1a5d57323a88037ad30fec15c6bbce20
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
c563ce1b80cfc378c061fbf667a79a09c09c235c |
|
08-May-2010 |
Makoto Onuki <omakoto@google.com> |
am b8970dab: am e46ac1a6: Cleanup imports.
|
e46ac1a61f32bd762a879457b1850087a1ad3a8c |
|
07-May-2010 |
Makoto Onuki <omakoto@google.com> |
Cleanup imports. (Note it's for froyo-plus-asop) Change-Id: Ia5b771cd41099ab486ba2e556b441fc7c0affe5f
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.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/src/com/android/email/mail/transport/MailTransport.java
|
c5912e4920bb4fa1979d63d47e7f430e87e3820f |
|
17-Feb-2010 |
Makoto Onuki <omakoto@google.com> |
Use SSLCertificateSocketFactory to generate "insecure" ssl socket. Use SSLCertificateSocketFactory.getDefault() to get an SSLSocketFactory which performs SSL certificate checks, and getInsecure() to get one which doesn't (for "accept all certificates"). Bug 2226160
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.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/src/com/android/email/mail/transport/MailTransport.java
|
96c5af40d639d629267794f4f0338a267ff94ce5 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
8c2158a5ebb88e226c23b66ff95910158a2727df |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|
687f9962d7095e18ef994cd0e64337f02ed1a5bd |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/Email/src/com/android/email/mail/transport/MailTransport.java
|