Commit Graph

2810 Commits

Author SHA1 Message Date
Patrik Oldsberg ee7f6f2b2e packages/core-api: add logout to IdentityApi and properly handle multiple sign-in attempts 2020-06-16 15:15:55 +02:00
Patrik Oldsberg 09c16fb554 packages/core-api: make idToken and logout optional in SignInResult 2020-06-16 15:06:47 +02:00
Patrik Oldsberg 2ed4db0f00 packages/core-api: add IdentityApi to app and hook up to optional sign-in page component 2020-06-16 11:35:36 +02:00
Patrik Oldsberg 9a37995151 packages/core-api: split AppComponent into AppRouter and AppRoutes 2020-06-16 11:35:35 +02:00
Patrik Oldsberg b943eb065e packages/core-api: move config loading logic in AppProvider into separate hook 2020-06-16 11:21:54 +02:00
Stefan Ålund e1ea85cd93 Clean up Register plugin (#1291)
* Clean up Register plugin

* Fix test

* Update RegisterComponentPage.tsx
2020-06-16 09:53:44 +02:00
Patrik Oldsberg 2a3303a8fe Merge pull request #1305 from spotify/rugvip/sideroute
packages/core: fix base path being ignored + sidebar highlighting
2020-06-16 09:45:23 +02:00
Patrik Oldsberg 6692243b20 packages/core-api: use fragment instead of div to wrap app route 2020-06-15 19:25:11 +02:00
Patrik Oldsberg 972745a091 packages/core: refactor SidebarItem to avoid warnings 2020-06-15 19:23:34 +02:00
Patrik Oldsberg 90794fcb59 packages/core: fix base path being ignored + sidebar highlighting 2020-06-15 18:56:16 +02:00
Fredrik Adelöw e21f3e5850 Merge pull request #1304 from spotify/freben/entity-per-file
chore(catalog-backend): split apart example components and register in loop
2020-06-15 16:54:39 +02:00
Fredrik Adelöw a064515684 chore(catalog-backend): split apart example components and register in loop 2020-06-15 16:49:37 +02:00
Niklas Ek 83043c870c Merge pull request #1264 from chanwit/add-err-msg-list-cluster
gitops-plugin: add meaningful error message for the cluster listing page
2020-06-15 16:48:56 +02:00
Ben Lambert 98b92728fe Merge pull request #1221 from spotify/blam/msw
Use MSW for the Catalog for mocking network requests
2020-06-15 15:10:54 +02:00
Ivan Shmidt c5ac3dfbf8 Merge pull request #1290 from spotify/shmidt-i/yarn-tsc-error-message
More explicit error message when missing .d.ts files
2020-06-15 15:10:05 +02:00
blam f3245c4f8f chore(catalog/msw): resetting package.json 2020-06-15 14:57:53 +02:00
blam fe3ec5d3c6 Merge branch 'master' of github.com:spotify/backstage into blam/msw
* 'master' of github.com:spotify/backstage: (63 commits)
  packages/cli: add lint rule to avoid cross-package src imports
  fix(catalog-backend): make location delete work again
  Add Other component category (#1292)
  packages/core-api: add initial definition of IdentityApi
  additional sqli protection
  build(deps): bump eslint from 7.1.0 to 7.2.0 (#1285)
  return 204 when there's no response data
  build(deps-dev): bump @types/codemirror from 0.0.95 to 0.0.96 (#1284)
  build(deps-dev): bump @types/morgan from 1.9.0 to 1.9.1 (#1287)
  build(deps): bump chalk from 4.0.0 to 4.1.0 (#1286)
  catalog: suffix entiy kind typeswith Entity
  feat(catalog): new kind LocationRef
  packages/cli: assume browser build if esm output is included
  packages/backend-common: import winston as namespace
  plugins/catalog-backend: typecheck migration files
  plugins/catalog-backend: move migrations to JS with type annotations
  packages/cli: fix jest module mapper to only match entire module name
  github/workflows: use env app config to set e2e test port
  packages/cli: use app.baseUrl to configure dev server
  packages/config-loader: more docs!
  ...
2020-06-15 14:53:24 +02:00
Ivan Shmidt 2e369402a9 fix(cli): bump rollup-plugin-esbuild 2020-06-15 14:29:08 +02:00
Patrik Oldsberg 1e099a11dd Merge pull request #1300 from spotify/rugvip/nosrc
packages/cli: add lint rule to avoid cross-package src imports
2020-06-15 14:26:03 +02:00
Patrik Oldsberg 972451b4f9 packages/cli: add lint rule to avoid cross-package src imports 2020-06-15 14:00:01 +02:00
Fredrik Adelöw 1ba8eb88fd Merge pull request #1297 from spotify/freben/delete-location
fix(catalog-backend): make location delete work again
2020-06-15 13:33:35 +02:00
Fredrik Adelöw 8f82336198 fix(catalog-backend): make location delete work again 2020-06-15 13:25:57 +02:00
Stefan Ålund 1855bf381b Add Other component category (#1292) 2020-06-15 12:58:20 +02:00
Patrik Oldsberg d6b5bd7769 Merge pull request #1296 from spotify/rugvip/identity
packages/core-api: add initial definition of IdentityApi
2020-06-15 12:40:11 +02:00
Patrik Oldsberg 6e8671cf0f packages/core-api: add initial definition of IdentityApi 2020-06-15 12:13:29 +02:00
Fredrik Adelöw 8bab0e4b18 Merge pull request #1269 from spotify/freben/search-gone-wild
feat(catalog-backend): support wildcard matching on entities
2020-06-15 12:06:50 +02:00
Fredrik Adelöw 559a6e4a50 additional sqli protection 2020-06-15 12:01:14 +02:00
Patrik Oldsberg ddcde5228b Merge pull request #1277 from spotify/rugvip/secrets
packages/config-loader: implement secrets parsing + tests and refactoring
2020-06-15 11:51:22 +02:00
Fredrik Adelöw e660cb10bb Merge pull request #1295 from spotify/freben/204-loc-del
return 204 when there's no response data
2020-06-15 11:49:36 +02:00
dependabot-preview[bot] a73eadc27a build(deps): bump eslint from 7.1.0 to 7.2.0 (#1285)
Bumps [eslint](https://github.com/eslint/eslint) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.1.0...v7.2.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-15 11:40:18 +02:00
Fredrik Adelöw 92774dc9f6 return 204 when there's no response data 2020-06-15 11:34:46 +02:00
Patrik Oldsberg 7b888f5bfc Merge pull request #1280 from spotify/rugvip/migrate-js
plugins/catalog-backend: move migrations to JS with type annotations
2020-06-15 11:08:57 +02:00
Patrik Oldsberg ca43ea61cf Merge pull request #1281 from spotify/rugvip/winston
packages/backend-common: import winston as namespace
2020-06-15 10:38:34 +02:00
dependabot-preview[bot] 6ff1a1f547 build(deps-dev): bump @types/codemirror from 0.0.95 to 0.0.96 (#1284)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.95 to 0.0.96.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

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-15 10:36:07 +02:00
dependabot-preview[bot] 4d0b3f19ac build(deps-dev): bump @types/morgan from 1.9.0 to 1.9.1 (#1287)
Bumps [@types/morgan](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/morgan) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/morgan)

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-15 10:35:36 +02:00
dependabot-preview[bot] 45c27aa8a0 build(deps): bump chalk from 4.0.0 to 4.1.0 (#1286)
Bumps [chalk](https://github.com/chalk/chalk) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.0.0...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-15 10:35:09 +02:00
Ivan Shmidt dcea135f42 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/yarn-tsc-error-message 2020-06-15 09:57:38 +02:00
Fredrik Adelöw 92615a78c5 Merge pull request #1276 from spotify/freben/locationref
feat(catalog): new kind LocationRef
2020-06-15 09:36:22 +02:00
Ivan Shmidt e91a4402f4 feat: more explicit error message 2020-06-15 09:30:14 +02:00
Fredrik Adelöw 1b2d70a70d catalog: suffix entiy kind typeswith Entity 2020-06-15 09:25:28 +02:00
Fredrik Adelöw 319012e0f9 feat(catalog): new kind LocationRef 2020-06-15 09:10:11 +02:00
Patrik Oldsberg 8054f61246 Merge pull request #1282 from spotify/rugvip/buildswitch
packages/cli: assume browser build if esm output is included
2020-06-14 20:09:18 +02:00
Patrik Oldsberg 2dec7be093 packages/cli: assume browser build if esm output is included 2020-06-14 19:32:57 +02:00
Patrik Oldsberg 3bdcc175d9 packages/backend-common: import winston as namespace 2020-06-14 13:44:32 +02:00
Patrik Oldsberg 7fac58f23d plugins/catalog-backend: typecheck migration files 2020-06-14 13:21:06 +02:00
Patrik Oldsberg e840d9c20a plugins/catalog-backend: move migrations to JS with type annotations 2020-06-14 13:13:59 +02:00
Patrik Oldsberg 46c51f2698 packages/cli: fix jest module mapper to only match entire module name 2020-06-14 13:11:37 +02:00
Patrik Oldsberg 8aee97383e Merge pull request #1278 from spotify/rugvip/serveurl
packages/cli: use app.baseUrl to configure dev server
2020-06-13 19:11:11 +02:00
Patrik Oldsberg 130ecfb7dd github/workflows: use env app config to set e2e test port 2020-06-13 18:20:34 +02:00
Patrik Oldsberg 19d4a4323a packages/cli: use app.baseUrl to configure dev server 2020-06-13 15:05:15 +02:00