Граф коммитов

104 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander 93d39d6ddf 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.)

========

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

========

c90ea353cc
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Feb 11 10:31:15 2015 -0800

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

========

e0c4d20744
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Feb 9 12:35:15 2015 -0800

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

========

7f7e308190
Author: Nick Alexander <nalexander@mozilla.com>
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 ee6ea0102b Bug 1131421 - Part 1: initial stub reading list service and SyncAdapter. r=nalexander 2015-02-09 21:08:05 -08:00
Vivek Balakrishnan a1f24342ea Bug 1058806 - Implement magic year month/day boxes in Android Firefox Account create account flow. r=nalexander,vivek
========

21c63a8d1a
Author: vivek <vivekb.balakrishnan@gmail.com>
    Bug 1058806 - Part 4: Maintain magic year state across orientation changes.

========

da074438fe
Author: vivek <vivekb.balakrishnan@gmail.com>
Date:   Fri Jan 16 16:46:47 2015 +0200

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

========

982d692575
Author: vivek <vivekb.balakrishnan@gmail.com>
Date:   Sat Dec 20 20:07:45 2014 +0200

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

========

15594d36c9
Author: vivek <vivekb.balakrishnan@gmail.com>
Date:   Sat Dec 20 04:36:49 2014 +0200

    Bug 1058806 - Part 1: Make age pass check consider date and month.

--HG--
extra : rebase_source : 11ab11c519461fa1be8d6dda34777620db05468d
2015-01-18 04:43:19 +02:00
Prabhjyot Singh Sodhi 334af9a8da Bug 1113415 - Make master sync instructions depend on Android version. r=nalexander
========

7d643a54cb
Author: Prabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com>
    Bug 1113415 - Make master sync instructions depend on Android version.

--HG--
extra : rebase_source : 9d7c1479784add321e8d3ee9c59b3d1f99f5c2e4
2015-01-08 11:05:18 -08:00
Nick Alexander fc0f450cd4 Bug 1080242 - Surface 'Account locked' status. r=rnewman
--HG--
extra : rebase_source : 56a7d340960673d6244ae796755935d89885e986
2014-11-25 17:43:04 -08:00
Nick Alexander fa93f00372 Bug 1098667 - Part 1: Import from android-sync. r=rnewman
--HG--
extra : rebase_source : afa367b0bb0002a6cfda4a1531bc7c47a5f0effa
extra : source : 705b1be87804d5e3427eb433f6445ef055857a89
2014-11-25 16:18:53 -08:00
Nick Alexander d59467581b Backed out changeset 705b1be87804 (bug 1098667) that was not intended to be pushed. 2014-11-25 17:26:18 -08:00
Nick Alexander 17c2bbcb22 Bug 1098667 - Part 1: Import from android-sync. r=rnewman
--HG--
extra : rebase_source : 4ebbd8323bcf7d96f91f6df114d1a61703e3b8bc
2014-11-25 16:18:53 -08:00
Nick Alexander c098c9aca8 Bug 966103 - Follow-up: Replace three dots with ellipsis. r=flod 2014-11-14 10:00:14 -08:00
Nick Alexander baf81b028c 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 974a9f47b4 No bug - Unify android-sync git repo with m-c. r=trivial 2014-11-13 15:32:12 -08:00
Mark Capella 3baff77d36 Bug 1050480 - Add a match case option to find-in-page, r=wesj 2014-11-11 01:11:46 -05:00
Swaroop Rao 536f406826 Bug 1002888 - Allow deleting Firefox Account from confirm account screen. r=nalexander
--HG--
extra : rebase_source : 16736f77434d01d37ecd36180064a5a53b1d9179
2014-10-30 16:31:25 -07:00
Chris Kitching 1b1e134676 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 3bc0805717 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.

========

8adeb1be57
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 984503 - Part 4: Show a toast after removing Firefox Account.

========

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

========

4efe597308
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu Aug 28 15:04:38 2014 -0700

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

========

ad6a55dc33
Author: vivek <vivekb.balakrishnan@gmail.com>
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 7cfba5fa6e 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 4696ad30dc 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.

========

8adeb1be57
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 984503 - Part 4: Show a toast after removing Firefox Account.

========

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

========

4efe597308
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu Aug 28 15:04:38 2014 -0700

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

========

ad6a55dc33
Author: vivek <vivekb.balakrishnan@gmail.com>
Date:   Thu Aug 21 00:25:30 2014 +0300

    Bug 984503 - Part 1: Add menu option to remove Firefox Account.

--HG--
extra : rebase_source : 946b86baaa36de4b143d6d8a614f7cc3a2118a6a
2014-08-28 15:14:55 -07:00
Richard Newman 87da4b8c44 Bug 1045085 - Remove main Product Announcements code. r=mcomella 2014-07-31 11:24:02 -07:00
Bryan Kok bc1dc47d08 Bug 1019719 - Localize the Sync client name. r=nalexander 2014-07-21 11:13:24 -07:00
Nick Alexander 3dea37b470 Bug 1022749 - Show custom server URLs in setup activities. r=rnewman
========

cf613656fe
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1022749 - Part 2: Show custom server URLs in status activity.

========

91268a261f
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 1022749 - Part 1: Show custom server URLs in setup activities.
2014-06-09 17:31:58 -07:00
Nick Alexander 7b560b6fda 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
Richard Newman 5cac017587 Bug 1011008 - Part 2: handle system locale changes correctly in background code. r=nalexander 2014-05-22 17:31:45 -07:00
Michael Comella 438512e8d6 Bug 958889 - Part 2.5: Add old Sync upgrade URL method to services and strings. r=nalexander 2014-05-14 08:56:23 -07:00
Richard Newman 35898dc997 Bug 1005074 - Part 1: rename Send Tab activity. r=mfinkle 2014-05-02 14:01:24 -07:00
Richard Newman e6442bfb8d Bug 970176 - Part 2: invoke LocaleManager locale switching code prior to handling strings or Locale in background services. r=nalexander 2014-04-15 15:07:15 -07:00
Richard Newman 6b77e01d37 Bug 941744 - Remove Send Tab intent filter from RELEASE_BUILDs. r=nalexander 2014-04-10 14:25:20 -07:00
Nick Alexander fc8d68521b Bug 988571 - Migrate Android Firefox Accounts from Doghouse to Separated state on application upgrade. r=rnewman 2014-03-28 00:32:59 -07:00
Nick Alexander 0108f912d1 Bug 983856 - Message when syncing is disabled by Android. r=rnewman 2014-03-26 22:11:05 -07:00
Michael Comella dd0219ba2f Bug 957894: Update account pickling code for Firefox Accounts. r=nalexander 2014-03-26 11:31:43 -07:00
Richard Newman ab851fde53 Bug 986096 - On access to Sync through settings after setup, user should be sent to config screen not 'back to browsing'. r=nalexander 2014-03-20 19:14:44 -07:00
Nick Alexander 2df97e60e4 Bug 974015 - Replace "Firefox online services" with "Firefox cloud services". r=rnewman 2014-03-13 22:31:55 -07:00
Nick Alexander 84254e1bf9 Bug 974942 - Don't share link{tos,privacy} strings. r=rnewman 2014-03-13 22:31:55 -07:00
Nick Alexander abc9c865fa Bug 974133 - Replace "Firefox account" with "Firefox Account". r=rnewman 2014-03-13 22:31:54 -07:00
Nick Alexander 3c03fd89c9 Bug 974627 - Empty contentDescription throughout. r=rnewman 2014-03-10 21:35:32 -07:00
Nick Alexander 7ff48563e6 Bug 977358 - Replace status activity header with 'Signed in as'. r=rnewman 2014-03-03 15:20:20 -08:00
Nick Alexander 8882caff5a Bug 977336 - Support action bar 'up' for FxAccountStatusActivity. r=rnewman 2014-03-03 15:20:19 -08:00
Nick Alexander 62718468ec Bug 974134 - Improve FxAccountStatusActivity layout. r=rnewman 2014-03-03 15:20:19 -08:00
Nick Alexander 036e963b46 Bug 966386 - Final tweaks from Android Firefox Accounts UX sign off. r=rnewman 2014-01-31 15:57:41 -08:00
Richard Newman ac4bd0a8bb Bug 966106 - Detect existing accounts during account creation, and offer to sign in. r=nalexander 2014-01-31 14:23:20 -08:00
Nick Alexander a6fc1189b0 Bug 965867 - Update final URLs for Android Firefox Accounts landing. r=rnewman 2014-01-30 17:59:30 -08:00
Nick Alexander 5ecde9f5c9 Bug 965376 - Update final copy for Android Firefox Accounts. r=me
--HG--
extra : amend_source : a5dc69864bc0e9ba4e834184f7f2d8525f75995a
2014-01-29 13:02:44 -08:00
Richard Newman 9a11e79fd2 Bug 964873 - Linkify the COPPA 'learn more' link. r=nalexander 2014-01-28 15:28:33 -08:00
Richard Newman 986638b5b4 Bug 962542 - Linkify 'getting started' support link. r=nalexander 2014-01-28 15:27:57 -08:00
Richard Newman 82ec5699db Bug 959774 - Linkifying FxA setup elements. r=nalexander 2014-01-28 15:27:26 -08:00
Nick Alexander 48f71bc0e9 Bug 963442 - Surface notification when Firefox Account needs user action. r=rnewman 2014-01-25 18:14:38 -08:00
Nick Alexander ff12091e9c Backed out changeset c975f01f9483 for having wrong bug number. 2014-01-25 18:13:17 -08:00
Nick Alexander 0bcdad3134 Bug 963429 - Surface notification when Firefox Account needs user action. r=rnewman 2014-01-25 17:41:01 -08:00
Nick Alexander 6326e6e3f3 Bug 959784 - Show spinner and native error UI as appropriate. r=rnewman 2014-01-23 18:32:34 -08:00
Nick Alexander a0122f5dd6 Bug 956839 - Implement Android native Firefox Account status UI. r=rnewman 2014-01-23 13:54:24 -08:00
Nick Alexander 4d5c12bf34 Bug 961184 - Show activity after signing in to account. r=rnewman
Also (partially) implements resending verification codes, but doesn't
yet implement resending after account creation.
2014-01-20 21:26:57 -08:00