Commit Graph

23292 Commits

Author SHA1 Message Date
Patrik Oldsberg 561ee4746e Merge pull request #9369 from KaemonIsland/fix-workflow-run-details-error
Fix workflow run details error
2022-02-16 20:35:39 +01:00
Ben Lambert 450605cae6 Merge pull request #9580 from backstage/blam/deprecations/more
chore: removing `CatalogEntityClient` export from `scaffolder-backend`
2022-02-16 20:30:43 +01:00
Patrik Oldsberg 7d656a3b55 Merge pull request #9470 from backstage/dependabot/npm_and_yarn/types/aws4-1.11.1
chore(deps-dev): bump @types/aws4 from 1.5.2 to 1.11.1
2022-02-16 20:30:29 +01:00
Edgar Silva 2f1050ec10 Updated gitlab integration to include port
Updated integration module to allow for the use of a custom port, which
is often the case in self hosted gitlab instances

Removed host.includes(':') check in config.ts to allow for users to
include the port in the host
Changed url.hostname to url.host in core.ts to include the port in the
api call (otherwise it'll result in an error when trying to import a new
component)

Signed-off-by: Edgar Silva <edgar.silva@cross-join.com>
2022-02-16 19:18:38 +00:00
Paweł Wamej c7a3ae7692 fix missing bullet point
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 19:46:01 +01:00
Patrik Oldsberg fb09a59a3f kubernetes-backend: fixed potential AWS token generation issue
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 19:34:32 +01:00
blam ad170e0ac5 chore: remove the actual thing
Signed-off-by: blam <ben@blam.sh>
2022-02-16 19:32:48 +01:00
KaemonIsland 0268d91b78 Change getProjectName to getProjectNameFromEntity
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 11:31:18 -07:00
KaemonIsland 03af89706c use new Error and change useProjectName to getProjectName
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 11:25:24 -07:00
Patrik Oldsberg ecbb373f59 Merge pull request #9464 from backstage/dependabot/npm_and_yarn/rollup-2.67.2
chore(deps): bump rollup from 2.60.2 to 2.67.2
2022-02-16 19:18:58 +01:00
Fredrik Adelöw 69ad9e1e7b Merge pull request #9560 from backstage/freben/location-by-ref
Removed `CatalogApi.geLocationByEntity` and `CatalogApi.getOriginLocationByEntity`, and replaced them with `CatalogApi.getLocationByRef`.
2022-02-16 18:58:14 +01:00
Patrik Oldsberg d99c3c2177 Merge pull request #9254 from backstage/rugvip/add-roles
packages: add roles to all packages
2022-02-16 18:40:37 +01:00
Ben Lambert 529814d02d Merge pull request #9576 from backstage/blam/deprecations/scaffolder-backend
deprecations: remove deprecated `ctx.token`
2022-02-16 18:32:09 +01:00
Karan Shah 59140f62a5 Updated the README and description on the real API page
Signed-off-by: Karan Shah <karan.shah@simplybusiness.co.uk>
2022-02-16 17:15:40 +00:00
Patrik Oldsberg 40af72b95d Merge pull request #9568 from RoadieHQ/remove-react-use
remove react-use from core-plugin-api
2022-02-16 17:42:18 +01:00
KaemonIsland 6cc710c84c Change useProjectName to synchronous code
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 09:26:49 -07:00
KaemonIsland 7efee0f94c Prevent error message when owner/repo has not been set
The owner/repo variables are set to undefined during the first render of the WorkflowRunDetails component.

These undefined values are then passed to the useWorkflowRunsDetails hook and are returned as an error.

This causes a false error message to show for a split second.

The next render succesfully triggers when the owner/repo values get set, updating the details variable and returning the correct react component.

A new "loading" variable has been added that checks for loading values in addition to the details value existing.

I've also added an extra check for the error.message value considering it's used within the error message.

This prevents the false error message from displaying.

Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 09:26:49 -07:00
Patrik Oldsberg af32e5b10e Merge pull request #9545 from emalihin/patch-1
remove duplicate ingress.class annotation
2022-02-16 17:25:31 +01:00
Patrik Oldsberg 847ba7f606 Merge pull request #9543 from RoadieHQ/gcp-projects-use-react-hookz
Gcp projects use react hookz
2022-02-16 17:23:29 +01:00
Patrik Oldsberg 08140a4eac Merge pull request #9542 from awanlin/topic/update-empty-flag
Updated EmptyFlags code example
2022-02-16 17:17:47 +01:00
blam 5a1594330e chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-02-16 17:07:14 +01:00
blam d93ac29500 chore: updating some smaller code refactor, and updating api-report
Signed-off-by: blam <ben@blam.sh>
2022-02-16 17:05:04 +01:00
blam b6925bb66d chore: removing the entityClient and using a helper instead to fetch the matching Templates
Signed-off-by: blam <ben@blam.sh>
2022-02-16 17:02:01 +01:00
Patrik Oldsberg b42ccffafe cli: fix for backend bundle build ignoring building of the app
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 16:51:19 +01:00
Patrik Oldsberg ba5ea41f9e cli: rename app role to frontend
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 16:13:30 +01:00
Fredrik Adelöw a31cdf9c85 put back the actual implementation, to not break old clients
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 15:51:51 +01:00
Fredrik Adelöw 0a033351be catalog: clean up api reports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 15:45:36 +01:00
Karan Shah f5e370e0c3 Make the Airbrake backend plugin public
Signed-off-by: Karan Shah <karan.shah@simplybusiness.co.uk>
2022-02-16 14:26:41 +00:00
Karan Shah 5116fb553b Added further README changes for Airbrake
Signed-off-by: Karan Shah <karan.shah@simplybusiness.co.uk>
2022-02-16 14:25:45 +00:00
blam 91f6be833e chore: fixing test
Signed-off-by: blam <ben@blam.sh>
2022-02-16 14:55:30 +01:00
Himanshu Mishra 0cfbec9b79 Merge pull request #9577 from backstage/emmaindal-patch-1
[Docs] fix broken storybook link
2022-02-16 14:11:03 +01:00
Patrik Oldsberg eae833a780 Merge pull request #9487 from andrewthauer/home-toolkit-accordian
feat: add accordian home page toolkit support
2022-02-16 13:58:55 +01:00
Patrik Oldsberg 08b9b4db86 Merge pull request #9363 from richardluong/rluong-dominant-baseline
Change to Avatar in ShortcutIcon
2022-02-16 13:49:57 +01:00
Emma Indal eca5c79447 fix broken storybook link
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-16 13:28:37 +01:00
blam 79c500e10e chore: updating changeset
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:18:24 +01:00
blam 0df5389f2f chore: remove from ActionsContext too
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:17:54 +01:00
blam 8db2b671c6 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:09:23 +01:00
blam 7bed999eb6 chore: updating api-report with removed token
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:09:23 +01:00
blam 3d0dc89b76 chore: removed the token from actions, it's now backstageToken
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:09:23 +01:00
Patrik Oldsberg 64da85d7aa shortcuts: remove unused import
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 13:09:05 +01:00
Jonathan Ash 8c767a0fb1 Updated changeset
Signed-off-by: Jonathan Ash <jonathan-ash@users.noreply.github.com>
2022-02-16 11:58:18 +00:00
Jonathan Ash 8e3950b077 Merge branch 'techdocs-reader-custom-error-page' of github.com:jonathan-ash/backstage into techdocs-reader-custom-error-page 2022-02-16 11:52:52 +00:00
jonathan-ash 2e8efa9882 Merge branch 'backstage:master' into techdocs-reader-custom-error-page 2022-02-16 11:46:45 +00:00
Himanshu Mishra e4709d570e Merge pull request #9394 from backstage/orkohunter/homepage-getting-started
Docs: Tutorial on adding a Backstage home page
2022-02-16 12:43:41 +01:00
Patrik Oldsberg c8d1f915e7 shortcuts: remove unnecessary test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 12:39:27 +01:00
Jonathan Ash d125e82723 Changed TechdocsReaderPage to use NotFoundErrorPage from createApp
Signed-off-by: Jonathan Ash <jonathan-ash@users.noreply.github.com>
2022-02-16 11:36:16 +00:00
Himanshu Mishra 1208397ea6 Home page -> homepage for consistency
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2022-02-16 12:33:35 +01:00
Patrik Oldsberg 1aa2828a81 Merge pull request #9289 from moltenice-forks/airbrake-api
Airbrake Plugin API connectivity
2022-02-16 12:15:05 +01:00
Jonathan Ash 1ee7582826 Merge branch 'master' of github.com:jonathan-ash/backstage into techdocs-reader-custom-error-page 2022-02-16 11:02:11 +00:00
Karan Shah d0eb8aec8a Initial README.md changes
Signed-off-by: Karan Shah <karan.shah@simplybusiness.co.uk>
2022-02-16 10:09:18 +00:00