• Home
  • History
  • Annotate
  • only in /packages/apps/UnifiedEmail/src/com/android/emailcommon/
History log of /packages/apps/UnifiedEmail/src/com/android/emailcommon/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ddb9821c47f79f9ca81aedad97a65dee66692eb9 28-Aug-2014 Martin Hibdon <mhibdon@google.com> Prevent account reconcilliation during migration

b/17221527

Change-Id: Ib25a06be8887d1a55cd257384d5e6f7477a25e33
tility/MigrationUtils.java
73a156c99c7711729542c1adbe165e3e8a0122db 02-Aug-2014 Paul Westbrook <pwestbro@google.com> Remove unused method

Change-Id: I9fda94e3433197bc7794da8179f2a4174459dae1
nternet/MimeUtility.java
c68d34d924b32dd40644637be5817d0e64ac73be 21-May-2014 Tony Mantler <nicoya@google.com> Make Base64Body clean up its InputStream after writing

Change-Id: Idb02205e54cb1a8c83f608c2ebfb85ef7f16bd72
ail/Base64Body.java
7ddf672ebc7b43350a52573ef682e4f3f59ae2d1 29-Apr-2014 Tony Mantler <nicoya@google.com> Warnings and finals

Change-Id: Ifbc64087e2d623ed91c4be45fb7414d8b7803ee4
nternet/MimeMessage.java
9af3e0563921b15d38b8c59bdf0c3e3c43d3f4cc 18-Apr-2014 Tony Mantler <nicoya@google.com> Continue purging the unused reply parts

Change-Id: Ic0f0b7e64f80f4c0f8902c60cf35bffd748a1915
nternet/MimeHeader.java
tility/ConversionUtilities.java
08207dab923fe90b32ac5dafd4c8f33d54e48063 17-Apr-2014 Tony Mantler <nicoya@google.com> Purge unused/obsolete body fields

Change-Id: I0fb159388848c4a1213f4003d9b318d09d22cc07
tility/ConversionUtilities.java
1fa009551845a6454ca2b31cfd20999b113e7890 04-Apr-2014 Scott Kennedy <skennedy@google.com> Fix another test

I'm pretty sure this is the last one :)

Change-Id: I90d84699cfb96499383923836cfc0cf60fac667b
ail/Address.java
ede08646dbe563c90358ffec2c7397616ca1e523 04-Apr-2014 Scott Kennedy <skennedy@google.com> Fix a couple more tests

Change-Id: Ia0c14b8bf262dc1d42489c5ea7347124aa4fa887
ail/Address.java
23c95321afcccdfebcaff33f8be07a07b8c435d7 04-Apr-2014 Scott Kennedy <skennedy@google.com> Fix some tests

The Proguard changes broke a few

Change-Id: I7fb2caf7f9e3ceaf9fc14c54abf8a40d8d3ca9c1
ail/Address.java
48360707c04c11a92a725d74546a53a5afb36ad8 24-Mar-2014 Tony Mantler <nicoya@google.com> Fix IMAP message upsync to include attachments.

b/13138456

Change-Id: I3a6ea725ee80f4f323a375a1148e89c19a10c3e1
nternet/MimeHeader.java
ail/Base64Body.java
ail/Folder.java
55d0725ebe4d12c7d1d02f5ee13840c1f200503d 30-Jan-2014 James Lemieux <jplemieux@google.com> Keep on getting a couldn't sign-in notification

b/11551107

This is caused by ImapConnection.doLogin() only throwing
AuthenticationFailedExceptions and not other varieties of exceptions.

Our best guess based on the reported bug is that the IMAP server should
be returning "UNAVAILABLE" indicating the IMAP server is up and
responding but some resource it relies on (e.g. LDAP) is currently down.
We translate the "UNAVAILABLE" response code into a Server Error value
and display a message to the user and a Retry button.

While fixing this bug, I discovered that the ConversationListFooterView
that is displayed in response to a authentication failure contains a
button called "Sign In" that didn't actually do anything. I made it
navigate to the incoming account settings fragment where the user is
free to change the relevant account credentials.

Change-Id: I2c772ecab18f3e57059eceeae01de08f1fdab4c2
ail/MessagingException.java
4d3e937bb3ca208c320e8a124c6f26079c4090d0 23-Jan-2014 James Lemieux <jplemieux@google.com> Eliminate redundant methods in Address class

THIS DOES NOT CHANGE ANY EXISTING FUNCTIONALITY.

Address.pack() has been removed and all calls replaced with its synonym Address.toHeader().
Address.unpack() has been renamed to Address.fromHeader() to follow the new naming convention.

In days of yore, pack() and toHeader() used to do different things. Now they are identical and
thus one is superfluous. We have standardized on toHeader() and fromHeader().

Change-Id: I199d7718e6816385c9433c3bd7201f80f2287f10
ail/Address.java
821e578a71c7015646522e729600618f0ec16fc0 07-Jan-2014 Tony Mantler <nicoya@google.com> Deduplicate Address class

Change-Id: I4f6df51f5641475ffaf96b0189ccc00748880cc0
ail/Address.java
b46db2e400ab2eae168baea4c4c7a298cdfa4fb6 03-Jan-2014 Martin Hibdon <mhibdon@google.com> Fix the build

This should have gone in with my previous CL

Add a new messaging exception type
This is for cases where the client is configured to use OAuth,
but the server reports that it does not support that.

Change-Id: I9eb5c7788b1bfdfd69e272845ba3e3b1d7b6f6cc
ail/MessagingException.java
90660b081cb9eafd333c31ef58bd85f86d485152 09-Oct-2013 Yu Ping Hu <yph@google.com> Fix build break.

None of the subclasses actually throw the exception, so
declaring it is wrong.

Change-Id: I0f04f87ee2537fe12d8c5d932d311d4db7148185
ail/Folder.java
8ed08936cd8c3d59327eb628f3bb539cf10fa564 07-Oct-2013 Tony Mantler <nicoya@google.com> Remove duplicitous field.

b/11027351

Change-Id: I45d24501a802de62c26580dc65f91dd67a6ca6f5
ervice/SearchParams.java
874c5661c6d8554b03a4498c6d1c13d67969ffc9 03-Oct-2013 Tony Mantler <nicoya@google.com> Add date window to SearchParams

b/11027351

Change-Id: I77565b9036628d16c43ce68c77af1d8562795735
ervice/SearchParams.java
09eca8072a2396527baede2b312d91daf1c9c2b9 05-Sep-2013 Martin Hibdon <mhibdon@google.com> Fallback to "Delivery-date" if message has no "Date"

b/10543163
Some servers don't put a "Date" header in the message.
If this happens, use "Delivery-date" for the date. At
least this way we don't get all messages seeming to come
from Dec 31 1969.

Change-Id: I6b2d41e65861bda6d844b4a672b8df17f6de8edf
nternet/MimeMessage.java
f24a125e5fedaae7bdc4eeceeb542cc5a7f3bdd9 22-Aug-2013 Yu Ping Hu <yph@google.com> Improve our validation of email addresses.

Our previous checks were way too permissive and caused
grief downstream (e.g. when performing Exchange AutoDiscover).
This now rejects more bad email addresses than before.

Bug: 10357463
Change-Id: Ib70ab2fe0e52d92f8dc7b770bf9438a354808e46
ail/Address.java
aa27bc0e1c3bb6be4609b00007637a9d3e960f5e 02-Aug-2013 Scott Kennedy <skennedy@google.com> Fix more warnings

Change-Id: I78c6df845aae3475c1e2469b29b52cc995d8d3ae
nternet/BinaryTempFileBody.java
nternet/MimeBodyPart.java
nternet/MimeMessage.java
nternet/MimeMultipart.java
nternet/TextBody.java
ail/Address.java
ail/Message.java
ail/MessageDateComparator.java
8a065b8843de18c41019967790a42d2c08bdd99c 23-Jul-2013 Martin Hibdon <mhibdon@google.com> Add another getMessages() api to Folder

now it allows getting by date range.

Change-Id: I3d4fb7c61a3be48def4d910446bd7d9937987f5f
ail/Folder.java
3b965d78774a42358ce6bbdcc43b4c8df130a60e 25-Jun-2013 Scott Kennedy <skennedy@google.com> Clean up a bunch of warnings

Bug: 9565838
Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
nternet/MimeMessage.java
tility/TextUtilities.java
7922528d9d4b4926f1ed3e1322d14b8e00a03465 05-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Parse eml file to UI's notion of a Message.

Uses MimeMessage to parse the file along with some
utility functions to convert the raw data into
MessageCursor.ConversationMessage so that the UI
can properly display the message. The two new
files are actually moved over from Email.
Also added in some copyright headers previously
forgotten.

TODO Use SecureConversationViewFragment.
TODO Synthesize Conversation for the Message.
TODO Handle EML file attachments somehow.

Change-Id: Idbf5a2da2197822d72a2cd0c0f07ccc4dbfb64d9
tility/ConversionUtilities.java
tility/TextUtilities.java
345c43e12db42f6bdc0c15ac1c96af10164a458c 01-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Move some of emailcommon to UnifiedEmail.

Just some refactoring.

Change-Id: If298b5a96d57ba9d3eece33b4a09a74fc52f73cc
empDirectory.java
nternet/BinaryTempFileBody.java
nternet/MimeBodyPart.java
nternet/MimeHeader.java
nternet/MimeMessage.java
nternet/MimeMultipart.java
nternet/MimeUtility.java
nternet/TextBody.java
ail/Address.java
ail/AuthenticationFailedException.java
ail/Body.java
ail/BodyPart.java
ail/CertificateValidationException.java
ail/FetchProfile.java
ail/Fetchable.java
ail/Flag.java
ail/Folder.java
ail/MeetingInfo.java
ail/Message.java
ail/MessageDateComparator.java
ail/MessagingException.java
ail/Multipart.java
ail/PackedString.java
ail/Part.java
ervice/SearchParams.java