Commit Graph

14431 Commits

Author SHA1 Message Date
Patrik Oldsberg faa27ef711 Merge pull request #5982 from ougfh/add-pagination-to-apis-explorer-table
Add pagination to ApisExplorerTable
2021-06-15 18:28:45 +02:00
Patrik Oldsberg 560e0dd0b2 Merge pull request #5968 from ougfh/fix-doc-navigation-links-for-non-dir-urls
Do not add / for html pages in rewriteDocLinks
2021-06-15 18:23:40 +02:00
Patrik Oldsberg 311bd449bd Apply suggestions from code review
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 18:07:43 +02:00
Patrik Oldsberg a4a96e424a backend-common: restore informative error message for database check
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 17:51:34 +02:00
Patrik Oldsberg 05c98f1f79 Merge branch 'master' into add-support-for-plugin-specific-db 2021-06-15 17:49:50 +02:00
Patrik Oldsberg 8fce615902 Merge pull request #4996 from backstage/dependabot/npm_and_yarn/rollup-plugin-dts-3.0.1
chore(deps): bump rollup-plugin-dts from 2.0.1 to 3.0.1
2021-06-15 17:29:34 +02:00
Fredrik Adelöw d844f6cade Merge pull request #6046 from backstage/fix-5496-splunk-on-call-configs
Get #5498 across the line
2021-06-15 15:46:36 +02:00
Fredrik Adelöw d11f6b510d Merge pull request #6042 from wrighbr/patch-1
Added a plugin to the Maketplace
2021-06-15 15:45:48 +02:00
Fredrik Adelöw b811b1e1b1 Merge pull request #6030 from SDA-SE/feat/command-exists
Migrate from the `command-exists-promise` dependency to `command-exists`
2021-06-15 15:41:12 +02:00
Fredrik Adelöw dc728f5874 Merge pull request #6010 from SDA-SE/feat/fix-react-warning-import
Fix a react warning in `<EntityListComponent>`
2021-06-15 15:39:32 +02:00
Patrik Oldsberg fd9a86b7ad cli: sort package.json deps
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 15:33:05 +02:00
Fredrik Adelöw c5204c01ba Merge pull request #6032 from backstage/freben/backend-dev
Make `yarn dev` for backend plugins respect the `PLUGIN_PORT` env var
2021-06-15 15:12:17 +02:00
Patrik Oldsberg 7883cef882 splunk-on-call: tweak config schema
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 15:09:43 +02:00
Dominik Henneke a46ae7c0c7 Merge pull request #6036 from SDA-SE/feat/button-link
Use the Backstage `Link` component in the `Button`
2021-06-15 15:03:01 +02:00
Fredrik Adelöw 62328f569a Merge pull request #6045 from SDA-SE/feat/bitbucket-publish-2
Use the correct parameter to create a public repository in Bitbucket Server for the v2 templates
2021-06-15 14:58:34 +02:00
Patrik Oldsberg 908750b472 scripts/check-type-dependencies: fix handling of duplicate imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 14:36:16 +02:00
Patrik Oldsberg e58e8bf572 yarn.lock: sync
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 14:30:33 +02:00
Dominik Henneke 55a834f3cc Use the correct parameter to create a public repository in Bitbucket Server for the v2 templates
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-15 14:29:01 +02:00
Fredrik Adelöw 8b971480c0 Merge pull request #5137 from backstage/freben/reviewers
Update the default CODEOWNERS to point to a new `reviewers` team
2021-06-15 14:11:34 +02:00
dependabot[bot] 955c7683b9 chore(deps): bump rollup from 2.33.3 to 2.44.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.3 to 2.44.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.33.3...v2.44.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 13:45:53 +02:00
dependabot[bot] 3609656b53 chore(deps): bump rollup-plugin-dts from 2.0.1 to 3.0.1
Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) from 2.0.1 to 3.0.1.
- [Release notes](https://github.com/Swatinem/rollup-plugin-dts/releases)
- [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rollup-plugin-dts/compare/v2.0.1...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 13:45:53 +02:00
Himanshu Mishra db1d558411 auth-backend: always use full user/group entity refs
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Himanshu Mishra 7dd84f37f0 Apply suggestions from code review
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Himanshu Mishra c467cc4b91 auth-backend: Add changeset for the sign-in resolver work
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Himanshu Mishra 46c52d0aca docs: fix doc reference links
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Himanshu Mishra a0949d5892 docs: Add docs explaining sign-in resolvers and profile transform
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Himanshu Mishra 7303b65200 auth: remove duplicated use of defaultAuthProviderFactories
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Himanshu Mishra a848395e2b auth-backend: getEntityClaims make sure target is group kind
We are interested in the User isMemberOf Group relation. So this is just an additional check that the target is of Group kind.

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Himanshu Mishra 17a26e7ed3 auth-backend: Use stringifyEntityRef helper
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg 11e3e0fc24 backend: mock custom google auth provider
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg 1111c0753c auth-backend: implement sign-in and profile options for google provider
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg 48a5dcf9d5 auth-backend: added SignInResolver and ProfileTransform types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg 02d2b8681f auth-backend: add getEntityClaims helper that figures out the claims needed to represent an entity
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg 3430f0d1ff auth-backend: add ent to possible claims in TokenParams
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg de81880419 auth-backend: refactor CatalogIdentityClient to depend on TokenIssuer directly
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg dd99f8e380 Merge pull request #6043 from backstage/rugvip/dbfail
backend-common: clarify DB connection error
2021-06-15 12:30:56 +02:00
blam d00a3fcd95 chore: updated API report
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:24:36 +02:00
blam 14770c4f3a chore: tidy up the app and fix tsc warnings
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:22:26 +02:00
Crevil 7453511900 Describe publish:github scaffolder action fields
Currently the fields of the publish:github action uses some undocumented
conventions in the repoUrl and access input fields.

This change adds a description to the fields with examples of what to input. The
collaborators description is also expanded a bit to make it more clear that
these are additional compared to access and owner.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2021-06-15 12:13:09 +02:00
blam 34900b0ca6 chore: removing the test usages in the app, and fixing the typings
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam f547a1473e feat: update the usage of the EntitySwitch to use the new traversal composability API
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 04fa2df352 chore: wait for the config api to be loaded first before registering feature featureFlags
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam fdb79d1562 chore: fixing tests for FlatRoutes
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 00815e520b chore: fixing api-docs and simplifying types a little
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 6109f32b78 chore: fixing up api-docs exporting
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 128279fc4f feat: finishing up some other use cases and re-writing some logic with some more tests
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam c92f5dedee feat: reworking the api in favour of with and without for wrapping component
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 5f4339b8c5 chore: added changeset
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 9eb3729706 chore: fixing api-docs generation
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 8ddd77544f chore: reworking yarn.lock
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00