Commit Graph
7 Commits
Author SHA1 Message Date
Nick Alexander 165fbc34b2 Bug 1140812 - React to Backoff and Retry-After headers from Reading List storage servers. r=rnewman
========

https://github.com/mozilla-services/android-sync/commit/cd7edfa0b5d3ee8c4344af1183c6e31a584757ef
Author: Nick Alexander <[email protected]>
    Bug 1140812 - Part 3: React to Backoff and Retry-After headers.

========

https://github.com/mozilla-services/android-sync/commit/8581f5a572d387f7540088210a5b745574dcf6af
Author: Nick Alexander <[email protected]>
Date:   Fri Mar 27 15:30:33 2015 -0700

    Bug 1140812 - Part 2: Include request in HTTP response observation callbacks.

    This allows to only handle responses from certain hosts.

========

https://github.com/mozilla-services/android-sync/commit/05b50325dbd262bd69df27f1ed023ecca250cc8a
Author: Nick Alexander <[email protected]>
Date:   Fri Mar 27 14:47:38 2015 -0700

    Bug 1140812 - Part 1: Generalize from one to many HTTP response observers.

    CopyOnWriteArrayList is a reasonable choice here: we have few writes but
    many iterations.  See
    http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CopyOnWriteArrayList.html

========

https://github.com/mozilla-services/android-sync/commit/5950219343910cbf9921f0e232562ab2d12b2387
Author: Nick Alexander <[email protected]>
Date:   Fri Mar 27 16:04:07 2015 -0700

    Bug 1140812 - Pre: Modernize backoffInSeconds.

    Sync uses X-Backoff; newer services, including Reading List, use Backoff.
2015-03-27 16:01:36 -07:00
Nick Alexander f58db3c4f4 Bug 1142596 - Use cached FxA OAuth tokens in Reading List sync. r=rnewman
========

https://github.com/mozilla-services/android-sync/commit/9b406122ef93dea4be4bff8d84caa3a2fae54d39
Author: Nick Alexander <[email protected]>
    Bug 1142596 - Post: Use production OAuth and Reading List endpoints.

========

https://github.com/mozilla-services/android-sync/commit/9e5368b4aaf6fca78230d184e901bb78020a771f
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 23:00:34 2015 -0700

    Bug 1142596 - Part 4: Make ReadingListSyncAdapter use oauth tokens produced and cached by the authenticator.

========

https://github.com/mozilla-services/android-sync/commit/fbef93698dac1e060fd6ca71dee54c74f1d14fd8
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 22:49:52 2015 -0700

    Bug 1142596 - Part 3: Implement getAuthToken with token types of the form oauth::scope.

    Be aware that there are two levels of token invalidation relevant here.
    The first level is when a consumer uses an oauth token and gets a 401;
    in this case, the consumer *must* call Android's own
    invalidateAuthToken.  The second level is when the oauth client itself
    gets a 401 trying to fetch an oauth token; in this case, the internal
    state of the Firefox Account needs to be pushed back.

========

https://github.com/mozilla-services/android-sync/commit/e4e2247b4e6a080b8e76008595a7e75b734a7c64
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 22:43:26 2015 -0700

    Bug 1142596 - Part 2: Extract login state machine delegate encapsulating expirations.

========

https://github.com/mozilla-services/android-sync/commit/f1f716cc8831b947078f066cf5ffefbece7f695e
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 22:14:47 2015 -0700

    Bug 1142596 - Part 1: Surface Reading List authentication errors.

========

https://github.com/mozilla-services/android-sync/commit/5833cbbf711cdc4d2b4d861988a454c8b33241c3
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 22:01:46 2015 -0700

    Bug 1142596 - Pre: Add note about deleting cached oauth tokens.

    Deleting cached oauth tokens is tracked by Bug 1147245.

========

https://github.com/mozilla-services/android-sync/commit/b0165a6c14bf04de9bb2854ba4d0cdf772e58b5b
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 23:06:49 2015 -0700

    Bug 1142596 - Pre: Trim imports.
2015-03-26 14:13:58 -07:00
Ryan VanderMeulen 0d42eeb1d0 Backed out 3 changesets (bug 1147473, bug 1148504, bug 1142596) for bustage.
Backed out changeset c4639723e721 (bug 1148504)
Backed out changeset 6c3fd5d5aa40 (bug 1142596)
Backed out changeset 24bf86f4b440 (bug 1147473)

DONTBUILD CLOSED TREE
2015-03-27 15:41:53 -04:00
Nick Alexander 3d5dd87ed3 Bug 1142596 - Use cached FxA OAuth tokens in Reading List sync. r=rnewman
========

https://github.com/mozilla-services/android-sync/commit/9b406122ef93dea4be4bff8d84caa3a2fae54d39
Author: Nick Alexander <[email protected]>
Date:   Thu Mar 26 14:13:58 2015 -0700

    Bug 1142596 - Post: Use production OAuth and Reading List endpoints.

========

https://github.com/mozilla-services/android-sync/commit/9e5368b4aaf6fca78230d184e901bb78020a771f
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 23:00:34 2015 -0700

    Bug 1142596 - Part 4: Make ReadingListSyncAdapter use oauth tokens produced and cached by the authenticator.

========

https://github.com/mozilla-services/android-sync/commit/fbef93698dac1e060fd6ca71dee54c74f1d14fd8
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 22:49:52 2015 -0700

    Bug 1142596 - Part 3: Implement getAuthToken with token types of the form oauth::scope.

    Be aware that there are two levels of token invalidation relevant here.
    The first level is when a consumer uses an oauth token and gets a 401;
    in this case, the consumer *must* call Android's own
    invalidateAuthToken.  The second level is when the oauth client itself
    gets a 401 trying to fetch an oauth token; in this case, the internal
    state of the Firefox Account needs to be pushed back.

========

https://github.com/mozilla-services/android-sync/commit/e4e2247b4e6a080b8e76008595a7e75b734a7c64
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 22:43:26 2015 -0700

    Bug 1142596 - Part 2: Extract login state machine delegate encapsulating expirations.

========

https://github.com/mozilla-services/android-sync/commit/f1f716cc8831b947078f066cf5ffefbece7f695e
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 22:14:47 2015 -0700

    Bug 1142596 - Part 1: Surface Reading List authentication errors.

========

https://github.com/mozilla-services/android-sync/commit/5833cbbf711cdc4d2b4d861988a454c8b33241c3
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 22:01:46 2015 -0700

    Bug 1142596 - Pre: Add note about deleting cached oauth tokens.

    Deleting cached oauth tokens is tracked by Bug 1147245.

========

https://github.com/mozilla-services/android-sync/commit/b0165a6c14bf04de9bb2854ba4d0cdf772e58b5b
Author: Nick Alexander <[email protected]>
Date:   Tue Mar 24 23:06:49 2015 -0700

    Bug 1142596 - Pre: Trim imports.
2015-03-27 12:16:42 -07:00
Richard Newman a5d801f806 Bug 1117830 - Part 1: reading list client and record representations. r=nalexander 2015-03-12 17:48:43 -07:00
Richard Newman 0a79e713ea Bug 1140240 - Don't throw when accessing the body of an HTTP response with a null entity. 2015-03-05 19:06:47 -08:00
Richard Newman 3acb873897 Bug 1134454 - Extract common resource code out of Sync. r=nalexander 2015-02-23 13:33:05 -08:00