Commit Graph

41 Commits

Author SHA1 Message Date
Richard Newman
19a213182f Bug 1129591 - Extract EditorBranch and PrefsBranch. r=nalexander 2015-02-04 13:54:26 -08: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
Nick Alexander
9af6970f83 No bug - Unify android-sync git repo with m-c. r=trivial 2014-11-13 15:32:12 -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
413715a20e Bug 1081388: Add missing @Override annotations. r=rnewman 2014-10-12 03:04:39 +01:00
Chris Kitching
5d126e171c Bug 1081397: Finalise large numbers of fields. r=rnewman
* * *
Bug 1081397: Finalise large numbers of fields. r=rnewman
2014-10-11 00:17:01 +01:00
Nick Alexander
2b049ad12c Bug 993136 - Fix TestSyncConfiguration. r=mcomella
========

306fb330a9
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 15:29:55 2014 -0700

    Bug 993136 - Fix TestSyncConfiguration.
2014-06-21 15:42:31 -07:00
Nick Alexander
5680daa86a Bug 788688 - Allow setting client's device name in FxAccountStatusActivity. r=rnewman
========

8c7b253142
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 15:48:40 2014 -0700

    Bug 788688 - Review comment: Include timestamp in setClientName.

========

b53b9092c2
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 16:05:25 2014 -0700

    Bug 788688 - Post: PII client data to ease debugging.

========

fd59f3c984
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Jun 4 15:01:12 2014 -0700

    Bug 788688 - Part 4: Work around Android DialogPreference caching bug.

========

87d10bc16a
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 14:44:24 2014 -0700

    Bug 788688 - Part 3: Add "Device name" pref to Status activity.

    In the edge case where what the user has entered (empty text) and what
    is persisted (default client name) differ, Android does not update the
    contents of the dialog's EditText correctly.  Removing and re-creating
    all preferences is the only way I found to work around this; that's in
    the next commit.

========

7af72f6c2f
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 16:05:59 2014 -0700

    Bug 788688 - Part 2: Upload clients and tabs records when client name changes.

========

0e99eae1b5
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 15:28:36 2014 -0700

    Bug 788688 - Part 1: Add setClientName with timestamp to ClientsDataDelegate.

========

1999e263db
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 14:10:40 2014 -0700

    Bug 788688 - Pre: Clean some imports.
2014-06-04 16:37:25 -07: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
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
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
c67c11a426 Bug 890040 - Protect against orphans in Android health report uploader. r=rnewman
This does two main things.  First, it tracks sets of obsolete document
IDs and retries obsoletes and deletes.  Second, it tracks document IDs
that are attempted to be written to the server for obsolescence or
deletion without waiting for a server response to prevent orphaning
documents on successful upload and failed response.

The ObsoleteDocumentTracker uses a JSON map to maintain obsolete
document IDs and priority values.  That's not the right data
structure; Bug 894194 tracks improving it.
2013-07-15 19:44:21 -07: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
Richard Newman
ea7991009f Bug 804908 - Miscellaneous cleanup in JavaDocs and test code. r=trivial 2012-10-23 21:29:08 -07: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
b7ee5cc640 Bug 761682, Bug 777973 - Version prefs; don't always invalidate auth token. r=rnewman 2012-08-08 17:13:20 -07:00
Nick Alexander
a06eaecc24 Bug 772553 - Warning and logging improvements. r=rnewman 2012-07-10 11:08:29 -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
Richard Newman
7b78092604 Bug 720271 - MPL license cleanup for Android Sync. r=trivial 2012-05-24 13:17:46 -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
4b37b435b3 Bug 750346 - Persist engine enabled state. r=nalexander,rnewman a=blocking-fennec, mobile-only 2012-05-04 14:30:15 -07:00
Richard Newman
381253f92a Bug 747065 - Precondition failed on clients PUT. r=nalexander, a=blocking-fennec 2012-04-24 11:50:37 -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
Nick Alexander
37ff3c92d4 Bug 709324, Bug 730643: persist crypto/keys and meta/global. r=rnewman 2012-04-12 20:15:53 -07:00
Marina Samuel
5b9333abe0 Bug 729248 - Smarter upload of our clients record. r=rnewman 2012-03-15 01:25:14 -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
68c43da7c6 Bug 734316 - Part 2: fix JavaDoc warnings. r=trivial 2012-03-08 22:43:16 -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
225e9a3233 Bug 720471 - Missing Arrays and SharedPreferences.Editor methods in Android SDK <= 8. r=rnewman 2012-01-25 15:53:13 -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