Commit Graph

149 Commits

Author SHA1 Message Date
vladikoff
acc6f078d4 Bug 1058424 - Adds a module for fetching FxA profile information. r=MattN 2014-08-28 16:10:00 +02:00
Chris Karlof
4faeb7fc5a Bug 1059391 - Add pref to disable caching of Sync authentication credentials. r=markh
This introduces a debugging pref, "services.sync.debug.ignoreCachedAuthCredentials".
This flag allows testers to disable caching of authentication credentials
to make debugging of expired and revoked credentials easier. This will
help expedite any visble auth errors resulting from a expired or revoked
FxA session token, e.g., from resetting or changing the FxA password.
This pref is not set by default.
2014-08-28 17:21:03 -07:00
Bill McCloskey
149c962f4c Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Mark Hammond
eaf238eb92 Bug 1053948 - declare AccountState in fxAccounts. r=gavin 2014-08-19 08:47:37 +10:00
Matthew Noorenberghe
758efb271c Bug 1047130 - Implement desktop backend to login to FxA via OAuth for Loop. r=vladikoff,ckarlof,mikedeboer
This implements the OAuth authorization phase.
2014-08-18 14:32:34 -07:00
Mark Hammond
b0f834c2d1 Bug 1013064 (part 3) - only migrate data into the loginmgr when it is unlocked. r=ckarlof
From 86c67f9b9081ce905442c86b38575b3422c8dce3 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 |  25 ++++-
 .../tests/xpcshell/test_loginmgr_storage.js        | 113 +++++++++++++++++++++
 2 files changed, 137 insertions(+), 1 deletion(-)
2014-06-18 15:07:41 +10:00
Mark Hammond
6648f5b271 Bug 1013064 (part 2) - Store sensitive FxA credentials in the login manager. r=ckarlof,dveditz
From 4a92f9ee1ba35989f82a24bba18806f8616a5be8 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 | 170 ++++++++++++++++++
 services/fxaccounts/FxAccountsCommon.js            |  13 ++
 services/fxaccounts/moz.build                      |   5 +-
 .../tests/xpcshell/test_loginmgr_storage.js        | 196 +++++++++++++++++++++
 services/fxaccounts/tests/xpcshell/xpcshell.ini    |   2 +
 services/sync/modules/util.js                      |  12 +-
 6 files changed, 396 insertions(+), 2 deletions(-)
 create mode 100644 services/fxaccounts/tests/xpcshell/test_loginmgr_storage.js
2014-06-14 14:33:20 +10:00
Mark Hammond
59e84677d1 Bug 1013064 (part 1) - prompt for master-password unlock when interacting with about:accounts. r=ttaubert
From 18f9d132020afee6004e63c9006245e4d3b04e18 Mon Sep 17 00:00:00 2001
---
 browser/base/content/aboutaccounts/aboutaccounts.js | 9 +++++++++
 1 file changed, 9 insertions(+)
2014-06-11 17:34:24 +10:00
Vlad Filippov
0e1b00f306 Bug 1022064 - Add WebChannel Communication API and FxAccountsOAuthClient API to facilitate Firefox Accounts OAuth authentication. r=MattN, sr=gavin 2014-08-01 01:42:00 -04:00
Mike Hommey
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Neil Deakin
dcd3ced492 Bug 1013064, backout e5dfe9801f76, 11f3a97d1d2c, e2374762f521, 91db8acb8d7e, d0050ba0b875 due to sync issues 2014-07-21 09:09:41 -04:00
Mark Hammond
ed6aa07b8e Bug 1013064 (part 3) - only migrate data into the loginmgr when it is unlocked. r=ckarlof
From 86c67f9b9081ce905442c86b38575b3422c8dce3 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 |  25 ++++-
 .../tests/xpcshell/test_loginmgr_storage.js        | 113 +++++++++++++++++++++
 2 files changed, 137 insertions(+), 1 deletion(-)
2014-06-18 15:07:41 +10:00
Mark Hammond
1a71740dce Bug 1013064 (part 2) - Store sensitive FxA credentials in the login manager. r=ckarlof
From 4a92f9ee1ba35989f82a24bba18806f8616a5be8 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 | 170 ++++++++++++++++++
 services/fxaccounts/FxAccountsCommon.js            |  13 ++
 services/fxaccounts/moz.build                      |   5 +-
 .../tests/xpcshell/test_loginmgr_storage.js        | 196 +++++++++++++++++++++
 services/fxaccounts/tests/xpcshell/xpcshell.ini    |   2 +
 services/sync/modules/util.js                      |  12 +-
 6 files changed, 396 insertions(+), 2 deletions(-)
 create mode 100644 services/fxaccounts/tests/xpcshell/test_loginmgr_storage.js
2014-06-14 14:33:20 +10:00
Fernando Jiménez
4643d65bf1 Bug 1028398 - FxA will silently provide user's email to privileged apps in 2.0. Part 2: Trigger forceAuth when new privileged app tries to get a FxA assertion. r=jedp" 2014-07-11 16:13:32 +02:00
Jed Parsons
013dc80b0b Bug 1036198 - rejection not defined in _handleGetAssertionError. r=spenrose 2014-07-08 18:00:25 -07:00
Gregory Szorc
a8fec952c2 Bug 1033836 - Rename services-common to services/common; rs=rnewman
The upcoming build system patches don't support hypthens in path names.
Changing this for that reason is kind of silly, but it's the easiest
way. Besides, nothing else uses hyphens in directory names.

--HG--
extra : rebase_source : 42dda2b1f16a3c0bfe17397a70092362e400530f
2014-07-02 16:49:36 -07:00
Sam Penrose
5f887542b6 Bug 1031580 - FxA fires ONLOGIN only for calling RP. r=jedp 2014-07-01 10:31:17 -07:00
Carsten "Tomcat" Book
6978830fd8 Merge mozilla-central to mozilla-inbound 2014-06-18 14:41:11 +02:00
Mark Hammond
cf8de8e170 Bug 1026359 - FxAccounts will try and log an undefined variable on error. r=jedp 2014-06-18 09:26:06 +10:00
Tim Taubert
7ddc48ebfa Bug 991907 - checkEmailStatus in FxAccounts.jsm doesn't handle errors r=markh 2014-06-16 11:47:45 +02:00
Mark Banner
19c7270342 Bug 1020859 Part 1 - Make HawkClient return all the response details for a request, and make deriveHawkCredentials common code. r=jparsons 2014-06-18 10:42:15 +01:00
Sam Penrose
fcca7e87d8 Bug 1023463 - [FxA] Leave user logged in after failed RP refresh authentication. r=jedp 2014-06-10 16:38:55 -07:00
Brian Warner
9fcb2bab3b Bug 1021950 - Delete unwrapBKey after we're done with it. r=ckarlof 2014-06-09 11:53:00 -04:00
Mark Hammond
ab8b04c7ed Bug 995599 - prevent services tests hitting the network. r=rnewman
--HG--
extra : rebase_source : f38fefae031f4cbd94215ee61f89a553b1f5c272
2014-06-10 12:02:39 +10:00
Sam Penrose
9e06d7e779 Bug 1008901 - Fire 'onlogin' when the account is verified. r=jedp 2014-06-06 10:42:22 -07:00
Sam Penrose
a5c496c317 Bug 1004319 - Handle server-side account changes in Gecko. r=jedp 2014-06-06 08:54:27 -07:00
Sam Penrose
8c969c2c46 Bug 1010623 - sign out when password was reset on web. r=jedp 2014-05-15 16:52:52 -07:00
Mark Hammond
b35270d063 Bug 1006943 - non-sensitive FxA log info is included with sync logs. r=rnewman 2014-05-15 12:00:59 +10:00
Sam Penrose
d7efba7bac Bug 1004242 - Expose FxAccounts resendVerificationEmail to Gaia. r=jedp 2014-05-07 11:14:05 -07:00
Sam Penrose
71065fac27 Bug 981210 - FxAccountsManager.jsm and consumers: change "accountId" attribute to "email" r=jedp 2014-04-29 14:47:59 -07:00
Ed Morley
f7cb5c4af6 Merge latest green b2g-inbound changeset and mozilla-central 2014-04-29 17:34:22 +01:00
Mark Hammond
043b20ef46 Bug 992371 - avoid 'A promise chain failed to handle a rejection' errors using FxAccounts. r=jedp 2014-04-29 08:46:14 +10:00
Sam Penrose
4e36d8143d Bug 1000395 - Do not sign user out at start of refreshAuth. r=jedp 2014-04-28 11:45:58 -07:00
Sam Penrose
f5ec29e7a8 Bug 1001182 - FxAccountsManager.jsm correctly handles {refreshAuthentication:0} r=jedp 2014-04-28 09:44:36 -07:00
Sam Penrose
93d55c6e94 Bug 994934 - Find my device can be enabled without logged into FxAccounts. r=jedp 2014-04-22 15:28:18 -07:00
Sam Penrose
1a87791baa Bug 983445 - Verification causes logout on device. r=jedp 2014-04-21 16:45:58 -07:00
Nicholas Nethercote
62c092c123 Bug 996430 - Remove FxAccountsUtils.jsm. r=ttaubert.
--HG--
extra : rebase_source : 797c0af77bedf9e5c768bd7083dda4f8d80610a9
2014-04-16 20:48:00 -07:00
Mark Hammond
df6265d9a7 Bug 992371 - Avoid promise rejection messages from FxAccounts. r=ttaubert 2014-04-10 17:13:53 +10:00
Mark Hammond
08a11b0e38 Bug 990834 (part 3) - Fix handling of hawk errors. r=ckarlof 2014-04-10 12:08:19 +10:00
Mark Hammond
0ca5780e06 Bug 990834 (part 2) - Add support/tweak retry and backoff header support to hawk and tokenserverclient. r=rnewman 2014-04-10 12:08:19 +10:00
Chris Karlof
0e29299295 Bug 989549 - Call signOut() in FxAccountsClient.jsm from signOut() in FxAccounts.jsm. r=markh 2014-04-09 16:14:19 -07:00
Ryan VanderMeulen
80aa712f37 Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Sam Penrose
7b3de7c7de Bug 967008 - getAccounts should return the account info right away. r=jedp 2014-03-26 09:12:14 -07:00
Mark Hammond
9232df9f5b Bug 988051 - lazy-load FxAccountsClient module. r=rnewman 2014-03-26 12:13:46 +11:00
Henrik Skupin
adab276adc Bug 982591 - Update TPS to retrieve keys from server instead of hard-coding them. r=warner
--HG--
extra : rebase_source : 2a9449aeca2f28a2bce648971619635b19a4d670
2014-03-21 10:23:15 +01:00
Wes Kocher
391ff9cd5a Merge m-c to fx-team 2014-03-14 23:19:44 -07:00
Wes Kocher
78bcbd03fc Merge inbound to m-c 2014-03-14 22:20:25 -07:00
Chris Karlof
910e850bb1 Bug 983256 - Change the client generated expiration time in FxA assertions to be 'forever'. r=jedp 2014-03-14 14:50:19 -07:00
Jed Parsons
b38e622a84 Bug 978896 - FxA: watch() should get silent assertion if possible. r=ferjm 2014-03-11 17:49:26 -07:00
Henrik Skupin
7fd21d981d Bug 981921 - Allow signin in FxAccountsClient to use '?keys=true'. r=ckarlof
--HG--
extra : rebase_source : 37b0935a103c578895813e1411cffdde0953552e
2014-03-12 22:50:58 +01:00
Chris Karlof
2faf3c1b66 Bug 981140 - Make the FxA signup uri pref and path explicitly reference signup. r=markh 2014-03-11 15:58:27 -07:00
Jed Parsons
055d91dec8 Bug 969892 - Fixes and improvements to FxAccounts test suite; r=ttaubert 2014-02-18 09:47:52 -08:00
Mark Hammond
daab8eed8b Bug 982965 - ensure we fail if getKeys can't get kA or kB. r=ckarlof 2014-03-14 15:22:32 -07:00
Mark Hammond
6fc668d1d2 Bug 972070 - followup to address review comments previously missed. r=jedp 2014-03-03 10:28:30 +11:00
Mark Hammond
bab4879424 Bug 972070 - improve FxAccounts.jsm state management. r=jedp 2014-03-03 10:20:56 +11:00
Fernando Jiménez
cf4f53aa91 Bug 977597 - Use FxA production server URI. r=jedp 2014-02-27 19:41:46 +01:00
Sam Penrose
6e22bb4404 Bug 945449 - FxAccountsClient should support auth server's backoff protocol. r=ferjm 2014-02-26 10:11:49 -08:00
Jed Parsons
96d06ec0f2 Bug 974990 - hawk request to access lang prefs as infrequently as possible. r=rnewman
--HG--
rename : services/common/hawk.js => services/common/hawkclient.js
rename : services/common/tests/unit/test_hawk.js => services/common/tests/unit/test_hawkclient.js
2014-02-25 09:19:47 -08:00
Wes Kocher
55d1d2f0db Backed out changeset 96fd88a4d311 (bug 974990) for WinXP PGO xpcshell orange
--HG--
rename : services/common/hawkclient.js => services/common/hawk.js
rename : services/common/tests/unit/test_hawkclient.js => services/common/tests/unit/test_hawk.js
2014-02-24 17:21:29 -08:00
Jed Parsons
1650654965 Bug 974990 - hawk request to access lang prefs as infrequently as possible. r=rnewman
--HG--
rename : services/common/hawk.js => services/common/hawkclient.js
rename : services/common/tests/unit/test_hawk.js => services/common/tests/unit/test_hawkclient.js
2014-02-20 18:04:44 -08:00
Jed Parsons
7799cc441b Bug 963835 - B2G fixes for FxA client handle incorrect capitalization in emails. r=ferjm 2014-01-31 15:21:46 -08:00
Jed Parsons
c06918af1e Bug 963835 - FxA client handle incorrect capitalization in emails. r=rnewman 2014-02-19 08:34:42 -08:00
Fernando Jiménez
fb628dd7a0 Bug 938635 - Implement forceAuthentication for firefox accounts. Part 3: UI glue. r=fabrice 2014-02-19 11:47:11 +01:00
Fernando Jiménez
c5f76c663d Bug 938635 - Implement forceAuthentication for firefox accounts. Part 2: FxAccountsManager. r=markh 2014-02-19 11:47:11 +01:00
Tim Taubert
ac387a4007 Bug 967197 - "Create Account" and "Sign In" links in Sync preferences should go to separate pages r=markh 2014-02-18 12:05:13 +01:00
Gregory Szorc
5f499af8a5 Bug 972093 - Detect run_next_test() during add_task(); r=ted, rnewman
If an xpcshell test called run_next_test() from inside an add_task(),
bad things would happen. This patch detects that behavior and aborts the
test immediately with an actionable error message.

--HG--
extra : rebase_source : c5cf11070421b95a6fcf476d0a86289a3d0ba73a
extra : amend_source : cec6ad2a751bba01e7d4ecbff0735b39e3326efb
2014-02-12 16:47:29 -08:00
Sam Penrose
ed221a42bd Bug 968929 - Update FXAccountsClient to production server URI. r=jedp 2014-02-11 18:07:26 -08:00
Jed Parsons
3199967ef7 Bug 943521 - Use onepw prototcol in fxa client. r=ckarlof 2014-02-04 22:14:30 -08:00
Ryan VanderMeulen
bc5b0fe4e6 Backed out changeset 79b198be3e50 (bug 943521) for xpcshell failures. 2014-02-07 17:55:12 -05:00
Jed Parsons
8c0fcd3390 Bug 943521 - Use onepw prototcol in fxa client. r=ckarlof 2014-02-04 22:14:30 -08:00
Tim Taubert
7535e42865 Bug 967120 - Clean up FxAccounts' public/internal API implementation r=markh 2014-02-04 11:12:37 +01:00
Phil Ringnalda
d706d2b8ec Back out 2865fd5e5458 (bug 967120) for xpcshell and browser-chrome bustage 2014-02-03 20:30:45 -08:00
Tim Taubert
5bac872e26 Bug 967120 - Clean up FxAccounts' public/internal API implementation r=markh 2014-02-03 19:30:47 +01:00
Chris Karlof
72aa2f8e60 Bug 966560 - fix bugs with time skew fix in bug 957863; r=jedp 2014-01-31 16:43:36 -08:00
Ryan VanderMeulen
721d315595 Backed out changeset cc1bac015920 (bug 966560) for xpcshell failures. 2014-01-31 21:00:47 -05:00
Mark Hammond
d5a0e6296a Bug 966520 - have sync prefs pane open the new "force sign in" page. r=gavin 2014-01-31 17:27:59 -08:00
Chris Karlof
a8b13c2510 Bug 966560: fix bugs with time skew fix in bug 957863, r=jedp 2014-01-31 16:43:36 -08:00
Jed Parsons
357c44f512 Bug 957863 - Use FxA auth clock skew in hawk, jwcrypto, and sync. r=warner, r=rnewman 2014-01-23 18:04:38 -08:00
Mark Hammond
a041cc2014 Bug 966159 - Fix TypeError when trying to unlink account. r=ckarlof 2014-01-30 21:05:23 -08:00
Mark Hammond
d219a8ba6c Bug 965474 - allow for an initial sync on new user signin. r=ckarlof
--HG--
extra : rebase_source : f5fd22db384606112900b2caef11cc7bdc262f98
2014-01-30 19:02:46 -08:00
Gavin Sharp
cd07679afa Backed out changeset 00cead8f21d4 (bug 965464, should have been bug 965474)
--HG--
extra : rebase_source : 43997ecb392c716aa147407985b6f823ac087db8
2014-01-30 19:08:08 -08:00
Mark Hammond
69754ceff2 Bug 965464 - allow for an initial sync on new user signin. r=ckarlof 2014-01-30 19:02:46 -08:00
Jed Parsons
db7467711f Bug 962849 - FxAccounts.jsm method to resend verification email; r=markh 2014-01-23 16:52:24 -08:00
Tim Taubert
079f8fe835 Bug 957421 - Keep FxA pref names consistent r=markh,rnewman,nalexander 2014-01-21 14:13:45 +01:00
Fernando Jiménez
7ac8ce364e Bug 952063 - Trigger FxAccountsIACHelper 'onlogin', 'onlogout' and 'onverified' events when required. Part 1: Add onverified/onlogin. r=markh 2014-01-22 14:22:59 +01:00
Fernando Jiménez
1b224586ca Bug 959535 - FxAccountsManager should clear its account cache when FxAccounts performs a logout. r=markh 2014-01-15 13:07:20 +01:00
Fernando Jiménez
9158242d47 Bug 958546 - s/isVerified/verified in all FxAccounts related code. r=markh 2014-01-14 17:00:36 +01:00
Tim Taubert
6f4002d450 merge m-c to elm 2013-12-19 15:52:32 +01:00
Mark Hammond
99c6903868 dump JSON.stringified error on HAWK.signCertificate error 2013-12-19 16:38:35 +11:00
Brian Warner
0a7368a543 Bug 949244 - fix getSignedInUser when the email is still unverified and other FxAccounts.jsm improvements. 2013-12-17 15:45:03 +11:00
Jed Parsons
d3b927437d Bug 951118 - TypeError when null account is verified. r=ferjm 2013-12-17 11:14:11 -08:00
Fernando Jiménez
7c1c390123 Bug 950631 - ReferenceError: credentials is not defined in FxAccounts.jsm. r=jedp 2013-12-17 08:48:45 +01:00
Fernando Jiménez
505e18c2a0 Bug 943998 - Need debug and uri pref for FirefoxAccounts. r=markh
--HG--
rename : services/fxaccounts/FxAccountsConsts.js => services/fxaccounts/FxAccountsCommon.js
2013-12-13 12:37:55 +01:00
Fernando Jiménez
9ddac87061 Bug 949526 - FxAccountsManager and B2G implementation. Part 4: Tests. r=markh 2013-12-13 12:25:27 +01:00
Fernando Jiménez
18aaaa4daa Bug 949526 - FxAccountsManager and B2G implementation. Part 2: UI Glue r=fabrice 2013-12-13 12:25:26 +01:00
Fernando Jiménez
038666babf Bug 949526 - FxAccountsManager and B2G implementation. Part 1: FxAccountsManager. r=markh 2013-12-13 12:25:26 +01:00
Jed Parsons
97c9fd59a7 Bug 948212 - Fix FxAccounts.jsm: internal.signOut() is not a function. r=markh 2013-12-09 17:15:30 -08:00
Jed Parsons
70de9bad2a Bug 909967 - Firefox Account Signed-in User module. p=warner,spenrose,zcarter,jedp, r=markh 2013-12-05 22:46:12 -08:00
Zachary Carter
09185a9092 Bug 935232 - Implement a client for the Firefox Accounts auth server. r=markh 2013-12-02 13:56:24 -08:00