74233 Commits

Author SHA1 Message Date
Bilawal Hameed 3234dbbd8e fix: Techdocs to TechDocs 2020-06-22 13:52:39 +02:00
Bilawal Hameed b3c56655fd fix: rename pulp-fiction to techdocs-core 2020-06-22 13:50:51 +02:00
Bilawal Hameed 179444ef83 feat(techdocs): yarn create-plugin 2020-06-22 13:42:42 +02:00
blam d721c5c2d2 Merge branch 'master' of github.com:spotify/backstage into blam/github-as-source
* 'master' of github.com:spotify/backstage: (52 commits)
  build(deps): bump @rollup/plugin-json from 4.0.3 to 4.1.0 (#1360)
  build(deps-dev): bump lerna from 3.22.0 to 3.22.1 (#1390)
  build(deps): bump graphql from 15.0.0 to 15.1.0 (#1391)
  core-api: switch IdentityApi id token access to async
  Adding name of signed in user to greeting message (#1387)
  Fix CircleCI plugin (#1384)
  packages/core: update to not use default exports for components
  auth-backend: clean up naming and types of TokenFactory time handling
  auth-backend: some review feedback of oidc bits
  auth-backend: remove logging from DatabaseKeyStore
  auth-backend: more docs for TokenFactory
  auth-backend: added tests for TokenFactory and fix keyDuration being ignored
  auth-backend: added tests for DatabaseKeyStore
  auth-backend: refactor identity to remove logic from storage layer
  auth-backend: document identity types
  auth-backend: refactor identity APIs for forwards compatibility
  auth-backend: update standalone setup to use service builder and HMR
  auth-backend: issue user id tokens when signing in with google or github
  auth-backend: move logger setup out from constructors and use non-reserved fields
  auth-backend: make key duration configurable
  ...
2020-06-22 13:38:02 +02:00
Fredrik Adelöw 609eea997a chore(backend-common): just tweaked the structure of useHotMemoize 2020-06-22 13:07:26 +02:00
Patrik Oldsberg 0ddabab956 Merge pull request #1380 from spotify/rugvip/oidc
auth-backend: Add lightweight OpenID Provider discovery and token issuing
2020-06-22 11:26:20 +02:00
dependabot-preview[bot] 1c44701753 build(deps): bump @rollup/plugin-json from 4.0.3 to 4.1.0 (#1360)
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins) from 4.0.3 to 4.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/json-v4.0.3...json-v4.1.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-06-22 09:54:07 +02:00
dependabot-preview[bot] a3d1d49f05 build(deps-dev): bump lerna from 3.22.0 to 3.22.1 (#1390)
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna) from 3.22.0 to 3.22.1.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/master/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v3.22.1/core/lerna)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 09:53:36 +02:00
dependabot-preview[bot] e62cc606fb build(deps): bump graphql from 15.0.0 to 15.1.0 (#1391)
Bumps [graphql](https://github.com/graphql/graphql-js) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v15.0.0...v15.1.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-06-22 09:53:17 +02:00
Nikita Dudnik 5d656ad3c0 Merge pull request #1349 from spotify/ndudnik/filter-by-identity
Filter by identity
2020-06-22 09:50:12 +02:00
Nikita Nek Dudnik fb3c9f4152 Merge remote-tracking branch 'origin/master' into ndudnik/filter-by-identity 2020-06-22 09:35:23 +02:00
Patrik Oldsberg 404fc07417 Merge pull request #1388 from spotify/rugvip/asyncit
core-api: switch IdentityApi id token access to async
2020-06-21 22:21:40 +02:00
Patrik Oldsberg 36ec20373d core-api: switch IdentityApi id token access to async 2020-06-21 21:53:32 +02:00
Patrik Oldsberg 33a959dd85 Merge pull request #1383 from spotify/rugvip/hot
backend-common: change useHotCleanup to clean up on parents being disposed as well
2020-06-21 21:40:49 +02:00
Daniel Davis cdcb9ed2ef Adding name of signed in user to greeting message (#1387)
Co-authored-by: Daniel Davis <danieldavis@daniels-mbp.home>
2020-06-21 21:25:24 +02:00
David Tuite b48d37c022 Fix CircleCI plugin (#1384)
* Fix disappearing CircleCI plugin

The paths for the CircleCI plugin were too deeply nested causing a blank
page to render when one visited /circleci.

* Set correct inputs from CircleCI settings

Typically, a value like `tokenFromStore` would be an empty string. The
code was setting `tokenFromStore` (rather than `token`) into the state
on every keystroke.

I don't know what potential effect this change has on storing tokens
because I haven't tested that feature yet. Hopefully it still works as
intended.

* Add Vim .swp files to .gitignore

Co-authored-by: David Tuite <dtuite@gmail.com>
2020-06-21 21:10:53 +02:00
Patrik Oldsberg 8067f1b92a Merge pull request #1385 from spotify/rugvip/nodefault
packages/core: update to not use default exports for components
2020-06-21 18:55:27 +02:00
Patrik Oldsberg 9fc73e9e36 packages/core: update to not use default exports for components 2020-06-21 17:54:52 +02:00
Patrik Oldsberg 6553b811b8 Merge pull request #1379 from spotify/rugvip/rundev
packages/cli: avoid including src/index when serving backend src/run
2020-06-21 17:19:01 +02:00
Patrik Oldsberg 180be84ba2 auth-backend: clean up naming and types of TokenFactory time handling 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 3562d836fe auth-backend: some review feedback of oidc bits 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 031b1d8b39 auth-backend: remove logging from DatabaseKeyStore 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 20cb44ff2c auth-backend: more docs for TokenFactory 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 8e05f91c29 auth-backend: added tests for TokenFactory and fix keyDuration being ignored 2020-06-21 17:00:53 +02:00
Patrik Oldsberg 5d85c188b2 auth-backend: added tests for DatabaseKeyStore 2020-06-21 17:00:53 +02:00
Patrik Oldsberg a4bbcaa002 auth-backend: refactor identity to remove logic from storage layer 2020-06-21 17:00:53 +02:00
Patrik Oldsberg a1e975b8ac auth-backend: document identity types 2020-06-21 17:00:53 +02:00
Patrik Oldsberg 48b6f9533c auth-backend: refactor identity APIs for forwards compatibility 2020-06-21 17:00:52 +02:00
Patrik Oldsberg 625f50725b auth-backend: update standalone setup to use service builder and HMR 2020-06-21 17:00:52 +02:00
Patrik Oldsberg 5bd70f9aa5 auth-backend: issue user id tokens when signing in with google or github 2020-06-21 17:00:52 +02:00
Patrik Oldsberg f2746a6eec auth-backend: move logger setup out from constructors and use non-reserved fields 2020-06-21 17:00:52 +02:00
Patrik Oldsberg c72056eb29 auth-backend: make key duration configurable 2020-06-21 17:00:51 +02:00
Patrik Oldsberg 55faf713c3 auth-backend: fix jwks response not wrapping keys in object 2020-06-21 17:00:51 +02:00
Patrik Oldsberg af0bfccbb5 auth-backend: generate kid with uuid and use P-256 2020-06-21 17:00:51 +02:00
Patrik Oldsberg b0bf34cfc9 auth-backend: use well-known route for jwks 2020-06-21 17:00:50 +02:00
Patrik Oldsberg ca9a2ddf1a auth-backend: hook up oidc router and token issuer/db 2020-06-21 17:00:50 +02:00
Patrik Oldsberg adc574ee33 auth-backend: make DatabaseKeyStore only return valid keys and remove expired ones 2020-06-21 17:00:50 +02:00
Patrik Oldsberg 90cc2ca615 auth-backend: expire signing keys 2020-06-21 17:00:49 +02:00
Patrik Oldsberg 0a305d7f70 auth-backend: initial identity provider implementation 2020-06-21 17:00:49 +02:00
Patrik Oldsberg 2a3af378d2 packages/cli: avoid including src/index when serving backend src/run 2020-06-21 17:00:37 +02:00
Patrik Oldsberg cddfff19c8 Merge pull request #1382 from spotify/rugvip/espin
cli: cleanup and fixes for app template
2020-06-21 16:59:23 +02:00
Patrik Oldsberg dcb300293c app,cli/template: pin react-router version to the same as react-router-dom 2020-06-21 16:41:47 +02:00
Patrik Oldsberg d97842a69f app,cli/templates: better mocking of app config in test 2020-06-21 15:17:24 +02:00
Patrik Oldsberg 6d9aaef9e7 cli: mock config in app template test 2020-06-21 14:39:07 +02:00
Patrik Oldsberg c8411f4760 cli: remove duplicate global styles from app template 2020-06-21 14:39:06 +02:00
Patrik Oldsberg ce8d65568a cli: update public/index.html in app template 2020-06-21 14:39:06 +02:00
Patrik Oldsberg 903ad947a2 cli: pin esbuild to 0.5.3 in app template 2020-06-21 14:39:05 +02:00
Patrik Oldsberg 8127491b8b backend-common: change useHotCleanup to clean up on parents being disposed as well 2020-06-21 14:23:49 +02:00
Rémi DOREAU 542d209a6b refactor(tech-radar): requested changes 2020-06-20 23:45:25 +02:00
Rémi DOREAU fac4893555 fix(tech-radar): missing state setters 2020-06-20 18:52:15 +02:00