Commit Graph
133 Commits
Author SHA1 Message Date
Mark Finkle ce064fa8d4 Bug 1239935 - Remove unused TelemetryRecorder and tests r=nalexander 2016-01-16 16:25:44 -05:00
Mark Finkle c6798c70e6 Bug 1183320 - Remove FHR from android/services r=rnewman 2016-01-11 23:08:12 -05:00
vivek d2126fd56e Bug 1224708 : Update SyncPreference asynchronously using Loaders r=nalexander 2015-11-17 21:24:18 +02:00
Nick Alexander aa59d57a9e Bug 1229681 - Don't export any content providers. r=rnewman
We don't expect to access any providers cross-package.  (At one time
the android-sync repository did, but those days are long past.)  Not
exporting these content providers may also avoid some bugs we've seen
that look like content providers from Aurora being loaded into
Nightly's process or vice versa.
2015-12-17 15:26:35 -08:00
Michael Comella 33a1a23a87 Bug 1209967 - Remove HardwareUtils.hasMenuButton. r=sebastian 2015-11-17 16:25:39 -08:00
vivek d3d8024820 Bug 1220904 - Message that Old Sync accounts are deprecated and going away. r=nalexander 2015-11-20 21:58:38 +02:00
Richard Newman 9516b7fe7d Bug 1230206 - Disable upload of new FHR documents. r=mcomella, a=kwierso/android-only on a CLOSED TREE 2015-12-11 13:04:41 -08:00
Phil Ringnalda bca513d9d5 Backed out 7 changesets (bug 1209967) for making Android Talos hang
CLOSED TREE

Backed out changeset e78763a5c2c3 (bug 1209967)
Backed out changeset cdd9b2d4b72a (bug 1209967)
Backed out changeset ced2c85d9f09 (bug 1209967)
Backed out changeset d458396e6f06 (bug 1209967)
Backed out changeset 5cea26659e0d (bug 1209967)
Backed out changeset 035f6f5db4fe (bug 1209967)
Backed out changeset 7942bfbde7f2 (bug 1209967)
2015-12-02 20:45:26 -08:00
Nick Alexander ff118d1adc Bug 1220892 - Part 6: Remove non-string resources. r=mcomella
I'm reluctant to mass-delete strings, since that could cause our l10n
team some grief in the event of a rollback.  And it's not obviously
easy to get them all back smoothly.  I'll delete strings separately.
2015-12-01 16:31:10 -08:00
Nick Alexander df9621071f Bug 1220892 - Part 5: Remove FxAccountAgeLockoutHelper. r=mcomella 2015-11-30 15:56:03 -08:00
Nick Alexander c6463d6639 Bug 1220892 - Part 4: Clean up FxAccountAbstractSetupActivity. r=mcomella
The web based Activity sub-classes never used the other intent extras,
and in fact, filter them out immediately; so it doesn't hurt to clean
this all up.
2015-11-30 15:51:44 -08:00
Nick Alexander 943a8fe03b Bug 1220892 - Part 3: Remove Task sub-classes. r=mcomella 2015-11-30 15:47:50 -08:00
Nick Alexander 9847ef9280 Bug 1220892 - Part 2: Remove Activity sub-classes. r=mcomella 2015-11-30 14:59:44 -08:00
Nick Alexander e3afc5c0d1 Bug 1220892 - Part 1: Remove MOZ_ANDROID_NATIVE_ACCOUNTS_UI. r=mcomella 2015-11-30 14:32:17 -08:00
Nick Alexander 4292afaab7 Bug 1225456 - Don't launch about:accounts when MOZ_ANDROID_NATIVE_ACCOUNT_UI=1. r=vivek
I haven't been able to test this, since the patch is relevant to Nightly
but the behaviour doesn't happen.
2015-11-27 12:35:36 -08:00
Michael Comella 95ff53d6dd Bug 1209967 - Remove HardwareUtils.hasMenuButton. r=sebastian 2015-11-17 16:25:39 -08:00
Nick Alexander b323989dc4 Bug 1229438 - Part 2: Move Fennec services resources. r=rnewman
#!/bin/bash
set -x
pushd mobile/android/base/resources
for i in * ; do
    mkdir -p ../res/$i ;
    hg mv $i/{fxa,sync}* ../res/$i ;
done
popd
hg mv mobile/android/base/res mobile/android/services/src/main/res
2015-12-01 11:08:10 -08:00
Nick Alexander f998f7f7c7 Bug 1229438 - Part 1: Move Fennec services code. r=rnewman
#!/bin/bash
mkdir -p mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/background mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/browserid mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/fxa mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/sync mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/tokenserver mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/reading mobile/android/services/src/main/java/org/mozilla/gecko
2015-12-01 10:56:49 -08:00
Kalpesh Krishna 7b1a5d42ea Bug 1148028 - Remove MOZ_ANDROID_SHARE_OVERLAY. r=vivek,nalexander
Fennec ships the Share Overlay everywhere.
2015-11-27 12:51:02 -08:00
Nick Alexander 2d0a502484 Bug 1208882 - Don't export HealthReportBroadcastReceiver; add new exported receiver. r=rnewman
Internal intents are forwarded with extras.  External intents submit
with only an action.
2015-11-03 11:53:52 -08:00
Kalpesh Krishna 81cc577b00 Bug 1205817 - Move "Remove Account" out of menu. r=vivek 2015-10-07 13:29:00 +02:00
Nick Alexander eddcf2d91c Bug 1205418 - Add "Manage account" link to Status Activity. r=vivek
This just directs to about:accounts?action=manage, which determines
the relevant URL and displays the web content.

Nota bene: about:accounts hasn't landed yet.
2015-09-10 16:36:29 -07:00
Nick Alexander b1b65a9b77 Bug 1204937 - Part 4: Add "pass-through to web" versions of native account activities. r=sebastian
This always loads about:accounts with an 'action' query parameter.
This indirection allows Gecko to manage the fxa-content-server pref
independently of Java.
2015-09-01 13:18:48 -07:00
Nick Alexander ce2c5f82b5 Bug 1204937 - Part 1: Redirect native account UI launches through action intent filters. r=sebastian
This patch stops referring to package/class objects to identify
Android components directly and instead launches through action intent
filters.  The intent filters are scoped to the package, but not marked
as private or as requiring a permission.  A malicious package could
inject itself into an account flow, but I don't think there's much
advantage: the only time a secret is passed between activities is when
the native sign up (CreateAccount) and sign in (SignIn) activities
link between themselves, and in this instance I didn't route through
the action intent filters.  (This is entirely native -- there's no web
analog -- so I didn't use the indirection.)
2015-09-15 14:18:46 -04:00
vivek eaba8d1769 Bug 1178378 - Debug personal information exposed as Menu item r=nalexander 2015-07-02 22:26:35 +03:00
Allison Naaktgeboren 0dc8c8ad9e Bug 1136477 - Unify terminology of Passwords/Logins for about:logins (nee about:passwords).2/2.r=liuche 2015-06-26 12:54:35 -07:00
vivek f6c04dbfa1 Bug 1171141 : Fetch profile data for FxAccount -r=nalexander. 2015-06-14 15:30:25 +03:00
Richard Newman fb107fef59 Bug 1155684 - Part 1-3: remove reading list sync integration. r=nalexander 2015-04-20 18:02:17 -07:00
Robin Ricard 8b55fa63e8 Bug 1124193 - Follow-up: Reland part of first synced date is wrong on first sync. r=nalexander
I didn't backport this to android-sync correctly, so it got trampled.
2015-02-18 05:18:00 -08:00
Nick Alexander 9502b5edf0 Bug 1123107 - Include Reading List checkbox during account creation. r=rnewman
This is a reasonable-sized refactoring underneath a small feature-patch.
The refactor reworks what information we maintain (and pickle) about
"enabled" services.  We've moved from a boolean "Sync enabled" flag to a
map of Android authorities (which map to services like Firefox Sync and
reading list) and boolean flags indicating whether each authority is
"automatically synced".  The checkboxes in the status activity
correspond directly to whether the authority (service) is automatically
synced.

The set of authorities we care about is determined by the DEFAULT_* map.
Said map is interrogated and written to the pickle file at Sync time.
When the pickle file is un-pickled, only the set of known authorities is
acted upon.  What that means is that both writing and reading a pickle
file with different sets of authorities should work across upgrades: if
a known authority is missing, the default value will be used; if an
unknown authority is present, it will be ignored.  This lets us alter
the set of known authorities via the build flag.

I have tested and Android maintains the "sync automatically" state for
an authority even when the authority is not present in the list of sync
checkboxes.

All in all, I'm not concerned about toggling the build flag multiple
times in the future.  (If we backed out the updated pickling code, we
would need to handle pickle downgrades, but we already needed to handle
that.)

========

https://github.com/mozilla-services/android-sync/commit/fc8936549a7ae77213736540f8701a561f73de4f
Author: Nick Alexander <[email protected]>
Date:   Wed Feb 11 10:37:34 2015 -0800

    Bug 1123107 - Part 3: Include Reading List checkbox during account creation.

    We are careful to show the checkbox only when the reading list service
    is enabled.

========

https://github.com/mozilla-services/android-sync/commit/c90ea353cc4e4426ba5ba24b3dda21e0032c4b01
Author: Nick Alexander <[email protected]>
Date:   Wed Feb 11 10:31:15 2015 -0800

    Bug 1123107 - Part 2: Thread authorities to sync automatically through sign up/sign in flow.

========

https://github.com/mozilla-services/android-sync/commit/e0c4d2074431ef1647ed9ae6ea5578316a1e5707
Author: Nick Alexander <[email protected]>
Date:   Mon Feb 9 12:35:15 2015 -0800

    Bug 1123107 - Part 1: Manage map of automatically synced authorities.

========

https://github.com/mozilla-services/android-sync/commit/7f7e308190f792a47dbb640dd6e0acdb0b08212e
Author: Nick Alexander <[email protected]>
Date:   Mon Feb 9 11:54:54 2015 -0800

    Bug 1123107 - Part 0: Remove "account needs to be enabled" warning in status activity.

    As we move Sync to a model where a status checkbox sets whether a single
    ContentProvider is synced, it no longer makes sense to message when the
    "account" is not automatically syncing.
2015-02-11 12:12:31 -08:00
Richard Newman 3848a16ba2 Bug 1131421 - Part 1: initial stub reading list service and SyncAdapter. r=nalexander 2015-02-09 21:08:05 -08:00
Vivek Balakrishnan 80cf3a516c Bug 1058806 - Implement magic year month/day boxes in Android Firefox Account create account flow. r=nalexander,vivek
========

https://github.com/mozilla-services/android-sync/commit/21c63a8d1ad8ac767951cd767a6eae844cb1fbe6
Author: vivek <[email protected]>
    Bug 1058806 - Part 4: Maintain magic year state across orientation changes.

========

https://github.com/mozilla-services/android-sync/commit/da074438fed5fcb40ce1d4267c5c200ff8e07e6f
Author: vivek <[email protected]>
Date:   Fri Jan 16 16:46:47 2015 +0200

    Bug 1058806 - Part 3: Maintain magic year across create -> sign in -> create loop.

========

https://github.com/mozilla-services/android-sync/commit/982d69257551edc912c67af1d3874b478ca6fa19
Author: vivek <[email protected]>
Date:   Sat Dec 20 20:07:45 2014 +0200

    Bug 1058806 - Part 2: Add date and month to UI.

========

https://github.com/mozilla-services/android-sync/commit/15594d36c9df2da574aa35189cd9dbd06c569e08
Author: vivek <[email protected]>
Date:   Sat Dec 20 04:36:49 2014 +0200

    Bug 1058806 - Part 1: Make age pass check consider date and month.
2015-01-18 04:43:19 +02:00
Prabhjyot Singh Sodhi ac6e256636 Bug 1113415 - Make master sync instructions depend on Android version. r=nalexander
========

https://github.com/mozilla-services/android-sync/commit/7d643a54cb5fb06be62bf48950e76a83cdfc17bb
Author: Prabhjyot Singh Sodhi <[email protected]>
    Bug 1113415 - Make master sync instructions depend on Android version.
2015-01-08 11:05:18 -08:00
Nick Alexander a629f5f3d7 Bug 1080242 - Surface 'Account locked' status. r=rnewman 2014-11-25 17:43:04 -08:00
Nick Alexander 196d75ccd8 Bug 1098667 - Part 1: Import from android-sync. r=rnewman 2014-11-25 16:18:53 -08:00
Nick Alexander 2e2140a7d4 Backed out changeset 705b1be87804 (bug 1098667) that was not intended to be pushed. 2014-11-25 17:26:18 -08:00
Nick Alexander 40c60d6e91 Bug 1098667 - Part 1: Import from android-sync. r=rnewman 2014-11-25 16:18:53 -08:00
Nick Alexander c17fb086bb Bug 966103 - Follow-up: Replace three dots with ellipsis. r=flod 2014-11-14 10:00:14 -08:00
Nick Alexander f86bbe261d Bug 966103 - Add a 'Sync now' button to the main FxA status screen. r=nalexander,rnewman 2014-11-13 15:34:45 -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
Mark Capella 536310a04b Bug 1050480 - Add a match case option to find-in-page, r=wesj 2014-11-11 01:11:46 -05:00
Swaroop Rao 6dbe46d375 Bug 1002888 - Allow deleting Firefox Account from confirm account screen. r=nalexander 2014-10-30 16:31:25 -07:00
Chris Kitching 4b2925a32b Bug 1044794 - Part 2: disable Sync share handler when share overlay is enabled. r=rnewman,nalexander 2014-08-24 17:02:35 -07:00
Vivek Balakrishnan f927fa5753 Bug 984503 - Add "Remove Firefox Account" menu option to FxAccount status activity. r=nalexander,rnewman
The menu is exposed as "More..." on devices that do not have a hardware
menu button.

========

https://github.com/mozilla-services/android-sync/commit/8adeb1be5750f32201688462239a9cbcbb3731b2
Author: Nick Alexander <[email protected]>
    Bug 984503 - Part 4: Show a toast after removing Firefox Account.

========

https://github.com/mozilla-services/android-sync/commit/aeffca77dc3bca2a126e084e8b55576f1b702b54
Author: Nick Alexander <[email protected]>
    Bug 984503 - Part 3: Hide "More..." option if device has a hardware menu button.

    The reason for this dance is to keep the "Remove Account" button out of
    view if at all possible.  I don't want to make it too easy to delete
    your account.

========

https://github.com/mozilla-services/android-sync/commit/4efe597308508722dd199bd5e0ad1e5293e0af3e
Author: Nick Alexander <[email protected]>
Date:   Thu Aug 28 15:04:38 2014 -0700

    Bug 984503 - Part 2: Add "More..." to Firefox Account status list.

========

https://github.com/mozilla-services/android-sync/commit/ad6a55dc33cf062724fd780dc766f97ac74dd91d
Author: vivek <[email protected]>
Date:   Thu Aug 21 00:25:30 2014 +0300

    Bug 984503 - Part 1: Add menu option to remove Firefox Account.
2014-08-28 15:05:11 -07:00
Wes Kocher 41e30fa611 Backed out 2 changesets (bug 984503) for android build bustage
Backed out changeset 579667582c6a (bug 984503)
Backed out changeset 56c4334e838f (bug 984503)
2014-08-29 12:30:33 -07:00
Vivek Balakrishnan 7a9b348480 Bug 984503 - Add "Remove Firefox Account" menu option to FxAccount status activity. r=nalexander,rnewman
The menu is exposed as "More..." on devices that do not have a hardware
menu button.

========

https://github.com/mozilla-services/android-sync/commit/8adeb1be5750f32201688462239a9cbcbb3731b2
Author: Nick Alexander <[email protected]>
    Bug 984503 - Part 4: Show a toast after removing Firefox Account.

========

https://github.com/mozilla-services/android-sync/commit/aeffca77dc3bca2a126e084e8b55576f1b702b54
Author: Nick Alexander <[email protected]>
Date:   Thu Aug 28 15:05:11 2014 -0700

    Bug 984503 - Part 3: Hide "More..." option if device has a hardware menu button.

    The reason for this dance is to keep the "Remove Account" button out of
    view if at all possible.  I don't want to make it too easy to delete
    your account.

========

https://github.com/mozilla-services/android-sync/commit/4efe597308508722dd199bd5e0ad1e5293e0af3e
Author: Nick Alexander <[email protected]>
Date:   Thu Aug 28 15:04:38 2014 -0700

    Bug 984503 - Part 2: Add "More..." to Firefox Account status list.

========

https://github.com/mozilla-services/android-sync/commit/ad6a55dc33cf062724fd780dc766f97ac74dd91d
Author: vivek <[email protected]>
Date:   Thu Aug 21 00:25:30 2014 +0300

    Bug 984503 - Part 1: Add menu option to remove Firefox Account.
2014-08-28 15:14:55 -07:00
Richard Newman 306439584b Bug 1045085 - Remove main Product Announcements code. r=mcomella 2014-07-31 11:24:02 -07:00
Bryan Kok 949ffc1c12 Bug 1019719 - Localize the Sync client name. r=nalexander 2014-07-21 11:13:24 -07:00
Nick Alexander eff5055fc3 Bug 1022749 - Show custom server URLs in setup activities. r=rnewman
========

https://github.com/mozilla-services/android-sync/commit/cf613656fe5c17518ff4c463f4ccdbc0f428c28d
Author: Nick Alexander <[email protected]>
    Bug 1022749 - Part 2: Show custom server URLs in status activity.

========

https://github.com/mozilla-services/android-sync/commit/91268a261f131af13209e8d906e5ed74713a0fcf
Author: Nick Alexander <[email protected]>
    Bug 1022749 - Part 1: Show custom server URLs in setup activities.
2014-06-09 17:31:58 -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