Commit Graph

9521 Commits

Author SHA1 Message Date
Ben Lambert 2d9a4ccf71 Merge pull request #9615 from backstage/jhaals/require-processorName
catalog-backend: Require impl of getProcessorName in CatalogProcessor
2022-02-17 16:08:32 +01:00
Johan Haals 9ffb346e9e Merge pull request #9609 from backstage/jhaals/dep-runPeriodically
catalog-backend: Deprecate runPeriodically function
2022-02-17 14:58:20 +01:00
Johan Haals d3e7e0de0b Merge pull request #9611 from backstage/jhaals/StaticLocationProcessor
catalog-backend: Deprecate StaticLocationProcessor
2022-02-17 14:57:55 +01:00
Johan Haals 36a3d00ec7 Merge pull request #9604 from backstage/jhaals/catalog-react-cleanup
catalog-react: cleanup api report
2022-02-17 14:57:00 +01:00
Johan Haals df61ca71dd catalog-backend: Require impl of getProcessorName in CatalogProcessor
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-17 14:54:32 +01:00
Patrik Oldsberg f61acc42b3 Merge pull request #9613 from backstage/rugvip/no-duration
catalog-backend: removed unused durationText helper
2022-02-17 14:49:49 +01:00
Johan Haals 2300cbb305 update format
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-17 14:14:32 +01:00
Patrik Oldsberg 9876e7f172 catalog-backend: removed unused durationText helper
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-17 14:14:06 +01:00
Johan Haals b1296f1f57 catalog-backend: Deprecate StaticLocationProcessor
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-17 14:05:27 +01:00
Fredrik Adelöw fd02e6df7d Merge pull request #9607 from backstage/freben/auth-case
fix casing of sub and ent claims in default sign-in resolvers
2022-02-17 13:59:07 +01:00
Johan Haals 957cb4cb20 catalog-backend: Deprecate runPeriodically function
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-17 13:55:56 +01:00
Fredrik Adelöw 3884bf0348 fix casing of sub and ent claims in default sign-in resolvers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-17 12:07:48 +01:00
Johan Haals 63351cb855 wrap columnFactories in object
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-17 12:01:35 +01:00
github-actions[bot] 408b0300cb Version Packages 2022-02-17 10:38:59 +00:00
Johan Haals b17958bc60 catalog-react: cleanup api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-17 11:35:23 +01:00
Patrik Oldsberg db48253fa1 Merge pull request #9595 from backstage/dependabot/npm_and_yarn/luxon-2.3.0
chore(deps): bump luxon from 2.0.2 to 2.3.0
2022-02-17 11:32:02 +01:00
Fredrik Adelöw b0e6e63cea Merge pull request #9578 from backstage/freben/sprint-catalog-apireport
catalog: clean up api reports
2022-02-17 11:27:49 +01:00
Fredrik Adelöw ac0d932b0b review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-17 10:52:53 +01:00
Patrik Oldsberg edeeac7e9d pagerduty: fix luxon dependency range
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-17 10:39:53 +01:00
Patrik Oldsberg 380d78a500 Merge pull request #9390 from moltenice-forks/airbrake-backend
Airbrake Backend Plugin
2022-02-17 10:20:06 +01:00
Otto Sichert 5a92d13e29 Merge pull request #9587 from backstage/feat/improve-admonition-size
Match admonition text size to content text size
2022-02-17 08:23:28 +00:00
dependabot[bot] 3a2a893df6 chore(deps): bump luxon from 2.0.2 to 2.3.0
Bumps [luxon](https://github.com/moment/luxon) from 2.0.2 to 2.3.0.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/2.0.2...2.3.0)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-17 04:46:12 +00:00
Patrik Oldsberg 1433045c08 removed unused helmet dependencies
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 23:41:57 +01:00
Otto Sichert 6553985cd4 Match admonition text size to content text size
Signed-off-by: Otto Sichert <git@ottosichert.de>
2022-02-16 22:30:03 +00:00
dependabot[bot] 0107c9aa08 chore(deps): bump helmet from 4.4.1 to 5.0.2
Bumps [helmet](https://github.com/helmetjs/helmet) from 4.4.1 to 5.0.2.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v4.4.1...v5.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 22:50:06 +01:00
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
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
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
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 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 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
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
blam 91f6be833e chore: fixing test
Signed-off-by: blam <ben@blam.sh>
2022-02-16 14:55:30 +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
blam 0df5389f2f chore: remove from ActionsContext too
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:17:54 +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