Commit Graph

5797 Commits

Author SHA1 Message Date
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
Joe Porpeglia 4431873583 Add changeset
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
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
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
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
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
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] c54ce828bd build(deps): bump eslint-plugin-jest from 25.3.4 to 26.1.2
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 25.3.4 to 26.1.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v25.3.4...v26.1.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 04:10:05 +00:00
Fredrik Adelöw 3603de03f4 Merge pull request #10264 from backstage/freben/template-readmes
add readmes in the original packages and plugins folders
2022-03-22 20:38:59 +01:00
Fredrik Adelöw b6fbd2e594 Merge pull request #10071 from Erog38/feature/insights-tasks
updating backend-tasks and tech-insights to work together
2022-03-22 19:59:52 +01:00
Fredrik Adelöw c07d9f9e1c add readmes in the original packages and plugins folders
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-22 19:39:00 +01:00
MT Lewis 5cae989714 test-utils: remove unnecessary changeset
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
Mike Lewis 9cbb270aef permissions: add a discriminator type to Permission
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
Mike Lewis ada4446733 permission-common: use createCondition helper when creating conditions
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
Mike Lewis 899d38ea68 permission-common: add utility types for creating and refining Permissions
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
Mike Lewis 95284162d6 permission-common: introduce ResourcePermission type
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
Fredrik Adelöw c1cfe0db30 review updates
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-22 19:24:05 +01:00
Ben Lambert 05d345f20c Merge pull request #10365 from backstage/blam/bump-knex-in-create-app
Remove `knex` in `@backstage/create-app`
2022-03-22 14:58:07 +01:00
Phil Gore ab008a0988 update changesets for updated packages
Signed-off-by: Phil Gore <pgore@ea.com>
2022-03-22 14:48:18 +01:00
Phil Gore 231fee736b updating tasks and tech-insights to work together
Signed-off-by: Phil Gore <pgore@ea.com>
2022-03-22 14:48:17 +01:00
mufaddal motiwala 44766e8f67 md fix
Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
Signed-off-by: Shivam bisht <shvmbisht@gmail.com>
2022-03-22 18:32:50 +05:30
Shivam bisht 2a7d52ca2c Added changeset
Signed-off-by: Shivam bisht <shvmbisht@gmail.com>
2022-03-22 18:32:49 +05:30
blam ba485edc23 chore: reworking knex package
Signed-off-by: blam <ben@blam.sh>
2022-03-22 13:52:35 +01:00
github-actions[bot] ad955c1b1b Version Packages (next) 2022-03-22 12:28:03 +00:00
blam 0e911394d2 chore: changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-22 11:00:38 +01:00
Camila Belo 2f04424190 Merge pull request #10311 from backstage/techdocs-fix-permalink-scrolling
[TechDocs] Fix permalink scrolling
2022-03-22 07:35:24 +01:00
MT Lewis e0e15f3169 jenkins-backend: add backticks to changeset
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-03-21 18:12:17 -04:00
Mike Lewis 71f8708f00 jenkins: make resourceRef required in JenkinsApi#buildProject
This method is only called in one place outside tests, and the
resourceRef is guaranteed to be set there, so we can tighten this
typing up a bit to make the value mandatory.

This class is not exported by the package, so this can be shipped as
a patch change.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-21 18:12:17 -04:00
Fredrik Adelöw 3d15619d49 Merge pull request #10287 from AaronvDiepen/master
Implement code changes as suggested by analysis tools
2022-03-21 19:51:32 +01:00
Fredrik Adelöw 19f693eeb1 Merge pull request #10315 from alexrybch/plugin-fetch-api
RequestInit instead of Request in PluginProtocolResolverFetchMiddleware
2022-03-21 17:33:42 +01:00
Fredrik Adelöw b6af1b73fc Merge pull request #10061 from backstage/blam/next-scaffolder-frontend
Introduce the `next` scaffolder frontend
2022-03-21 17:01:54 +01:00
Fredrik Adelöw c0e9864d27 Merge pull request #10244 from backstage/dependabot/npm_and_yarn/ajv-8.10.0
build(deps): bump ajv from 7.0.3 to 8.10.0
2022-03-21 16:40:54 +01:00
Patrik Oldsberg f588a145a6 Merge pull request #10138 from backstage/rugvip/add-deps
cli: add experimental package fix command
2022-03-21 15:07:30 +01:00
Fredrik Adelöw 43d323c917 Merge pull request #10325 from backstage/freben/providers
Add to contrib: `ImmediateEntityProvider`, `LoadTestingEntityProvider`
2022-03-21 14:28:11 +01:00
Fredrik Adelöw 2cc1d1b235 apply fix here too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-21 13:53:35 +01:00
Johan Haals 03a65c7c3d Merge pull request #10318 from awanlin/topic/improve-tech-insights-documentation
Improved Tech-Insights documentation
2022-03-21 10:37:02 +01:00
Ben Lambert 5ca72f716a Merge pull request #10238 from RoadieHQ/add-external-id-to-s3-integration
Add external ID to S3 integration
2022-03-21 10:34:51 +01:00
dependabot[bot] e0a51384ac build(deps): bump ajv from 7.0.3 to 8.10.0
Bumps [ajv](https://github.com/ajv-validator/ajv) from 7.0.3 to 8.10.0.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v7.0.3...v8.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 10:32:49 +01:00
Patrik Oldsberg 948a56f401 cli: add list-deprecations command
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-20 12:05:22 +01:00
Fredrik Adelöw 95408dbe99 Add to contrib: ImmediateEntityProvider, LoadTestingEntityProvider
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-19 16:13:14 +01:00
Patrik Oldsberg 9a86b65359 cli: rename add-deps to package fix
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-19 10:22:29 +01:00