Commit Graph

417 Commits

Author SHA1 Message Date
Scott Kennedy
c6f8c51c67 Prompt for auto-advance option on first action
If we're on a tablet, we will pop up a dialog that asks the user what
they want to do. When they select an option, we save it, and take
the original action, and auto-advance to their preference.

Depends on I7b11bd0d17e6cc184b67c8c943531146fc964b49

Bug: 7328118
Change-Id: Ied57eee4d90ad1d61316032d0796f9205fdd1962
2012-11-02 10:20:33 -07:00
Marc Blank
5c52385838 Restore Imap1
* Restore Imap1 code
* Legacy users will use Imap1
* Existing Imap2 users will continue to use Imap2
* New accounts will be created in Imap1
* More to follow

Bug: 7203993

Change-Id: I8b86fcada59a854fd464d5269c94d00ebae85459
2012-09-21 08:29:09 -07:00
Marc Blank
67439a3e33 Add translatable=false as required
Bug: 7144392
Change-Id: Ibbe21ea46b443f18795d6266341b9fa995de521e
2012-09-19 13:34:02 -07:00
mindyp
885a86c4bf Fix swipe settings text
Fixes b/6991536 Swipe conversation strings in settings

Change-Id: I9f4d954665982d1e24e8c7bd4b26ee7da3c9378e
2012-09-11 16:43:12 -07:00
Marc Blank
266064bcc7 Add "System Folders" settings
* Add this category and preferences for setting the trash
  and sent items folders

Bug: 7100092

Change-Id: I964e02e5e319b3f04b030d36ed7dca30ed046362
2012-09-10 11:07:18 -07:00
Marc Blank
81b0f74efa Create requireSetup attribute; use it for gImap
Change-Id: Id5f37861e4d6f2c2ed0fe98bd8b4d7eb73868c09
2012-09-08 13:08:50 -07:00
Marc Blank
2616405471 Improve trash folder picker upon account creation
* Use setup intent uri
* TODO: More cleanup

Bug: 7077441

Change-Id: Ieab5b0ed33b73b7a0e9012aedd6becf867db1566
2012-09-06 16:01:45 -07:00
Marc Blank
6eac1c9f1c Show "Creating account..." dialog during account creation
Bug: 7100373
Change-Id: Ic86d8b8c8fafe628a69e867d93719bb986c7c583
2012-09-03 16:44:33 -07:00
Marc Blank
b82ae909d7 Add support for "load more" for Imap2
* Use new attribute in services.xml to indicate support
* Initial implementation

Change-Id: Ia8709d606d521c6d495c343a47ee074b5024d340
2012-09-01 15:58:46 -07:00
Marc Blank
e714bb9d15 Convert authorities, intents, and account manager types
* Tested ok on wiped Nexus
* Tested ok on S3
* Upgrade verified on Nexus

Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
2012-08-31 23:26:36 -07:00
Marc Blank
70edcf0538 Integrate Imap2 into Email
* Also, convert imap accounts to imap2
* The original imap service remains, but is no used
* There remain some questions about how the upgrade
  should work in terms of settings

Change-Id: I0e05edad6a1553f428a2c2fa3daf1df878d4b5f7
2012-08-22 14:17:57 -07:00
Marc Blank
277dd4a9ba Show alert message (if any) after Imap2 validation failure
Change-Id: Ibfee4526330184dd9780f56dd52292a10d7b6f41
2012-08-17 15:14:04 -07:00
Marc Blank
20dfb4107e Improve progress strings
Bug: 7009089
Change-Id: Icdfb133f7ac7d62006adf82c31014d64295b8411
2012-08-17 14:11:17 -07:00
Marc Blank
b89744ecfb Use appropriate prefix to infer server address
Bug: 6999072
Change-Id: I71aa184b1cfa0b6926f4dae8861f071f27d3acb2
2012-08-16 14:11:11 -07:00
Marc Blank
1bd4630d3d Linkify and show URL's if they are incuded in ALERT messages
* Gmail does this, for example...

Change-Id: I3b8d7b38e490bbac286f688c11cb62e6874121c2
2012-07-27 15:38:17 -07:00
Marc Blank
dba0b20d95 Handle ALERT response to login command
* Allow AccountService loginFailed API to take a reason string
* Present the reason string in the dialog shown from the login
  failure notification
* Handle ALERTs in IMAP login responses (for example, some servers
  will occasionally require web login and we need to inform them,
  rather than simply saying the password is wrong)
* This fixes a longstanding bug in our Imap1 implementation

Change-Id: I8b270cd5d4746559b6c8a78bce02f0e7c525bdea
2012-07-27 13:36:41 -07:00
Paul Westbrook
9c89f85b07 Set CHAR LIMIT on string
Bug: 6871973
Change-Id: I56f8115baf695660b634fc8da1ed6ae0b9bbd721
2012-07-26 18:58:48 -07:00
Marc Blank
b225298b13 Add swipe-to-delete general preference
Change-Id: I83aa62526ba7a74cea27930300340227b147340f
2012-07-26 09:40:56 -07:00
Marc Blank
a8b683cf3f More work on Imap2
* Handle sending mail and moving to sent folder
* Implement picker for sent folder
* Upload sent items to server
* Add support for "automatic" sync window
* Move some files from Email -> emailcommon
* The added files are copied directly from Email (and can be
  removed if/when Imap2 is merged back with Email)

Change-Id: I3a6a3d224826e547748be2f1b567b6294ad5db89
2012-07-19 14:27:17 -07:00
Marc Blank
c6089bc01f Initial Imap2 implementation
This CL includes the following:
* New Imap2.apk generation (not included in builds)
* "Push IMAP" option for accounts when Imap2.apk present
* Account creation/setup
* 2-way sync of messages, deletions, flag updates
* Push (messages, flags)
* Folder list hierarchy handling
* Message text (one plain or html part)
* Picker UI for trash folder (placeholder)
* Capabilities handling/UI command

Major Imap2 new features:
* Push
* Multiple folder sync
* Sync window (like EAS)

TODO:
* Picker UI for sent folder
* Upload of sent messages to server
* Search
* Multiple viewable parts
* Probably lots more, incl. unit tests

Change-Id: Ia5d74073d9c307e0bdae72a7f76b27140dde7d14
2012-07-18 11:32:26 -07:00
Marc Blank
f419287f22 DO NOT MERGE: Move emailcommon2 sources to emailcommon
Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
2012-06-28 11:15:06 -07:00
Marc Blank
03cd72805d Revert to old Email app
* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
2012-04-25 13:58:23 -07:00
Marc Blank
919e59044b Handle UI part of enforcing email lookback limit
Bug: 5792217
Change-Id: I4351ae4d8505965a32690ecb5e6338765fb3770f
2011-12-21 17:44:59 -08:00
Mindy Pereira
68c38d119f Increase allowed chars for sync calendar string.
Fixes b/5748113 tk_source_broad_ Android_GoogleJob [190999/ - ]-GTT_request character extension

Change-Id: I29ec26a9d2278a0c02f4cc055d8ae55460a8bf22
2011-12-13 09:34:33 -08:00
Andy Huang
a7d1b5c58c Fix various text size problems when system font size is huge
This CL to replace Iafd5d1dc.

* use common styles for spinner anchor and dropdown text
  (introduced in I3063cfea)
* allow dropdown item height to scale beyond fixed height to fit
  huge text

Other fixes:
* use Gmail's color for dropdown and folder list header text
* remove spurious divider in dropdown items that precede a
  header

Bug: 5687252
Change-Id: I3e46cff736a045c4a59a0ff8810977e39f903a14
2011-12-08 13:24:51 -08:00
Mindy Pereira
c756389817 Revert "Fix various text size problems when system font size is huge"
This reverts commit 19bc1921f2
2011-12-08 09:33:30 -08:00
Andy Huang
19bc1921f2 Fix various text size problems when system font size is huge
* use common styles for spinner anchor and dropdown text
  (introduced in I3063cfea)
* allow dropdown item height to scale beyond fixed height to fit
  huge text

Other fixes:
* use Gmail's color for dropdown and folder list header text
* remove spurious divider in dropdown items that precede a
  header

Bug: 5687252
Change-Id: Iafd5d1dc7c3809393c3892138b42b7274fb03a27
2011-12-07 18:28:41 -08:00
Claudia de Veaux
76e273e3c8 Edit to strings per UI text standards.
* Used standard language ("Allows this app..." for permission descriptions.
* Messages and toasts use ending punctuation.
* Checkbox labels do not use ending punctuation.
* Toast language should be cryptic.
* Use "unsuccessful" instead of failed, or "Couldn\'t ...".
* Use contractions.

Bug: 5165745
Bug: 5162667
Bug: 5163232
Change-Id: I4417a4c7b06b278ceb2a61f61493842c9bf922e1
2011-12-07 11:50:44 -08:00
Minh Pham
fba2dbb35b am 16439d5e: Fix date margin
* commit '16439d5e23ea4a4bb86e7f4d23a473525e043007':
  Fix date margin
2011-11-30 10:50:53 -08:00
Minh Pham
16439d5e23 Fix date margin
- Use a specific margin for date in normal mode.
Bug: 5685616

Change-Id: I38843b66e8e2cbc077f2d7421a4e1cb86b274dc5
2011-11-29 17:40:12 -08:00
Vikram Aggarwal
5117621aab am fb9c860a: Remove hard-coded references to zoom values and set them as resource arrays instead.
* commit 'fb9c860ae2fafffd95931ded199e8c07ed3831bb':
  Remove hard-coded references to zoom values and set them as resource arrays instead.
2011-11-15 14:31:54 -08:00
Vikram Aggarwal
fb9c860ae2 Remove hard-coded references to zoom values and set them as resource arrays instead.
Change-Id: I2af4bad3611a6f5c1580980d6ccee25910085f84
2011-11-15 14:05:18 -08:00
Mindy Pereira
dbd8c443df am 30fd3107: Merge "Make the dropdown width larger/ matching Gmail." into ics-mr1
* commit '30fd3107c4445b7974e83704bc9dfbce905e654c':
  Make the dropdown width larger/ matching Gmail.
2011-11-11 11:51:22 -08:00
Mindy Pereira
00d30012b8 am dbfcbd75: Vertically center checkboxes for phones with first line of subject.
* commit 'dbfcbd75412689179f8a3e0fdc5f714bc348877a':
  Vertically center checkboxes for phones with first line of subject.
2011-11-10 05:42:58 +00:00
Mindy Pereira
a691809c3a am 6de1470b: Merge "Tighten up label list on crespo so we can fit more on the smaller screen." into ics-mr1
* commit '6de1470bd88e75ba292633394ad3559438a3fc25':
  Tighten up label list on crespo so we can fit more on the smaller screen.
2011-11-10 05:42:54 +00:00
Mindy Pereira
1720f82513 Make the dropdown width larger/ matching Gmail.
part of b/5520685 update account switch spinner to match Gmail layout

Change-Id: I727d318f3f10199399b61fc4455e44d302fb8e2f
2011-11-09 16:33:23 -08:00
Mindy Pereira
626c289977 am 4beab88c: Share font colors and sizes with gmail.
* commit '4beab88c92226628bf743070f88affb701968ce0':
  Share font colors and sizes with gmail.
2011-11-09 21:19:25 +00:00
Mindy Pereira
d48112432e am e813f733: Merge "Fixup quoted text styling." into ics-mr1
* commit 'e813f733609208798d5f3c6820ded8876961d1f3':
  Fixup quoted text styling.
2011-11-09 21:19:24 +00:00
Mindy Pereira
dbfcbd7541 Vertically center checkboxes for phones with first line of subject.
Fixes b/5521010 conversation list items: checkbox not centered
Fixes b/5591310 Email crashed twice while trying to compose an email in POP/Exchange
Change-Id: I8a6bd28add83ee32906274d730d222ea75c44cb1
2011-11-09 10:32:38 -08:00
Mindy Pereira
ef22e74686 Tighten up label list on crespo so we can fit more on the smaller screen.
Fixes b/5521013 need redlines for folder view

Change-Id: I7f589754b92ae19b8ce8d8698ca9bdc9c6167faa
2011-11-08 17:39:01 -08:00
Mindy Pereira
4beab88c92 Share font colors and sizes with gmail.
part of b/5520048 unread/ read contrast is bad for conversation list items on tablet

Change-Id: I06d0d560ce32714afe9229d1e009b9b09dc11df8
2011-11-08 13:02:22 -08:00
Mindy Pereira
4cd64ad4d5 Fixup quoted text styling.
Fixes for b/5517524 compose on tablets needs redlines
Change-Id: I8a7fab7ad635deee9ddb23f59ea2caf0848f496d
2011-11-03 17:33:26 -07:00
Mindy Pereira
6747b51e11 am aa90b4f2: Update attachment styles.
* commit 'aa90b4f2ebc3f7b3c1e31cfdaf2b8433d5495b4d':
  Update attachment styles.
2011-11-03 23:24:27 +00:00
Mindy Pereira
aa90b4f2eb Update attachment styles.
Part of fixes for b/5517524 compose on tablets needs redlines

Change-Id: I286c6fa57229e993660dd307fc14b929b701b47f
2011-11-03 13:53:37 -07:00
Mindy Pereira
fdff68d5dd am 31e5beba: Create tablet compose view.
* commit '31e5beba35287258e20b0fff5b9138a3b0892221':
  Create tablet compose view.
2011-11-03 18:41:08 +00:00
Mindy Pereira
31e5beba35 Create tablet compose view.
part of Fixes for b/5517524 compose on tablets needs redlines

Change-Id: I107b58dfda3f228457a3a3b90c8f41e832007c9d
2011-11-03 10:48:45 -07:00
Mindy Pereira
3074ba91f6 resolved conflicts for merge of 80966740 to master
Change-Id: Iab18d4cd7c85b0ef4467bcf745d0c84bde7b3846
2011-11-03 09:22:51 -07:00
Mindy Pereira
809667407c Create a require manual sync dialog.
Fixes b/5533550 [Verizon Reported Issue]Add one-time notice to user when auto sync is disabled due to security policy

Change-Id: I1d5380928429a829dbcb31d5f7309f9bc98e8dff
2011-11-03 08:22:46 -07:00
Andy Huang
f20f3e216f am 56d6f4a6: Merge "Style cleanup in email message header to make it more like Gmail" into ics-mr1
* commit '56d6f4a6f13b53051d17579c54cebe0372515f3d':
  Style cleanup in email message header to make it more like Gmail
2011-11-03 05:17:42 +00:00
Andy Huang
358a815701 Style cleanup in email message header to make it more like Gmail
Linkify email addresses in expanded message details
Remove divider line in upper header on phone
Embolden sender name
Twiddle expanded details line spacing and padding to match Gmail
Add space char to collapsed details recipient enumerator (comma)

Bug: 5520692
Bug: 5520787
Change-Id: Iad4a265168d111aa01654a33a9a14f7968fc3181
2011-11-02 15:50:00 -07:00