Commit Graph

7621 Commits

Author SHA1 Message Date
Baligh Uddin
fc376a42b3 Import translations. DO NOT MERGE
Change-Id: I98d098b1640535c768673c34d5f315725fc2fbe9
Auto-generated-cl: translation import
2012-08-14 20:03:44 -07:00
Baligh Uddin
bb7363cecd Import translations. DO NOT MERGE
Change-Id: Iac0e63ae002877e7a2d5d08c3ee2fb273f4a6652
Auto-generated-cl: translation import
2012-08-14 09:58:56 -07:00
Mindy Pereira
9fbb81c9b6 Dont disable compose until accounts are added; listen for account chages to update cache
We want this to go to the add account screen instead.

Change-Id: I087deed7462b87dc026d36fa17b232dc312e8525
2012-08-13 10:41:25 -07:00
Baligh Uddin
7d015353a9 Import translations. DO NOT MERGE
Change-Id: I259940cf92b6fdb08412a5e97eca5e954eb6107a
Auto-generated-cl: translation import
2012-08-10 09:07:13 -07:00
Baligh Uddin
7da9459d51 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-08-09 20:57:34 -07:00
Paul Westbrook
33858c77e9 Fix crash when validating email hostAuth
Bug: 6948287
Change-Id: I781a32a2da0b4248e7ee1e061393ebc2bdc4dd61
2012-08-09 16:24:51 -07:00
Baligh Uddin
0a4d2a89d1 Import translations. DO NOT MERGE
Change-Id: Ic9d688856798a84d352e7b454ff888bf980bc686
Auto-generated-cl: translation import
2012-08-09 10:10:30 -07:00
Paul Westbrook
16e697e3a0 Merge "Fix ConcurrentModificationException" into jb-ub-mail 2012-08-08 09:01:20 -07:00
Paul Westbrook
9439595e58 Fix NPE when proceeding without selecting trash folder
Bug: 6948677
Change-Id: Iac846a8c4e992a02f5f5974ac623a99bee218b13
2012-08-07 23:52:38 -07:00
Paul Westbrook
532bcf4a52 Catch exception in monkey runs
Bug: 6929910
Change-Id: I1d1703282af66bcba7e77277b8ea663fdebcc251
2012-08-07 11:01:02 -07:00
Paul Westbrook
e444155bce Fix ConcurrentModificationException
Bug: 6937046
Change-Id: I82e578d9b31b0064570deee9a9625ddf07826112
2012-08-06 10:50:00 -07:00
Baligh Uddin
d0dbda3a1d Import translations. DO NOT MERGE
Change-Id: Iec7e40a0f67fa2827e284957fb6ffd82331764b5
Auto-generated-cl: translation import
2012-08-06 10:47:09 -07:00
Marc Blank
e340b1f4df Merge "Progress updates for POP3 message downloads" into jb-ub-mail 2012-08-03 17:07:50 -07:00
Marc Blank
970fe5316b Progress updates for POP3 message downloads
* Also, handle MessagingException when doing STAT

Change-Id: I5267b64f18a84fcc97fc2d003e49d4e373ea02c5
2012-08-03 17:03:25 -07:00
Ying Wang
2837d7e970 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-08-03 14:27:43 -07:00
Paul Westbrook
b74f220467 Make sure to respect the projection from the client
The combined account query wasn't respecting the projection from the
client

Bug: 6930416
Change-Id: Iecda9b08caf6bb3e68a0d1cf79496b3d32b4b54e
2012-08-03 14:13:52 -07:00
Marc Blank
10c7158254 Merge "Fix NPE during Imap2 setup when using WiFi only device" into jb-ub-mail 2012-08-03 13:22:42 -07:00
Marc Blank
8826466533 Fix NPE during Imap2 setup when using WiFi only device
Change-Id: Ib85e2f522e3d56f4881bfcba368501bec8d37daa
2012-08-03 12:32:06 -07:00
Marc Blank
cee9881650 Fix typo in DBHelper
Bug: 6930157
Change-Id: Id98cb1772b3d2d58dcd3098566f1096b10ea66f2
2012-08-03 12:12:35 -07:00
Ying Wang
ded82f6d4c Import translations. DO NOT MERGE
Change-Id: I9d2ea1a6347b86b3df0e748bf3d5200b22161573
Auto-generated-cl: translation import
2012-08-03 11:14:12 -07:00
Mindy Pereira
c86cd8fb81 Just use a regular text view.
Change-Id: Ib9f589392475222d34183f66f33da6d82110d47a
2012-08-03 10:48:14 -07:00
Marc Blank
cbd32b78d7 Fall back to 10 minute sync if IDLE isn't supporte
Bug: 6927659
Change-Id: Iaa43d0b4bdbfa0697eabd6d23f0c9ea45ffb0d05
2012-08-03 09:37:38 -07:00
Marc Blank
843164ced6 Merge "Add laposte.net to providers.xml" into jb-ub-mail 2012-08-03 09:07:37 -07:00
Marc Blank
26b1e9d944 Add laposte.net to providers.xml
* At the request of Samsung and Laposte (France)

Bug: 6889030

Change-Id: Ib1da3c2527b69d9ca1d8d0a62f626f2ec79ea817
2012-08-03 09:07:02 -07:00
Marc Blank
e68efceb9a Merge "Handle server deletion of local POP deletions" into jb-ub-mail 2012-08-03 00:12:23 -07:00
Marc Blank
7f7f7e6402 Handle server deletion of local POP deletions
* Also avoid looping through zillions of messages when
  checking uid's
* Always have 25 (or whatever the visible limit) messages
  loaded

Change-Id: Ib2f02a59cc438e3fd14d7ac607fb01d9a5fa5282
2012-08-02 20:06:38 -07:00
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