Commit Graph

21718 Commits

Author SHA1 Message Date
Fredrik Adelöw ec60bc64a9 Merge pull request #9017 from backstage/dependabot/npm_and_yarn/types/dockerode-3.3.1
chore(deps): bump @types/dockerode from 3.3.0 to 3.3.1
2022-01-19 06:35:05 +01:00
Fredrik Adelöw 3259b08078 Merge pull request #9019 from backstage/dependabot/npm_and_yarn/acuris/aws-es-connection-2.3.0
chore(deps): bump @acuris/aws-es-connection from 2.2.0 to 2.3.0
2022-01-19 06:33:36 +01:00
Fredrik Adelöw bb8773073d Merge pull request #9020 from backstage/dependabot/npm_and_yarn/testcontainers-8.2.0
chore(deps): bump testcontainers from 8.1.2 to 8.2.0
2022-01-19 06:32:40 +01:00
Fredrik Adelöw c67b1bdb03 Merge pull request #9021 from backstage/dependabot/npm_and_yarn/types/nunjucks-3.2.1
chore(deps-dev): bump @types/nunjucks from 3.2.0 to 3.2.1
2022-01-19 06:31:52 +01:00
dependabot[bot] 6da99cedf6 chore(deps-dev): bump @types/nunjucks from 3.2.0 to 3.2.1
Bumps [@types/nunjucks](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nunjucks) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/nunjucks)

---
updated-dependencies:
- dependency-name: "@types/nunjucks"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:39:25 +00:00
dependabot[bot] 8a47851284 chore(deps): bump testcontainers from 8.1.2 to 8.2.0
Bumps [testcontainers](https://github.com/testcontainers/testcontainers-node) from 8.1.2 to 8.2.0.
- [Release notes](https://github.com/testcontainers/testcontainers-node/releases)
- [Commits](https://github.com/testcontainers/testcontainers-node/compare/v8.1.2...v8.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:37:39 +00:00
dependabot[bot] b9084ed6fe chore(deps): bump @acuris/aws-es-connection from 2.2.0 to 2.3.0
Bumps [@acuris/aws-es-connection](https://github.com/mergermarket/acuris-aws-es-connection) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/mergermarket/acuris-aws-es-connection/releases)
- [Commits](https://github.com/mergermarket/acuris-aws-es-connection/commits)

---
updated-dependencies:
- dependency-name: "@acuris/aws-es-connection"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:35:47 +00:00
dependabot[bot] 476c05a6bd chore(deps-dev): bump lint-staged from 11.1.2 to 12.2.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.1.2 to 12.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.1.2...v12.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:32:54 +00:00
dependabot[bot] ee083012f9 chore(deps): bump @types/dockerode from 3.3.0 to 3.3.1
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:17:53 +00:00
blam 4b42944ca0 chore: small fix not to remove the label if the author was the last event to the issues
Signed-off-by: blam <ben@blam.sh>
2022-01-18 22:46:08 +01:00
Ben Lambert d5f2f907a7 Merge pull request #9012 from backstage/blam/goalie-workflows
Use PR target for higher permissions
2022-01-18 22:25:06 +01:00
blam 0c3641fc84 chore: added a noite around the repo token
Signed-off-by: blam <ben@blam.sh>
2022-01-18 22:10:56 +01:00
Patrik Oldsberg 77416d04f7 Merge pull request #9011 from backstage/rugvip/capd
create-app: switch peer dep range to empty
2022-01-18 21:55:10 +01:00
blam e2a8331c60 chore: use GITHUB_TOKEN
Signed-off-by: blam <ben@blam.sh>
2022-01-18 21:46:43 +01:00
blam 2c2695cc1a chore: some small changes to try and get the workflow running properly
Signed-off-by: blam <ben@blam.sh>
2022-01-18 21:45:19 +01:00
Iain Billett 0e76e264e9 Return undefined rather than an empty string
Signed-off-by: Iain Billett <iain@roadie.io>
2022-01-18 18:32:19 +00:00
Kamil Zainal 520332da27 Update to reflect rename
Signed-off-by: Kamil Zainal <gh@akza.dev>
2022-01-18 18:24:44 +00:00
Kamil Zainal f8af53571d Alter changeset to reflect changes local to the package
Signed-off-by: Kamil Zainal <gh@akza.dev>
2022-01-18 18:22:03 +00:00
Juan Pablo Garcia Ripa 59732bb11f fix api-report changes
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2022-01-18 19:20:55 +01:00
Kamil Zainal 027bc50cc5 Rename registerComponent to registerApi to better communicate intent
Signed-off-by: Kamil Zainal <gh@akza.dev>
2022-01-18 18:12:36 +00:00
Juan Pablo Garcia Ripa 48d75dcc2a fix api report
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2022-01-18 19:11:33 +01:00
Patrik Oldsberg 5324ccaa8e create-app: switch peer dep range to empty
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-18 19:10:00 +01:00
Iain Billett f45e99e5da Changeset
Signed-off-by: Iain Billett <iain@roadie.io>
2022-01-18 18:09:14 +00:00
Iain Billett 2030b5e80d Return an empty token where an installation owner is not allowed
While this is less obvious to the user this facilitates anonymous access
to (public) files where the app is installed but the owner is not in the
allowed list.

Signed-off-by: Iain Billett <iain@roadie.io>
2022-01-18 18:02:47 +00:00
Juan Pablo Garcia Ripa 1523926507 add documentation and changeset
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2022-01-18 18:58:51 +01:00
Fredrik Adelöw 5387ea8f0d Merge pull request #9007 from backstage/blam/goalie-workflows
chore: split the goalie workflows for permissions
2022-01-18 18:54:46 +01:00
Patrik Oldsberg a724d38208 Merge pull request #9000 from backstage/rugvip/noignore
remove usage of @ts-ignore
2022-01-18 18:46:28 +01:00
Joe Porpeglia ffa0ecfac4 Remove unused dependency
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 597f7a604d Update changeset
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia ca2ee182c3 Add changeset
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia f911a60baf Update api-report
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia cd3c5b132e Update package exports to align with ADR004
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia ccaa50511f Make getCacheKey sync
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 63e8b8605e Disable catalog permission middleware unless permission.enabled = true
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 17ebcb09cd Refactor router tests
Adds a `createApp` helper instead of creating the express app in `beforeEach`. This allows tests to mock behavior of router creation, like toggling certain middleware based on config values.

Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia f1918143e5 Compute cache keys from tokens instead of user entity refs
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia e9857d0b82 Remove 403 handling logic
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia d9afa2e882 Add tests to verify /static/docs behavior
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia c2f54048d1 Use catalog: prefix for catalog entity cache
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 413c9fab08 Cancel cache read if it takes too long
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia f5598677bf Set cache value asynchronously
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 45f37c9835 Use CachedEntityLoader in techdocs router
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 7dcc6b1fe6 Add CachedEntityLoader for techdocs
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia b76fec242d Verify access to related catalog entities for all techdocs api routes
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
Co-authored-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2022-01-18 12:43:35 -05:00
blam ec33c21c9d chore: make the workflows pretty
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:33:21 +01:00
blam 0163fb056f chore: run the goalie Workflow
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:31:19 +01:00
blam c6946dedbe chore: missed the Codeowners
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:24:29 +01:00
blam e23c2463d5 chore: move out script into one file instead because args were too long
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:22:44 +01:00
blam 5cefc14d51 chore: more comment removal?
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:11:08 +01:00
blam 1129e3d1bc chore: remove some comments and maybe it works?
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:07:28 +01:00