Commit Graph

1365 Commits

Author SHA1 Message Date
Marc Blank
b68cc5b309 am 19887795: am 83b67e61: (-s ours) Fix #2251837; better response w/ security req\'d. DO NOT MERGE
Merge commit '1988779570489485bf280b5ef45dad5caf0a483b' into eclair-mr2-plus-aosp

* commit '1988779570489485bf280b5ef45dad5caf0a483b':
  Fix #2251837; better response w/ security req'd. DO NOT MERGE
2009-11-11 17:24:43 -08:00
Marc Blank
1988779570 am 83b67e61: (-s ours) Fix #2251837; better response w/ security req\'d. DO NOT MERGE
Merge commit '83b67e61989b5ca61be4754272618bc51b42cb47' into eclair-mr2

* commit '83b67e61989b5ca61be4754272618bc51b42cb47':
  Fix #2251837; better response w/ security req'd. DO NOT MERGE
2009-11-11 17:14:15 -08:00
Marc Blank
b12f46e04b am a08e88cd: Fix wording of security dialog per Roy West
Merge commit 'a08e88cd787f714f89d2ac016aa1272311a7b4c6' into eclair-mr2-plus-aosp

* commit 'a08e88cd787f714f89d2ac016aa1272311a7b4c6':
  Fix wording of security dialog per Roy West
2009-11-11 14:51:50 -08:00
Marc Blank
a08e88cd78 Fix wording of security dialog per Roy West
Change-Id: I4704d62535e8046a7a174ee0f353627990c97265
2009-11-11 14:46:19 -08:00
Marc Blank
83b67e6198 Fix #2251837; better response w/ security req'd. DO NOT MERGE
* Currently, we validate EAS accounts using a command that will
  succeed even if we do not support required security policies.
* This causes a confusing "invalid username or password" error
  when trying to sync with a validated account in the case that
  there are, in fact, required policies
* The fix is to send a sync command after validating the user name
  and password; a 403 error indicates the requirement for
  security policies.
* When we see the 403 error, we put up a message that is appropriate
  to the situation.

Change-Id: I74e132cb81f021cbb697cc9ee146405bf3ebc0ba
2009-11-11 14:40:35 -08:00
Marc Blank
703edadd61 am 29935abb: Fix #2251837; better response when provisioning is required.
Merge commit '29935abb1cbb64ffa232daefeaae7ecc4541722b' into eclair-mr2-plus-aosp

* commit '29935abb1cbb64ffa232daefeaae7ecc4541722b':
  Fix #2251837; better response when provisioning is required.
2009-11-10 22:58:06 -08:00
Marc Blank
29935abb1c Fix #2251837; better response when provisioning is required.
* Currently, we validate EAS accounts using a command that will
  succeed even if we do not support required security policies.
* This causes a confusing "invalid username or password" error
  when trying to sync with a validated account in the case that
  there are, in fact, required policies
* The fix is to send a sync command after validating the user name
  and password; a 403 error indicates the requirement for
  security policies.
* When we see the 403 error, we put up a message that is appropriate
  to the situation.

Change-Id: Ic40820253dca1f357297b2355ad987bc39d0775f
2009-11-10 16:29:10 -08:00
Eric Fischer
8d01b09269 am 93517e94: Import revised translations. DO NOT MERGE
Merge commit '93517e94aea74f8ec5f8aed74b0b655ec5c0fd5c' into eclair-mr2-plus-aosp

* commit '93517e94aea74f8ec5f8aed74b0b655ec5c0fd5c':
  Import revised translations.  DO NOT MERGE
2009-11-06 16:15:09 -08:00
Eric Fischer
93517e94ae Import revised translations. DO NOT MERGE 2009-11-06 15:27:24 -08:00
Marc Blank
2dc97e3803 am 2df576f1: am 151ebde5: (-s ours) Allow sync data via the chunked transfer encoding DO NOT MERGE
Merge commit '2df576f14bf69c807304722f2dda61d86b0de18c' into eclair-mr2-plus-aosp

* commit '2df576f14bf69c807304722f2dda61d86b0de18c':
  Allow sync data via the chunked transfer encoding DO NOT MERGE
2009-11-05 19:15:35 -08:00
Marc Blank
2df576f14b am 151ebde5: (-s ours) Allow sync data via the chunked transfer encoding DO NOT MERGE
Merge commit '151ebde5d1135ca7b50ffd97df14cda5d3282477' into eclair-mr2

* commit '151ebde5d1135ca7b50ffd97df14cda5d3282477':
  Allow sync data via the chunked transfer encoding DO NOT MERGE
2009-11-05 19:09:31 -08:00
Marc Blank
151ebde5d1 Allow sync data via the chunked transfer encoding DO NOT MERGE
* Fixes #2216885
* The bug is that the sync adapters weren't set up to handle chunked
  encoding, primarily because 1) I hadn't seen any servers use it, and
  2) when we changed from HttpUrlConnection to HttpClient, support for
  chunked wasn't added (HttpUrlConnection didn't support it)
* The fix for xml data is trivial, since the Content-Length returned in
  the chunked case (-1) was being disallowed, but works perfectly well
  with HttpClient.
* The fix for attachments is less trivial, but still straightforward.
* With this change, we are no longer dependent on receiving content-length,
  which is highly desirable

Change-Id: I8d46790e41eaeee2887c8a207006c5d6786498ed
2009-11-04 18:11:24 -08:00
Marc Blank
d9aa4aea1e am 038be0fc: am c5ec3d0b: Merge change I2eee4ddc into eclair
Merge commit '038be0fc4d5fe36a4691a1227f9af484f0933d98' into eclair-mr2-plus-aosp

* commit '038be0fc4d5fe36a4691a1227f9af484f0933d98':
  Improved fix for #2189704 (sync loss)
2009-11-04 14:58:50 -08:00
Marc Blank
038be0fc4d am c5ec3d0b: Merge change I2eee4ddc into eclair
Merge commit 'c5ec3d0bce03de10c4bb1bc5cf013494c6d62947' into eclair-mr2

* commit 'c5ec3d0bce03de10c4bb1bc5cf013494c6d62947':
  Improved fix for #2189704 (sync loss)
2009-11-04 14:53:35 -08:00
Android (Google) Code Review
c5ec3d0bce Merge change I2eee4ddc into eclair
* changes:
  Improved fix for #2189704 (sync loss)
2009-11-04 17:45:11 -05:00
Marc Blank
d676ab6a98 Improved fix for #2189704 (sync loss)
* The prior fix prevented looping in the case that a new sync key wasn't
  received.
* Unfortunately, the prior fix tested for the looping condition (moreAvailable)
  before it would have been set.
* The correct fix is to detect the looping condition after both the sync key
  and the moreAvailable flag are guaranteed to have been set

Change-Id: I2eee4ddc123fb2a5ce4ef3bd4e7d0614fcfbdf36
2009-11-03 18:11:02 -08:00
Eric Fischer
220b74c33e am 9baaa12f: am 1b21ad4d: (-s ours) Import corrected translations. DO NOT MERGE
Merge commit '9baaa12f50fd7cf9d9c0f9fef2f38df85e6284f6' into eclair-mr2-plus-aosp

* commit '9baaa12f50fd7cf9d9c0f9fef2f38df85e6284f6':
  Import corrected translations.  DO NOT MERGE
2009-11-02 23:35:36 -08:00
Eric Fischer
9baaa12f50 am 1b21ad4d: (-s ours) Import corrected translations. DO NOT MERGE
Merge commit '1b21ad4d4b548784b6974696551c880b1c2eae9d' into eclair-mr2

* commit '1b21ad4d4b548784b6974696551c880b1c2eae9d':
  Import corrected translations.  DO NOT MERGE
2009-11-02 23:31:38 -08:00
Eric Fischer
1b21ad4d4b Import corrected translations. DO NOT MERGE
Bug 2195208
2009-11-02 23:20:12 -08:00
Marc Blank
ebe7f6796d am ccd29c33: Allow sync data to arrive via the chunked transfer encoding.
Merge commit 'ccd29c33ed9b95eb69a1b769c53d9a8965888e9f' into eclair-mr2-plus-aosp

* commit 'ccd29c33ed9b95eb69a1b769c53d9a8965888e9f':
  Allow sync data to arrive via the chunked transfer encoding.
2009-11-01 13:56:52 -08:00
Marc Blank
ccd29c33ed Allow sync data to arrive via the chunked transfer encoding.
* Fixes #2216885
* The bug is that the sync adapters weren't set up to handle chunked
  encoding, primarily because 1) I hadn't seen any servers use it, and
  2) when we changed from HttpUrlConnection to HttpClient, support for
  chunked wasn't added (HttpUrlConnection didn't support it)
* The fix for xml data is trivial, since the Content-Length returned in
  the chunked case (-1) was being disallowed, but works perfectly well
  with HttpClient.
* The fix for attachments is less trivial, but still straightforward.
* With this change, we are no longer dependent on receiving content-length,
  which is highly desirable

Change-Id: Ie3bd6af0cf68f3afa190711d96b1dbd2e6341f79
2009-11-01 13:48:31 -08:00
Marc Blank
d363e391a1 am e7965e97: am 1e1d7cb1: Merge change Ie2804ddc into eclair
Merge commit 'e7965e975fb1904e457928d18bb5751ebcf7a830' into eclair-mr2-plus-aosp

* commit 'e7965e975fb1904e457928d18bb5751ebcf7a830':
  Fix #2225869 (Regression in attachment loading / Exchange 2003)
2009-10-30 14:38:52 -07:00
Marc Blank
e7965e975f am 1e1d7cb1: Merge change Ie2804ddc into eclair
Merge commit '1e1d7cb189e7ea7164d1335539d68d3d3ca8c0e5' into eclair-mr2

* commit '1e1d7cb189e7ea7164d1335539d68d3d3ca8c0e5':
  Fix #2225869 (Regression in attachment loading / Exchange 2003)
2009-10-30 14:33:58 -07:00
Android (Google) Code Review
1e1d7cb189 Merge change Ie2804ddc into eclair
* changes:
  Fix #2225869 (Regression in attachment loading / Exchange 2003)
2009-10-30 17:26:46 -04:00
Marc Blank
77b597edfc am 85f9f2a2: am 68942b93: (-s ours) Merge change I9733dc5d into eclair
Merge commit '85f9f2a2624494bd8c2d781756d633822f79b7d1' into eclair-mr2-plus-aosp

* commit '85f9f2a2624494bd8c2d781756d633822f79b7d1':
  Fix folder deletion; support folder rename (#2118439) DO NOT MERGE
2009-10-30 11:06:14 -07:00
Marc Blank
85f9f2a262 am 68942b93: (-s ours) Merge change I9733dc5d into eclair
Merge commit '68942b93a49c4bfed972ee0b5cffd301cebdacc8' into eclair-mr2

* commit '68942b93a49c4bfed972ee0b5cffd301cebdacc8':
  Fix folder deletion; support folder rename (#2118439) DO NOT MERGE
2009-10-30 11:01:13 -07:00
Android (Google) Code Review
68942b93a4 Merge change I9733dc5d into eclair
* changes:
  Fix folder deletion; support folder rename (#2118439) DO NOT MERGE
2009-10-30 13:54:55 -04:00
Marc Blank
05dfc20853 Fix #2225869 (Regression in attachment loading / Exchange 2003)
* The fix to bug #2191778 inadvertently broke attachment loading for
  Exchange 2003 servers; the server responds with a 403 error (indicating
  an authentication issue)
* All other communications with the server work properly
* We use a slightly different set of calls in the case of attachments (we
  wanted to change as little as possible in the fix to #2191778) than we
  do in the other cases
* The fix here is to use the same calling sequence for attachments that we
  use elsewhere
* This fix has been observed to work on multiple servers, and in various
  SSL scenarios (on/off, trusted/untrusted)

Change-Id: Ie2804ddcbfa2b10edff42f7a3811734c325e933d
2009-10-29 20:10:46 -07:00
Eric Fischer
4c96b3ea7a am 1382dca5: am bb17f149: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '1382dca58578de2d880023296268feeefb0402ce' into eclair-mr2-plus-aosp

* commit '1382dca58578de2d880023296268feeefb0402ce':
  Import revised translations.  DO NOT MERGE
2009-10-29 19:41:55 -07:00
Eric Fischer
1382dca585 am bb17f149: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'bb17f149abe263b36eaab1125e12ea266a60306a' into eclair-mr2

* commit 'bb17f149abe263b36eaab1125e12ea266a60306a':
  Import revised translations.  DO NOT MERGE
2009-10-29 19:23:01 -07:00
Marc Blank
94d2e99581 Fix folder deletion; support folder rename (#2118439) DO NOT MERGE
* Folder delete had a subtle error that could cause subsequent folder
  changes in the same sync to fail (using wrong end tag)
* Folder change (rename, move) wasn't implemented; this was added and
  tested.  The change is very straightforward and low risk.

Change-Id: I9733dc5da1a535c388e2feb299a641642ba531c2
2009-10-29 12:19:57 -07:00
Marc Blank
97269fa25d am 0911d629: Merge change Id69cee9b into eclair-mr2
Merge commit '0911d6290f7e137d4deeda8104d49743ee84a6ef' into eclair-mr2-plus-aosp

* commit '0911d6290f7e137d4deeda8104d49743ee84a6ef':
  Fix folder deletion; add support for folder rename (#2118439)
2009-10-29 12:12:19 -07:00
Android (Google) Code Review
0911d6290f Merge change Id69cee9b into eclair-mr2
* changes:
  Fix folder deletion; add support for folder rename (#2118439)
2009-10-29 15:06:56 -04:00
Marc Blank
d2cc832782 Fix folder deletion; add support for folder rename (#2118439)
* Folder delete had a subtle error that could cause subsequent folder
  changes in the same sync to fail (using wrong end tag)
* Folder change (rename, move) wasn't implemented; this was added and
  tested.  The change is very straightforward and low risk.

Change-Id: Id69cee9b99e9a988a176a6525ba9a1615b741c44
2009-10-29 12:03:39 -07:00
Mihai Preda
69ee7c0210 am 9abd1bf9: Merge change I21052e28 into eclair-mr2
Merge commit '9abd1bf9dabbf5f55b0f84a61d61b031250154bc' into eclair-mr2-plus-aosp

* commit '9abd1bf9dabbf5f55b0f84a61d61b031250154bc':
  Controller: modify the test for "attachment already loaded".
2009-10-29 06:39:25 -07:00
Android (Google) Code Review
9abd1bf9da Merge change I21052e28 into eclair-mr2
* changes:
  Controller: modify the test for "attachment already loaded".
2009-10-29 09:34:43 -04:00
Mihai Preda
96c2925587 am 6bb7c724: MessageView: disable reply&forward for Trash messages.
Merge commit '6bb7c7248af1057eaf6f672be03bc46c8d03472d' into eclair-mr2-plus-aosp

* commit '6bb7c7248af1057eaf6f672be03bc46c8d03472d':
  MessageView: disable reply&forward for Trash messages.
2009-10-29 06:20:21 -07:00
Mihai Preda
6bb7c7248a MessageView: disable reply&forward for Trash messages.
Bug 2170118
2009-10-29 14:11:10 +01:00
Mihai Preda
ce81062d3e am 3126629d: Merge change I77ee7815 into eclair-mr2
Merge commit '3126629db5bfb2c2ae089913b96b9e0657694be9' into eclair-mr2-plus-aosp

* commit '3126629db5bfb2c2ae089913b96b9e0657694be9':
  MessageView: center the presence dot with the From text.
2009-10-29 06:05:17 -07:00
Android (Google) Code Review
3126629db5 Merge change I77ee7815 into eclair-mr2
* changes:
  MessageView: center the presence dot with the From text.
2009-10-29 08:57:36 -04:00
Marc Blank
a62525a365 am 8df45282: am 0054c1a9: (-s ours) Merge change If12d0e7c into eclair
Merge commit '8df4528248e6dc72a7a63732c34c4246eddba937' into eclair-mr2-plus-aosp

* commit '8df4528248e6dc72a7a63732c34c4246eddba937':
  Go to combined inbox on notify for 2+ accounts (#2147265) DO NOT MERGE
2009-10-29 01:41:16 -07:00
Marc Blank
cbfb39b8cc am 5ce592f4: am 2533132c: (-s ours) Merge change Ic29d3eac into eclair
Merge commit '5ce592f4b250b2649757192358722a1ce49a3775' into eclair-mr2-plus-aosp

* commit '5ce592f4b250b2649757192358722a1ce49a3775':
  Server validates even though server address is wrong DO NOT MERGE
2009-10-29 01:41:11 -07:00
Marc Blank
eb72328c2b am 38ca29b6: am ea5b93d9: (-s ours) Handle moreAvailable true w/o changes (#2189704) DO NOT MERGE
Merge commit '38ca29b6ae69cc12499319550a947ffa19af3352' into eclair-mr2-plus-aosp

* commit '38ca29b6ae69cc12499319550a947ffa19af3352':
  Handle moreAvailable true w/o changes (#2189704) DO NOT MERGE
2009-10-29 01:41:06 -07:00
Marc Blank
8df4528248 am 0054c1a9: (-s ours) Merge change If12d0e7c into eclair
Merge commit '0054c1a9e699e5c90daed6fd0a30ffc8aec3955e' into eclair-mr2

* commit '0054c1a9e699e5c90daed6fd0a30ffc8aec3955e':
  Go to combined inbox on notify for 2+ accounts (#2147265) DO NOT MERGE
2009-10-29 01:29:21 -07:00
Marc Blank
5ce592f4b2 am 2533132c: (-s ours) Merge change Ic29d3eac into eclair
Merge commit '2533132c84b9721b9692b284bbb14e5e0d237237' into eclair-mr2

* commit '2533132c84b9721b9692b284bbb14e5e0d237237':
  Server validates even though server address is wrong DO NOT MERGE
2009-10-29 01:29:15 -07:00
Marc Blank
38ca29b6ae am ea5b93d9: (-s ours) Handle moreAvailable true w/o changes (#2189704) DO NOT MERGE
Merge commit 'ea5b93d9b825e17eddf7f34cd37abef98e9949bd' into eclair-mr2

* commit 'ea5b93d9b825e17eddf7f34cd37abef98e9949bd':
  Handle moreAvailable true w/o changes (#2189704) DO NOT MERGE
2009-10-29 01:29:08 -07:00
Eric Fischer
bb17f149ab Import revised translations. DO NOT MERGE 2009-10-28 21:18:16 -07:00
Android (Google) Code Review
0054c1a9e6 Merge change If12d0e7c into eclair
* changes:
  Go to combined inbox on notify for 2+ accounts (#2147265) DO NOT MERGE
2009-10-28 13:56:10 -04:00
Android (Google) Code Review
2533132c84 Merge change Ic29d3eac into eclair
* changes:
  Server validates even though server address is wrong DO NOT MERGE
2009-10-28 13:55:43 -04:00
Mihai Preda
77ee78152b MessageView: center the presence dot with the From text.
Bug: 2216938
2009-10-28 17:54:52 +01:00