Commit Graph

7595 Commits

Author SHA1 Message Date
Marc Blank 4ba99bfb24 Prevent crash in Email while viewing message
* Due to new VIEWED column in UIProvider.ConversationColumns

Change-Id: I029d61b30eac96c4cb87cc7f8b6719ecdd987892
2012-08-02 18:30:08 -07:00
Marc Blank f6db592c31 POP3 renovation
* Much, much faster
* Remove message length pass and lots of other useless code
* Create pseudo-attachment for long messages (click to download) that
  includes size (so user can determine whether it's worth it)
* Handle download of message via pseudo-attachment; real attachments
  are then created as necessary.

TODO: Add real UI with UX input (or modify existing to clean up the
loose ends)
TODO: Optimizations for loading the whole message
TODO: Get server delete working (isn't working currently anyway)

Change-Id: I31f3809fc5a2f9fd490d33cfed70d2930654e71d
2012-08-02 15:26:30 -07:00
Ying Wang 1bdae57a80 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-08-01 15:12:06 -07:00
Marc Blank 3a83ec1cf8 Don't save connection manager for autodiscover/validation
* Also add outlook.com to providers file

Change-Id: I2c334d1307b84899c3b64bd0c3f0cd92c190576e
2012-08-01 13:51:19 -07:00
Marc Blank 42a63c5b52 Merge "Revert "Can't explain that!"" into jb-ub-mail 2012-08-01 11:38:35 -07:00
Marc Blank 2647d7d33a Revert "Can't explain that!"
This reverts commit 8709ada866

Change-Id: Icab70f86972e5ed0e53ede5509517c9506237169
2012-08-01 11:38:15 -07:00
Marc Blank d89d702a65 Merge "Can't explain that!" into jb-ub-mail 2012-08-01 11:31:46 -07:00
Marc Blank 8709ada866 Can't explain that!
Change-Id: I2d51fb35cad90ad6788a7cf74261e3e6503dac49
2012-08-01 11:26:49 -07:00
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