Commit Graph

14158 Commits

Author SHA1 Message Date
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
Dominik Henneke 59078de280 Merge pull request #6037 from SDA-SE/feat/bitbucket-public 2021-06-14 20:32:30 +02:00
Dominik Henneke df3ac03cfb Use the correct parameter to create a public repository in Bitbucket Server.
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-14 18:14:26 +02:00
Patrik Oldsberg 608e83f928 Merge pull request #5959 from carlo-colombo/bitbucket-lfs
Add supprt to enable LFS for hosted Bitbucket
2021-06-14 16:41:22 +02:00
Patrik Oldsberg c09c863eff Merge pull request #6018 from backstage/imgbot
[ImgBot] Optimize images
2021-06-14 16:25:17 +02:00
Patrik Oldsberg d4e73b45f9 Merge pull request #6026 from backstage/rugvip/skip-locked
catalog-backend: avoid duplication of work due to race conditions in task pickup
2021-06-14 15:12:52 +02:00
Patrik Oldsberg d40993c2f9 Merge pull request #6019 from backstage/rugvip/loadafix
config-loader: bump typescript-json-schema and remove workaround + catalog-model cleanup
2021-06-14 13:36:18 +02:00
Patrik Oldsberg 18ab535c83 catalog-backend: use select for update skip locked for the work queue
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-14 13:35:33 +02:00
Fredrik Adelöw ab3d4e92eb Merge pull request #5949 from backstage/dependabot/npm_and_yarn/http-proxy-middleware-2.0.0
chore(deps): bump http-proxy-middleware from 0.19.2 to 2.0.0
2021-06-14 10:30:28 +02:00
Fredrik Adelöw c28f20cb0e Merge pull request #5720 from GunnerStraiker1/supportButton-title
Add Title prop in SupportButton
2021-06-14 10:30:16 +02:00
Fredrik Adelöw 8de93505ae Merge pull request #5995 from backstage/freben/plugin-db
Some quick docs on how to interface with databases from backend plugins
2021-06-14 10:22:49 +02:00
Patrik Oldsberg 1d2ed78449 catalog-model: remove unused dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-13 20:59:06 +02:00
Patrik Oldsberg f004937398 config-loader: bump typescript-json-schema and remove TS 4.3 workaround
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-13 20:59:05 +02:00
Fredrik Adelöw fdefd713b2 Merge pull request #6029 from backstage/timbonicus/export-catalog-components
Export catalog components to match docs
2021-06-13 20:17:41 +02:00
Tim Hansen 30c2fdad2c Export catalog components to match docs
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-13 10:24:40 -06:00
Fredrik Adelöw 1bcb8693bf Merge pull request #6017 from mtlewis/update-microsite-opengraph-image
Add OpenGraph image with background
2021-06-12 07:58:39 +02:00
Patrik Oldsberg 5a3876db67 Merge pull request #6012 from backstage/rugvip/fix-check
scripts: fix package detection in check-if-release.js
2021-06-11 22:28:50 +02:00
ImgBotApp da5bfce2e0 [ImgBot] Optimize images
*Total -- 46.41kb -> 34.33kb (26.04%)

/microsite/static/img/twitter-summary.png -- 11.75kb -> 8.07kb (31.35%)
/microsite/static/img/cortex.png -- 34.66kb -> 26.26kb (24.23%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-06-11 15:46:56 +00:00
Mike Lewis f881645e90 Add OpenGraph image with background
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-11 15:56:28 +01:00
Emma Indal 667656c8b5 [TechDocs] TechDocs custom homepage with user owned filter support (#5994)
* add emptystate to docs card grid

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* adjust filterpredicate to accept a string, adjust custom home page based on owned documents filter

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update the techdocs home page to use the new ownedByUser filter

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* use useOwnUser hook from catalog react plugin and delete duplicate one

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-06-11 16:52:46 +02:00
Ben Lambert c7e0c9e16b Merge pull request #6014 from mtlewis/update-microsite-twitter-sharing-image
Add twitter summary card image with background
2021-06-11 16:15:24 +02:00
Mike Lewis d52b24b621 Add twitter summary card image with background
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-11 14:05:22 +01:00
Patrik Oldsberg 150ab3ebb5 scripts: fix package detection in check-if-release.js
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-11 13:51:07 +02:00
Patrik Oldsberg 94fa652dbc Merge pull request #5992 from backstage/rugvip/mods
codemods: fixes for test and execution on Windows
2021-06-11 11:23:07 +02:00
Patrik Oldsberg a4aba416cb Merge pull request #5998 from backstage/update-yarn-lock-check
Update yarn-lock-check
2021-06-11 10:57:48 +02:00
Fredrik Adelöw 641abc29ce Merge pull request #6001 from backstage/timbonicus/theme-toggle
Fix bug preventing theme switching when `id` doesn't match `variant`
2021-06-11 07:29:05 +02:00
Tim Hansen 42a2d2ebc1 Fix theme toggling bug
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-10 19:45:37 -06:00
Juan Lulkin 0e01938e80 Update yarn-lock-check
This removes unnecessary dependencies in the library

Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
2021-06-10 22:23:36 +02:00
Patrik Oldsberg 59752e1037 codemods: fix execution of jscodeshift on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 19:35:49 +02:00
Patrik Oldsberg aa204e01e9 codemods,workflows: fix codemods tests on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 19:31:14 +02:00
Fredrik Adelöw 2b13540015 Some quick docs on how to interface with databases from backend plugins
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-10 19:24:48 +02:00
Fredrik Adelöw d2c31b132e Add Title prop in SupportButton
Co-authored-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-10 19:00:38 +02:00
Patrik Oldsberg 2147ab9c1b Merge pull request #5903 from backstage/changeset-release/master
Version Packages
2021-06-10 15:13:52 +02:00
Patrik Oldsberg 8ed49a306c create-app: fix release version to 0.3.25
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 14:32:46 +02:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
Eric Peterson ed351ec8cf Merge pull request #5960 from backstage/iameap/search-alpha-release-pt2
Search Alpha Release (Create-App Part)
2021-06-10 14:13:14 +02:00
Eric Peterson b7d03deeb6 More detailed upgrade guide.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-10 11:56:41 +02:00
Patrik Oldsberg 399abf9670 Merge pull request #5878 from backstage/rugvip/codemods
Introduce @backstage/codemods package, with an initial transform for migrating core-* imports
2021-06-10 11:53:44 +02:00
Eric Peterson 509b5638cf Changeset
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-10 11:07:41 +02:00
Patrik Oldsberg 23a4c278fb Merge pull request #5985 from backstage/rugvip/appfix
core: a couple for forwards compatibility fixes for core-*
2021-06-10 10:44:03 +02:00
Oliver Sand 429f9c0bf1 Merge pull request #5957 from SDA-SE/feat/scaffolder-source
Show link to template source on template card
2021-06-10 10:19:02 +02:00
Eric Peterson e84f6aac87 Update @backstage/create-app to include the latest improvements in @backstage/search*
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-10 10:11:32 +02:00
Patrik Oldsberg dd5f5979eb core-app-api: update api-report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 10:02:57 +02:00