Commit Graph

3627 Commits

Author SHA1 Message Date
Marc Blank
8c4b6e40cf Hook up settingsIntentUri in EmailProvider
Change-Id: Icc47a7dd29f6707443f5b56bdc6df86818295662
2012-02-28 09:15:53 -08:00
Marc Blank
fd077592ee Use EmailProvider to create account list
Change-Id: Iedd99ecb95066c3b7e089e3b987a0caed44b97e5
2012-02-27 13:22:45 -08:00
Marc Blank
9a5e2a798e Fix clearing of mailbox notifications
Change-Id: Ieb98a8908ec067229dd449790da55085585ef17b
2012-02-26 12:52:57 -08:00
Marc Blank
bf5caf97c5 Notify by mailbox, rather than account
* Update EmailProvider, removing two no-longer-used columns in Account and
  Mailbox

Change-Id: Ie0f10eb0ca315d73e82be968f7760a51a239ba3f
2012-02-24 14:51:59 -08:00
Marc Blank
98412cadfb Use account id instead of name for queries
Change-Id: I49f870491d2b090df345b956280dbb477436be60
2012-02-24 10:27:29 -08:00
Mindy Pereira
99dfd1edfd Merge "Remove folder sync_frequency column. UI doesn't need it." 2012-02-23 13:57:25 -08:00
Mindy Pereira
b61bd298bd Remove folder sync_frequency column. UI doesn't need it.
Change-Id: I2a696115aed048f854174a8c4dc7666165b6ae1f
2012-02-23 13:52:11 -08:00
Marc Blank
87c84a6d96 Send sync status updates from POP3/IMAP
Change-Id: Ia1bb5d1a302d6dde8b8979e03a762d6d45ee8cd3
2012-02-22 16:27:26 -08:00
Marc Blank
6b9d94bf39 Make mailbox change notifier less noisy
Change-Id: I6eb7ac4f60acf6d92f4c094a373038fef222d97a
2012-02-22 12:59:49 -08:00
Marc Blank
1dc7772d43 Support syncStatus and lastSyncResult in EmailProvider
* Also, trigger a sync on refreshUri

Change-Id: Ia8dee593decfc2101873071ad64fcc3fd1fd5f23
2012-02-22 11:50:18 -08:00
Marc Blank
7db23e6acb Fix build break; support folder query
Change-Id: Ic2a62e2d00e0fe46a1a488d665818c47243c9d8d
2012-02-21 17:30:34 -08:00
Marc Blank
9227dbbf0f Add back attachment loading callbacks for IMAP
* Remove newly unused code

Change-Id: Ifea2193deaf35734a031500c807ce9e3abd88fb1
2012-02-19 15:21:25 -08:00
Marc Blank
59e10b6b3d Support folderUri and statusUri in EmailProvider
* Implementation of status to be completed later

Change-Id: I9dc2b1144b8186341f1c032906145f3d899b2a0b
2012-02-17 16:31:23 -08:00
Marc Blank
078daa692e Hook up "load more messages" to service implementation
Change-Id: I15b102bacb4a68c3c006d1b3c1feffb7f14a8697
2012-02-17 14:23:10 -08:00
Marc Blank
7ac38af790 Re-attach mailbox sync callbacks and refresh status
Change-Id: I45de04f59f83757186f30d6ff53395a639a1d740
2012-02-17 14:05:27 -08:00
Marc Blank
0e5b4d35dd Fix build break
Change-Id: Ib9725587f32b8d8a6e64e9ee083d0b4e980b7e05
2012-02-16 13:08:11 -08:00
Marc Blank
4f813fb129 Convert POP3 to service
* Remove MessagingController and (almost all of) MailService

Change-Id: I8953b58b237de6a71fda770f1727bd94081fec55
2012-02-16 10:27:00 -08:00
Marc Blank
d57e096b2c This time for sure!
Change-Id: I98a0a8dcc37f52ac29d87379a886c9ca966e923c
2012-02-15 13:32:41 -08:00
Marc Blank
abad2efba8 Oops! Handle subfolders query.
Change-Id: I62628fb8bdb25b96f023788271508d65fd8b4cdd
2012-02-15 13:26:12 -08:00
Marc Blank
1e138516eb Handle query for subfolders from UIProvider
Change-Id: Ic448324a5a87b6679978426ec639fe4c3d8d77d7
2012-02-15 11:27:26 -08:00
Marc Blank
c0272961e1 Return only top-level email folders for uiFolders query
Change-Id: I9480f8263ded7d1eb3eaecc92564130b498a558d
2012-02-14 19:36:07 -08:00
Marc Blank
c84467afe1 Start of IMAP conversion to Service architecture
* Handle startSync and loadMore
* Use SyncManager rather than MailService for periodic sync
  and upload sync
* First of many CL's to disentangle sync from UI
* Note that the large majority of this CL is a refactoring
  of IMAP specific code out of MessagingController and into
  ImapService; MessagingController will eventually be
  removed entirely from the app, as will much of Controller

Change-Id: I13546d0694479b33cf93c25920dedc1d38227f6c
2012-02-13 11:04:56 -08:00
Marc Blank
69d952c3de Add folder list to conversation list fields in query
Change-Id: Ieea84693196796175a1bdea8ecd3dbdf4a229c66
2012-02-13 10:46:24 -08:00
Marc Blank
1e16274776 Set the CAN_ACCEPT_MOVED_MESSAGES capability as appropriate
Change-Id: Ifa6e098352afb5feaa277ed0614628eb1765992f
2012-02-03 16:28:18 -08:00
Marc Blank
83dae570ed Handle undo for "move to folder"
Change-Id: Ie3847fe4919fc49411b8465e2600f85efb174d0a
2012-02-03 15:36:35 -08:00
Marc Blank
e2488c3f02 Handle move-to-folder from UI
Change-Id: I2165b9f83459c0b8f8817108dc294c7882730df8
2012-02-03 13:08:07 -08:00
Marc Blank
63d60d9eb1 Split EmailProvider into two classes (and about time)
Change-Id: Ia72e8c83ea16718077ffe8b8d284d18b6f9f0786
2012-02-03 12:50:49 -08:00
Marc Blank
87d7a60417 Handle update of draft
Change-Id: I15c2b2b85afeff19e4ae7520c36a6119ab1e5cca
2012-02-03 09:51:07 -08:00
Marc Blank
3a8291b3e0 Oops; generating bad URI for save message!
Change-Id: Iaf10108dee202c23abc6a18b9e5e8673c4813d0f
2012-02-02 12:38:25 -08:00
Marc Blank
12142f430e Support save/update draft and change of convo URI usage
* For now, update not working (it's complicated)

Change-Id: I9df440338ac167f03ce4f2f4b36ad286adad318e
2012-02-02 11:43:05 -08:00
Marc Blank
5adc6c0be9 Support undo for message deletes
Change-Id: I55d8950ca782babc00b28ced7c4d23042882b05e
2012-02-02 08:27:19 -08:00
Marc Blank
9c440c8b80 am 17c089fb: am ecaa9774: If we\'re stopped, make sure watchdog alarm is also stopped
* commit '17c089fb7b02bbe755a47f917f92394df6cbef03':
  If we're stopped, make sure watchdog alarm is also stopped
2012-01-26 11:49:55 -08:00
Marc Blank
17c089fb7b am ecaa9774: If we\'re stopped, make sure watchdog alarm is also stopped
* commit 'ecaa97741332e506afade647402896993ba64fba':
  If we're stopped, make sure watchdog alarm is also stopped
2012-01-26 11:47:18 -08:00
Marc Blank
ecaa977413 If we're stopped, make sure watchdog alarm is also stopped
Bug: 5647625
Change-Id: I33e94107f2d6e4a38a5a221df72ed83596ca7c54
2012-01-25 14:59:54 -08:00
Marc Blank
5520221f60 Handle insert instead of update for "send mail"
* Return proper Uri from insert

Change-Id: I5439fff9872a14c63504a17a2bfef34ff19f99c6
2012-01-24 14:49:08 -08:00
Marc Blank
7f667159c9 Merge "Handle convo read/starred/deleted" 2012-01-24 10:27:27 -08:00
Marc Blank
5e392205dc Handle convo read/starred/deleted
* Send UIProvider notification when changes are made by sync engine

Change-Id: I3076c739b13b40e931277f1b5ac08447c814ff6f
2012-01-23 14:17:09 -08:00
Andy McFadden
d16fa893d1 Use Map.Entry, not HashMap.Entry
Map.Entry is the defined return value from entrySet().  HashMap.Entry
shouldn't be used directly.

Change-Id: I855f7a4e855776deb83754ca89c2a4128e9e04a2
2012-01-20 14:39:48 -08:00
Marc Blank
c8afa2f5cb Send attachments w/ UnifiedEmail outgoing mail
Change-Id: I471816dcaac1ab53aea1465dd69ae4453a1a0268
2012-01-17 15:38:24 -08:00
Marc Blank
1d3f98c522 Merge "Store UI-friendly addresses in EmailProvider database" 2012-01-17 13:22:16 -08:00
Marc Blank
36ed276f7a Store UI-friendly addresses in EmailProvider database
* Currently, we store a generally incompatible packed string format
  for to, from, bcc, cc, and reply-to columns
* Change this to UI-compatible, comma-separated RFC822 strings
* Upgrade database to use new format

Change-Id: I42c01d72b49531c4324d3956edf5ff362d5c9120
2012-01-17 13:11:45 -08:00
Mindy Pereira
ce1791abf3 Update to new message column names.
Change-Id: Ie24fc8e0529ff363dc8bf7a5f6522b601560b91a
2012-01-17 08:22:39 -08:00
Marc Blank
6605115ec4 Set notify uri for queries; trigger notify on message inserts
Change-Id: I9fdf2f83670ec72937deebe352e962632f37b519
2012-01-13 15:02:45 -08:00
Marc Blank
788d52d831 Send new columns for message header; real data for msg counts
Change-Id: I88f560beafdf8cf9194664a63cf74436be281056
2012-01-13 13:00:07 -08:00
Marc Blank
bb760d73f0 Sort message (conversation) list properly
Change-Id: Id208890abf4c646fe8eba01bbfe22de35c610e3c
2012-01-13 12:35:43 -08:00
Marc Blank
bdf32afa64 Hook up primitive email sending to UIProvider
Change-Id: I5fe949c3cdf3d04514976d029d966caa912ec5be
2012-01-13 11:35:46 -08:00
Andy Huang
96d0323cfa remove CLIENT_CREATED usage
Change-Id: Icb102ef554e9e945bdf4866d0038892556fcf739
2012-01-12 15:10:28 -08:00
Marc Blank
ca6f713e71 Oops; fix order of TABLE_NAMES
Change-Id: I994b31c05c640f61444ae3d66c5b94e1d147e698
2012-01-12 14:39:57 -08:00
Mindy Pereira
e9e865345e Set c to the result of the query.
Change-Id: I5b8c935aedcdd86d756ee7de70088f2c8db179d5
2012-01-12 14:25:49 -08:00
Marc Blank
0c550c343f Return "0" for unknown columns in UIProvider queries
* For now, let's avoid exceptions

Change-Id: I5758f3aefb458c00fd3fc1865e63df92e9ba1650
2012-01-12 13:36:50 -08:00