Commit Graph

1777 Commits

Author SHA1 Message Date
Patrik Oldsberg 9052dfc5bf e2e-test: merge eslint rules 2020-08-23 18:30:32 +02:00
Patrik Oldsberg 1358739063 cli: move out e2e-test to separate package 2020-08-23 18:30:32 +02:00
Patrik Oldsberg 950b316820 cli: switch ts-jest to use isolatedModules 2020-08-22 10:08:06 +02:00
Mustansar Anwar ul Samad d224f9bba7 Fix webpack sourcemap path for debugging 2020-08-22 10:04:17 +12:00
Emma Indal e9c937dd9f Add docs template to default app templates (#2072) 2020-08-21 15:46:10 +02:00
Stefan Ålund c6c3c94c18 Camelcase GitHub and GitLab (#2034)
* Camelcase GitHub and GitLab

* GitLab

* Code GitLab

* GitHub in code

* Fix auth naming

* Update docs/features/software-templates/adding-templates.md

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>

* Update docs/features/software-templates/extending/create-your-own-preparer.md

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>
2020-08-21 14:48:16 +02:00
Raghunandan Balachandran 9b8024352a Merge pull request #2046 from spotify/new-release-20-aug-20
Release v0.1.1-alpha.19
2020-08-21 14:13:56 +02:00
Patrik Oldsberg 261ad041cd Merge pull request #2069 from spotify/rugvip/jest-fix
cli: fix jest transform pattern termination
2020-08-21 14:13:05 +02:00
Fredrik Adelöw 4083ba78fb Merge pull request #1996 from dfds/dfds-servicebuilder-https-enabled-v2
Dfds servicebuilder https enabled v2
2020-08-21 14:04:25 +02:00
Fredrik Adelöw f43063d463 fix dependency and lockfile 2020-08-21 13:28:54 +02:00
Patrik Oldsberg 4d17c1fd94 cli: fix jest transform pattern termination 2020-08-21 13:24:43 +02:00
Sebastian Qvarfordt 613c06bdd6 Techdocs: Updates preparers to make it work in actual usecases (#1957)
* feature(techdocs): JIT generation of techdocs

* Fix linting issues

* Add Techdocs tab to entity page

* Added missing dep

* Added missing dep

* Removed duplicate dep

* Better tab navigation

* Update label on entity page to say docs

* Fix lint issue

* Move building of docs from entity to a function

* feature(techdocs): JIT generation of techdocs

* Fix linting issues

* Add Techdocs tab to entity page

* Added missing dep

* Added missing dep

* Removed duplicate dep

* Better tab navigation

* Update label on entity page to say docs

* Fix lint issue

* Move building of docs from entity to a function

* attempt to add back react as a dep

* Fixed failing test

* fix(techdocs): Hopefully fixed tests

* Fixed another failing test

* Initial apiRef for techdocs storage

* Cleaned up some code in reader

* test(headertabs): add tests to HeaderTabs component

* fix(headertabs): change tab mock id

* fix(techdocs-generator): fix problem with macOS symlink to tmp folder

* fix(lint): remove unused configApiRef

* wip

* Ongoing cleanups

* Cleanups and fix tests

* Initial github preparer. Doesn't work properly yet

* Updated dir preparer to handle github managed-by-location and added github preparer

* Removed old file

* Fixed feedback and added better logging to techdocs build process

* Updated create-app template

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Emma Indal <emmai@spotify.com>
2020-08-21 12:11:03 +02:00
Raghunandan 15e334a584 Release v0.1.1-alpha.19 2020-08-21 11:40:04 +02:00
toban@dfds.com 5bffcb108d =removing unused imports 2020-08-21 11:03:07 +02:00
Fredrik Adelöw d8947239ad fix(core): bump react-syntax-highlighter to unbreak build 2020-08-21 11:01:46 +02:00
toban@dfds.com f66eb57c10 =add inline documentation 2020-08-21 10:58:17 +02:00
toban@dfds.com 6e3cb6c874 =removing support for loading certs via file paths, adding host factory module, removing config section 2020-08-21 10:51:37 +02:00
Fredrik Adelöw 19db25eac7 fix(core): chunk up tabs better 2020-08-20 22:16:19 +02:00
Patrik Oldsberg 34e72a7cf4 cli: grab the needed e2e test package dependencies from the create-app template 2020-08-20 18:17:55 +02:00
David Tuite bbd75a0981 Add GitHub pull requests plugin (#1987)
See pull requests against your entities, and see statistics for your
last N pull requests.
2020-08-20 15:54:14 +02:00
Raghunandan Balachandran 23ce1e7f63 Merge pull request #2022 from spotify/rugvip/base-url
core-api: switch auth provider apiOrigin option to backendUrl
2020-08-20 15:05:47 +02:00
Tobias Andersen 17233abfcb =Partial commit, have to go home 2020-08-20 14:55:42 +02:00
Fredrik Adelöw f4b591c372 Merge pull request #2042 from SDA-SE/feat/id-token-regex
fix(core): check id_tokens according to base64url instead of base64
2020-08-20 14:36:43 +02:00
Sebastian Qvarfordt 13908d69c2 TechDocs: Access entity techdocs from service catalog (#1835)
* feature(techdocs): JIT generation of techdocs

* Fix linting issues

* Add Techdocs tab to entity page

* Added missing dep

* Added missing dep

* Removed duplicate dep

* Better tab navigation

* Update label on entity page to say docs

* Fix lint issue

* Move building of docs from entity to a function

* feature(techdocs): JIT generation of techdocs

* Fix linting issues

* Add Techdocs tab to entity page

* Added missing dep

* Added missing dep

* Removed duplicate dep

* Better tab navigation

* Update label on entity page to say docs

* Fix lint issue

* Move building of docs from entity to a function

* attempt to add back react as a dep

* Fixed failing test

* fix(techdocs): Hopefully fixed tests

* Fixed another failing test

* Initial apiRef for techdocs storage

* Cleaned up some code in reader

* test(headertabs): add tests to HeaderTabs component

* fix(headertabs): change tab mock id

* fix(techdocs-generator): fix problem with macOS symlink to tmp folder

* fix(lint): remove unused configApiRef

* wip

* Ongoing cleanups

* Cleanups and fix tests

* WIP cleanups

* Clean up some things

* Clean up some things

* Added missing notice header

* ts issue fixed

* Add show contition to api tab

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Emma Indal <emmai@spotify.com>
2020-08-20 14:06:09 +02:00
Dominik Henneke 64ec910097 fix(core): check id_tokens according to base64url instead of base64 2020-08-20 14:03:50 +02:00
Tobias Andersen d263219c2b =Fixed problem with the stoppable wrapper not triggering the listen method on the http server object 2020-08-20 11:12:16 +02:00
Tobias Andersen 0ee6ba4049 =Fixed problem with the stoppable wrapper not triggering the listen method on the http server object 2020-08-20 11:11:53 +02:00
Emma Indal ce669f48e5 Merge pull request #2025 from perrymanuk/techdocs-cli-path-fix
Techdocs-cli Build Fix
2020-08-20 09:47:55 +02:00
Fredrik Adelöw 5498cc7e4b Merge pull request #1942 from spotify/feature/create-app-plugins
create-app: include catalog and scaffolder as part of the template
2020-08-19 18:14:50 +02:00
Perry Manuk 24a1298983 Techdocs-cli Build Fix
We're using cloud build in gcp to build/package our backstage deployment
and when you upload your artifacts it will remove all of the .git folder
to mimimize the upload causing the techdocs-cli to fail as it relies on
using `git rev-parse` to discover the full path. I changed this to be
statically linked so the reliance on git is no longer there and so that
as long as the structure of your repo doesn't change it should build no
matter where the root folder is placed.
2020-08-19 12:10:32 +02:00
Ivan Shmidt c5ab3d0d76 Merge pull request #2013 from SDA-SE/tags
Add tags to catalog entities
2020-08-19 11:31:53 +02:00
Patrik Oldsberg e171eb7669 core-api: fix usage of deprecated wait in tests 2020-08-19 09:43:36 +02:00
Patrik Oldsberg 645c7f444b core-api: switch auth provider apiOrigin option to backendUrl 2020-08-19 09:43:36 +02:00
Niklas Ek 4618f0b76a Update header background shapes and colors (#2015)
* Update header background shapes and colors

* Remove an unused type frmo PageThemeProvider

* Remove Waves.test as there is no more Waves.jsx
2020-08-19 09:34:15 +02:00
Oliver Sand f06588def7 feat(catalog): show entity tags in the catalog table 2020-08-18 22:22:20 +02:00
Oliver Sand bd6195d79f test(catalog): add test-data for tags 2020-08-18 22:22:20 +02:00
Oliver Sand 86eac5b458 feat(catalog): add tags to entity metadata
This add a field tags to the entity metadata to specifiy a user defined classifications.

Closes #1997
2020-08-18 22:14:36 +02:00
Fredrik Adelöw 1f74e31ae9 Merge pull request #1945 from SDA-SE/feat/api-tabs
feat(catalog): update trivial tab implementation
2020-08-18 19:48:08 +02:00
Niklas Ek c5c2c2c60c Merge pull request #1611 from jaime-talkdesk/adds_auth0
Adds Auth0 as IdP
2020-08-17 17:45:28 +02:00
toban@dfds.com b349720c75 =migrations https logic to new branch 2020-08-17 17:06:28 +02:00
Dominik Henneke f8c3a77062 fix(catalog): read correct property name implementsApis 2020-08-17 15:57:56 +02:00
dependabot-preview[bot] 8282004e44 chore(deps-dev): bump @storybook/addons from 5.3.19 to 6.0.4 (#1925)
Bumps [@storybook/addons](https://github.com/storybookjs/storybook/tree/HEAD/lib/addons) from 5.3.19 to 6.0.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.4/lib/addons)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-17 15:18:08 +02:00
Raghunandan Balachandran 981e66d553 Merge branch 'master' of github.com:spotify/backstage into adds_auth0 2020-08-17 13:29:15 +02:00
Fredrik Adelöw 1ab9dd8acd Merge pull request #1981 from hmcts/fix-sqllite
Fix sqllite db backend
2020-08-17 11:53:22 +02:00
Tim Jacomb c673826ebb Fix sqllite backend 2020-08-17 10:28:27 +01:00
Sebastian Qvarfordt d2f4438f5b Fix techdocs-cli when not running local 2020-08-17 11:18:09 +02:00
Fredrik Adelöw 8680fedff6 whitelist -> allowlist 2020-08-17 10:14:19 +02:00
dependabot-preview[bot] 475036235d build(deps): bump webpack-node-externals from 1.7.2 to 2.5.0
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 1.7.2 to 2.5.0.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Commits](https://github.com/liady/webpack-node-externals/compare/v1.7.2...v2.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 10:14:19 +02:00
Raghunandan Balachandran 033233d81f Fix auth0 backend provider 2020-08-17 10:10:12 +02:00
Fredrik Adelöw f24a6c0b5c fix(core): pin material-table to fix e2e CI errors in master
This PR https://github.com/mbrn/material-table/pull/2311 broke material-table builds that use webpack. We don't see the problem locally since we have the unaffected version in our lockfiles. However when running the e2e (app generation) flows, there is no lockfile so it resolves to the affected broken versions, breaking master builds at the moment.

Pinning to the unaffected version for now.
2020-08-17 09:50:44 +02:00