Commit Graph

538 Commits

Author SHA1 Message Date
Nikita Nek Dudnik 443faf58b0 fix: rename database to knex for better readability 2020-06-04 14:22:30 +02:00
Nikita Nek Dudnik dd37c0dd33 fix: get rid of obsolete and duplicated code 2020-06-04 14:11:09 +02:00
Nikita Nek Dudnik fd635a80a0 fix: improve readability 2020-06-04 14:06:57 +02:00
Nikita Nek Dudnik 64673eaeba fix: mock data script 2020-06-04 14:04:52 +02:00
Nikita Nek Dudnik da071e0afa fix: linting 2020-06-04 10:15:53 +02:00
Nikita Nek Dudnik 3dfbc6e160 fix: merge errors 2020-06-04 10:12:52 +02:00
Nikita Dudnik df3cb72f6b Merge branch 'master' into ndudnik/edit-yaml 2020-06-03 21:45:58 +02:00
Nikita Nek Dudnik 6d61fba0c5 feature: improve local database functionality
1. make locally run app use real DB with locations support
2. add shell script for filling up DB with mock data
2020-06-03 21:42:20 +02:00
dependabot-preview[bot] 8a86a1c4ba build(deps-dev): bump @types/codemirror from 0.0.93 to 0.0.95 (#1119)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.93 to 0.0.95.
- [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-03 15:15:53 +02:00
Fredrik Adelöw a6ce6b28e0 Merge pull request #1123 from spotify/freben/local-catalog
Make local start of catalog work
2020-06-03 12:07:34 +02:00
Fredrik Adelöw cb6ef6ca36 Make local start of catalog work 2020-06-03 10:12:34 +02:00
Fredrik Adelöw 8a840b8426 Tweak the router tests, and fix one error 2020-06-03 09:36:26 +02:00
Fredrik Adelöw 62b1799f51 Forgot one member of the higher order type 2020-06-03 09:21:35 +02:00
Patrik Oldsberg 5774ec46ce Merge pull request #1110 from spotify/rugvip/workflows
github workflow speedups
2020-06-02 14:23:03 +02:00
Patrik Oldsberg 33e12e3c50 Merge pull request #1097 from spotify/rugvip/idp
plugins/auth-backend: added basic SAML auth
2020-06-02 14:04:12 +02:00
Patrik Oldsberg 2b6cd94cfa github/workflows: use actions/cache@v2 2020-06-02 14:01:08 +02:00
Patrik Oldsberg cf5e4f367d plugins/auth-backend: docs for saml-idp 2020-06-02 13:42:15 +02:00
Patrik Oldsberg 5d24d086f5 plugins/auth-backend: added basic saml provider 2020-06-02 13:38:43 +02:00
Patrik Oldsberg 3c47bc4e23 plugins/auth-backend: refactor to allow non-oauth providers 2020-06-02 13:38:42 +02:00
Fredrik Adelöw 17a16f617c Break out the location refresh loop as well 2020-06-02 13:35:59 +02:00
Patrik Oldsberg cd180f6928 plugins: remove mock-idp-backend 2020-06-02 12:47:30 +02:00
Patrik Oldsberg 397e670a2e plugins/auth-backend: add script for starting up saml test idp 2020-06-02 12:47:29 +02:00
Patrik Oldsberg 3573c74fca plugins/mock-idp-backend: add saml-idp + test command 2020-06-02 12:47:29 +02:00
Patrik Oldsberg 922c028846 plugins/mock-idp-backend: generate some dev certs 2020-06-02 12:47:29 +02:00
Patrik Oldsberg 1010f4d6b1 plugins: added initial mock-idp-backend 2020-06-02 12:47:28 +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
Fredrik Adelöw f7ef6d4921 Move addLocation to new HigherOrderOperations 2020-06-02 09:41:36 +02:00
Fredrik Adelöw 5094dc75a5 Add ability to specify locationId on addOrUpdateEntity 2020-06-01 21:38:45 +02:00
Patrik Oldsberg f9e4e557f8 packages/cli: enable TS isolatedModules 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 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
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
Raghunandan Balachandran 664ff10e02 Merge pull request #1082 from spotify/google-auth-tests
Auth tests: PassportStrategyHelper
2020-06-01 14:32:35 +02:00
Raghunandan c2877e0a1a Add PassportStrategyHelper tests. Move util fns to OAuthProvider class. 2020-06-01 14:26:04 +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 86930c9dd2 Support providers without refresh tokens 2020-06-01 12:11:13 +02:00
Marcus Eide 438bdba2cf Use StaticAuthSessionManager for Github 2020-06-01 12:07:58 +02:00
Fredrik Adelöw 0f41ac4bf7 Add the MockedMemberFunctions helper 2020-06-01 09:45:00 +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 43d13afba5 Add catalog-model dep 2020-05-30 13:57:26 +02:00
Patrik Oldsberg a115bd6331 packages/app: add mock config loader and use in welcome plugin 2020-05-29 16:36:23 +02:00
Marcus Eide 7a665c3c2b Add github as an auth provider to the backend 2020-05-29 15:16:10 +02:00
Nikita Nek Dudnik 77136363b6 Merge branch 'master' of github.com:spotify/backstage into ndudnik/use-catalog-backend 2020-05-29 10:54:16 +02:00
Nikita Nek Dudnik df4dcd8640 fix: merge errors 2020-05-29 10:37:23 +02:00