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

17806 Коммитов

Автор SHA1 Сообщение Дата
Vlad Filippov e6bc1c9cd9
feat(errors): add a details section for content-server 500 errors
Related to https://github.com/mozilla/fxa/issues/5415
2020-05-28 10:25:47 -04:00
Vijay Budhram abb9696d84
feat(experiments): Enable newsletter sync experiment 2020-05-28 10:10:19 -04:00
Jared Hirsch 2ee5be5a63
feat(aet): add ecosystem_anon_id field to auth server core profile data
The ecosystem_anon_id work for AET (Jira epic FXA-880) started from the
API used by desktop code, in order to unblock that work, which can be
done in parallel. This new identifier is eventually going to be part
of the core profile fields stored in the auth server DB, which means
there will be changes in mysql, auth-db, auth-server, and profile-server.

The initial no-op profile-server API implementation landed as
https://github.com/mozilla/fxa/pull/5364.

This change moves one step further down the stack, updating the
profile-server API handler from a no-op to an actual call into the
_core_profile, and adding a deceptively simple change to the auth server
that allows an ecosystemAnonId field to be passed through from auth-db.

Future commits will integrate this new field into the auth-db and
eventually into mysql.
2020-05-27 16:44:53 -07:00
Les Orchard 750396940c
Merge pull request #5478 from mozilla/5474-status-check
feat(storybooks): Switch Storybook notification from comment post to …
2020-05-27 15:35:46 -07:00
Jody Heavener be8d6dda5f
chore(fxa-react): update jest and storybook to support CRA-style importing SVGs as a component 2020-05-27 17:41:47 -04:00
Les Orchard 705833d3ae
feat(storybooks): Switch Storybook notification from comment post to commit status check
fixes #5474
2020-05-27 17:41:24 -04:00
Vijay Budhram 7a29dc1665
Release 1.172.2 2020-05-27 17:26:39 -04:00
Vijay Budhram 10dd5b7651
Merge pull request #5477 from mozilla/train-172-fix-experiment, r=@jackiemunroe
Maybe fix #5476

This was also being reported in sentry, ref https://sentry.prod.mozaws.net/operations/fxa-content-product/issues/8555777/events/54195076c3ca4ba785dfabc5ea54c18b/
2020-05-27 17:25:32 -04:00
John Morrison e802c60dff
Merge pull request #5472 from mozilla/fix-access-token-expire-logging-trace
fix(oauth): quiet logging on >24 hour tokens
2020-05-27 14:22:04 -07:00
Danny Coates 3be8a8435b
docs(adrs): Added workspaces ADR 2020-05-27 14:02:54 -07:00
John Morrison ea80a138f5
fix(oauth): quiet logging on >24 hour tokens 2020-05-27 13:49:10 -07:00
Vijay Budhram a5e85d580e
feat(experiments): Fix qr code experiment grouping undefined bug 2020-05-27 16:14:28 -04:00
Lauren Zugai 3b849fae46
Merge pull request #5391 from mozilla/issues/5016
feat(a11y settings): Improve modal a11y
2020-05-27 14:42:21 -05:00
Lauren Zugai 0366ffa846
feat(a11y settings): Improve modal a11y
This commit:
*Allows the Modal component to close on escape key press
*Shifts focus back to the element that opened the modal when closed via a new hook
*Disallows interaction with root element when modal is opened via aria-hidden, pointer events, and scroll prevention
*Adds aria-labelledby, aria-describedby, and role='dialog' properties
*Adds a tab fence so screenreaders are directed to the modal after opening

Because:
The current modal component needed some accessibility improvements.

Fixes #5016
2020-05-27 14:25:22 -05:00
Barry Chen 8a271e2fa1
feat(surveys): filter surveys based on config conditions
Because:
 - surveys are configured through a set of conditions

This commit:
 - add multiple filters to check the configured conditions
2020-05-27 17:59:27 +00:00
Les Orchard 284c23112c
Merge pull request #5456 from lmorchard/5414-upgrade-error-2
fix(auth-server): fix incorrect response validation on subscription upgrade route
2020-05-27 10:08:16 -07:00
Vlad Filippov c97da3952d
Merge pull request #5467 from mozilla/i2298-v2
feat(sentry): reduce Sentry 'info' logging from the content-server
2020-05-27 10:45:56 -04:00
Danny Coates 3b01d0e498
Merge pull request #5458 from mozilla/payments-build
chore(build): updated payments-server test-ci.sh
2020-05-27 07:35:54 -07:00
Vlad Filippov dfc355e284
feat(sentry): reduce Sentry 'info' logging from the content-server
Related to https://github.com/mozilla/fxa/issues/2298
2020-05-27 10:11:06 -04:00
Vijay Budhram 9ddbef6857
Merge pull request #5461 from mozilla/verbose-log, r=@vbudhram
refactor(logging): reduce profile cache logging from info to verbose
2020-05-27 09:43:09 -04:00
Danny Coates 18e0e6a0f0
refactor(logging): reduce profile cache logging from info to verbose
At the higher logging level it fills up our production logs.  At a
lower level it will still show up for debugging.
2020-05-26 17:17:36 -07:00
Danny Coates cfb76fc4fa
Merge pull request #5409 from mozilla/co-hook
feat(dev): added post-checkout git hook to keep deps in sync
2020-05-26 16:58:29 -07:00
Danny Coates b2a456ac16
chore(build): updated payments-server test-ci.sh
fixes #5428

It looks like fxa-content-server was the missing dep.
2020-05-26 16:27:22 -07:00
Danny Coates e6f60d2880
feat(dev): added post-checkout/merge git hooks to keep deps in sync
It's easy to not notice when to run a `yarn install` either
when switching branches or doing a git pull. This adds a
hook to diff your previous yarn.lock with the one your changing
to, and if there's changes running 'yarn install' for you.
2020-05-26 16:13:14 -07:00
Dave Justice ee3b631068
feat(content-server): integrating survey targetter into content server 2020-05-26 22:56:04 +00:00
Dave Justice 3dd42bcebd
feat(content-server): Integrate interruptive surveys 2020-05-26 22:54:41 +00:00
Les Orchard e094184204
Merge pull request #5455 from lmorchard/fix-payment-server-secrets
fix(payments-server): correct location for secrets.json alongside config
2020-05-26 15:46:03 -07:00
Les Orchard 5578ac3069
fix(auth-server): fix incorrect response validation on subscription upgrade route
fixes #5414
2020-05-26 18:45:34 -04:00
Danny Coates 3d24158935
Merge pull request #5441 from mozilla/update-deps
chore(deps): update some dependencies
2020-05-26 15:32:13 -07:00
Les Orchard b19124ad3a
fix(payments-server): correct location for secrets.json alongside config 2020-05-26 18:07:14 -04:00
Vijay Budhram cc0655c8f8
Merge pull request #5453 from mozilla/uplift-train-172, r=@dannycoates
Uplift train 172 to master
2020-05-26 17:37:18 -04:00
Jackie Munroe 0f6ef98ae9
Merge pull request #5406 from jackiemunroe/fxa-1875-bug-support-form-popup-text
bug (content server): fix support form success message

Because:

    the support form success message is missing the product value

This commit:

    fix the message creation function to reference the correct form value
    remove the 'FxA - ' prefix that is added for Zendesk Agents, to match mockups and to show users the value they selected accurately

fixes #5298
2020-05-26 14:32:50 -07:00
Danny Coates fec460f6db
chore(deps): update some dependencies 2020-05-26 14:08:34 -07:00
Les Orchard 5c0a818a85
Merge pull request #5429 from mozilla/5385-fxa-storybooks
feat(storybooks): build storybooks for CI and deploy to mozilla-fxa/storybooks
2020-05-26 13:58:02 -07:00
Les Orchard d7ff2b7ea5
Merge pull request #5408 from lmorchard/5261-delete-account-subhub-gone
fix(auth-server): remove subhub references from delete-account script
2020-05-26 13:46:03 -07:00
Les Orchard a71aa0cb74
feat(storybooks): build storybooks for CI and deploy to mozilla-fxa/storybooks
- post a comment on PRs for storybook deploy when relevant

- tweaks to CircleCi config to build & deploy storybooks for pull
  requests and master merges

- try to avoid building storybooks if the packages are not in
  packages/test.list generated by base-install

- updates for yarn

- tweaks to use github personal access token

- refactor storybook webpack customizations to use shared function in
  fxa-react, along with fixes to module resolution

- add fxa-content-server as dependency for fxa-react, since it seems to
  reuse content server styles that, in turn, need photon-colors

issue #5385
2020-05-26 16:27:29 -04:00
Jody Heavener 9824349fe0
fix(support): don't exit the form when you hit enter 2020-05-26 16:18:02 -04:00
Jackie Munroe 93538542fa
bug (content server): fix support form success message
Because:
* the support form success message is missing the product value

This commit:
* fix the message creation function to reference the correct form value
* remove the 'FxA - ' prefix that is added for Zendesk Agents, to match mockups and to show users the value they selected accurately

fixes #5298
2020-05-26 13:16:33 -07:00
Vijay Budhram 6dcbfd4792
Merge branch 'train-172' into uplift-train-172 2020-05-26 16:11:10 -04:00
Les Orchard 70ef8ea07c
Merge pull request #5442 from lmorchard/5417-upgrade-email-prices
fix(auth-server): fix parameter name mismatches in subscription upgrade email templates
2020-05-26 13:04:01 -07:00
Vijay Budhram f79f538cb8
Release 1.172.1 2020-05-26 15:36:18 -04:00
Vijay Budhram 6c221066bc
Merge pull request #5438 from mozilla/train-172-enable, r=@6a68
feat(experiments): Add mutally exclusive experiment logic for CAD QR and newsletters
2020-05-26 15:34:40 -04:00
Danny Coates b911af31ee
Merge pull request #5436 from mozilla/tsconfigs
refactor tsconfigs
2020-05-26 12:19:29 -07:00
Danny Coates e565285b7e
refactor(tsconfig): consolidate common tsconfig options
To reduce duplication and encourage consistency in our
typescript builds this extracts most of the options
into two base configs, one for node and one for browsers.

Also, in order to better utilize workspaces the require
paths to fxa-shared and fxa-react were updated throughout.
2020-05-26 12:18:51 -07:00
Danny Coates b3b3d2c0ef
fix(docker): removed need for fxa-shared postinstall script
The postinstall of fxa-shared was a temporary hack to prevent
auth-server from failing during it's build step. This unfortunately
caused the build-builder.sh script to fail when it tried to
only include the non-dev dependencies from the docker image.

The fix was to make fxa-shared a composite ts lib and add
a reference to it in fxa-auth-server's tsconfig. This required
using a 'path' instead of direct fs access in order to work
with both ts-node for dev and tsc for prod.
2020-05-26 11:24:10 -07:00
Les Orchard 59a96a242d
fix(auth-server): fix parameter name mismatches in subscription upgrade email templates
fixes #5416
fixes #5417
fixes #5418
2020-05-26 14:20:17 -04:00
Vijay Budhram 6b2f84f5af
feat(experiments): Add mutally exclusive experiment logic for CAD QR and newsletters 2020-05-26 13:49:00 -04:00
Jody Heavener db51b52642
chore(fxa-react): update files to respect prettier 2020-05-26 13:28:42 -04:00
Jackie Munroe 07cefc1814
Merge pull request #5422 from jackiemunroe/fxa-1879-remove-support-form-option
bug (content-server): remove 'Getting Started' from support form

Because:

    The 'Getting Started' option was supposed to be removed as a part of the initial request from the support team

This commit:

    Remove 'Getting Started' from the topic options

close #5302
2020-05-26 10:26:05 -07:00
Vijay Budhram 00c865a43d
Merge pull request #5425 from mozilla/fix-test-avoid-case-matching-issue, r=@vbudhram
fix(tests): avoid case-matching issue in email
2020-05-26 12:34:53 -04:00