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

2740 Коммитов

Автор SHA1 Сообщение Дата
Phil Booth 4f6f367f5e fix(metrics): fix the data on email sent events
https://github.com/mozilla/fxa-auth-server/pull/2139
r=rfk
2017-09-25 08:11:43 +01:00
Phil Booth 5990da6aae Release v1.96.2 2017-09-22 13:22:39 +01:00
Phil Booth 34bf4926f9 chore(logs): log error if headers are missing in email notifications
https://github.com/mozilla/fxa-auth-server/pull/2135
r=shane-tomlinson
2017-09-22 13:21:35 +01:00
Phil Booth e8e74a5718 Release v1.96.1 2017-09-20 20:18:54 +01:00
Phil Booth cd32fd8df4 chore(package): update shrinkwrap 2017-09-20 20:18:45 +01:00
Vijay Budhram 4325eb0aab feat(email): Throw error when attempting to resend email code for email that doesn't belong to account (#2129), r=philbooth 2017-09-20 11:36:03 -04:00
Edouard Oger eec0a434fe fix(push): return pushEndpointExpired as a boolean (#2127); r=rfk 2017-09-20 08:19:16 +10:00
Phil Booth 938ef5cbdf feat(metrics): include fxa_services_used in amplitude user properties
https://github.com/mozilla/fxa-auth-server/pull/2125
r=vbudhram
2017-09-19 22:49:20 +01:00
Phil Booth 189240fcc0 refactor(server): extract unblock_codes routes to a separate module (#2126) r=vladikoff
Fixes #1445.

This is the last remaining nicely-extractable chunk from lib/routes/account
2017-09-19 15:22:55 -04:00
Vijay Budhram 96bb44e96b Release v1.96.0 2017-09-19 14:52:54 -04:00
Phil Booth df6cd60442 fix(server): enforce 'use strict' everywhere (#2124), r=@vbudhram 2017-09-19 09:00:37 -04:00
Phil Booth 3518b0c0d7 feat(server): lazily get all request.app properties
https://github.com/mozilla/fxa-auth-server/pull/2123
r=shane-tomlinson
2017-09-18 18:01:28 +01:00
Shane Tomlinson 359caeb4fc refactor(secondary-email): Remove "add secondary email" feature flag. (#2121), r=@vbudhram 2017-09-18 12:10:39 -04:00
Phil Booth 0567350615 fix(metrics): include missing user_properties on amplitude events
https://github.com/mozilla/fxa-auth-server/pull/2114
r=rfk
2017-09-18 08:24:50 +01:00
Vlad Filippov 0c0ef301ac chore(docs): update docs for node 6 (#2120) r=rfk 2017-09-14 16:21:27 -04:00
Vlad Filippov ceab903e26 feat(logs): add Sentry integration (#2116) r=vbudhram
Fixes #2115
2017-09-14 14:37:29 -04:00
Phil Booth 549b89187c fix(basket): reinstate utm params to the metrics context bundle
https://github.com/mozilla/fxa-auth-server/pull/2119
r=vbudhram
2017-09-14 14:38:52 +01:00
Vlad Filippov e8cc49d86b feat(password): notify attached services when a user changes their password (#2117); r=rfk 2017-09-14 07:53:58 +10:00
Phil Booth 346f2460cb Merge pull request #2113 from mozilla/hapi-update
chore(deps): Update hapi to latest version
2017-09-13 17:32:48 +01:00
vladikoff e64faea3d0 Release v1.95.3 2017-09-13 09:07:37 -04:00
Ryan Kelly 68e2c12ee9 chore(deps): Update hapi to latest version 2017-09-13 09:01:40 -04:00
Phil Booth f084830bcf feat(server): lazily get devices array on the request object (#2107) r=vladikoff,vbudhram
Fixes #2106.

Prevents us from accidentally calling db.devices more than once per request. I saw one definite case of this in /recovery_email/verify_code and it's possible there were others. I'll also be making use of this property heavily for the amplitude events, so it will get further usage imminently.

Making the change necessitated pulling calls to db.devices out of lib/push, which triggered some refactoring that almost got away from me. I'll add inline commentary to call out why things have changed the way they have, but most push methods now take an extra devices argument and a few other methods became redundant so I deleted them. I don't think I've broken anything.
2017-09-12 15:17:08 -04:00
Phil Booth dae0e58340 fix(tests): silence obnoxious "possible memory leak detected" warning
https://github.com/mozilla/fxa-auth-server/pull/2110
r=shane-tomlinson
2017-09-12 16:35:27 +01:00
vladikoff 5df01c7063 Release v1.95.2 2017-09-12 11:14:26 -04:00
Vlad Filippov 2e8e6747c6 feat(db): allow BMP chars in device name (#2053) r=rfk,jbuck
Fixes https://github.com/mozilla/fxa-auth-server/issues/1285
2017-09-12 11:14:12 -04:00
Ryan Kelly c6486ba0dc Merge branch 'train-95' 2017-09-12 12:30:36 +10:00
Ryan Kelly 187943d830 Release v1.95.1 2017-09-12 10:38:17 +10:00
Ryan Kelly 6b1f73da96 fix(push): Only send device connection push msgs to iOS 10+ (#2108) r=vladikoff
The client-side code for this is not going to make the 9.0 release
of Firefox for iOS, so we need to push the target version back on
the server-side as well.
2017-09-11 09:39:23 -04:00
Ryan Kelly 36ba0480d7 fix(email): Block sending if gated primary and unverified secondary. (#2098), r=@vbudhram 2017-09-08 12:01:14 -04:00
Phil Booth 2238b37b6f fix(server): make geo data lazily available on the request
https://github.com/mozilla/fxa-auth-server/pull/2095
r=vbudhram
2017-09-07 22:23:33 +01:00
John Morrison 55e1a91287 fix(profile): progress logging for handleProfileUpdated (#2094) r=vladikoff,eoger 2017-09-07 14:40:43 -04:00
Vlad Filippov 1f36c6d3a7 refactor(l10n): take l10n repo out of node_modules (#2079)
Same as https://github.com/mozilla/fxa-content-server/pull/5395

Fixes #1678
2017-09-06 09:33:19 -04:00
Phil Booth bc647b33a9 Release v1.95.0 2017-09-06 12:38:09 +01:00
Phil Booth bd9b53a8cc chore(package): update shrinkwrap 2017-09-06 12:37:07 +01:00
Phil Booth b36ea326d6 fix(metrics): add missing device_id and user_id amplitude properties
https://github.com/mozilla/fxa-auth-server/pull/2092
r=rfk
2017-09-06 12:19:54 +01:00
Ryan Kelly d04778c17f fix(push): Allow device connection push messages for Firefox iOS >= 9.0 (#2088); r=vbudhram
fix(push): Allow device-connection push messages for iOS >= 9.0
2017-09-06 15:48:44 +10:00
Ryan Kelly a2e3d1ee27 fix(bounces): Handle mis-formatted bounce addrs as best we can. (#2090); r=jrgm
Different mail servers format the addresses in their bounce messages
in different ways, not all of them strictly RFC compliant.  This change
makes us more lenient in what we accept, so that we don't error out
when receiving a bounce from a noncompliant server, so long as the result
ends up looking like a valid email address.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1393961
2017-09-06 13:30:36 +10:00
Edouard Oger 87a410ed5b fix(push): send push notification after a device is deleted
https://github.com/mozilla/fxa-auth-server/pull/2086
r=philbooth
2017-09-05 19:27:39 +01:00
Ryan Kelly a6d8bc0c9c fix(profile): Handle incoming uids as strings, not buffers. (#2089) r=philbooth
This also adds some additional tests to guard against similar
mistakes in the future.
2017-09-05 18:31:01 +10:00
Ryan Kelly a45cbc350e chore(docs): Auto-generated docs update
https://github.com/mozilla/fxa-auth-server/pull/2091
r=philbooth
2017-09-05 08:24:33 +01:00
Edouard Oger 735f323775 feat(push): add a pushEndpointExpired flag for devices that need to re-register their push endpoint (#2087) r=rfk 2017-08-31 13:25:54 -04:00
Phil Booth 32f2caa131 fix(metrics): remove the forgot_sent amplitude event (#2078) r=vladikoff 2017-08-29 13:48:22 -04:00
Phil Booth cc2da2a0f2 refactor(mailer): automatically pass through args to mailer methods (#2075) r=vladikoff,shane-tomlinson 2017-08-29 09:34:12 -04:00
Phil Booth 5800418902 feat(logging): send amplitude events to the logs
https://github.com/mozilla/fxa-auth-server/pull/2069
r=rfk,vbudhram
2017-08-28 10:53:25 +01:00
Phil Booth f136268dd9 refactor(api): extract device schema to a common definition
https://github.com/mozilla/fxa-auth-server/pull/2074
r=vbudhram
2017-08-25 20:43:08 +01:00
Phil Booth b07795a9f6 Merge pull request #2071 from mozilla/train-94.1 2017-08-23 15:30:37 +01:00
Phil Booth 38b39dfc43 Release v1.94.2 2017-08-23 14:58:50 +01:00
Phil Booth c4d1e50952 fix(tests): update remote db tests for uaFormFactor column 2017-08-23 14:58:23 +01:00
vladikoff e19ebc0a86 Release v1.94.1 2017-08-23 08:55:58 -04:00
vladikoff 4694cd1ae8 fix(deps): update shrinkwrap 2017-08-23 08:55:43 -04:00