Commit Graph

50 Commits

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

cd7edfa0b5
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1140812 - Part 3: React to Backoff and Retry-After headers.

========

8581f5a572
Author: Nick Alexander <nalexander@mozilla.com>
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.

========

05b50325db
Author: Nick Alexander <nalexander@mozilla.com>
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

========

5950219343
Author: Nick Alexander <nalexander@mozilla.com>
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
7417a119cb Bug 956444 - Migrate from Old Sync to Firefox Accounts based on meta/fxa_credentials migration sentinel. r=rnewman
========

5dec5a7929
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Dec 17 18:03:44 2014 -0800

    Bug 956444 - Post: Persist fetch timestamp on 404.

    I imported and modified your old code; this looks like an oversight from
    there, but I want to call it out.  If we don't persist the timestamp,
    then the stamp persisted to config is always -1, meaning we GET (and
    404) the credentials on every sync.  You have code to compare
    info/collections against the fetched timestamp so I think we should
    persist even on 404.

========

520341ce66
Author: Richard Newman <rnewman@twinql.com>
Date:   Thu Jan 2 20:44:58 2014 -0800

    Bug 956444 - Part 2: Fetch and process meta/fxa_credentials migration sentinel.

    This adds a Sync stage that tries to create a new Firefox Account in the
    MigratedFromSync11 state when a known migration sentinel is seen.

========

2f4ea5c14b
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Dec 12 16:44:25 2014 -0800

    Bug 956444 - Part 1: Add informMigrated callback.

    GlobalSession and Sync stages don't have access to the Android Account
    object.  This callback maintains the existing information hiding.

========

11a8f6c1ef
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Dec 12 16:26:02 2014 -0800

    Bug 956444 - Pre: Unpickle accounts during package upgrade.

    This makes it a little easier to test: you can |adb push| or |adb shell
    echo ''| a known sync.accounts.json file onto device and then re-install
    the package to restore a known Sync Account.
2015-01-05 13:50:08 -08:00
Chris Kitching
a66ddac79f Bug 1081401: Remove unnecessary autoboxing (recalcitrant sync part). r=rnewman 2014-10-11 20:49:46 +01:00
Chris Kitching
b2fbdfb9f3 Bug 1081287: Use EnumMap where possible. r=rnewman
* * *
Bug 1081287: Use EnumMap where possible in sync. r=rnewman
* * *
Bug 1081287: Use EnumMap where possible. r=rnewman
* * *
Bug 1081287: Use EnumMap where possible. r=rnewman
* * *
Bug 1081287: Use EnumMap where possible. r=rnewman
2014-10-10 21:01:01 +01:00
Nick Alexander
4d95bc4958 Bug 996749 - Kill PrefsSource. r=rnewman
========

6ced7b05cd
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 996749 - Part 3: Finally kill PrefsSource.

========

b37547fbd8
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Apr 15 10:47:11 2014 -0700

    Bug 996749 - Part 2: Remove storageEndpoint from FxAccountGlobalSession constructor.

    This is just a separation of concerns: let's inject our dependency as
    configured as possible.

========

42e8fe761f
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Apr 14 12:30:21 2014 -0700

    Bug 996749 - Part 1: Remove debugAssertion.

    This is no longer valuable, since we're not getting timestamp HAWK
    errors from the server.
2014-04-15 10:59:00 -07:00
Nick Alexander
f9c157f1bb Bug 990680 - Remove extras from GlobalSession constructor. r=rnewman 2014-04-01 15:31:28 -07:00
Richard Newman
bf74197f13 Bug 969672 - Handle declined engines on Android. r=nalexander 2014-03-14 19:14:34 -07:00
Richard Newman
a8bf3b5aa1 Bug 958900 - Backoff handling and periodic syncing for FxAccountSyncAdapter. r=nalexander 2014-02-13 19:46:23 -08:00
Nick Alexander
2c6e43ae21 Bug 965367 - Implement "Choose what to sync" check box. r=rnewman 2014-01-30 17:58:01 -08:00
Richard Newman
a35a71cbf3 Bug 963424 - Use token server-provided cluster URL. r=nalexander 2014-01-28 16:20:50 -08:00
Richard Newman
92d66abf74 Bug 963336 - Extract SyncConfiguration computation from GlobalSession. r=nalexander 2014-01-23 16:48:53 -08:00
Nick Alexander
ff44b03731 Bug 949880 - Refactor Android Sync's SyncAdapter for FxAccount use. r=rnewman 2013-12-15 15:53:59 -08:00
Nick Alexander
9bddef8b44 Bug 922147 - Abstract password out of Android Sync auth flow. r=rnewman 2013-11-13 19:36:02 -08:00
Nick Alexander
e3b922855c Backed out changeset 569d58c88da3 (bug 922147) 2013-11-13 17:03:18 -08:00
Nick Alexander
c6dda7ed22 Bug 922147 - Abstract password out of Android Sync auth flow. r=rnewman 2013-11-13 15:11:16 -08:00
Nick Alexander
99cfff5254 Bug 844347 - Factor logging code that is not Sync-specific out of org.mozilla.gecko.sync. r=rnewman 2013-02-27 15:44:21 -08:00
Nick Alexander
350f04818b Bug 833508 - Make GlobalSyncStage construction process two phased. r=rnewman 2013-01-22 17:23:33 -08:00
Richard Newman
cfd42843e7 Bug 814331 - Check counts before syncing limited cllections. r=nalexander 2012-12-10 23:03:14 -08:00
Chenxia Liu
d0b6936c54 Bug 753878 - Add UI component for selecting which engines to sync. r=nalexander 2012-10-09 15:09:08 -07:00
Nick Alexander
9376fd1d1c Bug 767596 - Log less potentially PII from Android Sync to the Android log, and log less overall at Log.INFO level. r=liuche 2012-07-06 13:01:10 -07:00
Nick Alexander
a36de76ad3 Bug 763020 and Bug 763021 - Make Android Sync's Send Tab activity request an immediate clients-only sync. r=rnewman 2012-06-25 13:31:42 -07:00
Nick Alexander
07d81fd6ff Bug 762627 - Ensure that CommandProcessor does not hold reference to last active GlobalSession. r=rnewman,liuche 2012-06-19 10:54:23 -07:00
Nick Alexander
4856f3dcc7 Bug 742109 - Make Android Sync write to Android log with single tag "FxSync". r=rnewman,liuche 2012-06-12 12:12:43 -07:00
Marina Samuel
15f6facfc2 Bug 740193 - Send tab to device. r=rnewman 2012-06-08 17:09:55 -07:00
Richard Newman
c1cbb90d31 Bug 739416 - Send commands. r=rnewman 2012-06-08 17:09:54 -07:00
Richard Newman
7b78092604 Bug 720271 - MPL license cleanup for Android Sync. r=trivial 2012-05-24 13:17:46 -07:00
Nick Alexander
8ab7748c6a Bug 709311 - Handle changed meta/global. r=rnewman, a=blocking-fennec 2012-05-17 13:20:49 -07:00
Nick Alexander
1048d1306e Bug 709313 - Upload meta/global. r=rnewman, a=blocking-fennec 2012-05-17 13:20:49 -07:00
Richard Newman
d890ff8660 Bug 714304 - Handle 'Upgrade Required' error response. r=rnewman, a=blocking-fennec 2012-05-04 17:25:34 -07:00
Richard Newman
4b37b435b3 Bug 750346 - Persist engine enabled state. r=nalexander,rnewman a=blocking-fennec, mobile-only 2012-05-04 14:30:15 -07:00
Nick Alexander
857f0b0bb5 Bug 709321 - Generate and upload keys. r=rnewman, a=blocking-fennec 2012-05-04 12:27:06 -07:00
Richard Newman
e52de266a3 Bug 730626 - Implement resetting. r=nalexander, a=blocking-fennec 2012-04-21 21:15:27 -07:00
Nick Alexander
0f50549142 Bug 739629 - Expose safe account creation API for profile migration. r=rnewman 2012-04-13 19:41:40 -07:00
Richard Newman
16d257b08e Bug 709385 - temporarily disable password sync. r=trivial 2012-04-13 19:41:40 -07:00
Nick Alexander
37ff3c92d4 Bug 709324, Bug 730643: persist crypto/keys and meta/global. r=rnewman 2012-04-12 20:15:53 -07:00
Chenxia Liu
98a1e1a8ec Bug 709385 - Passwords repository layer. r=rnewman 2012-04-12 00:36:58 -07:00
Nick Alexander
223123ab1c Bug 709402 - Part 2: Form history repository layer. r=rnewman 2012-04-03 16:43:07 -07:00
Marina Samuel
6c15222dd7 Bug 732147 - Send tab to device: receiving pushed tabs on Android. r=rnewman 2012-03-27 20:09:14 -07:00
Nick Alexander
695e285b6c Bug 709310 - Implement Handling of 5xxs, X-Weave-Backoff, Retry-After. r=rnewman 2012-03-27 18:41:34 -07:00
Marina Samuel
7f95276409 Bug 715792 - Process client record commands (but don't act on them). r=rnewman 2012-03-23 11:03:48 -07:00
Nick Alexander
ac8c3812f2 Bug 734521 - ensure response entities are always consumed. r=rnewman 2012-03-12 19:17:56 -07:00
Nick Alexander
6e28a6aaad Bug 709329 - 401 node reassignment. r=rnewman 2012-03-12 19:17:56 -07:00
Richard Newman
2f834bde1e Bug 709403 - Parts 3-6: tabs repository and stage. r=nalexander 2012-03-09 15:53:23 -08:00
Marina Samuel
befd85960c Bug 715796 - Clients engine. r=rnewman 2012-03-05 20:53:14 -08:00
Richard Newman
ed1d4ddbe3 Bug 732640 - Part 1: fix some Cobertura warnings. r=trivial 2012-03-05 20:53:13 -08:00
Richard Newman
ae43cd8d02 Bug 727725 - Incorrect assertion in GlobalSession. 2012-02-16 14:58:31 -08:00
Richard Newman
910782e42f Bug 724328 - misc Sync cleaning. 2012-02-15 22:05:52 -08:00
Richard Newman
7b5fb1882c Bug 720934 - Part 1: Collected Android Sync 0.4 code drop (Bug 721305, Bug 709348, Bug 719693, Bug 709660, Bug 718703). a=mobile
Includes:
3ad57f4 Bug 718703 - Pair a Device crashes. r=rnewman
3c530d1 Bug 709660 - Fixed blurry icons used in SyncAdapter. r=rnewman
bde287a Bug 719693 - Compatibility for JDK < 6.
91c5e23 Bug 719693 - Effect review comments on 6ffb7d72f.
6ffb7d7 Bug 719693 - Handle date-format HTTP Retry-After headers.
6df289e Bug 709348 - Trace logging and fixed logging of visit equality.
71580df Bug 709348 - Include Fennec visits and counts in HistoryRecord androidID equivalence.
8f6a106 Bug 709348 - Equality work.
f40bf4a Bug 709348 - Part 5: Rework handling of certain cases of incoming deletion, including history visits.
0dd004d Bug 709348 - Part 4: Reworking equality tests between records.
2210717 Bug 709348 - Part 3: Better commenting for ignored bookmark records.
c05236b Bug 709348 - Part 2: Introduce trace log method.
a34f4aa Bug 709348 - Part 1: Introduce copyWithIDs to clone records.
796b15f Bug 721305 - sync.link.advancedsetup.label should use …, not ....
adf7586 Bump AndroidSync User-Agent version.
2012-02-03 13:09:28 -08:00
Richard Newman
5fe8ffe843 Bug 709339 - First mostly functional drop of native Sync. a=mobile 2012-01-14 09:20:31 -08:00
Richard Newman
878c8c158c Bug 709391 - initial import of Android Sync code (Git tag: v0.1.2-fixes). a=java-only 2011-12-21 08:44:08 -08:00