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
========

https://github.com/mozilla-services/android-sync/commit/5dec5a7929c418153846ea1dce3dc00a4ef75cb6
Author: Nick Alexander <[email protected]>
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.

========

https://github.com/mozilla-services/android-sync/commit/520341ce660c332626064087c0d8a6de0f36b8ce
Author: Richard Newman <[email protected]>
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.

========

https://github.com/mozilla-services/android-sync/commit/2f4ea5c14b96c95564f0cc4a0d7241767bf0c15b
Author: Nick Alexander <[email protected]>
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.

========

https://github.com/mozilla-services/android-sync/commit/11a8f6c1ef23580e6a61759bda909e86b588c040
Author: Nick Alexander <[email protected]>
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
========

https://github.com/mozilla-services/android-sync/commit/306fb330a9a2d1e5c87196135868c234108dbc80
Author: Nick Alexander <[email protected]>
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
========

https://github.com/mozilla-services/android-sync/commit/8c7b2531420892398d6b86eef52b0b472908e53e
Author: Nick Alexander <[email protected]>
Date:   Tue Jun 3 15:48:40 2014 -0700

    Bug 788688 - Review comment: Include timestamp in setClientName.

========

https://github.com/mozilla-services/android-sync/commit/b53b9092c20a317b0ebb4eef0d3618c12d4c6407
Author: Nick Alexander <[email protected]>
Date:   Thu May 29 16:05:25 2014 -0700

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

========

https://github.com/mozilla-services/android-sync/commit/fd59f3c984b4a6c480cf045ca810e298ced826d5
Author: Nick Alexander <[email protected]>
Date:   Wed Jun 4 15:01:12 2014 -0700

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

========

https://github.com/mozilla-services/android-sync/commit/87d10bc16aaf59d463e187bb5879728152367cfc
Author: Nick Alexander <[email protected]>
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.

========

https://github.com/mozilla-services/android-sync/commit/7af72f6c2ff9099b957cc562cc3f71ee3cb1f49b
Author: Nick Alexander <[email protected]>
Date:   Thu May 29 16:05:59 2014 -0700

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

========

https://github.com/mozilla-services/android-sync/commit/0e99eae1b5fe5e79dd3a8030bfca4aef64e22703
Author: Nick Alexander <[email protected]>
Date:   Thu May 29 15:28:36 2014 -0700

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

========

https://github.com/mozilla-services/android-sync/commit/1999e263dbee7340c1f2ad312813561520805700
Author: Nick Alexander <[email protected]>
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
========

https://github.com/mozilla-services/android-sync/commit/6ced7b05cd2aafe3d54cdd81d6e19caafad2913b
Author: Nick Alexander <[email protected]>
    Bug 996749 - Part 3: Finally kill PrefsSource.

========

https://github.com/mozilla-services/android-sync/commit/b37547fbd82ec4b0c0dab5a4502bff29b82d7adf
Author: Nick Alexander <[email protected]>
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.

========

https://github.com/mozilla-services/android-sync/commit/42e8fe761f1626c5d36575591c89ff493abaf22d
Author: Nick Alexander <[email protected]>
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