Commit Graph

6212 Commits

Author SHA1 Message Date
Marc Blank
1aba472486 Remove unneeded logging from EmailProvider
Change-Id: I229c3044566b6067efb7a8a06c10f41dbea3ad5a
2011-08-19 16:56:29 -07:00
Ben Komalo
e8df7f6e63 New list background assets
Bug: 5160570
Bug: 5179058
Change-Id: I91834210adb21f7d4a2def4da13f007114f57348
2011-08-19 16:38:09 -07:00
Mindy Pereira
bea643e699 Merge "Update attachment ui to look like Gmail attachment ui; fix from padding." 2011-08-19 15:45:11 -07:00
Marc Blank
828bf89535 Merge "Make sure reconcileAccounts in AccountService is synchronous" 2011-08-19 15:40:00 -07:00
Mindy Pereira
89dd731a90 Update attachment ui to look like Gmail attachment ui; fix from padding.
Fixes Bug:5184434 Compose view doesn't match pixel perfects
Change-Id: I7217eb4a63beedfd0bc00dffe9e0f29a5af6214c
2011-08-19 15:36:23 -07:00
Marc Blank
8b755f600c Make sure reconcileAccounts in AccountService is synchronous
* This is important so that callers can know that reconciliation
  is complete.

Bug: 5189766
Change-Id: I4fbbaa6506042f975e7ad4e828fe8399c4d4a366
2011-08-19 15:27:00 -07:00
Mindy Pereira
7b41b374cc Style Email compose to look like gmail compose.
Change-Id: I8e1f0e9c4bbbbcd2463473da190bff88f2748905
2011-08-19 11:42:09 -07:00
Mindy Pereira
5b5a9b3f9e Fix alignment of to/cc/bcc fields.
Part of bug:5162602 Alignment of elements in compose screen seems off (master/tot/prime

Change-Id: Ica741328c687b68c8995a1e9fde4d6bb566407ba
2011-08-18 16:17:29 -07:00
Mindy Pereira
475a56fd0a Merge "Change the fonts / sizes of the chips labels to match the rest of the compose activity." 2011-08-18 15:58:37 -07:00
Ben Komalo
a3e8adac95 Merge "Add in missing return statement" 2011-08-18 13:12:26 -07:00
Marc Blank
28a48b6001 Merge "Support IMAP search in UTF-8, in addition to US-ASCII" 2011-08-18 13:02:48 -07:00
Ben Komalo
d766e72450 Add in missing return statement
This caused an unintended fallthrough

Bug: 5183930
Change-Id: Iff2100be13a242bfc576c1cb737d8777f4b8065a
2011-08-18 12:15:37 -07:00
Ben Komalo
2ae341bfa1 Fix messagelistitem logic.
We had two separate "height" values in XML that weren't consistent - one
was used for the coordinates and one was used for the actual item i nthe
adapter. This made things off slightly when the values didn't match
(i.e. on tablet wide mode).

Also fixed an issue with paperclip icon not aligning with date on wide
mode

Bug: 5184169
Change-Id: I1d80bb9c685fdd8216fcaef26bf6ad715eb74c4c
2011-08-18 12:09:39 -07:00
Ben Komalo
899e481fd1 Fix up action bar items.
- vertically centers mailboxes
- fixes subject lines from extending beyond 2 lines and getting cut off

Bug: 5183775
Change-Id: I8f6367edeafdfcf361cafa7e542f4028e955f7f1
2011-08-18 10:51:02 -07:00
Ben Komalo
f13fee5d78 Drop in notification for multiple new mails
Bug: 5058000
Change-Id: Ic852004f8f154943742cf40ccfb6063a736d4cae
2011-08-17 17:10:06 -07:00
Mindy Pereira
d52ff88e89 Change the fonts / sizes of the chips labels to match the rest of the compose activity.
part of Bug:5162602 Alignment of elements in compose screen seems off (master/tot/prime)

Change-Id: Ie2125df9888198448d1503edc4cccf3537db016c
2011-08-17 16:52:01 -07:00
Marc Blank
20bf1f632f Support IMAP search in UTF-8, in addition to US-ASCII
* The existing IMAP search code is well-known to be primitive and
  largely broken.  In particular, it fails with any non-ASCII
  character and with a variety of symbols (e.g. quotes, slashes,
  etc.)  Basically, it's an accident waiting to happen, returning
  empty data sets even when the query might reasonably be expected
  (or known) to return valid data.
* The current CL uses the IMAP literal string format to represent
  the query text; this string can be sent either in ascii or in
  UTF-8, and since it is sent as an octet (byte) count followed by
  8-bit data, it also solves any quoting issues that might come
  up.  So, we kill two birds with one stone.
* The bug in question was punted to a subsequent MR; however, I
  think it would be a mistake to ship the code without this
  CL, which has been tested against the three common IMAP servers
  that we aim to support.

Bug: 4690713
Change-Id: Iaa542bfc56737871f3cbc9c83f0e768415a7f2b6
2011-08-17 16:17:04 -07:00
Ben Komalo
a43437e96a Make the message view scrollable on tablets.
Bug: 5178810
Change-Id: I75b0c12456cb590f02088c38df65527405d026bf
2011-08-17 14:40:11 -07:00
Ben Komalo
8b54f09c7b Prevent NPE when opening starred on tablets
The MessageListFragment doesn't guarantee to return a non-null Mailbox -
it can be null for virtual mailboxes. We weren't checking this properly.

Bug: 5171577
Change-Id: I272f6a71633680d3424b049d730500fb5f04935e
2011-08-17 11:42:31 -07:00
Ben Komalo
27348c7882 Revert "Make compose landscape(phone) go fullscreen"
This reverts commit 0108aeb5b1.

There are too many issues that crop up in this mode.

Bug: 5121640
Change-Id: I6264a63cada973a7ee327ff4c7e7af5df5a6fdb3
2011-08-17 11:13:07 -07:00
Marc Blank
8790f09a99 Merge "Clean up SSL/TLS option text" 2011-08-16 16:55:38 -07:00
Marc Blank
8fe74e7899 Clean up SSL/TLS option text
* The previous text was confusing and potentially misleading.
* The new text is more standard (i.e. used by common clients)

Bug: 5011919
Change-Id: I645c7105ecb36cf58b6c78f6b5bc76f2a17858a3
2011-08-16 16:43:43 -07:00
Ben Komalo
5ef235193b Merge "Minimal changes to make invite UI less broken" 2011-08-16 16:00:16 -07:00
Marc Blank
3ae361182a Fix SMTP validation with TLS/accept certs
* Typo in the code.  Oopsie!

Bug: 5163119
Change-Id: Ic5aab21b79a0ae30d45a760f7c52cf65b150ccb9
2011-08-16 14:17:11 -07:00
Ben Komalo
340ff45ba0 Merge "Fix crash in account selector adaptor" 2011-08-16 11:53:11 -07:00
Ben Komalo
7a3b64d56e Fix crash in account selector adaptor
Removal of the accounts header broke code that assumed the list of
accounts started at index 1. Change code so that it doesn't rely on that
assumption.

Bug: 5171557
Change-Id: Idde445cac914c4a742c54e291d808b991e612c5f
2011-08-16 10:40:33 -07:00
Mindy Pereira
5e88869393 Merge "We must have unique id's in order for the state to be saved automatically by the widget." 2011-08-15 18:28:05 -07:00
Mindy Pereira
ac9975e745 We must have unique id's in order for the state to be saved automatically by the widget.
Also turned off extract mode for subject/ body as we already
did this in gmail at request of ux.
Fixes b/5161118 TO field drops all entry chips on rotation

Change-Id: Iada93bbf7ee457801340167aa1086b03b87b4268
2011-08-15 18:24:43 -07:00
Ben Komalo
22cc33158d Use proper style for account spinner
- also removes the "Accounts" header as requested by UX
- also tightens up width on tablets a little.

Bug: 5160847
Change-Id: Ie8da1f9d2ec0e53421a435897fc9bb50991a20b6
2011-08-15 12:22:54 -07:00
Ben Komalo
285b6bb303 Minimal changes to make invite UI less broken
- tweaked padding for 7" portrait tablets (required copying tablet
layout to two spots so that the 10" portrait tablets still work
normally)
- removed checkboxes on phones and toyed with fonts

Bug: 5165210
Bug: 5156282
Change-Id: Idd3a1c53dc32fefc14854b08a0a9eaebeb5d2f44
2011-08-15 11:59:51 -07:00
Ben Komalo
e6bfd3f124 Merge "Suppress toast when adding attachment." 2011-08-15 10:29:25 -07:00
Eric Fischer
c7c371e5a4 Merge "Import revised translations." 2011-08-15 10:23:47 -07:00
Ben Komalo
4256bdfce7 Suppress toast when adding attachment.
The "message saved as draft" toast is distracting when the user is going
to pick an attachment. Stop it from happening.

Bug: 5156507
Change-Id: I3c02ec9c0a17c9d5ea3d02377cfc6d6cd8870a49
2011-08-15 10:23:40 -07:00
Eric Fischer
933be0fbdb Import revised translations.
Change-Id: I016a777f02e94ef665b5aa43b3955ca56ba6941b
2011-08-12 17:18:12 -07:00
Marc Blank
a61e7e8511 Remove unneeded and duplicate permissions in manifest
Bug: 3465831
Change-Id: If2960cc59c3b8e71c9f7b04a4c3e457dcc8ca4ef
2011-08-12 16:21:44 -07:00
Ben Komalo
61483eefa7 Merge "Update visuals for new fonts." 2011-08-12 16:12:56 -07:00
Ben Komalo
a269888e30 New widget preview asset drop
Bug: 5159294
Change-Id: I9885f38e1e217aac8df80eedaea9c578e2abb193
2011-08-12 15:12:38 -07:00
Ben Komalo
4b75ac992d Update visuals for new fonts.
- tighten up action bar spinner
- fix up message list senders/padding

Bug: 5159050
Change-Id: I00033d994a23f7fbb81cd72f53b9d66faa7570f9
2011-08-12 15:01:51 -07:00
Ben Komalo
526fadbaa0 Fix build
Change-Id: I366dad8d13dac5a157758a59d9d89552cd8d8084
2011-08-11 19:50:04 -07:00
Ben Komalo
6f96c779cf Hide presence icon when unknown.
- the "offline" icon isn't much use for a lot of our (non-gmail) users
anyways and it takes precious real estate in the header

Bug: 5147565
Change-Id: Iea3df0c1c3756ff749e50ce46a7437488dc169e7
2011-08-11 18:04:39 -07:00
Ben Komalo
7c98d35990 Merge "Prevent infinite resizes in webview" 2011-08-11 17:58:20 -07:00
Jorge Lugo
9ca5751db0 Merge "Add conversationId field to Message" 2011-08-11 17:45:52 -07:00
Jorge Lugo
c01a783cd6 Add conversationId field to Message
So that exchange can pass along conversationId when
syncing. It's not persisted in the database.

Change-Id: I53d68b27b292b0db0fd808e0deeb28751361f1f4
2011-08-11 17:07:50 -07:00
Ben Komalo
bd0d2a899e Prevent infinite resizes in webview
Bug: 2349275
Change-Id: Iea502beafcc232105486dfdd5a2d93229313bc45
2011-08-11 16:45:49 -07:00
Mindy Pereira
c165092ea2 Merge "Update styling of chips fields." 2011-08-11 15:58:45 -07:00
Mindy Pereira
ce39730da0 Update styling of chips fields.
Fixes b/5122133 replace recipient background with new multiline background

Change-Id: Icbdb1e885526ccbe1bbbb5e332db8532988a749e
2011-08-11 15:56:31 -07:00
Ben Komalo
90a3f1e08b Ensure message actions aren't available for EML
Bug: 5150912
Change-Id: I189eeed903d1af9b9da42b27acb91dd3e836c357
2011-08-11 14:12:48 -07:00
Ben Komalo
c18843d746 Prevent EML messages from reloading indefinitely
- openMessageSync for EML files touches the provider since it copies
things into the Message table from temporary attachment data. Therefore,
acting on a reload of an EML message will trigger the observer, and do
the same thing.
- still unsure when or how this regressed, but I can't see the previous
behavior being correct regardless

Bug: 5150886
Change-Id: Icfcea7beb95b0fbb026184d6fdecc93c810569ef
2011-08-11 13:34:52 -07:00
Ben Komalo
6183b73ec5 Merge "Translation dump." 2011-08-10 17:09:45 -07:00
Ben Komalo
b62437fecf Merge "Remove STOPSHIP and unused strings." 2011-08-10 17:09:35 -07:00