Commit Graph

997 Commits

Author SHA1 Message Date
Ben Lambert f32570c633 Merge pull request #1064 from spotify/blam/persistant-storage
Simple WebStorage Persistant API
2020-06-03 21:58:31 +02:00
blam 0e5d0ea7e1 feat(core-api/Storage): Made the implementation a litle nicer now so that the error API is passed through to the storage API 2020-06-03 21:25:51 +02:00
blam e37ad442e2 chore(core-api/Storage): fixing some more code review comments. and encoding the namespace better 2020-06-03 20:23:41 +02:00
blam 42d58955c2 feat(core-api/Storage): Encode the key names to avoid clashes 2020-06-03 19:49:59 +02:00
blam f32e987d15 chore(core-api/Storage): Fixing some code review comments, so we don't have to cast some stuff in Typescript 2020-06-03 18:00:12 +02:00
blam fb32b09226 feat(core-api/Storage): Be able to namespace with forBucket function 2020-06-03 17:21:15 +02:00
blam f1ba79fec0 chore(core-api/Storage): Fixing order of the functions 2020-06-03 14:51:53 +02:00
blam 3825667923 feat(core-api/Storage): Added a simple implementatation of subscriptions 2020-06-03 14:41:47 +02:00
Fredrik Adelöw 4da5cace1f feat(cli): delete coverage dir during clean 2020-06-03 14:31:49 +02:00
blam a93f121217 Merge branch 'master' of github.com:spotify/backstage into blam/persistant-storage
* 'master' of github.com:spotify/backstage: (97 commits)
  Update development-environment.md
  Make local start of catalog work
  Tweak the router tests, and fix one error
  Forgot one member of the higher order type
  package/app: move app config to yaml
  packages/cli: make cli read app config and inject into APP_CONFIG at compile-time
  packages/core: make AppConfigLoader return an array, and added defaultConfigLoader + tests
  github/workflows: use actions/cache@v2
  github/workflows: split cli build to skip more builds on windows
  plugins/auth-backend: docs for saml-idp
  plugins/auth-backend: added basic saml provider
  plugins/auth-backend: refactor to allow non-oauth providers
  Break out the location refresh loop as well
  plugins: remove mock-idp-backend
  plugins/auth-backend: add script for starting up saml test idp
  plugins/mock-idp-backend: add saml-idp + test command
  plugins/mock-idp-backend: generate some dev certs
  plugins: added initial mock-idp-backend
  Address comments and add tests
  Rename test to clarify what it is doing
  ...
2020-06-03 12:17:38 +02:00
blam 99a2387076 feat(core-api/Storage): Add the simple storage API for now with some simpler tests 2020-06-02 23:12:32 +02:00
Patrik Oldsberg d0fb818c4d package/app: move app config to yaml 2020-06-02 17:49:22 +02:00
Patrik Oldsberg 41dd61984c packages/cli: make cli read app config and inject into APP_CONFIG at compile-time 2020-06-02 17:30:49 +02:00
Patrik Oldsberg 483fa94d0e packages/core: make AppConfigLoader return an array, and added defaultConfigLoader + tests 2020-06-02 17:30:49 +02:00
blam 4fd99fec25 feat(core-api/Storage): reworking the api for storage. get's should be sync 2020-06-02 17:05:49 +02:00
Fredrik Adelöw 17a16f617c Break out the location refresh loop as well 2020-06-02 13:35:59 +02:00
Fredrik Adelöw bd7b9023aa Merge pull request #1101 from spotify/freben/location-fetch-store
Move addLocation to new HigherOrderOperations
2020-06-02 10:59:21 +02:00
Fredrik Adelöw 8d0e750bc2 Address comments and add tests 2020-06-02 10:49:23 +02:00
Marcus Eide 5567c5e2e5 Merge pull request #1074 from spotify/eide/github-auth
Add github auth
2020-06-02 10:45:00 +02:00
Marcus Eide 7d4c044d1a Rename test to clarify what it is doing 2020-06-02 10:04:20 +02:00
Fredrik Adelöw f7ef6d4921 Move addLocation to new HigherOrderOperations 2020-06-02 09:41:36 +02:00
Patrik Oldsberg f9e4e557f8 packages/cli: enable TS isolatedModules 2020-06-01 16:09:11 +02:00
Patrik Oldsberg 7da845e844 packages/cli: use own tsconfig 2020-06-01 16:09:11 +02:00
Patrik Oldsberg 9f50e7c1b4 packages,plugins: fix lint issues 2020-06-01 16:09:10 +02:00
Patrik Oldsberg f67f928afc packages/cli: remove direct web-scripts dependency and use config packages instead 2020-06-01 15:52:06 +02:00
Patrik Oldsberg 9a6df0bf18 packages/cli: call eslint directly 2020-06-01 15:51:00 +02:00
Patrik Oldsberg 2fedc2320f Merge pull request #1092 from spotify/rugvip/verify-types
scripts: add check-type-dependencies to make sure @type dependencies are listed correctly
2020-06-01 15:33:28 +02:00
Patrik Oldsberg d45a753f22 Merge pull request #1057 from spotify/rugvip/appwrapp
packages/test-utils: do app wrapping with actual app + remove wrapInThemedTestApp
2020-06-01 15:18:44 +02:00
Raghunandan Balachandran 69a22a8f1b Merge pull request #1061 from spotify/freben/add-delete
Add routes for add/delete entity to the catalog
2020-06-01 15:07:09 +02:00
Patrik Oldsberg 65ab1685f4 packages/core-api: make App configLoader optional and synchronous when missing 2020-06-01 14:59:28 +02:00
Fredrik Adelöw a90e6ab44f Update plugins/catalog-backend/src/catalog/DatabaseEntitiesCatalog.test.ts
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2020-06-01 14:52:31 +02:00
Patrik Oldsberg 12f38f399d Merge pull request #1081 from spotify/rugvip/dev-root
packages/dev-utils: added OAuthRequestApi + addRootChild
2020-06-01 14:32:59 +02:00
Patrik Oldsberg 44f61015f5 packages/test-utils: add missing wrappapper props 2020-06-01 14:19:23 +02:00
Patrik Oldsberg e32f5a49ff packages/test-utils: do app wrapping with actual app + remove wrapInThemedTestApp 2020-06-01 13:43:51 +02:00
Patrik Oldsberg c6abe12e45 packages,plugins: fix incorrect type dependencies 2020-06-01 12:27:29 +02:00
Marcus Eide 438bdba2cf Use StaticAuthSessionManager for Github 2020-06-01 12:07:58 +02:00
Stefan Ålund 63221f6fc5 Fix incorrect markdown links (#1088) 2020-06-01 10:58:23 +02:00
Fredrik Adelöw 0f41ac4bf7 Add the MockedMemberFunctions helper 2020-06-01 09:45:00 +02:00
Patrik Oldsberg 6f955a5366 packages/dev-utils: add oauthRequestApi factory + dialog 2020-05-31 19:41:09 +02:00
Patrik Oldsberg 43795b8576 packages/dev-utils: added addRootChild to DevAppBuilder 2020-05-31 19:41:09 +02:00
Patrik Oldsberg 5e87a349b0 Merge pull request #1046 from spotify/rugvip/config
packages/core-api: add ConfigApi + implementation and createApp option
2020-05-31 19:02:41 +02:00
Fredrik Adelöw 9ccf617b82 Add routes for add/delete entity to the catalog 2020-05-30 20:34:33 +02:00
Raghunandan Balachandran 156a0bb7e4 Merge pull request #1078 from spotify/remove-github-login
Auth Frontend: remove github login page
2020-05-30 20:20:04 +02:00
Himanshu Mishra a0a891a193 Fix overlap issue with Sidebar and Dismissable banner (#1077)
* Increase zIndex of Sidebar to be on top of the page

As of now, the Sidebar is being overlapped by Dismissable banner component

* Unset z-index of Dismissable Banner

It inherits a z-index of 1400 from Material UI's snackbar component
2020-05-30 14:37:54 +02:00
Raghunandan 8f56253f2a remove github login page 2020-05-30 13:54:48 +02:00
Patrik Oldsberg d120e5f8cb packages/core-api: add Progress as a configurable app component 2020-05-29 16:43:55 +02:00
Patrik Oldsberg a115bd6331 packages/app: add mock config loader and use in welcome plugin 2020-05-29 16:36:23 +02:00
Patrik Oldsberg bdf32a00a0 packages/core-api: add configLoader option to App 2020-05-29 16:36:21 +02:00
Patrik Oldsberg 1ab6499bbb packages/core-api: export ConfigApi + implementation 2020-05-29 16:36:20 +02:00
Patrik Oldsberg 810de67f9c packages/core-api: some more tests for ConfigReader to make sure deep merge is correct 2020-05-29 16:36:20 +02:00