Commit Graph

4758 Commits

Author SHA1 Message Date
Björn Marschollek 0837435531 Conditionally add Sentry widget to component page
This adds the Sentry widget back to the component page (from which it
was removed in #2246) if the component declares its own Sentry project
ID in the annotation named backstage.io/sentry-project-id. The widget
is hidden otherwise.

Previous to #2246, the widget was just displaying an empty list because
it was trying to load data for a hardcoded project name of
sample-sentry-project-id.

Fixes #2257
2020-09-04 10:54:02 +02:00
Patrik Oldsberg 46bdf1f0ca Merge pull request #2268 from spotify/rugvip/authref
auth-backend: refactor to split lib, move types closer to home, update docs, renaming things
2020-09-04 09:59:58 +02:00
Jacob Valdemar 01f4563c92 TechDocs & Catalog: Private Github repository support (#2247)
* Add private repo functionality to GhReaderProcesor

* Add github helper for private github repo

* Edit test

* lint

* Remove debugging console.log()

* Less specific if statement

* shorten get private token

* Actual shortening

* Change how current branch name is retrieved
2020-09-04 09:59:14 +02:00
dependabot-preview[bot] 4be7e48f18 chore(deps): bump got from 11.5.2 to 11.6.0 (#2273)
Bumps [got](https://github.com/sindresorhus/got) from 11.5.2 to 11.6.0.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.5.2...v11.6.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-04 09:36:31 +02:00
dependabot-preview[bot] 1a6b1d8597 chore(deps-dev): bump @types/nodegit from 0.26.7 to 0.26.8 (#2274)
Bumps [@types/nodegit](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nodegit) from 0.26.7 to 0.26.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/nodegit)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-04 09:35:01 +02:00
dependabot-preview[bot] 055cd3835c chore(deps): bump apollo-server from 2.16.1 to 2.17.0 (#2276)
Bumps [apollo-server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server) from 2.16.1 to 2.17.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server@2.17.0/packages/apollo-server)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-04 09:34:36 +02:00
Patrik Oldsberg 5a77294829 docs/auth: minor text fixes 2020-09-03 17:48:10 +02:00
Patrik Oldsberg c2125e9ac2 Merge pull request #2264 from taras/tm/failing-test-for-port
Failing tests for coercion of numeric strings to numbers
2020-09-03 17:05:36 +02:00
Taras Mankovski 3d75627444 Merge pull request #1 from spotify/rugvip/numberconfig
config: try to coerce string values into numbers
2020-09-03 10:47:12 -04:00
Patrik Oldsberg 265be1d6a1 config: try to coerce string values into numbers 2020-09-03 16:35:16 +02:00
Patrik Oldsberg 39934f43b6 auth-backend: add not found error if provider is not found 2020-09-03 15:11:17 +02:00
Patrik Oldsberg c8785b9ee0 auth-backend: rename OAuthProvider to OAuthAdapter 2020-09-03 15:08:38 +02:00
Fredrik Adelöw 8888b0c801 Merge pull request #2265 from spotify/alund/api-example
Add API examples
2020-09-03 15:05:35 +02:00
Patrik Oldsberg fa32cee7ad docs/auth: update to reflect backend changes 2020-09-03 14:51:22 +02:00
Stefan Ålund 6cc3fb47e1 Add API examples 2020-09-03 14:32:03 +02:00
Taras Mankovski 3877a50ce9 Remove unnecessary line 2020-09-03 08:30:40 -04:00
Ivan Shmidt 64ecf77b78 Merge pull request #2076 from spotify/shmidt-i/app-catalog-tabs-routes-everything-is-connected
APP-driven catalog entity page with GitHub Actions integration & routes & tabs
2020-09-03 14:06:44 +02:00
Taras Mankovski f955f92ee6 Add failed test for coercion of numberic strings 2020-09-03 08:06:08 -04:00
Taras Mankovski 7219d18853 Add failing test for port coercion 2020-09-03 07:55:32 -04:00
Patrik Oldsberg fb2d4cf241 auth-backend: refactor EnvironmentHandler to be OAuth-specific and move env config to be a provider concern 2020-09-03 13:10:45 +02:00
Patrik Oldsberg 88cf6da18d auth-backend: move passport helpers into separate lib 2020-09-03 12:02:58 +02:00
Emma Indal b77a1d6bcb TechDocs: Add docs by default to react ssr template (#2261)
* Add docs by default to react ssr template

* Update plugins/scaffolder-backend/sample-templates/react-ssr-template/{{cookiecutter.component_id}}/docs/index.md

* Update plugins/scaffolder-backend/sample-templates/react-ssr-template/{{cookiecutter.component_id}}/docs/index.md

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2020-09-03 11:20:58 +02:00
Sebastian Qvarfordt 302468971f Use version 0.0.4 of techdocs-core (#2260)
* Use version 0.0.4 of techdocs-core

* Removed unnecessary log
2020-09-03 10:37:16 +02:00
Sebastian Qvarfordt 043b0d927d TechDocs: Added more plugins to mkdocs (#2215)
* Added more plugins to mkdocs

* Added missing file

* wait with katex extension

* delete math equations example

* add changelog to readme to keep track of changes

* Updated plantuml executable in dockerfile

* Update packages/techdocs-container/Dockerfile

Co-authored-by: Emma Indal <emmai@spotify.com>
2020-09-03 10:11:02 +02:00
Patrik Oldsberg b8a3f851cd auth-backend: cleanup types and move them closer to home 2020-09-03 09:29:24 +02:00
Julien Lind d19ec8d330 Be more explicit about how to remove auth config (#2255)
Add more details about wether you can set dummy values or remove config from app-config.yaml
2020-09-03 09:06:17 +02:00
Stefan Ålund 760adfda74 [plugin marketplace] Added Jenkins + polish (#2240) 2020-09-03 08:50:13 +02:00
dependabot-preview[bot] dd765b9ff8 chore(deps): bump axios from 0.19.2 to 0.20.0 (#2251)
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.20.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 08:34:15 +02:00
dependabot-preview[bot] d31713243e chore(deps-dev): bump @types/inquirer from 6.5.0 to 7.3.1 (#2252)
Bumps [@types/inquirer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/inquirer) from 6.5.0 to 7.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/inquirer)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 08:33:45 +02:00
dependabot-preview[bot] c60b65676b chore(deps): bump @types/json-schema from 7.0.5 to 7.0.6 (#2250)
Bumps [@types/json-schema](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/json-schema) from 7.0.5 to 7.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/json-schema)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 08:32:01 +02:00
dependabot-preview[bot] dfe7e4c3cb chore(deps-dev): bump @types/rollup-plugin-postcss from 2.0.0 to 2.0.1 (#2253)
Bumps [@types/rollup-plugin-postcss](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/rollup-plugin-postcss) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/rollup-plugin-postcss)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 08:31:39 +02:00
Patrik Oldsberg 53a947bd5a auth-backend: split OAuthProvider into lib/oauth and lib/flow 2020-09-02 19:02:17 +02:00
Ivan Shmidt 6f353c2cfe refactor: OverviewPage -> OverviewContent 2020-09-02 18:06:29 +02:00
Ivan Shmidt 3a6150b8c4 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/app-catalog-tabs-routes-everything-is-connected 2020-09-02 17:09:43 +02:00
Patrik Oldsberg c5a4834557 Merge pull request #2186 from spotify/new-release-31-aug-20
Release v0.1.1-alpha.21
2020-09-02 16:52:53 +02:00
Ivan Shmidt 73aa8b990c fix(create-app): add deprecatedAppRoutes 2020-09-02 16:31:04 +02:00
Patrik Oldsberg 875f254827 Merge branch 'master' into new-release-31-aug-20 2020-09-02 16:17:40 +02:00
Ivan Shmidt 217c7094db Merge branch 'master' of github.com:spotify/backstage into shmidt-i/app-catalog-tabs-routes-everything-is-connected 2020-09-02 16:16:36 +02:00
Ivan Shmidt ad76c6116f fix: test 2020-09-02 16:15:18 +02:00
Patrik Oldsberg bc58e7a037 Merge pull request #2246 from spotify/rugvip/sentrymkay
catalog: remove sentry widget
2020-09-02 16:14:23 +02:00
Ivan Shmidt 7834bcaa99 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/app-catalog-tabs-routes-everything-is-connected 2020-09-02 15:59:09 +02:00
Patrik Oldsberg 27113c5364 catalog: remove sentry widget 2020-09-02 15:57:55 +02:00
Ivan Shmidt 9988479c61 refactor: address PR comments 2020-09-02 15:57:18 +02:00
Patrik Oldsberg 1ab18244d1 Merge pull request #2236 from althafh/adopters
Add Grab to the ADOPTERS file
2020-09-02 15:36:01 +02:00
Sebastian Qvarfordt 07c9a9474a Get branchname from repo instance instead of location url (#2242) 2020-09-02 15:30:35 +02:00
Patrik Oldsberg 8e9326cd53 Merge pull request #2237 from spotify/rugvip/docsdir
techdocs-backend: use resolvePackagePath instead of __dirname
2020-09-02 15:25:14 +02:00
Marcus Eide fdda0ab097 Merge pull request #2234 from spotify/eide/log-formatting
backend: Log formatting
2020-09-02 14:38:34 +02:00
Marcus Eide 9932df4763 Merge pull request #2239 from spotify/eide/remove-sentry-from-create-app
create-app: Remove sentry
2020-09-02 14:38:08 +02:00
Patrik Oldsberg dff1f1045a Merge pull request #2241 from spotify/rugvip/fixauthi
auth-backend: use correct interface in factory return type
2020-09-02 14:36:57 +02:00
Patrik Oldsberg c08a83260e auth-backend: use correct interface in factory return type 2020-09-02 14:21:58 +02:00