Commit Graph

8392 Commits

Author SHA1 Message Date
Yu Ping Hu 02f0b1eee8 Remove MailService.
Change-Id: Ibffd0c9fb0eed4822dff28d1577fb455736cffd1
2013-07-26 17:38:07 -07:00
Yu Ping Hu 30b28286aa Merge "Cleanup service loading." into jb-ub-mail-ur10 2013-07-26 23:38:44 +00:00
Yu Ping Hu 47bcb5a21a Cleanup service loading.
Authenticator upgrading no longer uses the services file
to specify upgrades, so we can remove the fields associated
with that functionality.

Change-Id: I2122f18614d714a3d5a565fb4a6a547ddc010b6f
2013-07-26 16:23:27 -07:00
Yu Ping Hu afe097f318 Simplify account reconciliation.
- Rather than handle by type, do them all at once.
- Simplify when reconciliation happens.

Bug: 9056861

Change-Id: If264678c82c63090246ef8ff857c8e46f6672c85
2013-07-26 16:06:14 -07:00
Baligh Uddin 3d2f8b4be8 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-07-25 02:53:09 +00:00
Martin Hibdon e821797f27 Merge "Update IMAP sync method" into jb-ub-mail-ur10 2013-07-25 01:08:40 +00:00
Martin Hibdon 2503179606 Update IMAP sync method
Now it syncs using a date range query.

Change-Id: Ia520fbbe39521b1356acaf0fe764f9bdcc1aeb82
2013-07-24 17:57:07 -07:00
Yu Ping Hu d4ec3272cf Increment Email version.
Change-Id: I2870eaf3e6a1c2266ed0ef5bfbde5fe4c47c00fa
2013-07-24 16:18:28 -07:00
Yu Ping Hu 57b93d2bbe Merge "Fix DB upgrade code to set lookback correctly." into jb-ub-mail-ur10 2013-07-24 23:17:21 +00:00
Yu Ping Hu b3cb475fd2 Fix DB upgrade code to set lookback correctly.
Rather than use null, just force the valid default value.
Also rename SYNC_WINDOW_UNKNOWN to SYNC_WINDOW_ACCOUNT to
better reflect how it's actually used.

Bug: 9989995
Change-Id: I8d0b466fe3bc2e4c651c309d4815cea201058d22
2013-07-24 16:07:33 -07:00
Baligh Uddin dccbd70e5e Import translations. DO NOT MERGE
Change-Id: I4d6382461bfc35908924b84cee5915e4cac2d7f6
Auto-generated-cl: translation import
2013-07-24 13:10:01 -07:00
Tony Mantler 83bee478f3 Enable Bidi
b/7221227

Change-Id: I9417a833a2f1ebf6292dbf1b434e9504fe25184b
2013-07-23 16:16:16 -07:00
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