Commit Graph

9831 Commits

Author SHA1 Message Date
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
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
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 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
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
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 f2b4b747a6 chore: removing deprecated routeRefs from catalog-react
Signed-off-by: blam <ben@blam.sh>
2022-03-01 11:57:36 +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
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
Emma Indal b67a5a6af9 Merge pull request #9730 from backstage/emmaindal/techdocs-api-report 2022-02-25 17:23:04 +01:00
blam 5c7f2343ea chore: port the fix back to mainline
Signed-off-by: blam <ben@blam.sh>
2022-02-25 16:42:40 +01:00
blam 6c66fe1130 bug: repoUrl does not have a protocol
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2022-02-25 16:39:27 +01:00
blam bc0d510b8e chore: updating api-report and fixing code review comments
Signed-off-by: blam <ben@blam.sh>
2022-02-25 16:04:49 +01:00
Johan Haals 4ed5ce5061 publish alpha types
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-25 15:54:28 +01:00
Johan Haals e26fd1c7ab catalog-react: mark useEntityPermission as alpha
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-25 15:41:53 +01:00
Johan Haals 8f0e8e039b catalog-react: Deprecate getEntityMetadataViewUrl and getEntityMetadataEditUrl
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-25 15:34:36 +01:00
Fredrik Adelöw f4ca12ce01 Merge pull request #9811 from shyamajp/patch-1
Update GA module instructions with CSP
2022-02-25 15:23:39 +01:00
Fredrik Adelöw e755099384 Merge pull request #9809 from niallmccullagh/fix-catalog-graph-dev
Fix route ref issue for catalog entity
2022-02-25 15:23:30 +01:00
Fredrik Adelöw c865d82363 Merge pull request #9815 from RoadieHQ/increase-scaffolder-octokit-timeout
Set timeout for scaffolder octokit client
2022-02-25 15:23:15 +01:00
Nicolas Arnold 2974c56168 Set timeout as const variable per comments
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2022-02-25 14:03:17 +00:00
Fredrik Adelöw 123019673b fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-25 14:59:23 +01:00
Niall McCullagh 622b2d06cd Fix route ref issue for catalog entity
Signed-off-by: Niall McCullagh <niallmccullagh@users.noreply.github.com>
2022-02-25 14:57:02 +01:00
Nicolas Arnold 1f0fc6db69 Changing the timeout value to 60_000
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2022-02-25 13:56:48 +00:00
Emma Indal 2f96848ee9 update tests for TechDocsIndexPage
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:52:29 +01:00
Nicolas Arnold d6deb5e440 Set timeout for scaffolder octokit client
If a client fails to contact github (or the network connectivity is bad), there is no reasonible timeout for the Octokit client.

This change here adds a default timeout of 60 seconds

Here is a link to the octokit type definition: https://github.com/octokit/types.ts/blob/master/src/RequestRequestOptions.ts

Signed-off-by: Nicolas Arnold <nic@roadie.io>
2022-02-25 13:35:13 +00:00