Commit Graph

9847 Commits

Author SHA1 Message Date
Ben Lambert 677081fb5d Merge pull request #9894 from backstage/blam/catalog/useEntityOwnershit
remove the `EntityName` codepath from the `useEntityOwnership` hook
2022-03-02 12:59:57 +01:00
Ben Lambert 81c3c81e33 Merge pull request #9872 from backstage/blam/catalog-deprecations
🧹 tidy up the `useEntity` hook, and introduce `useAsyncEntity`
2022-03-02 12:57:58 +01:00
MT Lewis a54f8ffe70 Merge pull request #9878 from backstage/catalog-common-alpha
catalog-common: mark permission-related exports as alpha
2022-03-02 11:47:37 +00:00
MT Lewis 5249f19a71 Merge pull request #9881 from backstage/catalog-create-permission-no-resource-type
catalog-common: remove resourceType from catalogEntityCreatePermission
2022-03-02 10:54:36 +00:00
blam 6ed51204ff chore: woops - api-report needed update
Signed-off-by: blam <ben@blam.sh>
2022-03-02 11:32:45 +01:00
Fredrik Adelöw abc66904b1 Merge pull request #9856 from backstage/freben/catalog-rearrange
Rearrange a bit inside the catalog backend
2022-03-02 11:05:49 +01:00
blam fd061e47ee chore: code review comments
Signed-off-by: blam <ben@blam.sh>
2022-03-02 10:38:10 +01:00
blam 2de1d82bd1 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-02 10:23:30 +01:00
MT Lewis da0675bf9f Merge pull request #9882 from backstage/add-permission-api-docs
permission-common: add apidocs for permission properties
2022-03-01 16:38:31 +00:00
Ben Lambert 50d3d1a3b2 Merge pull request #9855 from backstage/blam/fix-scaffolder-ui-schema-props
🧹 Removing the component exports for `CustomFieldExtensions` in `plugin-scaffolder`
2022-03-01 16:55:09 +01:00
Mike Lewis 81273e95cf catalog-common: mark permission-related exports as alpha
Marks all strictly permission-related exports in catalog-common as
alpha.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 14:39:09 +00:00
Ben Lambert 7a7be78234 Merge pull request #9880 from backstage/blam/catalog-route-refs
🧹 Clean up the routes in `catalog-react`
2022-03-01 15:36:53 +01:00
blam 141af65385 chore: fixing the api-report and clean up the types
Signed-off-by: blam <ben@blam.sh>
2022-03-01 15:34:47 +01:00
blam 8e1df15a95 chore: fix up the interface a little bit
Signed-off-by: blam <ben@blam.sh>
2022-03-01 15:32:04 +01:00
blam 194011ce84 chore: fixing up the types to actually be correct and use the returnValue types
Signed-off-by: blam <ben@blam.sh>
2022-03-01 15:27:58 +01:00
Mike Lewis 79b9d8a861 permission-common: add apidocs for permission properties
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 14:09:37 +00:00
Fredrik Adelöw 83a83381b0 rearrange
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-01 14:44:59 +01:00
Mike Lewis e3c2bfef11 catalog-common: remove resourceType from catalogEntityCreatePermission
The resourceType on permissions refers to the resource whose ref is
expected to be passed along with the permission during authorization.
This allows the permission-backend to make the decision based on
characteristics of the resource.

Since the entity being created by definition doesn't yet exist, it's
not correct for this permission to include a resourceType.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 13:42:49 +00:00
MT Lewis 5d342c7169 Merge pull request #9857 from backstage/catalog-backend-permission-alpha
catalog-backend: mark permission-related exports as alpha
2022-03-01 13:42:38 +00:00
Johan Haals 194c64b5b1 Merge pull request #9877 from backstage/jhaals/result-entityref
catalog-backend: Remove entityRef from CatalogProcessorRelationResult
2022-03-01 14:34:00 +01:00
Johan Haals 3415b7153e Merge pull request #9871 from backstage/jhaals/remove-handleError
catalog-backend: Remove catalogProcessor.handleError
2022-03-01 14:33:11 +01:00
Johan Haals 66a7c72f63 Merge pull request #9870 from backstage/jhaals/dep-BitbucketRepositoryParser
catalog-backend: inline and deprecate BitbucketRepositoryParser type
2022-03-01 14:32:52 +01:00
blam dd7e34b4b8 chore: added additional changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-01 14:04:44 +01:00
blam aa69677928 chore: fixing tests
Signed-off-by: blam <ben@blam.sh>
2022-03-01 14:03:08 +01:00
Mike Lewis e02960f30f catalog-backend: add alpha setup to package.json
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 12:56:42 +00:00
Johan Haals b19061a547 update api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 13:47:25 +01:00
Johan Haals 1f2dbbbeaa Merge pull request #9820 from backstage/jhaals/mark-useEntityPermission-alpha
catalog-react: mark useEntityPermission as alpha
2022-03-01 13:44:06 +01:00
Johan Haals 862e416239 catalog-backend: Remove entityRef from CatalogProcessorRelationResult
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 13:34:38 +01:00
blam 6fe5d70cac chore: fix up the changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-01 12:49:04 +01:00
blam f2b4b747a6 chore: removing deprecated routeRefs from catalog-react
Signed-off-by: blam <ben@blam.sh>
2022-03-01 11:57:36 +01:00
blam 44403296e7 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-01 11:39:49 +01:00
Johan Haals c85292b768 catalog-backend: Remove catalogProcessor.handleError
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 11:28:59 +01:00
blam babb280c77 chore: deprecate some of the loading things from useEntity and force entity to be present
Signed-off-by: blam <ben@blam.sh>
2022-03-01 11:27:37 +01:00
Johan Haals be68702834 catalog-backend: inline and deprecate BitbucketRepositoryParser type
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 11:13:28 +01:00
Johan Haals bb2bb36651 core-plugin-api: Remove deprecated get method from StorageApi
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 10:50:23 +01:00
Patrik Oldsberg 2638cd044c Merge pull request #9669 from backstage/rugvip/starred
catalog-react: move DefaultStarredEntitiesApi to catalog plugin + fixes
2022-03-01 10:47:21 +01:00
blam 2d5783aa5b chore: sort out the exporting
Signed-off-by: blam <ben@blam.sh>
2022-03-01 09:44:44 +01:00
Johan Haals 6fa174810f Merge pull request #9804 from backstage/jhaals/cleanup-auth
core-app-api: Remove deprecated auth ApiRefs
2022-03-01 09:39:34 +01:00
Mike Lewis 0c9cf2822d catalog-backend: mark permission-related exports as alpha
Marks all strictly permission-related exports in catalog-backend as
alpha. There are permission-related properties on other exports, so
this doesn't entirely protect us from future breaking changes, but
it will certainly reduce the number.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-02-28 18:38:04 +00:00
Patrik Oldsberg 303063a655 catalog-react: added MockStarredEntitiesApi + usage
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 17:33:28 +01:00
blam 2c5d38e337 chore: don't export the components that back the field extensions
Signed-off-by: blam <ben@blam.sh>
2022-02-28 16:19:05 +01:00
Patrik Oldsberg c077b432b8 catalog-react: moved DefaultStarredEntitiesApi implementation to catalog plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 13:52:46 +01:00
Patrik Oldsberg 03ec06bf7f catalog-react: refactor and fixes for DefaultStarredEntitiesApi
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 13:50:30 +01:00
Johan Haals 2d858b5c2a use experimental type build, include alpha types
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-28 10:48:09 +01:00
Johan Haals 31649fbd62 Merge pull request #9843 from backstage/dependabot/npm_and_yarn/react-text-truncate-0.18.0
chore(deps): bump react-text-truncate from 0.17.0 to 0.18.0
2022-02-28 10:35:19 +01:00
Camila Belo 78dab02156 feat(plugin-techdocs): add copy to clipboard feedback
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-28 09:54:04 +01:00
Johan Haals 5dcf41492f Merge pull request #9818 from backstage/jhaals/dep-getEntityMetadataViewUrl
catalog-react: Deprecate getEntityMetadataViewUrl and getEntityMetadataEditUrl
2022-02-28 09:45:25 +01:00
dependabot[bot] 64b430f80d chore(deps): bump react-text-truncate from 0.17.0 to 0.18.0
Bumps [react-text-truncate](https://github.com/ShinyChang/react-text-truncate) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/ShinyChang/react-text-truncate/releases)
- [Changelog](https://github.com/ShinyChang/React-Text-Truncate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ShinyChang/react-text-truncate/commits)

---
updated-dependencies:
- dependency-name: react-text-truncate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 04:11:12 +00:00
Ben Lambert 3b7a11e9c8 Merge pull request #9806 from backstage/blam/scaffolder/deprecations
🧹 some more `scaffolder` deprecations
2022-02-25 18:21:35 +01:00
Ben Lambert cf6fabdc20 Merge pull request #9823 from backstage/blam/port-fix-back
`repoUrl` doesn't have a protocol change to mainline
2022-02-25 18:21:15 +01:00