Commit Graph

10292 Commits

Author SHA1 Message Date
MT Lewis f71db7b1a0 permission-react: clean up unneeded 'as const' in test suite
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
MT Lewis 9a80cfc768 permission-common: add comment explaining separation of type property on PermissionBase
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
MT Lewis 8dc2be1daa permission-common: add doc comment to PermissionBase.type
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
github-actions[bot] ad955c1b1b Version Packages (next) 2022-03-22 12:28:03 +00: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
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 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
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 2651fa8db4 Merge pull request #10341 from backstage/freben/cherry-blossom-auth-backend
Apply #10338
2022-03-21 14:22:31 +01:00
Fredrik Adelöw 3b4e2d560a Merge pull request #10336 from backstage/dependabot/npm_and_yarn/react-use-17.3.2
build(deps): bump react-use from 17.2.4 to 17.3.2
2022-03-21 14:21:32 +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
Fredrik Adelöw ff4f1b6f51 make sure to apply tz column fix for newly created backstage instances
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-21 13:50:41 +01:00
Fredrik Adelöw 9c6e849d1c make the act() expecting test more robust to variations, and fix missing await
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-21 13:43:39 +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
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
Andre Wanlin ed09652184 Fixed wording
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-03-18 13:20:23 -05:00
Andre Wanlin 2fe58c7285 Improved Tech-Insights documentation
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-03-18 13:13:20 -05:00
Eric Peterson f9653d19eb Merge pull request #10305 from backstage/techdocs/no-cache-head
[TechDocs] Fix HEAD request cache bug
2022-03-18 17:52:45 +01:00
Camila Belo 3b7f1ef418 test: cover anchor starting with number
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-18 16:34:30 +01:00
Camila Belo f90ffdc84e fix: permalink scroll for enumerated anchors
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-18 15:08:36 +01:00
Fredrik Adelöw 9929e2402c Merge pull request #10288 from nokia/plugin-kubernetes-fix-div-by-zero
plugin-kubernetes: fix div by zero pod resources
2022-03-18 14:51:53 +01:00
Andre Wanlin 2a3cac4c60 Corrected replacements for depreciated items
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-03-18 08:30:55 -05:00
Manuel Stein 5b5f6791fc lint fix
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
2022-03-18 14:24:06 +02:00
Fredrik Adelöw d52be3786e Merge pull request #10306 from backstage/freben/strings-are-refs-too
Add support for string refs to the EntityRefLinks component
2022-03-18 12:48:35 +01:00
Fredrik Adelöw a496cee4d1 Add support for string refs to the EntityRefLinks component
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-18 11:53:20 +01:00
Fredrik Adelöw 66b88381a1 Merge pull request #10298 from marcus-crane/onelogin-settings-ui
Wire up OneLogin provider in settings panel
2022-03-18 11:27:05 +01:00
Eric Peterson 7762d54200 Fix TechDocs backend cache bug on HEAD request.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-18 11:23:50 +01:00
Patrik Oldsberg 9d867075f3 Merge pull request #10292 from backstage/rugvip/idcleanup
auth-node,auth-backend: remove deprecated identity result fields
2022-03-18 10:46:10 +01:00
Johan Haals 45153b3b08 Merge pull request #10239 from getndazn/fix/github-workflow-scope
replacing workflow:write scope with workflow, workflow:write is invalid.
2022-03-18 10:40:03 +01:00
Marcus Crane cf647f6a72 Wire up OneLogin provider to be visible in the settings UI
Signed-off-by: Marcus Crane <marcus.crane@lightspeedhq.com>
2022-03-18 17:36:55 +13:00
Patrik Oldsberg 6ee04078e1 auth-backend: deprecate tokenIssuer option of OAuthAdapter
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-17 23:17:22 +01:00
Patrik Oldsberg 15d3a3c39a auth-node,auth-backend: remove deprecated identity result fields
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-17 23:03:12 +01:00
Manuel Stein f6a0cf7ca5 prettier
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
2022-03-17 23:21:25 +02:00
Manuel Stein f616d99f6f plugin-kubernetes: fix div by zero pod resources
When pods have no resources set, currentToDeclaredResourceToPerc would
throw div by zero, added check

Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
2022-03-17 21:59:09 +02:00
AaronvDiepen 4521e67fe5 Fix type error for BitbucketRepositoryParser
Signed-off-by: AaronvDiepen <aaronvdiepen@gmail.com>
2022-03-17 18:43:29 +01:00
AaronvDiepen 99f9406a2d Implemented changes suggested by Deepsource.io
Signed-off-by: AaronvDiepen <aaronvdiepen@gmail.com>
2022-03-17 18:41:46 +01:00
MT Lewis ffaaec5950 Merge pull request #9202 from backstage/add-search-document
search-common: add SearchDocument type for use in the frontend
2022-03-17 17:13:35 +00:00
MT Lewis d48122a439 search: discourage use of IndexableDocument in the frontend
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-03-17 16:00:26 +00:00
Fredrik Adelöw 38b78e60d5 Merge pull request #10269 from nokia/catalog-backend-scm-slug-add-gitlab
catalog-backend: add gitlab to AnnotateScmSlugEntityProcessor
2022-03-17 16:42:17 +01:00
blam 7af0e2efd8 chore: fixing the api-reports again
Signed-off-by: blam <ben@blam.sh>
2022-03-17 14:10:19 +01:00
Patrik Oldsberg a856043798 Merge pull request #10146 from backstage/rugvip/noglobalmocks
scaffolder-backend,techdocs-node: remove global dependency mocks
2022-03-17 14:08:35 +01:00
Manuel Stein ffec894ed0 catalog-backend: add gitlab to AnnotateScmSlug
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
2022-03-17 14:54:59 +02:00
MT Lewis a6d402200d search-common: restrict allowed type parameters for Result and ResultSet
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-03-17 12:41:38 +00:00
Mike Lewis 38e01f2f70 search: switch to SearchDocument type in DefaultResultListItem props
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-17 12:39:42 +00:00