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

26778 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 5017fde8a9
chore(deps): bump fast-json-patch from 3.0.0-1 to 3.1.1
Bumps [fast-json-patch](https://github.com/Starcounter-Jack/JSON-Patch) from 3.0.0-1 to 3.1.1.
- [Release notes](https://github.com/Starcounter-Jack/JSON-Patch/releases)
- [Commits](https://github.com/Starcounter-Jack/JSON-Patch/compare/3.0.0-1...3.1.1)

---
updated-dependencies:
- dependency-name: fast-json-patch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 17:11:05 +00:00
Ankita Shrivastava fcbc294ef6
Merge pull request #14694 from mozilla/rewrite-subscription-support-tests
test(functional): rewrite support tests using playwright
2022-12-29 19:59:49 -05:00
millsoper cdb1e5839a
Merge pull request #14699 from mozilla/FXA-6343-account-recovery-reset-password
fxa-settings(storybook): add account_recovery_reset_password
2022-12-29 13:29:56 -08:00
Ankita Shrivastava 17b203dd56
test(functional): rewrite support tests using playwright 2022-12-29 14:27:56 -05:00
Mill 9873858162
fxa-settings(storybook): add account_recovery_reset_password
Because:

* We're making React versions of content server's remaining backbone
  pages, and moving them first into Storybook.

This commit:

* Sets up the page view metric, basic tests, and storybook stories for
  the account_recovery_reset_password page.

Closes #https://mozilla-hub.atlassian.net/browse/FXA-6343

Update packages/fxa-settings/src/pages/AccountRecoveryResetPassword/en.ftl

Co-authored-by: Bryan Olsson <bolsson@mozilla.com>

Update packages/fxa-settings/src/pages/AccountRecoveryResetPassword/en.ftl

Co-authored-by: Bryan Olsson <bolsson@mozilla.com>

Update packages/fxa-settings/src/pages/AccountRecoveryResetPassword/en.ftl

Co-authored-by: Bryan Olsson <bolsson@mozilla.com>

Update packages/fxa-settings/src/pages/AccountRecoveryResetPassword/en.ftl

Co-authored-by: Bryan Olsson <bolsson@mozilla.com>

Update packages/fxa-settings/src/pages/AccountRecoveryResetPassword/en.ftl

Co-authored-by: Bryan Olsson <bolsson@mozilla.com>
2022-12-29 09:31:58 -08:00
Reino Muhl 3066091e4c
Merge pull request #14698 from mozilla/remove-console-logs
fix(payments): remove unnecessary console logs
2022-12-28 16:31:19 -05:00
Reino Muhl 61a0501350
fix(payments): remove unnecessary console logs
Because:

* Unnecessary console.log statements were included in previous work.

This commit:

* Removes unnecessary console logs.

Closes #
2022-12-28 15:46:32 -05:00
Reino Muhl f0bd1ab456
Merge pull request #14570 from mozilla/FXA-6376
fix(payments): display tax amount on subscription upgrades
2022-12-28 15:21:07 -05:00
Meghan Sardesai 920cc99578
fix(payments): display tax amount on upgrades
Because:

* We want to display the amount of tax charged or included on upgrades
  (if applicable)

This commit:

* Updates PlanUpgradeDetails to include tax details
* Updates SubscriptionUpgrade to pass tax details to PlanUpgradeDetails
* Updates tests for both
* Updates StoryBook for SubscriptionUpgrade to CSF and adds inclusive
  and exclusive tax stories
* Adds custom hook to fetch invoicePreview and added to `routes/Product`

Closes FXA-6376
2022-12-28 15:02:22 -05:00
Reino Muhl abfd9790ac
Merge pull request #14695 from mozilla/fxa-6543-auth-invoice-preview
fix(payments): only checkIpOnly if no credentials
2022-12-28 14:20:20 -05:00
Reino Muhl 220b6f77d6
fix(payments): only checkIpOnly if no credentials
Because:

* For the invoice preview endpoint, for logged in users, do not perform
  the customs.checkIpOnly.

This commit:

* Only performs the customs.checkIpOnly check if auth credentials are
  not provided.

Closes FXA-6543
2022-12-28 13:42:16 -05:00
Vijay Budhram 4a86ce7a11
Merge pull request #14687 from mozilla/FXA-6411-basic-auth
fix(validation): update regex for basic auth
2022-12-28 12:54:30 -05:00
Barry Chen 108e7151bc
fix(validation): update regex for basic auth 2022-12-28 12:34:13 -05:00
Vijay Budhram 814abfed58
Merge pull request #14682 from mozilla/FXA-6347-verify-session
feat(gql): add session mutation to verify OTP codes
2022-12-28 11:55:11 -05:00
Barry Chen 14f89eedfd
feat(gql): add session mutation to verify OTP codes
Because:
 - gql-api should be able to verify an OTP code

This commit:
 - proxy to the auth-server to verify an OTP code
2022-12-28 11:23:38 -05:00
Vijay Budhram fc5bb05e9f
Merge pull request #14691 from mozilla/FXA-6348-resend-session
feat(gql): resend verify code
2022-12-28 11:18:16 -05:00
Vijay Budhram 40d1699ae3
Merge pull request #14679 from mozilla/fxa-6333
feat(gql): Add verify email code gql
2022-12-27 12:55:20 -05:00
Vijay Budhram a57d2a76e4
feat(gql): Add verify email code gql 2022-12-27 12:35:55 -05:00
millsoper 8eec5f829d
Merge pull request #14656 from mozilla/FXA-6417-signin-confirmed-and-signin-verified
storybook:(fxa-settings) add signin-confirmed to storybook
2022-12-27 08:40:13 -08:00
Vijay Budhram bb9d9342c1
Merge pull request #14556 from mozilla/fxa-devices
fix(metrics): Adds user agent information to refresh token credentials
2022-12-27 10:57:35 -05:00
Mill b24688dcbc
storybook:(fxa-settings) add signin-confirmed to storybook
Because:

* We're moving the remaining FxA content-server backbone views into
  React, starting with adding them to storybook.

This commit:

* Adds in the signin-confirmed/signin-verified views, and modifies the
  Ready component to accept different values for the header based on
which view is being displayed

Closes #https://mozilla-hub.atlassian.net/browse/FXA-6417
2022-12-26 17:29:00 -08:00
Barry Chen 86cd58125e
feat(gql): resend verify code
Because:
 - gql-api should be able to handle a resend verify code request

This commit:
 - proxy to auth-server to resend a verify code
2022-12-22 14:18:19 -06:00
Dan Schomburg 3161a7daf7
Merge pull request #14686 from mozilla/fix-test-content-server-remote-job
bug(CI): Remove parameters from test-content-server-remote and fix issue compiling backend services
2022-12-22 11:29:02 -08:00
dschom 12779b14ee
bug(CI): test-content-server-remote must not have parameters
Because:
- We cannot add parameters to job triggered through circleci's API

This Commit:
- Removes parameters from the `test-content-server-remote` job
2022-12-22 10:15:55 -08:00
Lisa Chan 373fde54dd
Merge pull request #14660 from bcolsson/reissue-ftl-ids
chore(l10n): Issue new FTL IDs to expose missing attributes
2022-12-22 11:31:25 -05:00
Dan Schomburg 469abb45ed
Merge pull request #14678 from mozilla/compile-backend-services
fix(CI): Fix failing tests due to missing types
2022-12-21 11:24:05 -08:00
dschom 9ca315981c
fix(CI): Fix failing tests due to missing types
Because:
- The graphql api didn't startup properly. It appears down stream packages were not built.

This Commit:
- Ensures common packages are built.
2022-12-21 10:51:00 -08:00
Dan Schomburg ad11a9cd73
Merge pull request #14674 from mozilla/FXA-6264
task(ci): Run content server smoke tests in parallel
2022-12-21 10:14:28 -08:00
dschom ca89b51f9b
task(ci): Run content server smoke tests in parallel
Because:
- We want decrease the time it takes to deploy

This Commit:
- Adds ability to divide smoke tests
- Creates jobs that divide content server smoke tests into three parts
- Jobs can be run in parallel
- Creates a new executor for running smoke tests
- Removes mozinstall command (found in test-ci-remote.sh) since there is already a firefox browser installed in the base image
- Removes internjs argument --firefoxBinary, because there is now a firefox binary available in /usr/local/bin/firefox.
2022-12-21 09:59:05 -08:00
Vijay Budhram 1a5feea97b
Merge pull request #14658 from mozilla/try-ci-changes
fix(tests): Lower number of content-server test executors and increase instance size
2022-12-21 12:19:14 -05:00
Barry Chen 0fb467b718
Merge pull request #14672 from mozilla/FXA-6346-session-reauth
feat(gql): re-auth an existing session
2022-12-21 10:45:44 -06:00
Barry Chen 7bb9c8b792
Merge pull request #14668 from mozilla/FXA-6336-finish-acct-setup-resolver
feat(gql): add proxy to acct finish setup
2022-12-21 10:45:28 -06:00
Barry Chen ebd273c009
Merge pull request #14675 from mozilla/dependabot/github_actions/actions/stale-7
chore(deps): bump actions/stale from 6 to 7
2022-12-21 08:30:35 -06:00
dependabot[bot] 2cdb57e974
chore(deps): bump actions/stale from 6 to 7
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 06:09:35 +00:00
Wil Clouser 09188af2c9
Merge pull request #14664 from mozilla/clouserw-patch-1
fix(metrics): remove specific timestamp from log
2022-12-20 13:34:54 -08:00
Dan Schomburg 76e0b890db
Merge pull request #14670 from mozilla/FXA-6476
bug(CI): Fixes the playwright install in the base image
2022-12-20 12:58:59 -08:00
millsoper 08b167bd21
Merge pull request #14611 from mozilla/FXA-6345-reset-password-with-recovery-code-verified
storybook(fxa-settings): recreate ResetPasswordWithRecoveryKeyVerified
2022-12-20 12:46:40 -08:00
dschom 74d474389c
bug(CI): Fixes the playwright install in the base image used for functional tests.
Because:
- Playwright tests weren't running

This Commit:
- Switches from to an npx install to setup the playwright browsers
2022-12-20 12:18:25 -08:00
Barry Chen 9f2b6a3a20
feat(gql): add proxy to acct finish setup
Because:
 - we want gql-api to finish setting up a stub account for the user

This commit:
 - proxy an account finish setup request to the auth-server
2022-12-20 14:03:40 -06:00
Barry Chen 97005c3b0b
feat(gql): re-auth an existing session
Because:
 - we want to re-auth an existing session through the gql-api

This commit:
 - proxy a session reauth request through the gql-api to the auth-server
2022-12-20 13:52:26 -06:00
Vijay Budhram 5b50225520
fix(tests): Lower number of content-server test executors and increase instance size 2022-12-20 13:11:41 -05:00
Mill eb5bd7d6be
storybook(fxa-settings): recreate ResetPasswordWithRecoveryKeyVerified
Because:

* We're recreating the remaining content-server views in React and
  moving them into Storybook before they go live

This commit:

* Recreates reset_password_with_recovery_key_verified in React with
  metrics, tests, and l10n

Closes #https://mozilla-hub.atlassian.net/browse/FXA-6345
2022-12-20 09:28:12 -08:00
Wil Clouser 8dc914ee15
fix(metrics): remove specific timestamp from log
Because:
* Our timestamps are being recorded as from `1970-01-01` for some reason but only from the content server.  We hypothesize the downstream mozlog is failing to convert this timestamp properly.  Since content server is the only server that is specifying a timestamp we think if we remove it things might start working for free.  Let's find out!

This commit:

* removes the timestamp

Closes FXA-6472
2022-12-20 07:16:02 -08:00
Barry Chen 37f5f7d4ea
Merge pull request #14666 from mozilla/remove-empty-adr
chore(adr): remove empty file
2022-12-19 17:15:55 -06:00
Barry Chen 8c1ba60286
chore(adr): remove empty file 2022-12-19 16:59:05 -06:00
Dan Schomburg 829862ceab
Merge pull request #14662 from mozilla/FXA-5758
fix(content): Fix buggy timing metrics
2022-12-19 14:19:13 -08:00
Lauren Zugai 02c19ef4b4
Merge pull request #14652 from mozilla/train-247
Release 1.247.4 -> main
2022-12-19 15:31:37 -06:00
dschom f061bbf828
fix(content): Fix buggy timing metrics
Because:
- We could see in Sentry that various times provided to metrics endpoint were consistently off.

This Commit:
- Creates an abstraction around the performance API to isolate some of its complexities.
 - Tries to use the performance API where possible.
- Address discrepancies between performance API timestamps and system time.. The assumption that the clock used by Date and the clock used by the performance API  are somehow in sync is likely the reason for the generation of erroneous data.  It is very likely that there is a significant clock skew found between the monotonic clock used by the performance API and current state of the system clock. There appears to be a lot of nuance here, and the exact way this plays out depends on the OS, browser, and browser version, and if the machine has been put into sleep mode. One thing is clear, mixing the performance API timestamps and Date timestamps appears to not work very well.
- Adds support for using L2 timings, and uses these timings when possible.
- Adds a performance fallback class that can fill in for situations where the performance API is missing.
  - Adds some logic around timing values that should be ignored when set to 0.
  - Prefers the performance API's clock when possible, since it’s resilient to skewed metrics due to a computer being put to sleep.
- For browser’s that do not support the performance api, we will not produce timing data.
- For browser’s that do not support the performance api, we will  make a best effort to produce timing data; however, if we detect the machine enters sleep mode during data collection, the data will be deemed unreliable and will not be recorded.
2022-12-19 13:31:10 -08:00
Ankita Shrivastava de16174254
Merge pull request #14644 from mozilla/update-payment-modes
[subplat] test(subplat): add test for resubscription and update mode of payment
2022-12-19 15:06:40 -05:00
Reino Muhl 5dc1f39863
Merge pull request #14639 from mozilla/fxa-6391-hide-taxes-fees-inclusive
feat(payments): hide taxes for inclusive tax
2022-12-19 14:57:46 -05:00