Commit Graph

180 Commits

Author SHA1 Message Date
Andrew Stadler
1c9ca5c1bb am 4de3f972: am 8d5004a6: Modernize the code to load message and body from DB.
Merge commit '4de3f97290efe9518257a655e90f6666fab172da'

* commit '4de3f97290efe9518257a655e90f6666fab172da':
  Modernize the code to load message and body from DB.
2009-09-20 10:20:00 -07:00
Andrew Stadler
8d5004a6eb Modernize the code to load message and body from DB.
* Don't use unneeded managed cursors
* Put more of the DB work in async
* Don't try to load HTML and plaintext simultaneously
* Explicitly catch & handle exceptions during db ops

Bug # 2087051  (see also bug # 2122960 re unexpected db exceptions)

Change-Id: I446086bc4f3a85b2e766b12d1f7271e61e3ae8d5
2009-09-20 10:06:08 -07:00
Marc Blank
fa15551e8d am bbcd8597: am 9d43de5d: Remove parser logging from standard SD logging
Merge commit 'bbcd8597c188afb095c5ea60211743b019f9e065'

* commit 'bbcd8597c188afb095c5ea60211743b019f9e065':
  Remove parser logging from standard SD logging
2009-09-19 22:33:58 -07:00
Marc Blank
9d43de5d12 Remove parser logging from standard SD logging
* Change description for one of the logging labels to reflect
  what it actually does

Change-Id: Ib07b7330a20af5b099b42ae3733b71641c4bddd9
2009-09-19 22:19:28 -07:00
Jim Miller
9f311d12be am 637c8011: am dfe66e5e: Fix bug #2004167: update assets for Email authenticator and add small icon. Re-upload after path conflict.
Merge commit '637c80116ca701ebaa7f6393408cf3bd1720a39e'

* commit '637c80116ca701ebaa7f6393408cf3bd1720a39e':
  Fix bug #2004167: update assets for Email authenticator and add small icon. Re-upload after path conflict.
2009-09-18 19:39:27 -07:00
Andrew Stadler
db80860e59 am 2ca03248: am 9312faea: Restore lost connection error UI
Merge commit '2ca0324885a6611c04da33825a8ee9d8ca549e96'

* commit '2ca0324885a6611c04da33825a8ee9d8ca549e96':
  Restore lost connection error UI
2009-09-18 18:16:17 -07:00
Jim Miller
dfe66e5eda Fix bug #2004167: update assets for Email authenticator and add small icon. Re-upload after path conflict. 2009-09-18 18:14:16 -07:00
Andrew Stadler
9312faea43 Restore lost connection error UI
We lost the reporting of connection errors in the UI.  These were
originally displayed in FolderMessageList, under the name of each folder.

In the new implementation, we borrow the "undo" banner from Gmail and
display it whenever there is a connection error in a mailbox.

* Add banner, and code to animate it on/off the top of the list.
* Toggle banner whenever a connection state change occurs in MessageList
* Toggle banner whenever a connection state change occurs in MailboxList
* Slight change to callback semantics for sendMailCallback
2009-09-18 15:31:37 -07:00
Marc Blank
f4398e7d1f am 83954a28: am eadb55b0: Implement hooks from Settings->Accounts to Exchange account setu
Merge commit '83954a28fe9d39905f2d78f6e6c39132659e5ca4'

* commit '83954a28fe9d39905f2d78f6e6c39132659e5ca4':
  Implement hooks from Settings->Accounts to Exchange account setu
2009-09-18 10:38:28 -07:00
Marc Blank
eadb55b04e Implement hooks from Settings->Accounts to Exchange account setu
* Fixes #2106718
* Fixes #2106733
* Remove "Add another account" from the preference screen

Change-Id: I8db1400d2bdb6ed7d3aeb2049cc1a399c47c38c5
2009-09-18 09:19:41 -07:00
Andrew Stadler
206faa5089 am c30c333d: am a96c941d: Merge change 25721 into eclair
Merge commit 'c30c333d006683fde126cc59c90d8da6ece34628'

* commit 'c30c333d006683fde126cc59c90d8da6ece34628':
  Clean up transport encryption & port options
2009-09-18 09:19:30 -07:00
Android (Google) Code Review
a96c941d9f Merge change 25721 into eclair
* changes:
  Clean up transport encryption & port options
2009-09-18 12:04:31 -04:00
satok
9613fa32e1 am b0d5ff7d: am 666dd867: Move chip in mailbox to the left
Merge commit 'b0d5ff7df6121487c66ab3dbeb69a357d972cbe7'

* commit 'b0d5ff7df6121487c66ab3dbeb69a357d972cbe7':
  Move chip in mailbox to the left
2009-09-18 00:04:57 -07:00
satok
666dd86762 Move chip in mailbox to the left 2009-09-18 15:54:03 +09:00
Andrew Stadler
8b91975fa5 Clean up transport encryption & port options
* Remove SSL-Optional and TLS-Optional choices from UI
* Remove SSL-Optional and TLS-Optional choices from providers.xml
* Switch over most SMTP connections from 25 to 587
* Clean up the providers list which has a lot of "optional" cases
    that were probably falling back to unencrypted.

Fixes bugs:
2110243	Settings UI shouldn't offer SSL/TLS (if available) options
2089070 Update list of providers

Change-Id: I57be57b349eed33a5284121d904528279a36a91c
2009-09-17 23:47:00 -07:00
satok
b7ea5f44db am ec5f83fa: am 9e7a9801: Rename name of color
Merge commit 'ec5f83fa7a55c1dda7303d3da7bbeb3b785f44df'

* commit 'ec5f83fa7a55c1dda7303d3da7bbeb3b785f44df':
  Rename name of color
2009-09-17 22:27:23 -07:00
satok
9e7a9801c7 Rename name of color
BUG: 1904417
2009-09-18 13:55:02 +09:00
satok
d58d21624f am 7ac69496: am 8b240ed9: Merge change 25691 into eclair
Merge commit '7ac694965c3f1d0d609b7143b1d06e208d856702'

* commit '7ac694965c3f1d0d609b7143b1d06e208d856702':
  UI Refulesh of account folder list
2009-09-17 19:54:32 -07:00
Android (Google) Code Review
8b240ed9dc Merge change 25691 into eclair
* changes:
  UI Refulesh of account folder list
2009-09-17 22:45:14 -04:00
satok
24926a46e7 am 3ffccb0b: am 925be3bf: Merge change 25462 into eclair
Merge commit '3ffccb0b54c62c8f23383f485d9a423262e5a193'

* commit '3ffccb0b54c62c8f23383f485d9a423262e5a193':
  UI Refuresh of account folder list
2009-09-17 19:44:58 -07:00
satok
d4f5b786ea UI Refulesh of account folder list
BUG:1904417

* rename name
2009-09-18 11:41:58 +09:00
Android (Google) Code Review
925be3bf76 Merge change 25462 into eclair
* changes:
  UI Refuresh of account folder list
2009-09-17 22:35:29 -04:00
satok
15206a12e8 UI Refuresh of account folder list
BUG: 1904417

* Extend chip
* Add separator between a folder button and account name
2009-09-18 11:33:30 +09:00
Eric Fischer
468c2dedfc Import revised translations. DO NOT MERGE 2009-09-17 14:31:25 -07:00
Marc Blank
12478ba6a3 am a380b1a2: am 767ea863: Merge change 25344 into eclair
Merge commit 'a380b1a2e89688d7bb8bb64d5096399f59e452ea'

* commit 'a380b1a2e89688d7bb8bb64d5096399f59e452ea':
  Add "Sync Contacts" to Account preferences screen (part of #2106733)
2009-09-17 12:17:17 -07:00
satok
cae5bca96f am a3e8386f: am 2aa3e92f: Merge change 25041 into eclair
Merge commit 'a3e8386f98b7d7425e03b1c95d19b073d3d4ed87'

* commit 'a3e8386f98b7d7425e03b1c95d19b073d3d4ed87':
  show message list selection
2009-09-17 09:48:25 -07:00
Andrew Stadler
bc991a9ad9 am 59ce4670: am da8836a7: Give warnings if dupe account created:
Merge commit '59ce4670b531ff28ec89ef0910ed0fb2121ff584'

* commit '59ce4670b531ff28ec89ef0910ed0fb2121ff584':
  Give warnings if dupe account created:
2009-09-17 06:43:47 -07:00
satok
c6d40688a4 am 7355f0fa: am 0cc0e709: Rename adding/removing star strings
Merge commit '7355f0fab170219dec81cf01f75444cf78f0a332'

* commit '7355f0fab170219dec81cf01f75444cf78f0a332':
  Rename adding/removing star strings
2009-09-16 18:24:03 -07:00
Marc Blank
e428f94161 Add "Sync Contacts" to Account preferences screen (part of #2106733)
* Also added some checks for null Accounts and HostAuth

Change-Id: Ia4ae68d0e8a62abdaf002519766b6685b6947e9e
2009-09-16 16:07:27 -07:00
Marc Blank
3ff3d5a80d am 66d63306: am 60c7502b: Change exchange setup screen per #2025029
Merge commit '66d6330618f81a80daed58e44c818bbe2cbd8aad'

* commit '66d6330618f81a80daed58e44c818bbe2cbd8aad':
  Change exchange setup screen per #2025029
2009-09-16 10:52:14 -07:00
Android (Google) Code Review
2aa3e92fe3 Merge change 25041 into eclair
* changes:
  show message list selection
2009-09-15 21:56:59 -04:00
satok
5569ec9c9d show message list selection
BUG: 2117057

* add styles for items in MessageListView
* reduce color diff of Read/Unread
2009-09-16 10:55:28 +09:00
Andrew Stadler
da8836a76c Give warnings if dupe account created:
* Check for existing accounts with matching servername + username
* Show a dialog and block account creation
* Triggers in three cases:
  * After input of an auto-setup account (e.g. Gmail or AOL)
  * After input of manual setup (incoming) parameters
  * After changing incoming parameters of *any* existing account
* Made some notes in EmailContent regarding fields in HostAuth that we
    are not actually using.
* Added HostAuth unit tests

Primarily fixes bug # 1964449
Bonus fix for bug # 1594408

Change-Id: I49310faf6654280582e0ab3d3e40f2701bfcd21d
2009-09-15 16:33:44 -07:00
satok
0cc0e70941 Rename adding/removing star strings
BUG: 2116258
2009-09-15 16:05:14 +09:00
Marc Blank
60c7502b67 Change exchange setup screen per #2025029
Change-Id: Ib94713857902e336984b847f70c96e04826b9b74
2009-09-13 21:55:10 -07:00
Andrew Stadler
b153676c04 am dab0b663: am be60dfde: Update MessageListView to fit punchcut\'s design
Merge commit 'dab0b6637aac221e6f9ad46d593467ac82464b12'

* commit 'dab0b6637aac221e6f9ad46d593467ac82464b12':
  Update MessageListView to fit punchcut's design
2009-09-10 17:37:37 -07:00
satok
7d3a4dd27e am 89c16484: am 51b635f2: Merge change 24518 into eclair
Merge commit '89c164848272b11f93fc63bbc764cd5936475c76'

* commit '89c164848272b11f93fc63bbc764cd5936475c76':
  Fix spinny position in the title bar
2009-09-10 17:28:09 -07:00
Andrew Stadler
be60dfdee7 Update MessageListView to fit punchcut's design
BUG:1904421

* update READ/UNREAD indications
** don't change color chip
** change background color
* Change Date
* Change the position of attachement icon
* Change menu icon for folder
2009-09-10 17:27:21 -07:00
Android (Google) Code Review
51b635f2d2 Merge change 24518 into eclair
* changes:
  Fix spinny position in the title bar
2009-09-10 20:17:47 -04:00
satok
2cbacb511f Fix spinny position in the title bar
BUG: 2072362
2009-09-10 20:36:13 +09:00
Marc Blank
dc81a55146 am e9269266: am cef2344e: Rework EAS account creation & ssl operation
Merge commit 'e92692663da153a645639fbd06c96a634a02abd1'

* commit 'e92692663da153a645639fbd06c96a634a02abd1':
  Rework EAS account creation & ssl operation
2009-09-09 16:27:25 -07:00
Marc Blank
cef2344e70 Rework EAS account creation & ssl operation
* Fixes 2048663, 2025029, and 2100131
* Add "Trust Certificates" checkbox in EAS account creation
* Use custom ClientConnectionManager for HttpClient with registry
  for plain, ssl, and tssl (trusted ssl) connection
* Use a ConnectionPool for HttpClient connections
* Remove "Domain" checkbox in  EAS account creation
* Remove tests related to the "Domain" field
* TODO Write a test for valid usernames (requires a bit of research)
  <name>, <email address>, <domain>/<name, and <domain>\<name> are all
  valid, but there might be others

Change-Id: I4a0338df5960bfd3d679a88aaf22d1c49f49992b
2009-09-09 10:32:06 -07:00
Eric Fischer
c17da29a98 Import revised translations. DO NOT MERGE 2009-09-08 16:27:08 -07:00
satok
4bb52e36b1 Fix the foldername of outbox
BUG: 2077596

* fixed the array of special_mailbox_display_names
* added unit tests
2009-09-03 09:47:00 +09:00
satok
64814b3928 Update the design of Unread Count
BUG: 2065601

* Show Unread Count of Accounts in AccountFolderList
* Change the background according to the folder's type
* Change the style of unread counts

TODO: Change background images of Unread Count
2009-09-03 02:54:22 +09:00
Andrew Stadler
91a5cd517f Clean up handling of Exchange setup option
* Use concrete declarations, not the old sample code
* Remove unused "sample" code
* Create ExchangeSender.java
* Strip out the unused (old sample code) parts of ExchangeStore.java
* Unit test to make sure EAS is being offered
* Fix "account leak" in AccountSettingsTests

This was triggered by donut bug # 2092944 but the solution is
different because we support EAS here.
2009-09-02 09:45:28 -07:00
Android (Google) Code Review
0740d8ef80 Merge change 23140 into eclair
* changes:
  High-resolution (hdpi) artwork from TAT for Email.
2009-08-28 13:16:13 -07:00
Daniel Sandler
bdd319ac29 High-resolution (hdpi) artwork from TAT for Email. 2009-08-28 15:02:44 -04:00
Eric Fischer
a7ba5fe1f2 Armor string format tokens with translation placeholders.
Change-Id: I6b78d906291f6df932b933b384c210c017b720c3
2009-08-27 17:24:38 -07:00
Marc Blank
a3c6c6ed29 Handle errors in account creation by AccountManager
* Don't create our EmailProvider Account until we get a confirmation from
  AccountManager that the system Account is created
* Put up an erorr dialog if AccountManager fails for some reason (this is
  what we saw in bug #2072668)
2009-08-26 13:20:23 -07:00