Commit Graph

2831 Commits

Author SHA1 Message Date
Paul Westbrook 21959b3f29 Support widget changes in UnifiedEmail
Change-Id: I48ed403a7f1d61607b70c3ef260cc1f903e27a1b
2012-07-25 14:03:23 -07:00
Marc Blank a4418762d4 Merge "Make sure account capabilities get set properly in UIProvider" into jb-ub-mail 2012-07-25 13:40:14 -07:00
Marc Blank 0b5f15d61e Make sure account capabilities get set properly in UIProvider
* Change getCapabilities API to take an account, rather than
  the id of the account
* getCapabilities() can therefore execute even before Exchange
  is fully up and running

Change-Id: Id4c2a9942ea7a21e0c56401c50206b680274b43e
2012-07-25 13:25:02 -07:00
Andrew Sapperstein 6eee9e4f11 Filtering attachments by content type.
If the optional contentTypeQueryParameters is
set in the attachments URI, we only include attachments
that start with one of the contentTypes given in the
query parameters.

Change-Id: I97364b405b37174c02ba712009604b4dd122ae73
2012-07-25 13:24:12 -07:00
Paul Westbrook 51693c5a4c Migrate legacy widgets
Bug: 6304532

Change-Id: I6a5cad036ec7d4746e396b580e4689c957a7ee18
2012-07-23 14:57:46 -07:00
Marc Blank 54b6b8b072 Prevent CME w/ sServiceList
Bug: 6854037
Change-Id: I0b9aadfa0b347c62bf8a3b0c5ec88330871cce2d
2012-07-20 10:51:33 -07:00
Marc Blank 00287c4d8f Remove unused code; rename some constants
* Also handle large batch operations in chunks

Change-Id: Ie566cb8d8bb73e8edd663de5228e905c223f031b
2012-07-20 10:25:11 -07:00
Mindy Pereira 51d4370b77 Create ConversationInfo object with senders info for email.
Change-Id: Ibc789682d3bf0b19e026dcb629f94afee0405ec3
2012-07-20 08:46:43 -07:00
Marc Blank 77a9966f46 Merge "More work on Imap2" into jb-ub-mail 2012-07-19 14:27:49 -07:00
Marc Blank a8b683cf3f 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
2012-07-19 14:27:17 -07:00
Vikram Aggarwal ba6bf4e052 Merge "Default Inbox name for Email" into jb-ub-mail 2012-07-19 11:15:40 -07:00
Vikram Aggarwal a0fef46aea Default Inbox name for Email
Change-Id: Iac4995d948d73c6a663331b0653453a916057189
2012-07-19 10:58:50 -07:00
Mindy Pereira 49cbb81332 Should be able to forward a message with no additional content.
Change-Id: I6eccf2f2436303a0359027d3efd3763306f9f657
2012-07-18 16:55:27 -07:00
Marc Blank c992071671 Fix build break
Change-Id: I23cdd4c07faf97d471caf1e9dc37d81f412d8dab
2012-07-18 12:05:37 -07:00
Marc Blank c6089bc01f Initial Imap2 implementation
This CL includes the following:
* New Imap2.apk generation (not included in builds)
* "Push IMAP" option for accounts when Imap2.apk present
* Account creation/setup
* 2-way sync of messages, deletions, flag updates
* Push (messages, flags)
* Folder list hierarchy handling
* Message text (one plain or html part)
* Picker UI for trash folder (placeholder)
* Capabilities handling/UI command

Major Imap2 new features:
* Push
* Multiple folder sync
* Sync window (like EAS)

TODO:
* Picker UI for sent folder
* Upload of sent messages to server
* Search
* Multiple viewable parts
* Probably lots more, incl. unit tests

Change-Id: Ia5d74073d9c307e0bdae72a7f76b27140dde7d14
2012-07-18 11:32:26 -07:00
Mindy Pereira ab076fa633 Account and Folder are both json objects now.
We dont have a seperate parcelable account and serialized account
string (for pending and regular intents)

Fixes b/6805342 Email crash on opening message from notification bar

Change-Id: I5b310fbafefb8dd82b9e222421fb624703b1676b
2012-07-16 14:35:44 -07:00
Andrew Sapperstein b27348a808 Adding the via column to email.
Change-Id: I3d49f696a1262f22b0ebaf733b5a4f26ac270935
2012-07-13 12:31:06 -07:00
Andrew Sapperstein de79ecbbe2 Update to email2 for the new spam warnings.
This feature being Gmail-specific, we simply
set the default values so that warnings never show
up for email clients.

Change-Id: Ie0a55762c1af73a9c9aa8836faadc23ac9af52cb
2012-07-12 15:08:09 -07:00
Marc Blank 7c8f1c125a Fix handling of json in SQLite query
Bug: 6749576
Change-Id: I3cd85182d8c35e564f50ee7f9c787d797253e105
2012-06-28 13:09:13 -07:00
Marc Blank c5afb16430 Add a bunch of stuff missed earlier
Change-Id: I7f707446a963912fe5786dacb5569e68db572d1c
2012-06-28 12:16:59 -07:00
Marc Blank f419287f22 DO NOT MERGE: Move emailcommon2 sources to emailcommon
Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
2012-06-28 11:15:06 -07:00
Paul Westbrook d658fb6cac Set clear_when_task_reset flag on get content intent
Bug: 6401627
Change-Id: I546d51e605bf9483bd36f56adf5b21c1b3cd4c70
2012-04-26 18:48:08 -07:00
Paul Westbrook 65432baf25 set FLAG_ACTIVITY_TASK_ON_HOME on notification intent
Bug: 6384825
Change-Id: I9fc577ab3acdc608ce6e1781d438cc049c6ddcd6
2012-04-26 18:26:57 -07:00
Marc Blank 03cd72805d Revert to old Email app
* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
2012-04-25 13:58:23 -07:00
Paul Westbrook 05ba972408 Move settings into account
Change-Id: I0e791ead6c54af96afbfdf1d38457fb2fb41c4dc
2012-04-06 12:38:10 -07:00
Paul Westbrook 6f627965d0 Removed some UI provider code from EmailProvider
Leaving this in was breaking the build, as new files were required.

This change is just to keep this version of Email building.
Eventuually Email2 will replace this one.

Change-Id: I96fbed63a18a11bcdc64c2f0bbe8b100fdb273d9
2012-03-20 16:33:03 -07:00
Vikram Aggarwal e7dc6a34d4 AutoAdvance.OLDER always
Change-Id: Ifaf1ab14db0a3415d91b910b726bf9c8e0fec1ea
2012-03-16 15:49:59 -07:00
Vikram Aggarwal 05b99a0d8c AutoAdvance.LIST is safer than AutoAdvance.NEWER
Change-Id: I72ba37cb8a7259c13afcfaabb70a11d65f536b69
2012-03-16 15:12:47 -07:00
Mindy Pereira a7d788d54a Fix build.
Change-Id: I077de029e1da06e3dcd6dae438a6c64b58e9e127
2012-03-13 16:12:51 -07:00
Mindy Pereira 4bf4edcf64 Send uri of folder this item is in instead of just the id.
Change-Id: I5b7ba10497ac2f5081de02074d525e39d73ba9b0
2012-03-13 16:04:44 -07:00
Paul Westbrook 1d202e274d Support new folder id
Change-Id: If971ca60e5029487dd1c12b4664c6b64f3133f4a
2012-03-13 14:06:03 -07:00
Marc Blank ebbf8e1040 Merge "Add support for "Load more" for search results" 2012-03-12 17:19:06 -07:00
Marc Blank 6550ae9773 Add support for "Load more" for search results
Change-Id: Ie16e11ced34c85de02980c85e2db9d61faed5b6f
2012-03-12 17:11:19 -07:00
Andy Huang dd32d14187 cross-project refactoring
Attachment.mimeType -> contentType
Attachment.contentUri(String) -> contentUri(Uri)

Change-Id: Id35fb698d120013c00878f416f9b68a2f0095fca
2012-03-12 13:31:33 -07:00
Marc Blank 34943d241d Trigger load of full msg when opening partially loaded msg
Change-Id: Ia49aa7f423ceac6697d95abf66e10bb5998c5747
2012-03-12 10:37:19 -07:00
Marc Blank 824f776365 Fix up load of IMAP attachments
Change-Id: I2f55fc2c3d92eff72ebfd50ff3f782928f3a85a2
2012-03-12 09:11:46 -07:00
Marc Blank e2166f7548 Add totalCount to Mailbox; send to UIProvider
Change-Id: If01868eb27a97540683f25148f32b8c41ae59c17
2012-03-10 20:15:58 -08:00
Marc Blank 9e266d12fb Implement "load more" for POP/IMAP
* Search not yet implemented

Change-Id: Ic808d3adcb48a2b4370fda77d7b108ea656de5c4
2012-03-10 15:41:43 -08:00
Marc Blank 25fe72687d Notify on attachment's message when updates occur
Change-Id: I23d537992fbf8b0f0dab3afaf37cacfd5587d1f3
2012-03-09 15:33:39 -08:00
Marc Blank 55d0e821ea Report search result total to UI
Change-Id: Ic88e7594b98548a96c8c6f96d2f8a585e539f520
2012-03-09 14:04:49 -08:00
Marc Blank ebb79619e8 Move account delete logic to EmailProvider
* This functionality had to move away from Controller

Change-Id: I557918a325eab8c83a9728fa1ce33dde8b86158f
2012-03-09 12:59:21 -08:00
Marc Blank ab6321e2c4 Fix SMTP sending
Bug: 6134036
Change-Id: Id48e4bd17e7493d873d888027e68c7eb86d23198
2012-03-09 10:26:33 -08:00
Marc Blank 3408ad1113 Use proper column in loadAttachmentCallback
Bug: 6138389

Change-Id: Icd9b3454670d29e1fbd1dfc309700eb1643cc9ee
2012-03-08 21:18:04 -08:00
Marc Blank 97e4651c45 Repair brain damage
Change-Id: I1f2367476f78c5cd78d8a59e099debabceb95e3a
2012-03-08 19:48:11 -08:00
Marc Blank c3643cf2b5 Fix search to work with IMAP
Change-Id: Ic3d9dfec0e30323e258e59630c2ca42bb1c7e98c
2012-03-08 17:23:49 -08:00
Marc Blank 26195ef64d Handle searchUri (first pass)
Change-Id: I75f7a757322e1d4f9b4eac92b9ecbb6a0cc6580b
2012-03-08 15:14:48 -08:00
Marc Blank 06a382f26f Fix up delete to handle trash/drafts deletions
* Also, while we're here, create default "last touched time" for drafts and
  sent so that they appear in the initial recent list

Change-Id: Ie2fe20b34625b5616dac5581f9bbd015f52a82bc
2012-03-08 14:36:26 -08:00
Marc Blank 92f9de3c5c Merge "Return searchUri with accounts; return empty cursor for now" 2012-03-08 08:21:54 -08:00
Marc Blank ef94d9285e Return searchUri with accounts; return empty cursor for now
Change-Id: I160676a492ef359007676c3aa9f56f9015b64c64
2012-03-08 08:17:52 -08:00
Brian Muramatsu 6b4cdee94f am 938ec79a: am d163332b: am d5fdf404: Merge "Fix STARTTLS handshake error in Email\'s SmtpSender class"
* commit '938ec79ac92ef9119ad75b49691b2121886d867b':
  Fix STARTTLS handshake error in Email's SmtpSender class
2012-03-07 17:22:07 -08:00