dependabot[bot]
bf9ea11b3e
build(deps): bump eslint from 8.10.0 to 8.11.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.10.0 to 8.11.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.10.0...v8.11.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 10:48:27 +00:00
Fredrik Adelöw
8dfaa20c52
Merge pull request #10410 from backstage/dependabot/npm_and_yarn/spotify/eslint-config-typescript-13.0.0
...
build(deps): bump @spotify/eslint-config-typescript from 12.0.0 to 13.0.0
2022-03-24 11:45:06 +01:00
Patrik Oldsberg
3a18c0732c
Merge pull request #10409 from backstage/rugvip/tweaks
...
workflow: tweak changeset feedback to work with forks
2022-03-24 09:49:12 +01:00
dependabot[bot]
ecd72391fb
build(deps): bump @spotify/eslint-config-typescript
...
Bumps [@spotify/eslint-config-typescript](https://github.com/spotify/web-scripts ) from 12.0.0 to 13.0.0.
- [Release notes](https://github.com/spotify/web-scripts/releases )
- [Changelog](https://github.com/spotify/web-scripts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotify/web-scripts/compare/v12.0.0...v13.0.0 )
---
updated-dependencies:
- dependency-name: "@spotify/eslint-config-typescript"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 04:09:00 +00:00
Patrik Oldsberg
918d695c62
workflows: make sure no existing feedback generate script exists
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-24 00:17:04 +01:00
Patrik Oldsberg
8943792a3f
workflows: avoid running changeset feedback on bot PRs altogether
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 23:59:08 +01:00
Patrik Oldsberg
e704667f01
workflows: switch changeset feedback to pull_request_target
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 23:59:08 +01:00
Joe Porpeglia
4431873583
Add changeset
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-03-23 16:07:10 -04:00
Joe Porpeglia
c84d4ad373
Fix usePermission usage
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-03-23 16:07:10 -04:00
MT Lewis
3e0bbeda8b
permission-react: fix usePermission tests
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 16:07:10 -04:00
MT Lewis
8c6129d3e0
permission-react: inline parameter type to clean up the api report a bit
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 16:07:10 -04:00
Joe Porpeglia
91703e8086
permission-react: use object instead of tuple for usePermission args
...
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com >
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-03-23 16:07:10 -04:00
MT Lewis
d88b5b3009
permission-react: fix changeset typo
...
Co-authored-by: Joe Porpeglia <josephp@spotify.com >
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 16:07:10 -04:00
Mike Lewis
5bdcb8c45d
permission-react: more restrictive typing for usePermission and PermissionedRoute
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2022-03-23 16:07:10 -04:00
MT Lewis
9da18e4715
search: throw error for unexpected non-resource permissions when authorizing result-by-result
...
We only reach this point in the code for types where the initial
authorization returned CONDITIONAL -- ALLOWs return early immediately
above, and types where the decision was DENY get filtered out entirely
when querying.
This means the call to isResourcePermission here is mostly about
narrowing the types, since the only way for it to be false is if the
PermissionPolicy returned a CONDITIONAL decision for a non-resource
permission, which can't happen - it would throw an error during
validation in the permission-backend.
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 15:58:42 -04:00
Mike Lewis
30f9884359
search: check for non-resource permissions when authorizing results
...
Now that we can differentiate between ResourcePermissions and other
kinds of permissions, we can skip authorizing result-by-result
when the permission for a given document type is not a
ResourcePermission.
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2022-03-23 15:58:42 -04:00
Joe Porpeglia
1e0dbd4fb5
Add todo
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-03-23 14:25:14 -04:00
MT Lewis
146ea2117b
catalog-common: mention that CatalogEntityPermission type is alpha in changeset
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 14:25:14 -04:00
Mike Lewis
8cb7acd781
catalog-react: stop using CatalogEntityPermission convenience type
...
There's currently an issue with importing alpha exports from other
packages in the monorepo. This works around the issue for now by
skipping the use of the `CatalogEntityPermission` convenience type,
using `ResourcePermission<'catalog-entity'>` directly instead.
cf. https://github.com/backstage/backstage/pull/10128
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2022-03-23 14:25:14 -04:00
Mike Lewis
0ffd88a90e
catalog-react: require CatalogEntityPermission in useEntityPermission
...
Now that we have stricter typing for permissions, we can restrict the
useEntityPermission hook to only be used with permissions of type
`CatalogEntityPermission`.
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2022-03-23 14:25:14 -04:00
Mike Lewis
8c8bee47f4
catalog-common: add CatalogEntityPermission convenience type
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2022-03-23 14:25:14 -04:00
Fredrik Adelöw
6a8c4251a1
Merge pull request #10291 from RoadieHQ/allow-customizing-default-catalog-component
...
Expose initialFiliter from Catalog Page
2022-03-23 17:03:36 +01:00
Patrik Oldsberg
0c7c7ea870
Merge pull request #10398 from backstage/rugvip/tweaks
...
workflows: switch changeset feedback back to service account
2022-03-23 15:32:09 +01:00
Johan Haals
4366dfffb8
Merge pull request #10386 from backstage/dependabot/npm_and_yarn/apollo-server-express-3.6.5
...
build(deps): bump apollo-server-express from 3.6.4 to 3.6.5
2022-03-23 15:28:24 +01:00
Patrik Oldsberg
a0941d5fc3
workflows: switch changeset feedback back to service account
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 15:23:45 +01:00
Fredrik Adelöw
7fae0c07e9
Merge pull request #10381 from backstage/dependabot/npm_and_yarn/eslint-plugin-jest-26.1.2
...
build(deps): bump eslint-plugin-jest from 25.3.4 to 26.1.2
2022-03-23 13:57:49 +01:00
Ben Lambert
7a672ea848
Merge pull request #10388 from backstage/blam/whoops-changeset
...
Adjust changeset version bump
2022-03-23 13:42:16 +01:00
Fredrik Adelöw
0b3e95b0c7
Merge pull request #10384 from backstage/dependabot/npm_and_yarn/spotify/eslint-config-base-13.0.0
...
build(deps): bump @spotify/eslint-config-base from 12.0.0 to 13.0.0
2022-03-23 13:31:50 +01:00
Patrik Oldsberg
ba8978e7cc
Merge pull request #10392 from backstage/rugvip/tweaks
...
workflows: more tweaks to the changeset feedback automation
2022-03-23 13:10:08 +01:00
Patrik Oldsberg
d392e27f5c
workflows: changeset feedback no longer breaks when changesets are removed
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 12:44:00 +01:00
Patrik Oldsberg
7cdc9ecc07
workflows: make changeset feedback diff only PR contents
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 12:43:34 +01:00
Patrik Oldsberg
70181cddd5
workflows: skip changeset feedback back to bot account
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 12:43:03 +01:00
Fredrik Adelöw
bac26e969a
Merge pull request #10389 from backstage/freben/minimist
...
bump past vulnerable minimist
2022-03-23 11:16:13 +01:00
Patrik Oldsberg
40c542d390
Merge pull request #10391 from backstage/rugvip/tweaks
...
workflows: changeset feedback automation tweaks
2022-03-23 11:07:20 +01:00
Patrik Oldsberg
11045d68a9
workflows: changeset feedback automation tweaks
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 11:03:10 +01:00
Fredrik Adelöw
78ebb414f1
Merge pull request #10376 from esttorhe/missing-cncf-data
...
Changes some missing references
2022-03-23 10:48:48 +01:00
Patrik Oldsberg
59317b38fa
Merge pull request #10371 from backstage/rugvip/changeset-feedback
...
workflows: add changeset feedback automation
2022-03-23 10:44:49 +01:00
Fredrik Adelöw
b58ce42200
bump past vulnerable minimist
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-23 10:38:14 +01:00
blam
1d1e052583
We are 1.x now, so it's minor changeset
...
Signed-off-by: blam <ben@blam.sh >
2022-03-23 10:05:51 +01:00
Ben Lambert
9792812e2d
Merge pull request #9859 from shvmbisht/add-default-commit-msg
...
Added default commit message
2022-03-23 10:02:36 +01:00
Patrik Oldsberg
660d4d4030
Merge pull request #10379 from backstage/dependabot/npm_and_yarn/azure/storage-blob-12.9.0
...
build(deps): bump @azure/storage-blob from 12.5.0 to 12.9.0
2022-03-23 09:28:52 +01:00
Patrik Oldsberg
666a14d6e3
Merge pull request #10380 from backstage/dependabot/npm_and_yarn/css-loader-6.7.1
...
build(deps): bump css-loader from 6.6.0 to 6.7.1
2022-03-23 09:28:05 +01:00
Suzanne Daniels
48c10307f9
Merge pull request #10316 from suuus/community-page
...
Adding Community hub for microsite
2022-03-23 08:52:49 +01:00
Suzanne Daniels
2e37989aa2
removing duplicated start lines
...
Signed-off-by: Suzanne Daniels <suzanned@spotify.com >
2022-03-23 08:34:39 +01:00
Johan Haals
b9d4c01638
Merge pull request #10383 from backstage/dependabot/npm_and_yarn/react-syntax-highlighter-15.5.0
...
build(deps): bump react-syntax-highlighter from 15.4.5 to 15.5.0
2022-03-23 07:29:39 +01:00
Johan Haals
d1f3871a5a
Merge pull request #10385 from backstage/dependabot/npm_and_yarn/gitbeaker/node-35.5.0
...
build(deps): bump @gitbeaker/node from 35.4.0 to 35.5.0
2022-03-23 07:28:33 +01:00
dependabot[bot]
803e4a99f0
build(deps): bump apollo-server-express from 3.6.4 to 3.6.5
...
Bumps [apollo-server-express](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-express ) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/apollographql/apollo-server/releases )
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-express@3.6.5/packages/apollo-server-express )
---
updated-dependencies:
- dependency-name: apollo-server-express
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-23 04:12:42 +00:00
dependabot[bot]
cb938e2b7f
build(deps): bump @gitbeaker/node from 35.4.0 to 35.5.0
...
Bumps [@gitbeaker/node](https://github.com/jdalrymple/gitbeaker ) from 35.4.0 to 35.5.0.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases )
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/35.4.0...35.5.0 )
---
updated-dependencies:
- dependency-name: "@gitbeaker/node"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-23 04:12:06 +00:00
dependabot[bot]
7e7ba704be
build(deps): bump @spotify/eslint-config-base from 12.0.0 to 13.0.0
...
Bumps [@spotify/eslint-config-base](https://github.com/spotify/web-scripts ) from 12.0.0 to 13.0.0.
- [Release notes](https://github.com/spotify/web-scripts/releases )
- [Changelog](https://github.com/spotify/web-scripts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotify/web-scripts/compare/v12.0.0...v13.0.0 )
---
updated-dependencies:
- dependency-name: "@spotify/eslint-config-base"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-23 04:11:52 +00:00
dependabot[bot]
fc4ac32bfe
build(deps): bump react-syntax-highlighter from 15.4.5 to 15.5.0
...
Bumps [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter ) from 15.4.5 to 15.5.0.
- [Release notes](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases )
- [Changelog](https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/CHANGELOG.MD )
- [Commits](https://github.com/react-syntax-highlighter/react-syntax-highlighter/compare/v15.4.5...15.5.0 )
---
updated-dependencies:
- dependency-name: react-syntax-highlighter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-23 04:10:52 +00:00