Commit Graph

20858 Commits

Author SHA1 Message Date
mufaddalWh 5f35e28900 Adding New Relic Dashboard
Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
2021-11-23 00:31:33 +05:30
Fredrik Adelöw 2d7d165737 bump rjsf
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-22 19:59:52 +01:00
Mike Lewis 839e931d34 create-app: pass tokenManager when constructing TechDocsCollator
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 18:44:49 +00:00
Mike Lewis 14a6c46dff Merge remote-tracking branch 'origin/master' into natasha/b2b-auth
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 18:22:57 +00:00
Patrik Oldsberg 8a96019a39 Merge branch 'master' into rugvip/test-port 2021-11-22 17:33:10 +01:00
Tim Jacomb 52d3ca287e Fix broken ssl postgres docs
Signed-off-by: Tim Jacomb <tim.jacomb@hmcts.net>
2021-11-22 16:30:51 +00:00
Patrik Oldsberg 9f9ff42e28 Merge pull request #8193 from backstage/mod/auth-responses
auth-backend: use more standardized error responses
2021-11-22 17:28:52 +01:00
hiba-aldalaty 3944b5e9b8 Update tests
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-22 16:15:18 +00:00
Mike Lewis 5bff67aac4 permission-node: expose ApplyConditionsResponse type
This type will be shared with the backend.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:36 +00:00
Mike Lewis 3254303a96 permission-node: refactor and split createPermissionIntegration
This refactor makes the createPermissionIntegration system much more
flexible by splitting it up into a few different helpers with different
responsibilities. This frees up plugin authors to connect together the
different parts of the permission integration in whatever way is
convenient for them, and makes the process of registering additional
permission rules a bit more explicit, by requiring them to be passed
in when constructing the systems for transforming or applying
conditions.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
Co-authored-by: Joon Park <joonp@spotify.com>
Co-authored-by: Tim Hansen <timbonicus@gmail.com>
2021-11-22 15:37:35 +00:00
Mike Lewis 70ce7c91e2 permission-node: bump @backstage/cli version
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:35 +00:00
Mike Lewis 0eb339c3a4 permission-node: more visible condition transform in mapCriteria test
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:35 +00:00
Tim Hansen 27d5f5fed3 Improve api-report
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-11-22 15:37:35 +00:00
Mike Lewis 5c5a1d16e4 authz: remove superfluous union type
PermissionCriteria<TQuery> is a union type which already includes
TQuery itself, so we don't need a second union here.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:35 +00:00
Mike Lewis 75dd00c8b6 authz: add missing fields to permission-node package.json
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:35 +00:00
Mike Lewis e2088541dd authz: update references to permission-common after move to plugins
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis f72d7bba0e authz: add testsuite for createPermissionIntegration
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis 5c75c89106 authz: improve error handling in permission-node apply-conditions route
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis 2b668f2eb8 build(deps): add dependency on zod in permission-node
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis 22f5de9840 authz: update createPermissionIntegration to work with new PermissionCriteria type
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis d0a99e3219 authz: update permission-node api-report
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis 64b6ff368f authz: fix expected response type for /apply-conditions route
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Mike Lewis 652af0834a authz: add test suite for conditionFor
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Mike Lewis f3d2ccfeb8 authz: switch to unknown[] in PermissionRule type parameter
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Mike Lewis 4083fcdb5e authz: fix PermissionCondition type parameter
`unknown` doesn't satisfy the (recently added) `extends unknown[]`
constraint. In these two cases, we can remove the parameter entirely and
rely instead on the default of `unknown[]`.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Mike Lewis a82709c38f authz: update unused type params in conditionFor to unknown
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Tim Hansen a1e2972dda Add permission-node package
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Co-authored-by: Joe Porpeglia <joeporpeglia@users.noreply.github.com>
Co-authored-by: Vincenzo Scamporlino <vinzscam@users.noreply.github.com>
2021-11-22 15:37:32 +00:00
Andrew Tran e72e908e3f update example readme
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-22 09:32:52 -06:00
Ainhoa a2e1a008bf Merge pull request #8116 from ainhoaL/user-search-displayname
Add User entities displayName to default catalog collator to be able to search by user's full name
2021-11-22 15:32:26 +00:00
Patrik Oldsberg 87cd8ca64b Merge pull request #8186 from backstage/freben/bump-serialize-javascript
bump terser-webpack-plugin and therefore serialize-javascript
2021-11-22 16:31:12 +01:00
Andrew Tran 5f864eceed add example cronjob
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-22 09:26:19 -06:00
Ben Lambert d413156a2a Merge pull request #8187 from backstage/freben/remove-is-svg
make sure to get rid of is-svg
2021-11-22 16:24:27 +01:00
Ben Lambert 1d6f337916 Merge pull request #8195 from adamdmharvey/adr-title-bug
fix(docs): Missing ADR number in title
2021-11-22 16:24:01 +01:00
hiba-aldalaty 1ea036426c Change fontsize of dropdown items
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-22 15:07:28 +00:00
Fredrik Adelöw 1e57d1c23e Merge pull request #8071 from backstage/feat/change-default-port
Change default port of backend from 7000 to 7007
2021-11-22 15:58:48 +01:00
hiba-aldalaty 10376e33c4 Improve use of conditional classes
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-22 14:57:20 +00:00
Andrew Tran 1caf4c2d72 update schema.d.ts
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-22 08:52:00 -06:00
hiba-aldalaty 305901cbe6 Modify SidebarContextType to reduce api surface + update api-report
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-22 14:43:18 +00:00
Chad Jensen c844898a73 fixing another prettier issue
Signed-off-by: Chad Jensen <Chad.Jensen@c2fo.com>
2021-11-22 08:22:36 -06:00
Adam Harvey 7b4db0d1aa Fix missing ADR number in title
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2021-11-22 09:17:19 -05:00
Morgan Martinet 90ad18e1a7 switch to patch release
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-11-22 09:06:20 -05:00
hiba-aldalaty 18b089cdcc Refactor: remove hasSubmenu prop and move submenuTitle prop to submenu component
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-22 13:50:32 +00:00
Fredrik Adelöw e62bf29c1d Merge pull request #8069 from goenning/fix-techinsights-docs
Fix techinsights docs: replaced DefaultTechInsightsBuilder with buildTechInsightsContext
2021-11-22 14:41:26 +01:00
Yousif Al-Raheem afa9dfe405 Merge branch 'backstage:master' into master 2021-11-22 13:56:56 +01:00
Fredrik Adelöw cd3aac016f Merge pull request #7817 from backstage/joonp/entitiessearchfilter-refactor
[Mini PRFC] EntitiesSearchFilter type refactor
2021-11-22 13:48:38 +01:00
Ainhoa Larumbe 4167f6ed7e change uppercase method
Signed-off-by: Ainhoa Larumbe <ainhoaL@users.noreply.github.com>
2021-11-22 12:42:29 +00:00
Patrik Oldsberg 3487a35ee4 Merge pull request #8175 from backstage/rugvip/release-flow
Tweak release process to require changesets for new packages
2021-11-22 13:23:04 +01:00
Patrik Oldsberg c8dac3c3b8 Merge pull request #8174 from backstage/rugvip/deprecations
scripts: add script for listing deprecations
2021-11-22 13:22:49 +01:00
Patrik Oldsberg b9af54d431 Merge pull request #8089 from backstage/rugvip/test-api
core,test-utils: deprecate ApiRegistry, add new TestApiProvider and TestApiRegistry
2021-11-22 13:22:33 +01:00
Patrik Oldsberg 9312572360 auth-backend: use more standardized error responses
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-22 13:17:26 +01:00