Commit Graph

8315 Commits

Author SHA1 Message Date
Martin Hibdon ef576c8e6c Merge "Update pop3 syncing" into jb-ub-mail-ur10 2013-08-02 00:44:39 +00:00
Martin Hibdon b177af7534 Update pop3 syncing
b/9857766
If we currently have zero messages (i.e. initial sync of
a new account) we will load the most recent 100 messages.
On subsequent syncs, we will load more recent messages
until either:
1. We have loaded 100 and not yet past any of the messages
we already had locally, or
2. We encounter messages that we already had locally, and
then load "deltaMessageCount" additional messages past
the ones we have locally.

Change-Id: I8b34409dcdaceff2d2e1906174241a74f2331688
2013-08-01 16:25:26 -07:00
Yu Ping Hu eb4ee8a7aa Move required system folder types to Mailbox.
I'm formalizing the concept of folders that must exist,
and the list of such folders should be accessible to all
sync adapters.

Change-Id: I9e4d2d51aa495d211eab2d1e36c3fa197a1ac00d
2013-08-01 16:19:28 -07:00
Yu Ping Hu e37acba259 Remove "Previous" button from account type tablet layout.
Bug: 10128853
Change-Id: I1bdd38ed960bae9471288b9ec1e48eebcbda1d77
2013-08-01 11:54:38 -07:00
Yu Ping Hu a5355442a0 Merge "Improve message counting, ah ah ah!" into jb-ub-mail-ur10 2013-08-01 17:30:12 +00:00
Scott Kennedy 41d5342d98 Merge "Refactor PreferenceMigrator" into jb-ub-mail-ur10 2013-08-01 17:03:46 +00:00
Scott Kennedy 063fb171f5 Merge "Remove some warnings" into jb-ub-mail-ur10 2013-08-01 16:47:01 +00:00
Scott Kennedy 9a0382bb46 Remove more warnings
Change-Id: I0b7475a3569a05c90aa1ab6540c875326da96768
2013-08-01 08:55:38 -07:00
Scott Kennedy 9e521deb6b Remove some warnings
Change-Id: Ie5adc71af6b6cec316c5186ac0566c02a4fc1bff
2013-08-01 08:47:51 -07:00
Scott Kennedy 60a9b7ecfb Refactor PreferenceMigrator
Do the same thing as with LogTag, so that we don't have the same
class name in the same package name in three projects.

This makes IDE builds much easier.

Change-Id: I6c9235ab231e1c04ba87c5da627094c7258a5edf
2013-07-31 22:40:08 -07:00
Yu Ping Hu c543c4f04d Increment Email version.
Change-Id: Iba18b0d977f2b9bfa31150e967ca48c6510c4453
2013-07-31 17:37:58 -07:00
Yu Ping Hu 5ff368b845 Improve message counting, ah ah ah!
- Restore message_count in the database.
- For UI queries on outbox, trash, and drafts,
  use message count instead of total count.

Note this won't be the right thing to do when we properly
sync trash & drafts, but we'll address that when those syncs
are fixed.

Bug: 10098601
Bug: 10113686
Change-Id: I647c74396ee12ed981d89bfb654cc6d0a25cac95
2013-07-31 14:27:01 -07:00
Yu Ping Hu ef0d98155c Fix settings menus.
- Account & general fragments need to clear to remove
  "Add account" for phone & 7".
- 10" needs to therefore specify their menus in order to
  have "Add account".

Bug: 10097087
Change-Id: I133db9b9f7f6610ae30b46927ffcb8a9e4df4c0a
2013-07-30 18:51:01 -07:00
Yu Ping Hu 82e2830a7f Rename folder shortcut widget.
Bug: 10094801
Change-Id: Ic710b8488518e37073fff44b730c0d26404db17c
2013-07-30 16:25:52 -07:00
Yu Ping Hu e95b9bb3e4 Merge "Delete most of IEmailServiceCallback." into jb-ub-mail-ur10 2013-07-30 03:21:10 +00:00
Yu Ping Hu 2075c97f60 Delete most of IEmailServiceCallback.
The old callback mechanism is deprecated, in favor of making
calls on the ContentProvider.

Bug: 9842867

Change-Id: I65f559e593cda24456c4ffb96f785e054626dd0b
2013-07-29 20:04:42 -07:00
Paul Westbrook 6dd7bd29e9 Load large POP attachments
Load large attachments from a partial POP message

There will be a new change that improves the UI for loading
the rest of the message

Bug: 8651782
Change-Id: I075de1e82e27cf2018607eef50143850e8fecaf2
2013-07-29 18:58:37 -07:00
Paul Westbrook c362f66ee1 Merge "Stop crashing with POP attachments" into jb-ub-mail-ur10 2013-07-29 18:30:03 +00:00
Paul Westbrook 8fe7811241 Stop crashing with POP attachments
This is the first part of the change to fix POP attachments.
A following change will handle these partial messages better

Bug: 8651782

Change-Id: I8d00866207dedf63805e0eecab9555c28104f2dc
2013-07-29 11:21:22 -07:00
Tony Mantler 6cf15e66bc Re-add the demon "Add New Account"
b/10041669

Change-Id: I2b1db0a063ec292b33ec8f176b739c1c4422a040
2013-07-29 11:19:23 -07:00
Yu Ping Hu 8fded8b7f1 Merge "Remove IMAP2 from manifest." into jb-ub-mail-ur10 2013-07-27 01:22:52 +00:00
Yu Ping Hu 8698042c7f Remove IMAP2 from manifest.
Change-Id: Ib702d570f7c9f5f00ae72bfb39e75348baa871ad
2013-07-26 18:19:57 -07:00
Yu Ping Hu 48b14fde96 Fix all periodic syncs on upgrade.
Bug: 9844218

Change-Id: Ibacb309752b076faa3f96b5ad57dc121efd79bcb
2013-07-26 18:19:01 -07:00
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