Commit Graph

14408 Commits

Author SHA1 Message Date
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
blam 124be46a5a chore: resetting yarn lock
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 31e067d346 chore: actually use the right packages - went and messed up a bit
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 359a118902 chore: reworking some thigns
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 969c6750af feat: writing some tests and have a nicer api now
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
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:25 +02:00
blam 78ccf9ea98 feat: replace implementations of children introspection with our new thing
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
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:25 +02:00
blam d7f0b0bed6 chore: working through beginning API
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 794af0de8e feat: more work with the nice API
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
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:25 +02:00
blam 765632fac7 feat: introduce collection of feature flags and make FlatRoutes treat feature flags as first class citizens
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
Patrik Oldsberg e5cdf0560f backend-common: clarify DB connection error
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 11:56:08 +02:00
Johan Haals a0f2f63374 Merge pull request #5901 from backstage/jhaals/legacy-catalog
Catalog: Make the new processing engine the default
2021-06-15 11:40:53 +02:00
Patrik Oldsberg e2261dbec1 Merge pull request #5987 from dortegau/add-ds_store-to-scaffolded-app-gitignore
#5986 Adding .DS_Store to Scaffolded Backstage app .gitignore file
2021-06-15 11:27:16 +02:00
Patrik Oldsberg 3be9904e63 Merge pull request #6027 from backstage/rugvip/pipeline
catalog-backend: introduce TaskPipeline
2021-06-15 11:24:49 +02:00
Dominik Henneke 740503d88f Copy the changes to the core-components packages
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-15 11:10:12 +02:00
Johan Haals 0176d78f27 Merge pull request #6007 from backstage/jhaals/configure-refresh
catalog/next: Make refresh interval configurable
2021-06-15 10:58:46 +02:00
Patrik Oldsberg 97dd250117 Merge pull request #5970 from backstage/dependabot/npm_and_yarn/microsite/yarn-lock-check-1.0.5
chore(deps-dev): bump yarn-lock-check from 1.0.4 to 1.0.5 in /microsite
2021-06-15 10:28:40 +02:00
Patrik Oldsberg 9befb86eda microsite: fix registry in lockfile
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 10:18:24 +02:00
Vitor Capretz fccbc7d1b6 Fix NaN bug with null end_time
Signed-off-by: Vitor Capretz <capretzvitor@gmail.com>
2021-06-15 09:55:37 +02:00
Johan Haals 0307a28b4a Add changeset for create-app describing upgrade path
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-15 09:17:55 +02:00
Johan Haals 9c3840b1ba create-app: Enable new catalog processing engine
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-15 09:17:10 +02:00
Brett Wright b94d8ec363 changed quotes
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-06-15 08:56:43 +02:00
Brett Wright f7e0acc42a run prettier
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-06-15 08:45:23 +02:00
Brett Wright 53c23170b0 Added plugin to marketplace
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-06-15 08:42:56 +02:00
dependabot[bot] 74d83e3db1 chore(deps-dev): bump @types/swagger-ui-react from 3.23.3 to 3.35.1
Bumps [@types/swagger-ui-react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/swagger-ui-react) from 3.23.3 to 3.35.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/swagger-ui-react)

---
updated-dependencies:
- dependency-name: "@types/swagger-ui-react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 04:11:54 +00:00