Commit Graph

3869 Commits

Author SHA1 Message Date
Ben Lambert fda81c64cd Merge pull request #4514 from ebarriosjr/added-githubapp-authentication-to-scaffolder
Added githubapp authentication to scaffolder
2021-02-17 13:35:33 +01:00
ebarrios 233b78a42e Replace logging erro and return undefined for a throw new Error 2021-02-17 12:23:16 +01:00
ebarrios 36a4ede275 Change error message in the publish func for when the credentials provider can not get a token 2021-02-16 19:56:18 +01:00
ebarrios cc2c047f15 Reverted change to preparer function to use Git.fromAuth({ logger }) when the credentials provider can not get a token 2021-02-16 19:50:56 +01:00
Rob Long a98637c153 Update Percentage.tsx
useTheme() on line 32 returns null so I tested this change to the import on my local copy, which gets the sonar plugin working. Other plugins seem to be importing from '@material-ui/core', e.g. https://github.com/backstage/backstage/blob/7ee15d2c5b40a8984aacabe7bdf5ccab759d95a6/plugins/catalog/src/components/CatalogFilter/AllServicesCount.tsx#L19
2021-02-16 16:55:51 +00:00
Oliver Sand ca10ce8914 Merge pull request #4392 from SDA-SE/feat/tables
Add tables to systems and domains
2021-02-16 16:12:34 +01:00
Ben Lambert c4c1f1f23b Merge pull request #4520 from egnwd/sb/plugin-org
Storybook: Org Plugin Components
2021-02-16 15:44:11 +01:00
Adam Harvey 7ea855c3e2 Merge pull request #4543 from backstage/adamdmharvey-patch-1
Cross reference cost insights README to blog
2021-02-16 09:33:43 -05:00
ebarrios fdd33af1cf Added githubApp authentication for the scaffolder prepare stage 2021-02-16 15:10:00 +01:00
Ben Lambert fe0ee447a0 Merge pull request #4416 from ayshiff/feature/splunk-on-call-plugin
Feature: Splunk On-Call Plugin
2021-02-16 15:04:44 +01:00
Oliver Sand ec08562289 Avoid intermediate card component and use InfoCard directly 2021-02-16 14:46:49 +01:00
Oliver Sand dd95e2efd6 Remove now unused code 2021-02-16 14:42:50 +01:00
ebarrios 3fc738a55c modify change set to path, simplify to one expresion the check for config.token and config.apps and deconstructed the response fron the credentialProvider.getCredentials function 2021-02-16 12:58:15 +01:00
Oliver Sand e7c2e70e77 Fix some leftover variant usages 2021-02-16 12:52:35 +01:00
Oliver Sand ae6ea43408 Compare relation type case insensitive 2021-02-16 12:49:02 +01:00
Oliver Sand 8c01099061 useAsync instead of useAsyncRetry 2021-02-16 12:47:11 +01:00
Oliver Sand fccf63335c Fix typos 2021-02-16 12:25:15 +01:00
Oliver Sand 584dd21454 Use enum for variant 2021-02-16 12:22:17 +01:00
Oliver Sand 5a892f9dc8 Rename emptyComponent to emptyContent 2021-02-16 12:15:16 +01:00
Himanshu Mishra 02109ea642 Merge pull request #4540 from backstage/orkohunter/techdocs-store-etag-in-filesystem-based-cache 2021-02-16 11:16:16 +01:00
Remi de606ccfed fix(splunk-on-call-plugin): typos 2021-02-16 10:25:21 +01:00
Ben Lambert 896add263f Merge pull request #4534 from SDA-SE/feat/file-reader-glob
Support globs in FileReaderProcessor
2021-02-16 10:20:53 +01:00
ebarrios 3a15d2941e Addresed all coments from Rugvip to remove all mutable objects from the fromConfig function 2021-02-16 10:18:14 +01:00
Ben Lambert a015e1c6a6 Merge pull request #4524 from backstage/dependabot/npm_and_yarn/sanitize-html-2.3.2
chore(deps): bump sanitize-html from 1.27.0 to 2.3.2
2021-02-16 10:15:01 +01:00
Adam Harvey feb9f131ef Cross-ref cost insights README to blog 2021-02-15 22:55:55 -05:00
Esteban Barrios bff1b1c4ad Merge branch 'master' into added-githubapp-authentication-to-scaffolder 2021-02-15 23:25:38 +01:00
Patrik Oldsberg 49299a1faf Merge pull request #4541 from backstage/rugvip/gh-auth
integrations: switch to using x-access-token for github git auth
2021-02-15 21:16:02 +01:00
Patrik Oldsberg fb28da2123 integrations: switch to using x-access-token for github git auth 2021-02-15 20:27:26 +01:00
Patrik Oldsberg d31228eb42 Merge pull request #4531 from backstage/rugvip/authref
auth-backend: refactor providers to accept options, and delay profile transforms
2021-02-15 19:44:13 +01:00
Himanshu Mishra b16b096f58 TechDocs: Add etag to techdocs_metadata.json 2021-02-15 19:38:07 +01:00
Patrik Oldsberg 2046701e96 auth-backend: fix a camel 2021-02-15 17:26:51 +01:00
Patrik Oldsberg f781754643 auth-backend: move @types/passport to deps 2021-02-15 17:26:24 +01:00
Oliver Sand fdbd02e089 Improve glob test expectations
Signed-off-by: Oliver Sand oliver.sand@sda-se.com
2021-02-15 15:34:57 +01:00
Oliver Sand d0aec7d689 Make test run on Windows?
Signed-off-by: Oliver Sand oliver.sand@sda-se.com
2021-02-15 15:32:58 +01:00
Oliver Sand 434b4e81a8 Support globs in FileReaderProcessor
Signed-off-by: Oliver Sand oliver.sand@sda-se.com
2021-02-15 15:12:06 +01:00
ebarrios 18ed99c0e5 Used credentialsProvider as to determine which kind of authentication is going to be used instead of adding an accessType top the GitHubIntegrationConfig 2021-02-15 14:45:40 +01:00
dependabot[bot] 6620965b4f chore(deps): bump sanitize-html from 1.27.0 to 2.3.2
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 1.27.0 to 2.3.2.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/commits/2.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-15 13:02:36 +00:00
Patrik Oldsberg 3ec9c76ce2 Merge pull request #4530 from backstage/rugvip/datefix
auth-backend: fix key timestamp parsing with sqlite
2021-02-15 13:13:37 +01:00
ebarrios 7a4d468d97 Used GithubCredentialsProvider as requested by benjdlambert in the pr comments 2021-02-15 11:53:38 +01:00
Oliver Sand 32a9504095 Hide the kind of the owner if it's the default kind for the ownedBy relationship (group).
I guess I missed this one. In the catalog table & co we already hide it.

Signed-off-by: Oliver Sand oliver.sand@sda-se.com
2021-02-15 11:34:51 +01:00
Elliot Greenwood 87b921af67 Fix up tsc
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-14 21:50:21 +00:00
Elliot Greenwood 8e8413d741 Add Empty MemberList case
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-14 21:50:20 +00:00
Elliot Greenwood fdf9160a8c Create OwnershipCard story
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-14 21:50:20 +00:00
Elliot Greenwood 2773050795 Add GroupProfileCard story
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-14 21:50:20 +00:00
Elliot Greenwood 4a6689fece Add UserProfileCard story
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-14 21:50:19 +00:00
Patrik Oldsberg d9687c524f auth-backend: fix key timestamp parsing with sqlite 2021-02-14 20:00:21 +01:00
Patrik Oldsberg 65fa16dee4 auth-backend: refactor profile transform to happen within handlers instead of verify callback 2021-02-14 17:38:07 +01:00
Patrik Oldsberg b9709efff8 auth-backend: refactor user profile fetch to transform profile outside 2021-02-13 17:42:14 +01:00
blam 3957c024f5 chore: renaming to use targetPath rather than templatePath like the rest of the preparers 2021-02-12 22:54:20 +01:00
blam d84df12d3b bug: fixing the input path to the FilePreparer, and fixing the destination directory for the preparer to template 2021-02-12 22:48:57 +01:00