Commit Graph

9043 Commits

Author SHA1 Message Date
Daniel Clayton a9bede36e1 docs(plugins): add GH OAuth to github-actions docs
In order for GitHub Actions plugin to work, the GitHub OAuth application must be created at the organization level. Updated docs to assist others that may run into any issues related to this.

Signed-off-by: Daniel Clayton <dclayton@godaddy.com>
2022-01-21 12:47:16 -07:00
Eric Peterson f869d916a8 Merge pull request #9058 from backstage/techdocs/copy-code-to-clipboard
[TechDocs] Emulate mkdocs-material copy-to-clipboard functionality.
2022-01-21 12:50:56 +01:00
Patrik Oldsberg 59e34e4038 Merge pull request #9070 from backstage/rugvip/deproute
explore,catalog-graph: use entityRouteRef directly
2022-01-21 12:32:56 +01:00
Emma Indal 2f0d3d3278 [Home] forward classes to HomePageSearchBar instead of using className (#9049)
* override styles

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update api report

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* forward classes instad of using className

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update changeset breaking change, add instructions

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-01-21 12:24:23 +01:00
Patrik Oldsberg a3c4438abf explore,catalog-graph: use entityRouteRef directly
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-21 01:26:36 +01:00
Patrik Oldsberg da4c50f124 release tech-insights-backend 0.2.1
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-20 21:47:10 +01:00
Patrik Oldsberg ad0a7eb088 tech-insights-backend: fixed type assignment
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-20 21:44:47 +01:00
Eric Peterson a64f99f734 Emulate mkdocs-material copy-to-clipboard functionality.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-20 16:14:59 +01:00
Fredrik Adelöw a370706a18 Merge pull request #9045 from kim5566/k8s/use-default-kubeconfig
Kubernetes plugin:  Loading default Kube configuration
2022-01-20 13:40:19 +01:00
github-actions[bot] 8b18d054f3 Version Packages 2022-01-20 10:33:31 +00:00
Fredrik Adelöw 4918be78b0 Merge pull request #8769 from backstage/freben/techdocs-clients
Some more usage of the `FetchApi`
2022-01-20 11:25:56 +01:00
Patrik Oldsberg 0577f29a13 Merge pull request #8931 from backstage/rugvip/entityrr
catalog-react: deprecate catalogRouteRef and deduplicate entityRouteRef
2022-01-20 11:11:21 +01:00
Fredrik Adelöw 6be95e308f Merge pull request #9048 from backstage/revert-8987-dependabot/npm_and_yarn/helmet-5.0.1
Revert "build(deps): bump helmet from 4.4.1 to 5.0.1"
2022-01-20 11:00:39 +01:00
Patrik Oldsberg 1fb1555145 Merge pull request #9043 from backstage/rugvip/full-refal-panic
auth-backend: make sure userEntityRef is always a full entity ref
2022-01-20 11:00:18 +01:00
Fredrik Adelöw fb565073ec implement injectIdentityAuth
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:25:22 +01:00
Fredrik Adelöw 19ea047412 use a one-argument constructor instead of setters
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:25:22 +01:00
Fredrik Adelöw 6bf7826258 add and use MockFetchApi
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:25:20 +01:00
Fredrik Adelöw aecfe4f403 same for the scaffolder
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:23:39 +01:00
Fredrik Adelöw 88a0a4ee6a Make the techdocs APIs use the FetchApi
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:23:39 +01:00
Fredrik Adelöw 795e13be49 Merge pull request #8972 from backstage/catalog-permission-integration/unregister-entity
Disable unregister entity button in catalog if unauthorized
2022-01-20 10:23:15 +01:00
Fredrik Adelöw 72c51e8483 Merge pull request #9046 from kim5566/k8s/google-service-account-authprovider
Kubernetes plugin: Add a Google Service Account auth provider
2022-01-20 10:17:15 +01:00
Fredrik Adelöw a8e6265109 Revert "build(deps): bump helmet from 4.4.1 to 5.0.1"
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:02:55 +01:00
Patrik Oldsberg f8496730ab auth-backend: make sure userEntityRef is always a full entity ref
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-20 10:01:34 +01:00
Ben Lambert 452afde031 Merge pull request #9038 from backstage/blam/scaffolder-secrets
scaffolder: Support supplying secrets at Task Creation
2022-01-20 09:28:37 +01:00
Fredrik Adelöw 444175b7a4 Merge pull request #8987 from backstage/dependabot/npm_and_yarn/helmet-5.0.1
build(deps): bump helmet from 4.4.1 to 5.0.1
2022-01-20 09:13:35 +01:00
blam 7e76e7dc12 chore: adjusting the types a little bit and regenerating api-docs
Signed-off-by: blam <ben@blam.sh>
2022-01-20 09:02:46 +01:00
kim5566 8cd1d9033d add new googleServiceAccount authProvider
Signed-off-by: kim5566 <28945404+kim5566@users.noreply.github.com>
2022-01-20 13:55:52 +11:00
kim5566 120c133e3b if serviceAccountToken not provided use default
Signed-off-by: kim5566 <28945404+kim5566@users.noreply.github.com>
2022-01-20 09:45:09 +11:00
blam 783c435e46 api-docs: regenerate reports for scaffolder and changes
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:38:10 +01:00
blam 8181b34c89 chore: set the secrets type as TaskSecrets
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:20:19 +01:00
blam 2d4ef2b78e chore: secrets are removed when claiming the task
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:13:32 +01:00
Fredrik Adelöw ce5edcbc05 Merge pull request #8973 from benlangfeld/patch-2
Bump @asyncapi/react-component for CVE
2022-01-19 18:07:03 +01:00
blam 128a489ba0 chore: delete the secrets when claiming the task so we don't store anything locally
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:18:30 +01:00
blam d19c88a9e4 chore: moving the catalog register to use backstageToken instead from the secrets
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:13:59 +01:00
blam f999b4063a chore: deprecating the token that's passed through to the context and using ctx.secrets.backstageToken instead
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:11:45 +01:00
blam c3a28a46fc chore: deprecating the token field and renaming to backstageToken as token is far too generic
Signed-off-by: blam <ben@blam.sh>
2022-01-19 16:43:45 +01:00
blam 8100abfde2 feat: adding the option to pass secrets from the frontend from the ScaffolderApiClient
Signed-off-by: blam <ben@blam.sh>
2022-01-19 16:43:12 +01:00
Patrik Oldsberg 3d87019269 catalog-react: route ref deprecations + deduplication and docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-19 16:37:08 +01:00
Patrik Oldsberg 8a6950b822 bazaar: stop using catalogRouteRef
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-19 16:37:08 +01:00
Patrik Oldsberg 1285c2fe60 org: switched catalog index route to use an external route ref
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-19 16:37:07 +01:00
Ben Langfeld 0c0d8a47e7 Bump @asyncapi/react-component for CVE
[CVE-2022-21680](https://github.com/advisories/GHSA-rrrm-qjm4-v8hf) and [CVE-2022-21681](https://github.com/advisories/GHSA-5v2h-r2cx-5xgj)

See https://github.com/asyncapi/asyncapi-react/pull/522

Signed-off-by: Ben Langfeld <blangfeld@powerhrg.com>
2022-01-19 12:30:51 -03:00
elonj 8143d941b8 ids will be name
Signed-off-by: elonj <elonj@spotify.com>
2022-01-19 10:04:51 -05:00
elonj b7c1bb21ad fixed GithubAuth tests
Signed-off-by: elonj <elonj@spotify.com>
2022-01-19 10:04:41 -05:00
elonj d0ad9ebe22 auth providers will return entity ref as "sub" value
Signed-off-by: elonj <elonj@spotify.com>
2022-01-19 10:04:18 -05:00
Joon Park 6ba478138d Refactor useEntityPermission
Signed-off-by: Joon Park <joonp@spotify.com>
2022-01-19 14:37:21 +00:00
Fredrik Adelöw 835b2da52a Merge pull request #8967 from djamaile/master
chore(catalog): export RelatedEntitiesCard component
2022-01-19 14:59:57 +01:00
Fredrik Adelöw 3a5eba9464 fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-19 14:06:29 +01:00
Ben Lambert 2e903d91af Merge pull request #9025 from backstage/blam/fix-todo-plugin-readme
todos: fix typo in README.md
2022-01-19 12:53:47 +01:00
djamaile 440c534dd8 chore: change exported component name
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-01-19 12:34:15 +01:00
Fredrik Adelöw 94c0026640 Merge pull request #9022 from mufaddal7/fix/newrelic-dashboard
Fix/newrelic dashboard
2022-01-19 12:12:49 +01:00