Commit Graph

8280 Commits

Author SHA1 Message Date
Yu Ping Hu
1c3ec5f6c0 Merge "Move authenticator upgrade to app upgrade time." into jb-ub-mail-ur10 2013-07-23 01:16:50 +00:00
Yu Ping Hu
462da178b1 Move authenticator upgrade to app upgrade time.
This used to run when the app first initializes the service map.

Bug: 9391930
Bug: 9971936
Change-Id: Iebaeb2dc94ef62edb0be0a7d5a008a26c4f5edfb
2013-07-22 17:33:57 -07:00
Tony Mantler
a48929fac4 Purge the demon "Add New Account"
b/9857109 b/9685360

Change-Id: If5c3d6ea4b59cacf8196cdda67fbaeb6e2afa03e
2013-07-22 13:48:53 -07:00
Yu Ping Hu
64ca2a4529 Merge "Change deleteAccountPIMData to take emailAddress, not id." into jb-ub-mail-ur10 2013-07-20 19:41:57 +00:00
Yu Ping Hu
9a1f00bee4 Change deleteAccountPIMData to take emailAddress, not id.
By the time the remote call actually runs, the account
may be deleted from the DB, so the account id is likely
useless.

Bug: 9021105
Change-Id: If28b4b8c4b5c52be35c6ff68b326c4ea28d7f7b4
2013-07-19 18:42:43 -07:00
Baligh Uddin
d6849b36b0 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-07-19 22:22:14 +00:00
Yu Ping Hu
0a68a255c5 Delete unused projection.
My previous CL was a lie. Turns out I don't need this at all.

Change-Id: I090efbd19f10f0fa58566acac1886b6da54d3319
2013-07-18 17:54:03 -07:00
Baligh Uddin
e04b917be5 Import translations. DO NOT MERGE
Change-Id: I8786bcce7ac622998fda74507ddc55e554a2a2e0
Auto-generated-cl: translation import
2013-07-18 15:40:27 -07:00
Yu Ping Hu
966f237e77 Hijack an unused projection.
This was unused, and I want to write a query in Exchange
that wants to get a message's mailbox key, so I'm taking
this over.

Change-Id: I142394bfd30df8c88c5e1b48347a8532a4758857
2013-07-18 11:54:10 -07:00
Yu Ping Hu
765dc3d552 Increment Email version.
Change-Id: Ib82ef63416a904693edc090499a26a434a68f06a
2013-07-17 13:12:52 -07:00
Scott Kennedy
281c6365fb Add a new FolderUri
This will allow us to add query parameters such that Uris will still
appear to be equal, regardless of differences in the parameters.

Bug: 9780067
Change-Id: I483d009fe3681ec3d4323b3ca95dff8ca9f4ffde
2013-07-16 12:12:23 -07:00
Paul Westbrook
61205ffd83 Merge "Migrate "show sender image" to UnifiedEmail" into jb-ub-mail-ur10 2013-07-16 18:10:26 +00:00
Baligh Uddin
fc9ce53bff Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-07-16 16:48:40 +00:00
Paul Westbrook
ccf730fbe5 Migrate "show sender image" to UnifiedEmail
Bug: 9497358
Change-Id: Iefe39052fb7d53de02535ef98b45c66f1f918209
2013-07-15 18:17:10 -07:00
Yu Ping Hu
dc1160e4c3 Merge "Explicitly pass a callback when loading attachments." into jb-ub-mail-ur10 2013-07-15 23:22:41 +00:00
Yu Ping Hu
d5acf0bbc0 Explicitly pass a callback when loading attachments.
This is part of moving away from the explicit setCallback,
which either has race conditions or is very noisy, or both.
(Each IEmailService call that wants callbacks should just
pass the callback explicitly.)

I'm not yet changing how the services actually handle the
call. Each protocol will need to fix this on their own.

Bug: 9735207
Bug: 9842867
Change-Id: If8cf69ffe82f3544ace9e58b1db5a183f38d038a
2013-07-15 21:54:02 +00:00
Yu Ping Hu
c5220a34aa Merge "Make EmailProvider protection less dangerous." into jb-ub-mail-ur10 2013-07-15 21:53:26 +00:00
Yu Ping Hu
5b4f26d203 Make EmailProvider protection less dangerous.
Attachment provider should probably also be less
dangerous, but that'll come later.

Change-Id: I69f3dcbf7afef4f2f2f2d03974ee2e29af59ab58
2013-07-15 14:00:56 -07:00
Baligh Uddin
7ed1e00173 Import translations. DO NOT MERGE
Change-Id: I0e6c7d42289be9afb1b0bb58f71c844d2e9c315c
Auto-generated-cl: translation import
2013-07-15 12:29:49 -07:00
Paul Westbrook
765fa9e27e Remove STOPSHIP logging
Bug: 8132946
Change-Id: I1f14a75c4dd334c4ae04cb0d79409cd072f2be08
2013-07-15 12:03:25 -07:00
Yu Ping Hu
070569b46c Merge "Remove the folder structure daily sync for push accounts." into jb-ub-mail-ur10 2013-07-15 17:54:45 +00:00
Yu Ping Hu
05cf8a1c1f Remove the folder structure daily sync for push accounts.
Turns out that you don't need it -- Exchange has a way to
tell the client when folder changes occur.

Change-Id: If8089d9fe55e7ece407acf2f0dae977dced522b4
2013-07-15 09:29:05 -07:00
Paul Westbrook
b2c7bcff78 Set the correct account uri to message
Bug: 9595801
Change-Id: Ie3a92c2194caf77ef6f3286e9dcb43684a0b32f4
2013-07-12 18:15:46 -07:00
Paul Westbrook
8a289cb07c shorten log tag lengths
Bug: 9815409
Change-Id: Ied2ef86ec204d005c246444906d7a385e939043e
2013-07-12 10:27:56 -07:00
Paul Westbrook
e13d9f6ba5 Merge "Fix feedback from Email settings" into jb-ub-mail-ur10 2013-07-11 23:27:23 +00:00
Baligh Uddin
dc56de11ce Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-07-11 22:32:49 +00:00
Paul Westbrook
dbb8b75a4b Fix feedback from Email settings
Bug: 9428466
Change-Id: I6816976b858a6a15da7d643320983208287a463a
2013-07-11 13:13:11 -07:00
Baligh Uddin
06e6d7700e Import translations. DO NOT MERGE
Change-Id: Iebedc9dc5f04b2b8e9ea4e0240137d7fd06cf908
Auto-generated-cl: translation import
2013-07-10 21:29:33 -07:00
Yu Ping Hu
f9975572d5 Increment Email version.
Change-Id: Id4137009470dd3a2cbaa1546e85e7d43714418ab
2013-07-10 18:45:46 -07:00
Baligh Uddin
cf1403fc8f Import translations. DO NOT MERGE
Change-Id: I1e76ec51060bf46754a06c533150ee01bee12ea7
Auto-generated-cl: translation import
2013-07-08 10:13:34 -07:00
Yu Ping Hu
66adde5e19 Merge "Increment Email version." into jb-ub-mail-ur10 2013-07-04 00:27:04 +00:00
Yu Ping Hu
1198507b6a Increment Email version.
Change-Id: I79bf702f28095c32c3361ce56da2a00a8ec31c65
2013-07-03 16:30:54 -07:00
Vikram Aggarwal
50f645e019 Parent folder as a URI
Email populates the URI correctly

Bug: 9694857 Populate folder.parent correctly in the provider

Change-Id: Ia509e1dbb2805a752805ba443527c3013715db24
2013-07-03 15:56:58 -07:00
Baligh Uddin
4bd53d1262 Import translations. DO NOT MERGE
Change-Id: Ie46e71e8168102fd4c8a627b3975346a0b9b6acc
Auto-generated-cl: translation import
2013-07-01 10:12:35 -07:00
Yu Ping Hu
6e0f74de93 Add a constant for push-only sync requests.
This will be used in Exchange, but the constant belongs here.

Change-Id: I5be3bae75ccaa0562230252226375b25028dfb76
2013-06-27 16:55:56 -07:00
Yu Ping Hu
9c45527779 Allow account setting screen without outbound hostauth.
We have a way to handle lack of outbound host auth, and it's
a legitimate state for Exchange accounts (since it's unused
anyway).

Bug: 8631134
Change-Id: I99863f627c4f364e61f7a4b99dea3e2606a55275
2013-06-27 13:05:18 -07:00
Scott Kennedy
229c070b0b Change the concept of a default account
The user no longer has control over this. Now, the "default" account
(which is only used for prepopulating the name of new accounts is
either the last used account (to be defined), or the first account in
the database.

This removes a setting, and simplifies a lot of code.

We may also want to auto-select the default account when entering the
compose screen from the combined view, but we do not currently have
an easy way to do that.

Bug: 7442992
Change-Id: Iff5bb36d8cbd327334211b670fa4851cbda6b9a0
2013-06-27 10:22:22 -07:00
Baligh Uddin
cf5dc6ba4f Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-06-27 14:25:36 +00:00
Andrew Sapperstein
8dbb2e8761 Merge "Use resource strings for system folders." into jb-ub-mail-ur10 2013-06-27 01:20:55 +00:00
Andrew Sapperstein
cdee4b0c11 Use resource strings for system folders.
Fixes b/9193813. Previously we returned
a value from the database in all cases.
This meant that system folders were not
translated.

Change-Id: Ife568651886bfb6de76221b8bc5d013dac8fa21a
2013-06-26 18:20:10 -07:00
Yu Ping Hu
8686e10dad Increment Email version #.
Change-Id: I90b4b56ba56b62c6dd7cdfc23b57875140a34105
2013-06-26 17:41:28 -07:00
Baligh Uddin
33377a303d Import translations. DO NOT MERGE
Change-Id: I2aa8126afdf41213779031d57bbfd9d636ead8dd
Auto-generated-cl: translation import
2013-06-26 14:17:12 -07:00
Scott Kennedy
1b8e0fa23f Clean up a bunch of warnings
Bug: 9565838
Change-Id: I5e95562bbf463f057cbcc4a9884427a774473b45
2013-06-25 15:34:32 -07:00
Yu Ping Hu
038924037b Fix mailbox sync options.
- Change mailbox sync interval to be a boolean.
- Decouple Inbox settings from account settings.

Change-Id: Id02d43b281f323ca4db499ce97e8f4bb6d82c2bb
2013-06-24 19:38:35 -07:00
Andrew Sapperstein
478417a794 Support eml attachments in email.
Change-Id: I76274540d00a292d5a8f777d75d8e9f7b2ef3a51
2013-06-21 11:38:13 -07:00
Yu Ping Hu
a54ee609cd Convert Mailbox syncInterval column to boolean.
We are no longer doing per-mailbox sync intervals; instead,
mailboxes opt in to syncing, and the account sync interval
controls what happens.

Change-Id: I8ae32ea25079abbb63bb6a6a282bf5c06de73fca
2013-06-20 18:38:48 -07:00
Yu Ping Hu
6f2beeb59a Add "account only" periodic sync for push accounts.
EAS push only gets changes to the contents of collections,
but not for changes to accounts or folder structure. This
adds a new sync type to fetch only accounts, and adds a
periodic sync of this type for push accounts.

Change-Id: I1e9337252dbb5e53db3f7c5953e089de2c69d18c
2013-06-20 15:46:29 -07:00
Baligh Uddin
ef3fe5727f Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-06-20 16:34:48 +00:00
Mark Wei
650f50023a Merge "Fix IMAP attachments REDOWNLOADING." into jb-ub-mail-ur10 2013-06-20 00:42:13 +00:00
Mark Wei
8f474dc02f Fix IMAP attachments REDOWNLOADING.
Previously, if you clicked Download again, you will never be able to view that
attachment again.

Change-Id: Ie944becaf8c89a1a27b8625af4795550e9213f5e
2013-06-19 17:35:37 -07:00