Because:
- During development it could be useful to start only parts of the stack
needed for development on specific domains.
This commit:
- Provides additional stack startup options to only start specific parts
of the stack, by using nx projects and tags.
Closes #FXA-9771
Because:
- In a previous PR, a new event type was created, but we should have repurposed the profileDataChange event type
- During the previous deployment it was noted that there are different ways to configure sns, and that a topic arn and/or topic endpoint might not be required
This Commit:
- Relaxes requirements for notifier service.
- Makes snsTopicEndpoint optional
- Makes snsTopicArn optional
- Removes the `metricsChange` event type
- Augments the `profileDataChange` type schema to support, locale, metricsEnabled, totpEnabled, accountDisabled, and accountLocked states.
- Emmits the `profileDataChange` whenever corresponding account data is mutated.
Because:
* The pem-jwk library wasn't using the latest crypto library
functionality and included older dependencies.
This commit:
* Pulls in pem-jwk functionality using the crypto library.
Because:
* We want to update to Node 20 LTS.
* We want to target the JS output of Node 20.
* We want to use the latest TypeScript 5.4
This commit:
* Updates the Node version to 20 LTS.
* Updates the TypeScript version and related TS libs
to 5.4.
* Updates tsconfig for the new Node 20 target.
Because:
* While running Admin Server unit tests the "Stripe Auth Error" warning
would show up after stripe.service.spec.ts tests were run.
This commit:
* Replace StripeFactory with mockStripeFactory for unit tests.
Closes #
Because:
- We want to delete accounts from the admin panel
This Commit:
- Adds cloud task emulator pm2 service
- Creates cloud-task nx lib for interacting with cloud tasks
- Creates PageDeleteAccount in admin panel
- Adds ability to delete accounts to admin server's account resolver
- Fixes broken admin panel configuration
- Fixes broken admin server configuration
Because:
* We want a seamless cutover from Stripe metadata to Contentful.
This commit:
* Adds a boolean feature flag to use Contentful data directly.
Closes FXA-9062
Because:
- SENTRY_TRACES_SAMPLE_RATE was having no effect
This Commit:
- Fixes oversight where sample rate wasn't being copied into the config sent to client side
- Stops defaulting tracesSampleRate to 1.0, since this could result in quota exhaustion
Because:
* Want to migrate Nx to latest
This commit:
* Migrate nx to 18 using nx cli migrate latest
* Readd a few dev dependancies back into packages/**/package.json
* Behavior of `npx nx...` commands seems to have changed, resulting in
multiple "command not found: <library>" errors, where <library>
refers to libaries used in packages/**/package.json scripts, such as
tailwindcss, tsc-alias, nx, etc.
* Updates nx cache location for Circle CI
Closes #FXA-8880
Because:
- We want to support V2 key stretching
- We want to enable V2 key stretching via and experiment
This Commit:
- Adds support to fxa-auth-client so that it can run in either V1 or V2 key stretching mode
- Adds experiment to toggle on and off V2 key stretching
- Updates content server to apply V2 key stretching when experiment is enabled, or `quickstretch=2` is in url
- Updates settings to apply V2 key stretching when experiment is enabled, or `quickstretch=2` is in url
- Updates graphql-server to support V2 key stretching parameters
- Adds functional test coverage to ensure that all combinations of V1 and V2 key stretch user flows are compatible.
- Ensures that the keyStretchToken and uwrapBKey are sent to firefox depending on which key stretch version was used
Because:
* We should now be able to use the API location ref.
* We want to use the right group name.
This commit:
* Updates the backstage files to use the new API location ref.
* Updates the backstage files to use the right group name.
Because:
* We want to test Backstage for software catalog uses.
This commit:
* Adds a catalog-info.yaml file to the root of the repo, with individual
entries for each package.
Because:
* Some RPs (currently only Moz Social) would like to know if users were at least 18 at time of account registration to prevent asking users a second time if we've already confirmed at COPPA check that they are at least 18
This commit:
* Adds a new atLeast18AtReg column in the account database, with default set to null for existing accounts
* At account registration via backbone or React, checks if the submitted age is at least 18 and store the response as a boolean value (we do not store the exact age)
* Makes this value available to RPs at the v1/profile endpoint via account/profile
Closes #FXA-8751
- We want to see performance metrics in Sentry
- We want to see traces in Sentry
- We still want to see otel traces in GCP (jaeger locally)
This pull request
- Sets the Sentry instrumenter to otel for server side sentry configs
- Converts otel traces to Sentry traces
- Propagates otel traces to Sentry
- Adds fxa-shared/monitoring
- Cleans up initialization for sentry and tracing
- Makes SURE sentry and otel are initialized first! (This is important! The order matters here!)
- Upgrades sentry npm packages
- Upgrades otel npm packages
- Puts these packages dependencies in the root package.json
Because:
* We want to move shared deps to the root package.json
This commit:
* Removes packages from several package.jsons as they are already present in root.json
* Moves @apollo/client to root package.json
Because:
* We want to use the latest graphql dependency
This commit:
* Updates GQL dep and all packages relying on it
* Moves some dependencies to root package.json
* Removes a couple of deps we aren't using
* Addresses breaking changes, updates related tests and mocks
* Fixes type errors
* Prettifies contentful autogenerated files
closes FXA-8489
Co-authored-by: Ben Bangert <100193+bbangert@users.noreply.github.com>
Co-authored-by: Julian Poyourow <julianpoyo@gmail.com>
Co-authored-by: Reino Muhl <reino.muhl@gmail.com>