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

1397 Коммитов

Автор SHA1 Сообщение Дата
Dan Schomburg e3fe3ca31a
Merge pull request #17946 from mozilla/dependabot/npm_and_yarn/joi-17.13.3
chore(deps): bump joi from 17.8.3 to 17.13.3
2024-11-08 16:51:21 -08:00
dependabot[bot] 8c10fb5ac6
chore(deps): bump joi from 17.8.3 to 17.13.3
Bumps [joi](https://github.com/hapijs/joi) from 17.8.3 to 17.13.3.
- [Commits](https://github.com/hapijs/joi/compare/v17.8.3...v17.13.3)

---
updated-dependencies:
- dependency-name: joi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 06:59:14 +00:00
dependabot[bot] 82e7d176fc
chore(deps-dev): bump nyc from 15.1.0 to 17.1.0
Bumps [nyc](https://github.com/istanbuljs/nyc) from 15.1.0 to 17.1.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v15.1.0...nyc-v17.1.0)

---
updated-dependencies:
- dependency-name: nyc
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 06:58:44 +00:00
dependabot[bot] 45d4b3c1d4
chore(deps): bump rimraf from 5.0.0 to 6.0.1
Bumps [rimraf](https://github.com/isaacs/rimraf) from 5.0.0 to 6.0.1.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v5.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-04 06:33:17 +00:00
dependabot[bot] 1901ed1da2
chore(deps): bump aws-sdk from 2.1664.0 to 2.1691.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1664.0 to 2.1691.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1664.0...v2.1691.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 06:42:42 +00:00
Barry Chen 81c4761114
deps(sentry): upgrade Sentry to version 8
Because:
 - Sentry 8 is the latest version

This commit:
 - deletes some integration code since Sentry does it automatically
 - updates code to use the Sentry 8 API
 - updates a few proxyquire calls because they were cause module not
   found errors in CI
2024-09-25 12:31:19 -07:00
dependabot[bot] b1fe4d5e52
chore(deps): bump pm2 from 5.3.0 to 5.4.2
Bumps [pm2](https://github.com/Unitech/pm2) from 5.3.0 to 5.4.2.
- [Release notes](https://github.com/Unitech/pm2/releases)
- [Changelog](https://github.com/Unitech/pm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Unitech/pm2/compare/5.3.0...v5.4.2)

---
updated-dependencies:
- dependency-name: pm2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 07:12:07 +00:00
Reino Muhl a6f53a713f
Merge pull request #17333 from mozilla/fxa-10157-payments-sentry-logging
feat(payments): add sentry reporting to apiClient
2024-08-09 12:24:41 -04:00
Vijay Budhram 7bdf024bbd
feat(promo): Add conditional for ProductPromo for Mozilla Monitor Plus 2024-08-07 11:51:37 -04:00
Reino Muhl d89aae2caa
feat(payments): add sentry reporting to apiClient
Because:

- Unknown errors increased a few months ago, without any logging or
  reporting to Sentry.

This commit:

- For unknown API errors report an issue to Sentry.
- Update fxa-profile-server to allow additional Sentry headers, similar
  to auth-server

Closes #FXA-10157
2024-08-06 10:59:54 -04:00
Dan Schomburg 8b49aeb06b
Merge pull request #17261 from mozilla/FXA-10154
task(event-broker): Update profile-change event payload
2024-07-31 09:37:33 -07:00
dependabot[bot] 9275da91d9
chore(deps): bump aws-sdk from 2.1616.0 to 2.1664.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1616.0 to 2.1664.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1616.0...v2.1664.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 06:38:18 +00:00
dschom 12566d9fbe
task(event-broker): Update profile-change event payload 2024-07-25 14:00:43 -07:00
Reino Muhl 05d7265292
feat(many): add partial stack startup scripts
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
2024-06-04 11:41:51 -04:00
Ben Bangert 6512e182f9
Merge pull request #16908 from mozilla/dependabot/npm_and_yarn/aws-sdk-2.1616.0
chore(deps): bump aws-sdk from 2.1597.0 to 2.1616.0
2024-05-09 20:59:21 -07:00
Ben Bangert 787c59f68e
chore: use direct lodash imports for smaller bundle size
Because:

* We'd like to shrink our bundle size in advance of getting tree shaking
  functional.

This commit:

* Replaces full lodash import with specific functions used.
2024-05-09 17:10:32 -07:00
dependabot[bot] 4cdc582f54
chore(deps): bump aws-sdk from 2.1597.0 to 2.1616.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1597.0 to 2.1616.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1597.0...v2.1616.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 07:22:28 +00:00
dependabot[bot] e01d9fdd82
chore(deps): bump mocha and @types/mocha
Bumps [mocha](https://github.com/mochajs/mocha) and [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha). These dependencies needed to be updated together.

Updates `mocha` from 10.0.0 to 10.4.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.0.0...v10.4.0)

Updates `@types/mocha` from 8.2.2 to 10.0.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/mocha"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-18 07:15:45 +00:00
dependabot[bot] 673a1c25ba
chore(deps): bump aws-sdk from 2.1515.0 to 2.1597.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1515.0 to 2.1597.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1515.0...v2.1597.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 07:19:01 +00:00
dschom e7b4d56d48
bug(content): Fix SENTRY_TRACES_SAMPLE_RATE not being applied
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
2024-03-08 12:06:46 -08:00
dependabot[bot] bbfc0480e5
chore(deps-dev): bump nock from 13.3.0 to 13.5.1
Bumps [nock](https://github.com/nock/nock) from 13.3.0 to 13.5.1.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.0...v13.5.1)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 06:50:27 +00:00
Ben Bangert 58f184f306
fix(backstage): update db references, add gql API ref
[skip ci]

Because:

* We want to properly name cache vs. databases.
* We want to add the GraphQL API to the list of services.

This commit:

* Renames the database resources to cache resources.
* Adds the GraphQL API to the list of services.
2024-01-26 08:41:53 -08:00
Ben Bangert e4ae527c15
fix(backstage): use api ref now that its allowed
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.
2024-01-25 08:53:42 -08:00
Ben Bangert 8e07687c06
fix(backstage): update entity references
Because:

* Backstage wants entity references to include kind.

This commit:

* Add's missing kind to entity references.
2024-01-24 18:22:10 -08:00
Ben Bangert 19f9442474
Merge pull request #16259 from mozilla/feat/backstage-metadata-setup-1
feat(backstage): setup initial backstage metadata
2024-01-24 14:10:57 -08:00
Ben Bangert a7e69629e6
feat(backstage): setup initial backstage metadata
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.
2024-01-24 13:33:37 -08:00
Valerie Pomerleau e6d5833e9a
feat(auth): Add atLeast18AtReg value to account
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
2024-01-22 22:13:41 -08:00
dschom bd7629dc02
task(all): Add support for sentry performance monitoring 2023-12-19 16:05:05 -08:00
dependabot[bot] 03d26e0ee0
chore(deps): bump sharp from 0.32.6 to 0.33.0
Bumps [sharp](https://github.com/lovell/sharp) from 0.32.6 to 0.33.0.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.32.6...v0.33.0)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-13 06:19:00 +00:00
dschom 972e0c931b
task(all): Upgrade sentry
Because:
- We want to update sentry across the board

This Commit:
- Removes sentry packages in workspaces
- Adds sentry packages to root
2023-12-11 10:16:28 -08:00
dependabot[bot] 89cd3e2cca
chore(deps): bump aws-sdk from 2.1497.0 to 2.1515.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1497.0 to 2.1515.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1497.0...v2.1515.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 06:48:05 +00:00
dependabot[bot] ab871e5a81
chore(deps): bump sharp from 0.32.0 to 0.32.6
Bumps [sharp](https://github.com/lovell/sharp) from 0.32.0 to 0.32.6.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.32.0...v0.32.6)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 19:22:29 +00:00
Dan Schomburg efe165b988
Merge pull request #15974 from mozilla/FXA-8444
task(ci): Remove redis dev password from source
2023-11-06 14:07:10 -08:00
dschom 1e455ec9c8
task(ci): Remove redis dev password from source
Because:
- We are cleaning up stray password even those just used for dev

This Commit:
- Removes the dev password, fxa123, from source
2023-11-03 14:24:07 -07:00
dependabot[bot] 343116e62b
chore(deps): bump aws-sdk from 2.1397.0 to 2.1485.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1397.0 to 2.1485.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1397.0...v2.1485.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 06:15:14 +00:00
dschom 5efa994706
bug(profile): Fix server crash on unexpected response.
Because:
- If the response from the auth server contained no body. The profile server would crash and restart.

This Commit:
- Gracefully handles the scenario where the body is missing.
2023-09-29 09:44:19 -07:00
dschom 3f9efed1c8
task(many): Upgrade sentry and enable tracing
Because:
- We want to enable performance monitoring
- We want to upgrade sentry

This Commit:
- Upgrades sentry to the latest version
- Enables tracing by setting the tracesSampleRate to 1 by default.
- Tracing can be altered / disabled by setting SENTRY_TRACES_SAMPLE_RATE to a value between 0 and 1.
2023-09-13 10:39:43 -07:00
dschom d96797ae6a
task(CI): Improve nx caching for CI pipelines
Because:
- Not all CI operations where taking advantage of NX caches

This Commit:
- Adjusts nx.json config to ensure correct caching behavior
- Adjusts nx.json config to ensure proper target chains. ie build is dependent on pre-build
- Uses nx to directly run integration tests
- Uses nx to directly run unit tests
- Phases out dependency on generated .list files
- Ensures 'start up' for services for functional tests is done with nx and uses nx caches.
- Creates nx tags to facilitate test commands
- Fixes linter errors encountered
- Updates docker images to nx for builds
- Updates nx ignore files
2023-08-29 11:19:54 -07:00
dependabot[bot] f3c319cddc
chore(deps): bump aws-sdk from 2.1335.0 to 2.1397.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1335.0 to 2.1397.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1335.0...v2.1397.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 07:33:06 +00:00
dschom a32aa3dee0
fix(auth,profile): Fix missing event broker events
Because:
- Profile change events were not being emitted by the event broker
- Profile change events were not being tracked by grafana

This Commit:
- Fixes bad event names.
- Changes all occurrences of profileDataChanged to profileDataChange
- Adds metric and log for unknown events
2023-06-01 16:44:59 -07:00
Julian Poyourow 565ebb89c9
chore(build): initial nx implementation
Because:

* We want to introduce nx to the repository

This commit:

* Adds nx with working builds

Closes: FXA-7341

Co-authored-by: dschom <dschomburg@mozilla.com>
2023-05-23 08:37:47 -07:00
dependabot[bot] feb330f5d2
chore(deps): bump @hapi/inert from 7.0.0 to 7.1.0
Bumps [@hapi/inert](https://github.com/hapijs/inert) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/hapijs/inert/releases)
- [Commits](https://github.com/hapijs/inert/compare/v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: "@hapi/inert"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 07:15:08 +00:00
Dan Schomburg 9489d3eb3e
Merge pull request #15323 from mozilla/FXA-7081
chore(many): Remove npm run commands
2023-05-18 17:29:43 -07:00
Dan Schomburg e3300d6d52
Merge pull request #15293 from mozilla/FXA-7333
task(many): Investigate adding auth to redis connection
2023-05-17 11:28:49 -07:00
dschom ce114f7262
chore(many): Remove npm run commands
Because:
- We are cleaning up npm scripts in preparation for nx

This Commit:
- Replaces npm run with yarn
- Removes npm-run-all package
- Replaces npm install -g with yarn global add
- Updates references to npm install or npm run in readme files
2023-05-17 11:24:09 -07:00
Dan Schomburg 7a0938785a
Merge pull request #15271 from mozilla/zero-out-package-versions
task(all): Set package.json versions to 0.0.0
2023-05-16 10:44:10 -07:00
dependabot[bot] 4b9504891d
chore(deps): bump rimraf from 3.0.2 to 5.0.0
Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.2 to 5.0.0.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v3.0.2...v5.0.0)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 07:06:03 +00:00
dschom 15cdb39f27
task(all): Set package.json versions to 0.0.0
Because:
- We now dynamically generate package versions on deployment.

This Commit:
- Sets all workspaces packages to 0.0.0
2023-05-12 16:46:31 -07:00
dschom c7995188d0
task(many): Investigate adding auth to redis connection
Because:
- We want a poc that auth can be added to redis

This Commit:
- Configures all configs to support a redis password
- Sets the standard env for redis auth to REDIS_PASSWORD
- Creates a default redis password of 'fxa123' for local dev
- Starts redis container with --requirepass fxa123
2023-05-12 16:22:38 -07:00
Reino Muhl cc697622eb
Release 1.257.1 2023-05-02 16:31:41 -04:00