Commit Graph

7637 Commits

Author SHA1 Message Date
Ying Wang
0c0120b4dc Import translations. DO NOT MERGE
Change-Id: Id7b1d007421f7bc83d30c252811b52ccfef2ee88
Auto-generated-cl: translation import
2012-08-01 11:19:36 -07:00
Vikram Aggarwal
e0015b2800 Priority Arrows are always disabled for Email.
Change-Id: If8617fc9c41467987aa572bfe2f93394757c4166
2012-08-01 09:35:49 -07:00
Marc Blank
7d5e2a7c08 Do "same certificate" checking when using "trust certificates"
* Refactor/simplify Transport/MailTransport
* Add serverCert column to HostAuth table in EmailProvider
* During first connection to server, save the server certificate
  in the HostAuth; on subsequent connections, ensure that the
  certificate presented has the same public key as the one
  stored
* For now, we'll just fail to connect (with a CertificateException)
  if there's a mismatch

TODO: Add some UI to handle different certificates

Bug: 6888866
Change-Id: Ia79497e89eaad8d43617b50d3771121b2ed7f687
2012-08-01 09:04:44 -07:00
Marc Blank
691d4311a1 Don't use STARTTLS if we're already using SSL
Change-Id: I572274abb2d0a52cafd7e0149a74440453ac3e27
2012-07-31 14:28:16 -07:00
Marc Blank
942fea3c97 Synchronize checkDatabases()
Bug: 6538393
Change-Id: I5e4d532aa859d8a49805b74475275ad914e84b86
2012-07-31 12:03:08 -07:00
Marc Blank
949fc3d883 Prevent NPE when the message has been deleted
Bug: 6907706
Change-Id: I5d5f980856eed12242095527aa927d139c77db4d
2012-07-31 09:53:21 -07:00
Ying Wang
3a0c72969c Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-07-30 14:58:33 -07:00
Mindy Pereira
f986f44eca Reduced the number of calls that did the same thing in the Folder class.
The new method is just Folder.toString

Change-Id: I28fe0cc6e0adb110645941acd4990957283e5b03
2012-07-30 13:26:13 -07:00
Ying Wang
c6a9a42b7f Import translations. DO NOT MERGE
Change-Id: Ibef5fe776b1a0392d0ba6cc2ff661c2294ddd42b
Auto-generated-cl: translation import
2012-07-30 11:08:54 -07:00
Marc Blank
125a2435d6 Use Imap2 for auto-setup (if installed)
* And warn user (allowing her to switch to legacy adapter)
* This is temporary, for use in testing and marked STOPSHIP

Change-Id: I2510b0855a67c09add116d827185ff14596f44dd
2012-07-29 13:41:34 -07:00
Marc Blank
8348b78f22 Say that Imap2 supports folder search
Change-Id: I23725292c424f1388fd995e08b45eb3ce4190dd3
2012-07-27 17:02:01 -07:00
Marc Blank
446e2c109f Merge "Linkify and show URL's if they are incuded in ALERT messages" into jb-ub-mail 2012-07-27 15:50:08 -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
Ying Wang
6a980c1409 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-07-27 14:17:27 -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
Marc Blank
ae57810e1e Merge "Imap2 additions" into jb-ub-mail 2012-07-27 12:50:58 -07:00
Marc Blank
0b6b83c6f9 Imap2 additions
* Implement first-pass Imap2 server-side search
* Improve number parsing performance
* Better handle the BodyThread (loading message bodies)

Change-Id: I0ccd7377c80a0553b086d5204b211067896a2f49
2012-07-27 11:58:48 -07:00
Mindy Pereira
34d8a139ce Remove extraneous loop.
There better be just 1 folder!

Change-Id: I8f4431cb133b29a4d4f266d0a95b843b374f15cc
2012-07-27 11:42:02 -07:00
Paul Westbrook
b819a96f51 Use the theme that doesn't show the title in the action bar
Bug: 6889786
Change-Id: Idb499eed62c08369a46d472acc471f20e264f0c5
2012-07-27 10:48:08 -07:00
Ying Wang
a49508967a Import translations. DO NOT MERGE
Change-Id: I04852df5edf2e18c251e6f94555c669211312f0d
Auto-generated-cl: translation import
2012-07-27 10:23:49 -07:00
Mindy Pereira
709b4633ed We don't need this! Raw folders does everything for us.
Change-Id: I5e37ed79ce3dce02ffad6fbea184981dd6f4f40e
2012-07-27 09:30:15 -07:00
Paul Westbrook
9c89f85b07 Set CHAR LIMIT on string
Bug: 6871973
Change-Id: I56f8115baf695660b634fc8da1ed6ae0b9bbd721
2012-07-26 18:58:48 -07:00
Ying Wang
de23aa7031 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-07-26 16:01:05 -07:00
Marc Blank
97a198292e Notify on "all accounts" when an account is updated
Change-Id: If6bad046d10972dcf7aa76d73b18c8a0c655a6ce
2012-07-26 13:51:09 -07:00
Ying Wang
b901f47f59 Import translations. DO NOT MERGE
Change-Id: Idea5d43cdeaa4c1ec3de0f828369eca282c57181
Auto-generated-cl: translation import
2012-07-26 12:37:54 -07:00
Marc Blank
b225298b13 Add swipe-to-delete general preference
Change-Id: I83aa62526ba7a74cea27930300340227b147340f
2012-07-26 09:40:56 -07:00
Marc Blank
6a6e551a9d Merge "Fix EAS backoff behavior (was stuck at 30 seconds)" into jb-ub-mail 2012-07-25 16:02:25 -07:00
Marc Blank
41bba664f7 Fix EAS backoff behavior (was stuck at 30 seconds)
Bug: 6881519
Change-Id: Ib0b6f8a07a4bc47d3691c9cfa711e45eaf1955f2
2012-07-25 15:38:50 -07:00
Paul Westbrook
21959b3f29 Support widget changes in UnifiedEmail
Change-Id: I48ed403a7f1d61607b70c3ef260cc1f903e27a1b
2012-07-25 14:03:23 -07:00
Ying Wang
c6673bac11 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-07-25 13:50:46 -07:00
Marc Blank
a4418762d4 Merge "Make sure account capabilities get set properly in UIProvider" into jb-ub-mail 2012-07-25 13:40:14 -07:00
Marc Blank
0b5f15d61e Make sure account capabilities get set properly in UIProvider
* Change getCapabilities API to take an account, rather than
  the id of the account
* getCapabilities() can therefore execute even before Exchange
  is fully up and running

Change-Id: Id4c2a9942ea7a21e0c56401c50206b680274b43e
2012-07-25 13:25:02 -07:00
Andrew Sapperstein
6eee9e4f11 Filtering attachments by content type.
If the optional contentTypeQueryParameters is
set in the attachments URI, we only include attachments
that start with one of the contentTypes given in the
query parameters.

Change-Id: I97364b405b37174c02ba712009604b4dd122ae73
2012-07-25 13:24:12 -07:00
Marc Blank
64a1fadf38 Merge "Support STARTTLS in Imap2" into jb-ub-mail 2012-07-25 11:43:49 -07:00
Ying Wang
810b776b53 Import translations. DO NOT MERGE
Change-Id: I92e9e1ae0b7ff0a4783fd4a04ffa37565c130afe
Auto-generated-cl: translation import
2012-07-25 10:31:29 -07:00
Ying Wang
03973e74ee Import translations. DO NOT MERGE
Change-Id: I84cce22aaa57c3f737be5830f2d788983472d561
Auto-generated-cl: translation import
2012-07-24 10:53:21 -07:00
Marc Blank
e60ed86c38 Support STARTTLS in Imap2
Change-Id: I5df317773db35df572866bc5f5843eef69766925
2012-07-24 10:23:33 -07:00
Paul Westbrook
51693c5a4c Migrate legacy widgets
Bug: 6304532

Change-Id: I6a5cad036ec7d4746e396b580e4689c957a7ee18
2012-07-23 14:57:46 -07:00
Mindy Pereira
50b50dfa1b Enable NFC sharing of address.
Change-Id: I19b10ef0c1b0eda1a3ed9020719883e96df60341
2012-07-23 13:14:11 -07:00
Ying Wang
bdc47d309c Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-07-23 12:45:08 -07:00
Marc Blank
354fe3eedf Merge "Log out when done w/ IMAP sync" into jb-ub-mail 2012-07-23 11:22:01 -07:00
Ying Wang
e1b325d611 Import translations. DO NOT MERGE
Change-Id: I4f97d595dc5a650fa502b53817edc7557ffcb700
Auto-generated-cl: translation import
2012-07-23 10:37:17 -07:00
Marc Blank
8447253166 Merge "Prevent ConcurrentModificationException in SyncManager" into jb-ub-mail 2012-07-23 10:18:46 -07:00
Marc Blank
cbd178e49c Log out when done w/ IMAP sync
Change-Id: Ic9993288a331960ba9c492e0ef051c737f1e947f
2012-07-23 10:18:08 -07:00
Marc Blank
98497ec7f6 Prevent ConcurrentModificationException in SyncManager
Bug: 6856652
Change-Id: I1a264844cbab159505b4b3ebd32716a469517f0a
2012-07-23 10:17:05 -07:00
Paul Westbrook
516fe3a176 Increment versionCode
Change-Id: Ie241c6a4f5e639ef921dbf268e7b8fd699679b7b
2012-07-21 13:26:32 -07:00
Paul Westbrook
70744d6333 Fix app shorcut after upgrade
Now old app shortcuts will continue to work after upgrading to 4.2

Also re-add the APP_EMAIL category

Bug: 6363841
Change-Id: Ib3bc860931da4c25e06f084e9fffe96703fd4f0f
2012-07-21 05:35:21 -07:00
Ying Wang
f3702a9796 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-07-20 11:37:50 -07:00
Ying Wang
b1f88ba216 Import translations. DO NOT MERGE
Change-Id: Ie154e2a86d0fa71efa0c20ac2993707e78006dfe
Auto-generated-cl: translation import
2012-07-20 11:02:03 -07:00
Marc Blank
54b6b8b072 Prevent CME w/ sServiceList
Bug: 6854037
Change-Id: I0b9aadfa0b347c62bf8a3b0c5ec88330871cce2d
2012-07-20 10:51:33 -07:00