Commit Graph

7347 Commits

Author SHA1 Message Date
Marek Calus 7eaa056201 Merge remote-tracking branch 'upstream/master' into mcalus3/add-catalog-import-plugin 2020-11-29 18:18:11 +01:00
Himanshu Mishra cffd14f666 Merge pull request #3488 from backstage/orkohunter/zoom-images-on-microsite
feat(backstage.io): Allow to zoom images like Medium
2020-11-29 14:59:55 +01:00
Himanshu Mishra 4122b3031f feat(backstage.io): Allow to zoom images like Medium 2020-11-29 14:02:08 +01:00
Adam Harvey 74175b988e Refactor typo in variable name (#3486) 2020-11-29 08:50:33 +01:00
Peter Colapietro 3f947b70d1 fix(react): use fragment (#3478)
The empty state's description is already wrapped in a Typography component so the one in MissingImplementsApisEmptyState is redundant.

https://github.com/backstage/backstage/blob/bbaadb63f88d0f7d42acb9fa1b1644f85bf1043e/packages/core/src/components/EmptyState/EmptyState.tsx#L57

By wrapping the EmptyState's description in a Typography the following warning is output to the console

```
react-dom.development.js?1930:89 Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>.
    in p (created by ForwardRef(Typography))
    in ForwardRef(Typography) (created by WithStyles(ForwardRef(Typography)))
    in WithStyles(ForwardRef(Typography)) (created by MissingImplementsApisEmptyState)
    in p (created by ForwardRef(Typography))
    in ForwardRef(Typography) (created by WithStyles(ForwardRef(Typography)))
    in WithStyles(ForwardRef(Typography)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in EmptyState (created by MissingImplementsApisEmptyState)
    in MissingImplementsApisEmptyState (created by Router)
    in Router (at EntityPage.tsx:78)
    in article (created by Content)
    in Content (created by Layout)
    in Layout (created by EntityPageLayout)
    in div (created by Page)
    in ThemeProvider (created by Page)
    in Page (created by EntityPageLayout)
    in EntityPageLayout (at EntityPage.tsx:64)
    in ServiceEntityPage (at EntityPage.tsx:127)
    in EntityPage (created by EntityPageSwitch)
    in EntityPageSwitch (created by Router)
    in EntityProvider (created by Router)
    in Route (created by Router)
    in Routes (created by Router)
    in Router (at App.tsx:46)
    in Route (at App.tsx:44)
    in Routes (at App.tsx:42)
    in div (created by SidebarPage)
    in SidebarPage (at App.tsx:40)
    in Route (created by AppRouter)
    in Routes (created by AppRouter)
    in Router (created by BrowserRouter)
    in BrowserRouter (created by AppRouter)
    in AppRouter (at App.tsx:39)
    in CssBaseline (created by WithStyles(CssBaseline))
    in WithStyles(CssBaseline) (created by AppThemeProvider)
    in ThemeProvider (created by AppThemeProvider)
    in AppThemeProvider (created by Provider)
    in AppContextProvider (created by Provider)
    in ApiProvider (created by Provider)
    in Provider (at App.tsx:36)
    in App (at src/index.tsx:6)
```

Co-authored-by: Peter Colapietro <petercolapietro@gmail.com>
2020-11-27 18:08:37 +01:00
Marek Calus b26e3dacd9 Fixdependency version 2020-11-27 16:37:48 +01:00
Himanshu Mishra bbaadb63f8 Merge pull request #3477 from backstage/orkohunter/yarn-lock-sync
chore: Run yarn to update yarn.lock
2020-11-27 16:05:54 +01:00
Himanshu Mishra 993e039c84 chore: run yarn to update yarn.lock 2020-11-27 15:23:19 +01:00
Ben Lambert bdc291eb7d Merge pull request #3472 from Fox32/fix-windows-builds
Fix remaining test issues on Windows
2020-11-27 15:08:23 +01:00
Patrik Oldsberg ef50326ebb Merge pull request #3446 from backstage/changeset-release/master
Version Packages
2020-11-27 15:00:59 +01:00
Patrik Oldsberg b08351ebb4 plugins: keep plugin package.json in sync 2020-11-27 14:15:08 +01:00
Oliver Sand 1162318d06 Fix remaining test issues on Windows
#3459 was on the right way but missed some places.
2020-11-27 13:51:49 +01:00
github-actions[bot] 892645b815 Version Packages 2020-11-27 12:51:09 +00:00
Patrik Oldsberg 21d75ddf1c Merge pull request #3475 from backstage/rugvip/rolldown
cli: narrow version range of rollup-plugin-esbuild to avoid breaking change
2020-11-27 13:47:15 +01:00
Himanshu Mishra d4704d14a0 Merge pull request #3452 from backstage/orkohunter/techdocs-page-edit-button 2020-11-27 13:42:07 +01:00
Patrik Oldsberg b623cc275c cli: narrow version range of rollup-plugin-esbuild to avoid breaking change 2020-11-27 13:15:23 +01:00
Oliver Sand a081f9fac8 Merge pull request #3463 from SDA-SE/feat/handle-empty-yaml-documents
Handle empty YAML documents
2020-11-27 11:06:07 +01:00
Oliver Sand 9ce60b24e2 Merge pull request #3464 from SDA-SE/feat/well-known-relations-apis
Clarify that consumesApi and providesApi are two different relationships
2020-11-27 11:05:45 +01:00
Ben Lambert 0c3045c738 Merge pull request #3470 from backstage/dependabot/npm_and_yarn/graphql-codegen/typescript-resolvers-1.17.12
build(deps-dev): bump @graphql-codegen/typescript-resolvers from 1.17.8 to 1.17.12
2020-11-27 10:21:05 +01:00
Oliver Sand e615974369 Merge pull request #3468 from SDA-SE/fix-short-singers
Remove wrong markdown
2020-11-27 09:59:07 +01:00
dependabot[bot] 773084bf87 build(deps-dev): bump @graphql-codegen/typescript-resolvers
Bumps [@graphql-codegen/typescript-resolvers](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/resolvers) from 1.17.8 to 1.17.12.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/resolvers/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typescript-resolvers@1.17.12/packages/plugins/typescript/resolvers)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-27 04:52:26 +00:00
Patrik Oldsberg 65fac8c583 Merge pull request #3469 from backstage/rugvip/scopeconf
cli: only load config schema that applies to the target package
2020-11-27 01:13:47 +01:00
Patrik Oldsberg 4c272895d5 Merge pull request #3467 from backstage/rugvip/bumpster
cli: make versions:bump properly bump the versions of all @backstage packages
2020-11-27 01:12:57 +01:00
Patrik Oldsberg b3d4e4e57a backend-common: move the frontend visibility of config to @backstage/integration 2020-11-26 22:28:38 +01:00
Patrik Oldsberg 2942954535 cli: only load config schema that applies to the target package 2020-11-26 22:28:37 +01:00
Oliver Sand cd72d6acc4 Remove wrong markdown 2020-11-26 22:01:01 +01:00
Himanshu Mishra dbca620ff9 Use fs-extra and async file read method 2020-11-26 20:41:40 +01:00
Andrew Thauer 9053afc535 Merge pull request #3466 from andrewthauer/add-rollbar-config
fix: add rollbar config to fix example-backend error
2020-11-26 14:32:12 -05:00
Andrew Thauer c70d68005d fix: add rollbar config to fix example-backend error 2020-11-26 14:14:31 -05:00
Patrik Oldsberg 6321746e20 cli: make versions:bump properly bump the versions of all @backstage packages 2020-11-26 19:59:20 +01:00
dependabot[bot] 8697dea5b4 build(deps): bump rollup from 2.23.0 to 2.33.3 (#3434)
* build(deps): bump rollup from 2.23.0 to 2.33.3

Bumps [rollup](https://github.com/rollup/rollup) from 2.23.0 to 2.33.3.
- [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.23.0...v2.33.3)

Signed-off-by: dependabot[bot] <support@github.com>

* fix types

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2020-11-26 19:30:05 +01:00
Oliver Sand 68650afeb2 Clarify that consumesApi and providesApi are two different relationships
This follows the implementation in  #3408
2020-11-26 17:57:51 +01:00
Oliver Sand 1ec19a3f4a Handle empty YAML documents
One of our users just run into this. Kubernetes has the same behavior and doesn't complain about an empty document.
2020-11-26 17:36:03 +01:00
Oliver Sand f76626c1c4 Merge pull request #3449 from SDA-SE/feat/provides-consumse-api
Replace implementsApis with providesApis and add consumesApis
2020-11-26 17:27:30 +01:00
Oliver Sand 032aba5920 Apply suggestions from code review
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2020-11-26 16:40:18 +01:00
Marek Calus 852229a3b8 Update yarn.lock 2020-11-26 15:47:21 +01:00
David Tuite 0783fd28f0 Improve phrasing of CLI description (#3390)
The replaced wording referred to both "is" and "are" in the same sentence.
2020-11-26 15:19:31 +01:00
Andrew Thauer 3a201c5d54 feat: add config schema for rollbar plugins (#3404)
* feat: add config schema for rollbar plugins

* remove rollbar from create-app template
2020-11-26 14:30:12 +01:00
Ben Lambert a5e94905e9 Merge pull request #3459 from backstage/blam/fix-windows
chore: use path.join to fix master build on windows
2020-11-26 13:19:55 +01:00
Fredrik Adelöw 50eff1d003 auth-backend: add changeset that was missing (plus minor docs tweaks) (#3458) 2020-11-26 13:14:12 +01:00
blam 3660463e2a chore: use path.join to fix master build on windows 2020-11-26 13:00:58 +01:00
Marek Calus 0dedb26e10 Revert catalog-backend version to 0.2.2 2020-11-26 11:54:20 +01:00
Stefan Ålund 01ea1cc6cc Clarify options in Governance (#3455) 2020-11-26 11:27:51 +01:00
Govind 202da8ab36 Allow application to register custom AuthProviderFactory. Refs #1984 (#3329)
* Allow application to register custom `AuthProviderFactory`. Refs #1984

* PR comments: Explicit exports

* Export `OAuth` specific types from the package

* Update documentation on how to use the interfaces

* Re-export from base `index.ts` as per ADR-004

* pass `providerId` as a parameter to `AuthFactory` instead of hardcoding

Co-authored-by: Govindarajan Nagarajan <govindarajan.nagarajan@zalando.de>
2020-11-26 11:27:00 +01:00
Himanshu Mishra 4b53294a6c TechDocs: Update mkdocs.yml with repo_url when possible before building docs 2020-11-26 10:55:38 +01:00
Ben Lambert 0ea0fb7d6b Merge pull request #3454 from backstage/dependabot/npm_and_yarn/eslint-plugin-react-7.21.5
build(deps): bump eslint-plugin-react from 7.19.0 to 7.21.5
2020-11-26 10:22:20 +01:00
Ben Lambert 8c58337a07 Merge pull request #3430 from jot-hub/bug/issue-3223
detect differing origin and indicate it at auth failure
2020-11-26 10:20:39 +01:00
Marek Calus 8bef6b9a5f Fix after merge 2020-11-26 10:18:45 +01:00
Patrik Oldsberg be3ab0e76e Merge pull request #3451 from backstage/Rugvip-patch-1
github/workflows: use service account auth for changeset
2020-11-26 10:00:03 +01:00
Marek Calus 8e7696d533 Fix after merge 2020-11-26 09:24:30 +01:00