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

701 Коммитов

Автор SHA1 Сообщение Дата
Shane Tomlinson 3803c6ef1e
fix(test): Fix the openid-config/metrics flow tests on teamcity
* Set a default value of `allowed_metrics_flow_cors_origins` to `null`
* Change the default value of `pairing.server_base_uri` to
  `wss://dev.channelserver.nonprod.cloudops.mozgcp.net` which is used
  by all dev boxes. Production config will need to be updated to handle
  this change.

fixes #7066

BREAKING CHANGE
2019-03-26 15:38:10 +00:00
hritvi 92cdbc10db feat(oauth): add oauth success screen
Co-authored-by: Vlad Filippov <vlad.filippov@gmail.com>
Co-authored-by: hritvi <hritvi2801@gmail.com>

Fixes #6996
2019-03-25 14:14:58 -04:00
Phil Booth cdec092d5f
fix(config): fix default config for feature-flagging 2019-03-19 06:46:00 +00:00
Phil Booth 274d3cc980
feat(feature-flags): wire in experiments to the feature-flag api
Originally added in 62f4b637, then reverted in e64c571b because it broke
fxa-dev. That breakage was caused by missing Redis config for backoff
and retry, and a too-low limit on pending connections. Those required
config tweaks are added in the next commit.
2019-03-19 06:42:58 +00:00
Phil Booth e64c571b1f
revert(feature-flags): remove feature-flagging
Feature-flagging caused fxa-dev to fail with Redis connection errors.
Let's back it out from `master` while I dig into what's going wrong.
This reverts commit 62f4b63709.
2019-03-18 19:14:57 +00:00
Phil Booth 62f4b63709
feat(feature-flags): wire in experiments to the feature-flag api 2019-03-18 14:38:40 +00:00
Shane Tomlinson 7af51def9f
Merge pull request #7034 from mozilla/issue-7030-deprecate-fx-desktop-v2 r=@philbooth
fix(sync): Remove support for `context=fx_desktop_v2`
2019-03-11 09:35:29 +00:00
Shane Tomlinson ee464010e5
Merge pull request #7036 from mozilla/train-132 r=@philbooth
chore(release): Merge train-132 into master
2019-03-09 09:13:10 +00:00
Shane Tomlinson 5792b00e74
fix(sync): Remove support for `context=fx_desktop_v2`
Hot on the heels of #6895, it's now relatively pain
free to deprecate a context.

This deprecates `context=fx_desktop_v2` which hasn't
been used since Firefox 45, 20 versions ago.

Users will instead be prompted to upgrade their
Firefox.

fixes #7030
2019-03-08 21:10:23 +00:00
Shane Tomlinson 026edd29e8
chore(merge): Merge remote-tracking branch 'origin/train-131' into train-132-validate-metrics-flow 2019-03-08 21:04:42 +00:00
Shane Tomlinson 43dc0b7e12
feat(metrics): Reject invalid metrics-flow requests.
Follow on to #44 that added logging only query parameter validation to GET /metrics-flow. This causes validation errors to reject the request.

fixes bz1528793
2019-03-08 12:16:38 +00:00
Muhammad Farhan 898c491b86 fix(firefox version): user-agent in functional tests updated to latest firefox 2019-03-08 02:13:26 +05:30
Shane Tomlinson 658f38d2f8
fix(metrics): Loosen /metrics-flow validation
* Firefox 62's about:welcome page sends no query params, make all query params optional.
* Allow `context`, about:newinstall sends it unnecessarily
2019-03-05 10:47:36 +00:00
Shane Tomlinson 482677e322
fix(logging): Log metrics-flow validation events correctly.
I was calling logger.info with a single object containing an `op` field
in get-metrics-flow.js when query parameter validation errors occurred.

@jbuck informed me that 'request.metrics-flow.invalid-param' should
be the first parameter to logger.info and the rest of the object
the 2nd.
2019-02-28 10:55:55 +00:00
Shane Tomlinson 6625d04be3 feat(pairing): enable pairing 2019-02-27 09:04:53 -05:00
Phil Booth 5d240e3bde
Merge branch 'train-131' of github.com:mozilla/fxa-content-server into train-131 2019-02-25 20:06:21 +00:00
Phil Booth 9867325f76
fix(metrics): update amplitude events to mozlog 2 format 2019-02-25 18:44:01 +00:00
Shane Tomlinson b586e91383
chore(clients): Add Fenix to list of clients that can request oldsync scope
bz1528355
2019-02-19 23:24:12 +00:00
Shane Tomlinson faf81979bf
Merge remote-tracking branch 'upstream/train-131' into train-131 2019-02-19 22:44:09 +00:00
Shane Tomlinson aef18b3164
fix(metrics): Validate query parameters to POST /metrics-flow
parameter validation was added after several important
pages were already calling this endpoint. To avoid causing any of those pages
to error out, log and swallow any validation errors. If no errors are logged,
then we can change to return an error.

fixes bz1528793
2019-02-19 15:00:17 +00:00
Phil Booth 69167ee1ec
chore(deps): update eslint-plugin-sorting to 0.4.0 2019-02-11 11:33:57 +00:00
Shane Tomlinson 6634b46c47
fix(sync): Remove support for context=fx_desktop_v1
Add an `Update Firefox` screen, show it to users of fx_desktop_v1

fixes #5558
2019-02-06 09:32:33 +00:00
Phil Booth 2a0f2e44bf
Merge train-129 into master
https://github.com/mozilla/fxa-content-server/pull/6914
r=vladikoff
2019-01-31 13:27:50 +00:00
Hector Zhao 672a7a4284 chore(server): build extra templates for Mozilla China 2019-01-31 11:33:44 +08:00
Jon Buckley bc6992f475
fix(logging): Ensure screen.width and screen.height are numbers
Fixes #6908
2019-01-30 17:48:06 -05:00
Hector Zhao f3dcbe0628 feat(settings): put communication prefs behind a feature flag 2019-01-22 14:27:53 +08:00
vladikoff e27e6a661d fix(metrics): allow optional platform in /metrics-errors
Fixes #6873
2019-01-21 15:27:25 -05:00
Phil Booth ec3b88b778
feat(metrics): add country and region to flow events 2018-12-28 15:55:13 +00:00
vladikoff 4934527b3a fix(metrics): make sure to track oauth screen views in amplitude
Fixes #6742
2018-12-18 16:33:47 -05:00
Vijay Budhram 56b07b631b
Merge pull request #6734 from mozilla/issue-6722, r=@shane-tomlinson, @vladikoff 2018-12-10 11:17:22 -05:00
Shane Tomlinson fe877dba27
feat(coppa): Put COPPA behind a feature flag.
Mozilla China's FxA stack does not need COPPA. So that
they don't have to remove it every time we update our
code, this puts the feature behind a feature flag.

In configuration, coppa.enabled set to `false` will disable COPPA.

fixes #6736
2018-12-07 11:54:21 +00:00
Vijay Budhram 5485d45e2f
chore(verify): remove server side verification 2018-11-29 23:03:03 -05:00
Shane Tomlinson 4ff4dffa97
chore(config): Add the new Send redirect_uris to the Send scopedKeys list.
bz1508736
2018-11-22 11:34:10 +00:00
vladikoff 223ccb0d33 refactor(headers): remove HPKP
Fixes #6714
2018-11-19 10:33:09 -05:00
Ryan Kelly 3e28be918a
chore(config): Add reference-browser to allowlist for oldsync scope. 2018-11-08 07:03:36 +11:00
Phil Booth 2ddfd6375a
fix(metrics): generate an amplitude deviceId in GET /metrics-flow
The amplitude import needs a device id (or a user id) on each event,
otherwise they're treated as invalid. We have code on the client side
for generating it in lib/app-start.js, but the events generated on the
server are not currently making it to Amplitude. This change adds an
equivalent device id for those events too.
2018-11-07 09:14:58 +00:00
irrationalagent 99ecef1fd3
feat(metrics): map totp flow events to amplitude events 2018-10-29 16:35:13 +00:00
Phil Booth 37bfdcb8f8
Merge train-123 into master
https://github.com/mozilla/fxa-content-server/pull/6665
r=shane-tomlinson
2018-10-26 12:18:28 +01:00
irrationalagent 610a85eb6f fix(metrics): fix get-metrics-flow to use correct view event 2018-10-25 09:14:53 -06:00
Shane Tomlinson e27f79e77b
feat(metrics): No longer send events to Google Analytics
All the teams that used GA have now migrated to Amplitude.

fixes #6650
2018-10-22 13:18:42 +01:00
Shane Tomlinson 4aa3510822
feat(Lockbox): Add Lockbox for Android scopes to configuration
fixes #6643
2018-10-18 18:43:55 +01:00
vladikoff 6d5662d6fc feat(routes): add support for .well-known/change-password
Fixes #6561
2018-10-03 14:08:28 -04:00
Ryan Kelly 1950681c10
chore(config): Add scoped-keys configuration for Firefox Send. 2018-09-28 10:05:07 +10:00
vladikoff bb47002759 refactor(metrics): remove datadog metrics
Fixes #6520
2018-09-17 10:28:24 -04:00
Phil Booth c9836c2369
fix(code): fix some lgtm analysis warnings 2018-09-11 16:26:05 +01:00
Phil Booth 7e5ed084e3
fix(metrics): send events from /metrics-flow to amplitude 2018-09-05 13:31:36 +01:00
Vlad Filippov 6f5d48e0c7
fix(csp): allow 'blob' in blocked-uri for CSP reports (#6488) r=@vbudhram
Fixes #6230
2018-08-23 23:23:27 -04:00
Vlad Filippov cd817bbee7
fix(logs): make logger optional in metrics-errors (#6484) r=@vbudhram
Fixes #6225
2018-08-23 23:23:15 -04:00
Shane Tomlinson e882f501d9 fix(deps): Update several deps to their latest. (#6475) r=@vbudhram,@vladikoff
* firefox-profile to 1.2.0
* grunt-conventional-changelog to 6.0.0
* grunt-htmllint to 0.3.0

Remove grunt-contrib-sasslint, it wasn't being
called by anything and we have sass-lint that is actually run.
2018-08-23 11:09:28 -04:00
Vlad Filippov d2e31475a8
feat(metrics): log 'enter-email.view' in metrics-flow (#6469)
Fixes #6395
2018-08-21 21:21:40 -04:00