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

2868 Коммитов

Автор SHA1 Сообщение Дата
Phil Booth d219cdd823 chore(logging): downgrade redis.watch.conflict to warning level (#2307) r=@vladikoff 2018-02-16 09:52:31 -05:00
Phil Booth 695499ab11 chore(nsp): ignore hoek warning 2018-02-16 07:58:31 +00:00
Phil Booth d8bd876c02 chore(emails): delete bin/mailer_server.js (#2303) r=@vladikoff 2018-02-14 08:50:49 -05:00
Vlad Filippov a937c168f2
feat(reset): improve reset for reliers (#2298) r=@ryanfeeley,@vbudhram
Connets to mozilla/fxa-content-server#5776
Ref: mozilla/fxa-content-server#5896
2018-02-09 20:11:34 -05:00
Ryan Kelly bb2c67747b fix(logging): Make oauth_client_info use shared logging instance. (#2299) r=@vladikoff
Previously it would require() its own version of the logging module, and hence would not correctly use various test stubs and mocks, and hence caused npm test to dump a bunch of logging output to the screen when executing the remote tests. This changes it to accept the log object as an argument in a similar style to other modules in this repo.
2018-02-09 00:45:55 -05:00
Ryan Kelly 79b2876626 fix(tests): Test that unauthenticated /account/profile rejects cleanly. (#2296) r=@philbooth,@vladikoff 2018-02-08 18:18:56 -05:00
Vlad Filippov 2a051163f0
feat(cad): change destination of CAD in email to FxA-controlled page (#2297) r=@philbooth
Fixes #1860
2018-02-08 16:14:18 -05:00
Vijay Budhram 5cb76e517d
fix(tests): Add `verifyTokenCode` support for mem keyFetchToken (#2287), r=@philbooth 2018-02-08 17:39:45 +00:00
Phil Booth 6411c5a527 fix(api): make authentication required on GET /account/profile (#2290) r=@vladikoff 2018-02-08 10:19:25 -05:00
Phil Booth a33756e8cd
chore(emails): remove all verification reminder code
https://github.com/mozilla/fxa-auth-server/pull/2283
r=vbudhram
2018-02-08 08:09:35 +00:00
Vlad Filippov f0ecf0ae4b
feat(emails): fetch service names from OAuth servers, use in emails (#2284) r=@rfk
Fixes #2213
fixes #2249
2018-02-07 20:22:02 -05:00
Ryan Kelly f030594da6 Release v1.105.0 2018-02-07 10:45:18 +11:00
John Morrison 993fd02755 fix(email): log to recipient alongside smtp message-id
https://github.com/mozilla/fxa-auth-server/pull/2286
r=philbooth
2018-02-06 10:09:40 +00:00
Ryan Kelly fcaf0b5cac
Merge pull request #2278 from mozilla/dup-session-token; r=philbooth
feat(sessions): Add /session/duplicate API
2018-02-06 15:06:20 +11:00
Ryan Kelly 669f59a963 feat(sessions): Add /session/duplicate API 2018-02-06 14:39:26 +11:00
Ryan Kelly c9baa0054c fix(tests): Use higher test timeout under Windows Subsystem for Linux 2018-02-06 14:39:26 +11:00
Phil Booth 924e8ca4ee
chore(code): eliminate duplicate pool and db modules
https://github.com/mozilla/fxa-auth-server/pull/2282
r=vbudhram
2018-02-05 14:44:55 +00:00
Phil Booth 26a5a8a2b7 chore(ci): stop setting USE_REDIS in the test invocations (#2281), r=@vbudhram 2018-02-02 17:52:56 +00:00
Ryan Kelly 0960eafade chore(tests): Set defaults for env vars in test-local.sh script.
This adjusts the test-local.sh script to set default values for
important env vars like NODE_ENV.  Previously these were only set
by `npm test`, and their absense would cause test failures when
invoking ./scripts/test-local.sh directly.

I also made a slight change to always pass --recursive flag to
mocha, since I can't imagine us ever not wanting this in practice.

https://github.com/mozilla/fxa-auth-server/pull/2279
r=philbooth
2018-02-02 15:30:38 +00:00
Phil Booth 11f7024f91
fix(redis): delete session tokens from redis in db.deleteDevice
https://github.com/mozilla/fxa-auth-server/pull/2270
r=vbudhram
2018-01-31 08:17:25 +00:00
Vijay Budhram 3953051b18 fix(bounce): Update bounces lib to use `accountRecord` (#2273) r=@rfk,@vladikoff
Fixes #2272
2018-01-30 19:12:38 -05:00
Vijay Budhram 0e4b77fec4
fix(unblock): Send correct primary email when blocked (#2271), r=@rfk 2018-01-30 20:13:58 +00:00
Phil Booth acf4b8bb17 Merge branch 'train-104' 2018-01-29 17:43:37 +00:00
Phil Booth e19697b799 Release v1.104.1 2018-01-29 17:34:18 +00:00
Phil Booth f7ce4d0267
fix(metrics): ensure amplitude events always have a metrics context
https://github.com/mozilla/fxa-auth-server/pull/2267
r=vbudhram
2018-01-29 17:33:33 +00:00
Ryan Kelly 70d0f96792
fix(emails): Reset account tokens when deleting an email address. (#2266); r=philbooth 2018-01-29 19:21:14 +11:00
Vijay Budhram 8ca8867a25 Release v1.104.0 2018-01-23 19:29:39 -05:00
Vijay Budhram 220d57d45e
fix(tests): Fix account destroy device test (#2263), r=@rfk 2018-01-23 21:58:31 +00:00
Phil Booth e7bbb86de3
chore(deps): update fxa-geodb
https://github.com/mozilla/fxa-auth-server/pull/2259
r=vbudhram
2018-01-20 09:03:38 +00:00
Phil Booth 1b2d1d95c0
fix(redis): pack redis tokens inside db.deleteSessionToken
https://github.com/mozilla/fxa-auth-server/pull/2261
r=vbudhram
2018-01-20 08:28:32 +00:00
Phil Booth a9a61f0cc5
feat(redis): prune expired session tokens from redis
https://github.com/mozilla/fxa-auth-server/pull/2257
r=vbudhram
2018-01-18 19:23:29 +00:00
Ryan Kelly af3a9eb423
feat(auth): Enable hawk payload validation for additional replay protection (#2252); r=pbooth
Thanks to Mahmoud Abdelmonem for reporting this issue!
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1427157
2018-01-16 19:52:52 +11:00
Phil Booth fcddf0b8a2
feat(redis): eliminate property names from redis-stored tokens
https://github.com/mozilla/fxa-auth-server/pull/2254
r=rfk
2018-01-11 08:42:03 +00:00
Ryan Kelly e8b825bf0c Release v1.103.0 2018-01-09 14:36:07 +11:00
Phil Booth 804344d65b fix(tests): fix failing geolocation tests (#2253) r=@vladikoff 2018-01-08 17:11:44 -05:00
John Morrison c804acd9a0 fix(node): use node 6.12.3 (#2251) r=@vladikoff 2018-01-03 20:56:52 -05:00
Vijay Budhram 677bdbb6a8
Add ability to verify login with token code (#2218), r=@rfk 2017-12-20 12:03:32 -05:00
Vlad Filippov f76015c20c fix(scripts): use latest Husky module for git hooks (#2250); r=rfk
Fixes #2128
2017-12-18 17:06:24 -06:00
Shane Tomlinson 86369d0266
feat(sms): Enable SMS in australia (#2248) r=@rfk 2017-12-15 17:56:36 +00:00
Ryan Kelly ec8e05e404 Release v1.102.0 2017-12-13 17:26:45 -06:00
Vijay Budhram ae36ddf9a5
feat(codes): don't send delete notification when deleting unverified email (#2246), r=@rfk 2017-12-09 20:45:17 -05:00
Ryan Kelly 1e754af922 Merge branch 'train-101' 2017-12-06 10:53:53 +11:00
Ryan Kelly 6306436516 Release v1.101.1 2017-12-06 10:08:08 +11:00
Ryan Kelly 9da5305cd3
fix(push): Send a notification to the device that's being disconnected. (#2245); r=eoger 2017-12-06 10:06:41 +11:00
Shane Tomlinson c8e55febbe feat(sms): Enable SMS in Denmark (DK) and the Netherlands (NL) (#2238) r=@vladikoff,@vbudhram
fixes #2237
2017-12-04 09:59:05 -05:00
Ryan Kelly 261391f263 Release v1.101.0 2017-11-29 12:20:53 +11:00
Phil Booth a5e0a2c520
chore(nsp): ignore warning about redos for date parsing in moment
https://github.com/mozilla/fxa-auth-server/pull/2242
r=shane-tomlinson
2017-11-28 13:12:04 +00:00
Phil Booth 91cd5398b6
fix(db): implement safe redis write semantics
https://github.com/mozilla/fxa-auth-server/pull/2235
r=rfk,vbudhram
2017-11-28 08:02:37 +00:00
Phil Booth 3034a41d0f fix(metrics): include oauth_client_id in amplitude event properties (#2240); r=rfk 2017-11-27 14:43:21 +11:00
Phil Booth 0069873a1d fix(metrics): stop sending raw client ids to amplitude (#2239) r=@vladikoff 2017-11-23 14:36:13 -05:00