Commit Graph

9709 Commits

Author SHA1 Message Date
Tony Mantler 84dfa15541 Fix IMAP attachment upsync for forwarded messages
b/13883967

Change-Id: I496663144c41fa6353883bb77fa35fb14d1cfa07
2014-04-07 16:26:04 -07:00
Martin Hibdon 94acc8e485 Merge "Fix the names of the save state contants" into ub-mail-algol 2014-04-07 23:17:45 +00:00
Martin Hibdon 763bd628d7 update email version
Change-Id: Id93dac8ad7b94fe3cff1e8a015b100b2c9f9c0b0
2014-04-07 15:57:43 -07:00
Martin Hibdon 2eb7f1babc Fix the names of the save state contants
b/13624066

Change-Id: I0fabcfbf659e51de3dfe2fc9b72bd88f86e576a6
2014-04-07 15:36:53 -07:00
Martin Hibdon a8474c5273 Merge "Save and restore sync interval values and strings" into ub-mail-algol 2014-04-07 21:08:29 +00:00
Martin Hibdon ddcb95f0e7 Save and restore sync interval values and strings
b/13624066

Change-Id: I14c243a7f7ae71e5d6fbdedda328dc01bb2eae85
2014-04-07 13:30:58 -07:00
Baligh Uddin 74826a68db Import translations. DO NOT MERGE
Change-Id: I96985f3384c3dd652a1facf74d0750a061569deb
Auto-generated-cl: translation import
2014-04-07 13:11:26 -07:00
Tony Mantler 021fb3cd78 More layout tweaks
b/13640507

Change-Id: I0392671df101e263aba89abc8b949fe906f34ed0
2014-04-07 11:37:37 -07:00
Tony Mantler 6cbdd5bba0 Fix more IME actions
b/13544189

Change-Id: I5dbbf45a1b68cac2d63ba41c70daff9d33cbb492
2014-04-04 16:36:06 -07:00
Tony Mantler d1a48cb5f4 Merge "Fix IME actions for Names screen on setup flow" into ub-mail-algol 2014-04-04 23:12:55 +00:00
Tony Mantler 36da789bc2 Fix IME actions for Names screen on setup flow
b/13544189

Change-Id: I251c28918c899b8237c6eee3bc3f0beface00a38
2014-04-04 15:56:38 -07:00
Tony Mantler c9df939011 Make "Manual setup" underlined
That was easier than expected.

b/13814534

Change-Id: I288dc04a91d98800ec351cf1a6ad642755947925
2014-04-04 15:35:52 -07:00
Martin Hibdon 4775271611 Merge "Fix a crash signing in with oauth" into ub-mail-algol 2014-04-04 21:59:06 +00:00
Martin Hibdon 3144149f73 Fix a crash signing in with oauth
b/13753410

Change-Id: Ie5909b3db9263d261a422e8fe39e424180f326b9
2014-04-04 14:55:13 -07:00
Tony Mantler 12890669c3 Prevent the IME from popping up when launching setup flow
b/13769774

Change-Id: I184f577cf40d0f43adcceee6ca9bede77f37d4d0
2014-04-04 13:48:42 -07:00
Tony Mantler a061731281 Merge "More "Manual Setup" button tweaks" into ub-mail-algol 2014-04-04 17:43:03 +00:00
Tony Mantler a67a905542 More "Manual Setup" button tweaks
b/13750692

Change-Id: I8e4c7cc1cb74af16998ec26aae506d30735ed068
2014-04-04 10:10:25 -07:00
Baligh Uddin 79c3cf9e0e Merge "Import translations. DO NOT MERGE" into ub-mail-algol 2014-04-04 14:38:26 +00:00
Martin Hibdon 8e45653752 Merge "Bound the number of headers we might try to fetch" into ub-mail-algol 2014-04-03 21:45:08 +00:00
Martin Hibdon 44a443b4e3 Merge "Make oauth error handling localizable" into ub-mail-algol 2014-04-03 21:44:59 +00:00
Martin Hibdon 8cb95732b0 Make oauth error handling localizable
Also, add some logging to track down b/13545303

Change-Id: I44a0d63b5c3b53018b48eb1c58d6a9ff74bddd9c
2014-04-03 14:28:50 -07:00
Martin Hibdon 7ea823327f Bound the number of headers we might try to fetch
b/13545303
Prior to this change, there is no bound on the number of message
headers we might try to fetch at the same time. Now, we fetch
headers in chunks of limited size.

Change-Id: I06db96eefa8732f970c31fc3617480de40723f2d
2014-04-03 14:23:47 -07:00
Martin Hibdon 7d7f12dc54 Merge "Update version" into ub-mail-algol 2014-04-03 00:24:04 +00:00
Martin Hibdon 7778956995 Update version
Change-Id: I394acd95fa6d4fcca0858c7e72f78d5f6f46f705
2014-04-02 17:19:17 -07:00
Anthony Lee e453e7dd29 Merge "b/13734162. Make sure that SmartForward is enabled on EAS accounts." into ub-mail-algol 2014-04-02 22:08:04 +00:00
Anthony Lee 6f7c1c824d b/13734162. Make sure that SmartForward is enabled on EAS accounts.
This is an Algol only fix that needs to be reconsidered for L.
The fix comes in 2 parts. The first addresses existing accounts.
The second addresses new accounts. First we check that the protocol
is EAS and then we check the protocol version to be greater than
12.0 before setting the flags. In the future, the protocol specific
flags should be set in the protocol specific components.

Change-Id: I00a6fa3337d5230801f6de8876332c66deeae2c4
2014-04-02 14:07:41 -07:00
Tony Mantler 4c6338bf1a Make sure HostAuths are populated on manual setup
b/13751284

Change-Id: I61aa94e7ebedc5550854731caa068b9e577c2b3b
2014-04-02 13:30:51 -07:00
Baligh Uddin d9531fc6aa Import translations. DO NOT MERGE
Change-Id: I3eb7a5d3e8acfeea80b1635c89330eea2b474fb0
Auto-generated-cl: translation import
2014-04-02 12:55:46 -07:00
Tony Mantler 68da1ad73f Merge "Add missing call to super.onSaveInstanceState()" into ub-mail-algol 2014-04-01 23:00:43 +00:00
Tony Mantler 0976275d7a Merge "Change 'Manual setup' into clickable text instead of a checkbox" into ub-mail-algol 2014-04-01 22:56:52 +00:00
Tony Mantler 14178ca1e3 Add missing call to super.onSaveInstanceState()
b/13750715

Change-Id: I328e25f355b60217b2dbc874fff9bd3742e79f90
2014-04-01 15:55:51 -07:00
Tony Mantler 1a9c5fe7ad Fix automatic account creation
b/13695686

Change-Id: I108989e50337a839c42fdff1cc11697d8adee954
2014-04-01 15:10:18 -07:00
Tony Mantler 392c263c19 Change 'Manual setup' into clickable text instead of a checkbox
b/13733521

Change-Id: I7f338cbfb8357c5e1a27c6e886ea96e5c6924d22
2014-04-01 14:11:15 -07:00
Martin Hibdon 0db900d622 Merge "Allow setting of the sync window for IMAP accounts" into ub-mail-algol 2014-04-01 19:54:31 +00:00
Martin Hibdon c0d94a44ea Allow setting of the sync window for IMAP accounts
b/13362667
Really this is just for testing, the only window setting
that has any affect is SYNC_WINDOW_ALL. At some point we
should revisit the imap sync window strategy, right now
we will sync up to the oldest message currently on the
device, which is potentially a large amount of data.

Change-Id: I00dd59bd084e85bdf80f3991062b84fcd6a12362
2014-04-01 12:17:34 -07:00
Tony Mantler ecd23cf0f2 Check amProtocol for empty before assuming the user picked a different protocol
b/13734367

Change-Id: I36514cedc31f9a02c627e921b37fdb500d0ab74c
2014-03-31 16:43:14 -07:00
Tony Mantler 3b6b9172e4 More setup layout tweaks
b/13675117
b/13677552

Change-Id: I8a89d634f0c1d6e0766b6ecf0a839abc03864af6
2014-03-31 15:58:25 -07:00
Tony Mantler 243d5fb8ab Merge "Add more padding in setup flow for wide screens" into ub-mail-algol 2014-03-31 22:58:10 +00:00
James Lemieux f456b4f9d4 Merge "Show "To:<Names>" in sent and outbox index views" into ub-mail-algol 2014-03-31 21:11:40 +00:00
James Lemieux 603d1bfa5e Merge "Fix an out-of-date comment." into ub-mail-algol 2014-03-31 21:11:19 +00:00
James Lemieux 974ccb1735 Fix an out-of-date comment.
The code related to the comment didn't ship as part of Kitkat MR2 and instead will go out with the platform L release.

Change-Id: Ib9ece3390005b5b0217e0c5540322802b1c096ad
2014-03-31 21:09:51 +00:00
Anthony Lee 8a5a5779a3 Merge "b/13659368. Ensure properly download status for attachments on failures." into ub-mail-algol 2014-03-31 20:47:27 +00:00
Anthony Lee b6125ae385 b/13659368. Ensure properly download status for attachments on failures.
The reason why the UI is wedged is becasue it doesn't
see a state transition in the status. So now we detect the situation
where the user is trying to download an ineligible file and force
the status to indicate that it was a failure to dismiss the UI and
to show the correct error message.

Change-Id: I9264966830a317724bf2fe469ae570860ba7c2a9
2014-03-31 13:21:28 -07:00
James Lemieux 469c426376 Show "To:<Names>" in sent and outbox index views
b/13304929

The solution being delivered introduces a new folder capability:
UIProvider.FolderCapabilities.SHOW_RECIPIENTS which indicates a folder
should display "To: " in front of its participants list because it
is a folder containing outgoing mail or sent mail (thus viewing
recipients is more useful than senders). This capability is returned
for Drafts, Sent, and Outbox.

Note that extra work was required to make this function properly in
the widget we export to the launcher. See BaseWidgetProvider and
friends for details.

Change-Id: Ie7b077b8dd8934182de5e94a90fa163e8105faac
2014-03-31 12:35:15 -07:00
Tony Mantler 5ee38b7444 Add more padding in setup flow for wide screens
b/13728657

Change-Id: Ib7c996d188b9f70cc4adbd2a7545c5f8a2099d87
2014-03-31 11:44:21 -07:00
Tony Mantler 296cde5603 Add disambiguation screen when user protocol choice differs from providers.xml
b/13640868

Change-Id: I75116f30e9c12d2e8b6757bf208e1519e438aed9
2014-03-28 17:08:04 -07:00
Tony Mantler ca7df3f234 Begone, foul keyboard!
Hide keyboard when advancing setup screens

b/13640446

Change-Id: I913a6afe9bcd4864bf218cab59a3d9e84b23f7d9
2014-03-28 11:20:23 -07:00
Tony Mantler 0f151d5fb5 Merge "Move nav buttons to left and right on account setup flow" into ub-mail-algol 2014-03-28 17:29:38 +00:00
James Lemieux 5057d6dffb Replying to a Message with an encoded email address shows the encoded address in the to field.
b/11658428

As per Yu Ping's advice, we alter the storage of all email addresses (from, to, cc, bcc and
replyto) to be stored in *decoded* format within our database. This makes them both human
readable when inspecting the database manually and alleviates the need to repeatedly decode
them before they are displayed anywhere in our UI layers.

As part of this bugfix, I resurrected several tests related to the LegacyConversions class out of
LegacyConversionsTests and into a new (not Suppressed) test class: LegacyConversionsTest

Change-Id: Ie2e3264646e25c08c4ba74f60b3e1090c052e6c6
2014-03-27 23:25:53 +00:00
Tony Mantler a1916415fa Move nav buttons to left and right on account setup flow
For extra-wide displays

b/13640931

Change-Id: Ibc99dc287b9bb3f125abe3f931a34589927443e7
2014-03-27 16:20:49 -07:00