Commit Graph

2362 Commits

Author SHA1 Message Date
Sebastian Qvarfordt 5d3a972e4e Only set locations if component is still mounted 2020-06-04 11:44:01 +02:00
Sebastian Qvarfordt 241a5a8944 Convert Array<Location | undefined> to Array<Location> 2020-06-03 11:10:51 +02:00
Sebastian Qvarfordt a47ebf902f Removed a few more any types 2020-06-03 10:49:58 +02:00
Sebastian Qvarfordt f7d232c1a8 Fixed hiding of github link actions when location isn't github 2020-06-03 10:34:53 +02:00
Sebastian Qvarfordt a2a3d7ea2b Fixed typo and added a type 2020-06-03 10:17:37 +02:00
Sebastian Qvarfordt d620646890 Updated types 2020-06-02 15:45:38 +02:00
Sebastian Qvarfordt 254d9089be Improved types slightly 2020-06-02 15:36:31 +02:00
Sebastian Qvarfordt 8e6df5f575 quickfix failing tests 2020-06-02 15:03:11 +02:00
Sebastian Qvarfordt dc81a30ff4 Initial github link 2020-06-02 14:56:22 +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
dependabot-preview[bot] 9db24c79b8 build(deps): bump ts-jest from 26.0.0 to 26.1.0 (#1099)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.0.0 to 26.1.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.0.0...v26.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-02 09:46:12 +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 2f1256e2ad Merge pull request #1096 from spotify/rugvip/tdfix
scripts/check-type-dependencies: only verify type deps for packages that have been built
2020-06-01 17:25:56 +02:00
Patrik Oldsberg 2ee6f5d87f github/workflows: remove scripts from cli deps 2020-06-01 17:02:11 +02:00
Patrik Oldsberg 067d44181b scripts/check-type-dependencies: only verify type deps for packages that have been built 2020-06-01 17:00:50 +02:00
Patrik Oldsberg fa24d73bba Merge pull request #1073 from spotify/rugvip/jestbump
packages/cli: fix linting and enable TS isolatedModules
2020-06-01 16:41:02 +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
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
Stefan Ålund 9c415c351f Add ADR link to README (#1069)
* Add ADR link to README

* Update README.md

* rm extra line
2020-06-01 14:24:27 +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 7c820941a6 workflows: verify type dependencies 2020-06-01 12:35:47 +02:00
Patrik Oldsberg 54ca975bc1 package.json: add lint:type-deps script 2020-06-01 12:35:40 +02:00
Patrik Oldsberg c6abe12e45 packages,plugins: fix incorrect type dependencies 2020-06-01 12:27:29 +02:00
Patrik Oldsberg 25a4d6ed6b scripts: added check-type-dependencies 2020-06-01 12:26:58 +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
Stefan Ålund 63221f6fc5 Fix incorrect markdown links (#1088) 2020-06-01 10:58:23 +02:00
dependabot-preview[bot] 15a4d93576 build(deps-dev): bump start-server-and-test from 1.10.11 to 1.11.0 (#1085)
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.10.11 to 1.11.0.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.10.11...v1.11.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-01 09:45:15 +02:00
Fredrik Adelöw 0f41ac4bf7 Add the MockedMemberFunctions helper 2020-06-01 09:45:00 +02:00
dependabot-preview[bot] cc44775ecd build(deps-dev): bump cypress from 4.6.0 to 4.7.0 (#1086)
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.6.0...v4.7.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-01 09:36:52 +02:00
dependabot-preview[bot] 53ec396aeb build(deps): bump clsx from 1.1.0 to 1.1.1 (#1084)
Bumps [clsx](https://github.com/lukeed/clsx) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/lukeed/clsx/releases)
- [Commits](https://github.com/lukeed/clsx/compare/v1.1.0...v1.1.1)

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-01 09:34:15 +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