Commit Graph

1758 Commits

Author SHA1 Message Date
Raghunandan 15e334a584 Release v0.1.1-alpha.19 2020-08-21 11:40:04 +02:00
Fredrik Adelöw d8947239ad fix(core): bump react-syntax-highlighter to unbreak build 2020-08-21 11:01:46 +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
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
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
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
Fredrik Adelöw 5d27cd2243 Merge pull request #1926 from spotify/dependabot/npm_and_yarn/types/react-helmet-6.1.0
chore(deps-dev): bump @types/react-helmet from 5.0.15 to 6.1.0
2020-08-16 13:29:26 +02:00
Paul Pacheco 4cf6cf3b6c The backend listens to all interfaces by default (#1962)
* The backend listens to all interfaces by default

Previously,  if you did not specify a host,  it would only
listen to localhost,  so it would not accept connections from the network.

If you use the default generated app,  it is configured to listen to 0.0.0.0
which only listens to IPv4 interfaces.

This changes the default behavior, just listen to all interfaces.

* Add some comment
2020-08-16 09:08:36 +02:00
Patrik Oldsberg fe48229005 Merge pull request #1915 from andrewthauer/common-db-utils
Add shared database connection helpers
2020-08-15 13:57:44 +02:00
Patrik Oldsberg 442ee143ee Merge pull request #1950 from AmericanAirlines/envport
Separate port and host in configuration
2020-08-14 12:36:58 +02:00
Andrew Thauer 4285289b5a only expose createDatabase + additional typing 2020-08-14 06:30:05 -04:00
Patrik Oldsberg 7c4307d1ee docs: update storybook url 2020-08-14 09:20:09 +02:00
Andrew Thauer 815983ae84 add shared database connection helpers 2020-08-13 22:56:47 -04:00
Paul Pacheco e9d4ec7494 Separate port and host in configuration
Many cloud providers have an environment variable PORT.
an application is supposed to listen in that port.

Currently,  the yaml for listen address looks like this:
```yaml
backend:
  listen: 0.0.0.0:7000
```

the problem is that I can't use the port environment variable there.

This PR changes it to this:
```yaml
backend:
  listen:
    host: 0.0.0.0
    port: 7000
```

if I want to use the PORT environment variable, now I can do it like this:

```yaml
backend:
  listen:
    host: 0.0.0.0
    port:
      $secret:
         env: PORT
```
2020-08-13 12:28:03 -05:00
Patrik Oldsberg e2e50025a5 cli: update e2e test to work with new create-app 2020-08-13 19:08:32 +02:00
Patrik Oldsberg da5fb05a3f create-app: update e2e test in app template 2020-08-13 18:42:39 +02:00
Raghunandan Balachandran 266d70cd8c Merge pull request #1943 from spotify/rugvip/plugver
cli: use version in lerna.json for scaffolded plugins
2020-08-13 15:24:19 +02:00
Patrik Oldsberg be08475017 create-app: fix App test in template 2020-08-13 14:46:43 +02:00
Patrik Oldsberg da06bd5c5c cli: use version in lerna.json for scaffolded plugins 2020-08-13 14:38:22 +02:00
Patrik Oldsberg af9d127644 tsconfig: set rootDir to ensure output structure of tsc 2020-08-13 14:31:37 +02:00
Patrik Oldsberg 20d83e7d5b create-app: add minimal gitignore to template 2020-08-13 14:31:37 +02:00
Fredrik Adelöw 52a3c6d45b Merge pull request #1931 from spotify/freben/no-cli-create
docs(cli): can't create-app with the cli anymore
2020-08-13 14:28:16 +02:00
Patrik Oldsberg 2fd38ad228 create-app: add register component plugin and move plugin deps to app 2020-08-13 13:46:19 +02:00
Patrik Oldsberg b9dcd46c09 create-app: add locations for example entites and templates 2020-08-13 13:43:34 +02:00
Patrik Oldsberg e0632bc205 Merge pull request #1737 from SDA-SE/feat/api-catalog
Add a Prototype for API Documentations
2020-08-13 13:35:47 +02:00