Commit Graph

10411 Commits

Author SHA1 Message Date
Fredrik Adelöw 1a41fa97df Merge pull request #10483 from backstage/freben/group-and-user
Make User and Group kinds not default allowed by rules
2022-03-28 18:15:39 +02:00
Fredrik Adelöw 1691c6c5c2 Make User and Group not default allowed by rules
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-28 17:04:50 +02:00
Camila Belo db2ec73088 Merge pull request #10474 from backstage/techdocs-layout-improvements
[TechDocs] Page layout improvements
2022-03-28 16:53:53 +02:00
Johan Haals 41f5c34bce Merge pull request #10456 from Bonial-International-GmbH/PJ_badges-markdown
feat: allow overriding `getMarkdownCode`
2022-03-28 16:12:56 +02:00
Camila Belo 179b5070fc fix(techdocs): apply review suggestion
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 16:12:47 +02:00
Camila Belo e8d84d2ee6 fix(techdocs): use sidebar config
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 13:45:00 +02:00
Johan Haals 21a3e09fd5 Merge pull request #10407 from simongellis-attentive/draft-github-prs
Support creating draft GitHub prs
2022-03-28 13:25:32 +02:00
MT Lewis 8012ac46a0 permissions: ensure returned conditions match permission in PermissionPolicy#handle (#10075)
* permission-node: fix signature of permission rule in test suites

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* permission-common: add isPermission helper for comparing permissions

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* permission-node: adjust createConditionExports for more type safety

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* permissions: add resourceType property to PermissionCondition and PermissionRule

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* catalog: handle changes to PermissionCondition and PermissionRule types

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* catalog-backend: avoid re-exporting alpha import

cf. https://github.com/backstage/backstage/pull/10128

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* Update changeset

Signed-off-by: Joe Porpeglia <josephp@spotify.com>

* Resolve api-report conflict

Signed-off-by: Joon Park <joonp@spotify.com>

Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Co-authored-by: Joon Park <joonp@spotify.com>
2022-03-28 11:06:38 +01:00
Emma Indal ea14b21dc0 Merge pull request #9679 from backstage/emmaindal/stack-overflow-plugin
[Plugin] Stack Overflow
2022-03-28 11:23:31 +02:00
Camila Belo 49f646a9c9 fix(techdocs): drawer toggle margins
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 10:52:32 +02:00
Camila Belo bf4d052897 fix(techdocs): code block margins
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 10:52:32 +02:00
Camila Belo 52708317f9 fix(techdocs): inner content width
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 10:52:32 +02:00
Camila Belo e56bcbfb0c fix(techdocs): footer link width
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 10:52:32 +02:00
Camila Belo 216c262bf2 fix(techdocs): mobile sidebar width
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 10:52:32 +02:00
Emma Indal 6733449641 add @public to ComponentRenderer
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-28 10:35:15 +02:00
Fredrik Adelöw dee89cbc54 Merge pull request #10460 from backstage/freben/enterpriseInstanceUrl
handle trailing slashes on enterpriseInstanceUrl
2022-03-27 09:57:57 +02:00
Fredrik Adelöw 020699ee40 Merge pull request #10455 from yarodinD/master
Fixed possible type error if jenkins response contains null values
2022-03-26 20:31:36 +01:00
Alex Crome 37b04b5a5e Fixed bad help link in Entity Inspector
The help link for labels in the entity inspector was 404ing, so removed it.

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-03-26 18:29:02 +00:00
Fredrik Adelöw a45bce06e3 handle trailing slashes on enterpriseInstanceUrl
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-26 19:02:38 +01:00
Sven Sander 4dd6a05f02 Fixed type error in test case
Signed-off-by: Sven Sander <dev@svens-corner.de>
2022-03-26 12:03:13 +01:00
Patrick Jungermann 4c93fd36ee feat: allow overriding getMarkdownCode
allow overriding `DefaultBadgeBuilder.getMarkdownCode`

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-03-26 01:11:48 +01:00
Sven Sander ca91107110 Fixed possible type error if jenkins response contains null values
Signed-off-by: Sven Sander <dev@svens-corner.de>
2022-03-25 21:34:04 +01:00
Johan Haals 9c01fe543d Merge pull request #10448 from leon-vg/fix-radar
Fix issue with stale data when switching between radars
2022-03-25 15:03:39 +01:00
Joe Porpeglia b9324fafe2 Remove unecessary type cast
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia 678d81a6d5 Remove duplicate type
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia 55f72c4445 Update comment
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia 979d4b976f Update api-reports
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia 0b98a49509 Rename policy input type
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia e43290ce96 Rename permission backend request and response types
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia 970814ed38 Move policy decision types to permission-common
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia ac0a6cb827 Introduce PermissionMessageBatch utility type. Rename Identified type to IdentifiedPermissionMessage.
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Leon 5a5bd5bc03 fix refresh-issue when switching between radars
Signed-off-by: Leon <leonvanginneken@gmail.com>
2022-03-25 14:37:31 +01:00
Emma Indal 07c0610557 feedback fixes
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 13:55:17 +01:00
Johan Haals 121211bb81 Merge pull request #10373 from shailahir/feature/8850-add-graph-props
#8850 Added renderNode and renderLabel props to support custom node a…
2022-03-25 13:46:17 +01:00
Patrik Oldsberg 9712a8a507 tech-insights-backend: refactor FactRetrieverEngine to avoid waitForExpect
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:17 +01:00
Patrik Oldsberg c2c9570a47 search-backend-module-elasticsearch: remove explicit jest environment
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg 0d81070d58 catalog-backend: update PlaceholderProcessor test to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg e2cfd53847 techdocs: update client test to work with jsdom environment
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg 9e1efd4d99 scaffolder-backend: update tests to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg e9530e06b6 tech-insights-backend: fix test database setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:15 +01:00
Patrik Oldsberg 0041b2ec26 tech-insights-backend: update FactRetrieverEngine tests to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:15 +01:00
Patrik Oldsberg 13d3f49793 auth-backend: update FirestoreKeyStore tests to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 89daaa3508 kubernetes-backend: fix Jest 27 test incompatibility
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 850e0ebbe3 search-backend-node: update runPeriodically test to work with jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 364bb0da03 analytics-module-ga: make tests work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 219058fdb7 shortcuts: update test to work with jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 069d69290c tech-radar: fix tests to work with @testing-library/react 12
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:13 +01:00
Emma Indal 1f84e612e3 update scripts
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:26:34 +01:00
Emma Indal 85c18b48e2 re-generate api reports
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:26:34 +01:00
Emma Indal d4d7261067 bump dependencies
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:26:32 +01:00