Commit Graph

5954 Commits

Author SHA1 Message Date
Fredrik Adelöw 10827989b6 Merge pull request #2776 from spotify/freben/test-db
feat(catalog-backend): temporary named test db support to aid in debugging
2020-10-08 13:19:58 +02:00
Oliver Sand 00b5b877b4 fix(techdocs-cli): make techdocs-cli work on Windows (#2779)
$(pwd) won't work outside a Unix shell, so I replaced it with process.cwd(). Then it's not important anymore in which directory the docker command is executed.
2020-10-08 11:53:16 +02:00
Sebastian Qvarfordt 29ec8c2f09 TechDocs: Fix reload when clicking internal docs pages (#2784)
* Check to see if links start with window.location.origin to see if we should handle it as a internal docs link

* Fixed failing test

* Fix lint issues
2020-10-08 11:26:46 +02:00
dependabot[bot] 78e7202b19 chore(deps): bump circleci-api from 4.0.0 to 4.1.3 (#2793)
Bumps [circleci-api](https://github.com/worldturtlemedia/circleci-api) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/worldturtlemedia/circleci-api/releases)
- [Commits](https://github.com/worldturtlemedia/circleci-api/compare/v4.0.0...v4.1.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 09:48:18 +02:00
Marcus Eide c6f8310a11 Merge pull request #2659 from spotify/eide/user-settings-plugin
Plugin: user-settings
2020-10-08 09:23:48 +02:00
Fredrik Adelöw 55602200a3 Merge pull request #2782 from spotify/freben/table
fix(deps): finally a material-table release - no more vulnerable jsdom
2020-10-07 18:45:09 +02:00
Niklas Ek e958ff0dd2 Merge pull request #2768 from Marvin9/feat/rel-to-anchor
feat: inject appropriate rel tag to <Link> & <a>
2020-10-07 17:31:03 +02:00
Niklas Ek 8680f14ec1 Merge pull request #2709 from RoadieHQ/lighthouse-widget
Add Lighthouse card & tab
2020-10-07 16:53:39 +02:00
Matthew Clarke eaa5275ac2 update kubernetes readmes (#2781) 2020-10-07 15:49:49 +01:00
Marcus Eide 52c4cfc257 Update Readme 2020-10-07 16:34:12 +02:00
James Wen 108ce37949 Allow for Kubernetes cluster authentication via google auth (#2691)
* Allow for Kubernetes cluster authentication via google auth

- For the kubernetes and kubernetes-backend plugins
  - The kubernetes (front-end) plugin uses the googleAuthApi and goes
    through oauth flow to fetch a Google auth token for the current user
    and pass that in a request to the kubernetes-backend plugin, which
    uses this token as the service account token (and hence as the
    authentication token for making K8s API requests).
- Related to https://github.com/spotify/backstage/issues/2552

* Use KubernetesAuthProvider and KubernetesAuthTranslator interfaces for K8s auth

- Implementations of KubernetesAuthProvider decorate the bodies of requests (for
  Kubernetes resources) sent from the kubernetes plugin (frontend) to the
  kubernetes-backend plugin (backend) with whatever information is
  needed for K8s authentication
- Implementations of KubernetesAuthTranslator take the contents of these request
  bodies sent from the kubernetes plugin (frontend) to the kubernetes-backend plugin
  (backend) and use specific values in the bodies to properly set up tokens for K8s auth
- Start with KubernetesAuthProvider + KubernetesAuthTranslator
  implementations for 'serviceAccount' and 'google' as auth providers
- Implementation of what was proposed at https://github.com/spotify/backstage/issues/2552#issuecomment-702545382
- Load in and prepare KubernetesAuthProvider implementations at plugin
  startup time via KubernetesAuthProviders API (that essentially stores
  or wraps these KubernetesAuthProvider instances)
- Related to https://github.com/spotify/backstage/issues/2552
2020-10-07 15:21:40 +01:00
Patrik Oldsberg c1de0de4bd Delete backstage_overview.png (#2783) 2020-10-07 15:54:18 +02:00
Fredrik Adelöw 85f4d83551 fix(deps): finally a material-table release - no more vulnerable jsdom 2020-10-07 14:26:51 +02:00
Ben Lambert fbb0676fdc Merge pull request #2758 from erictnilsson/master
#2534 Refactored WorkflowRunStatus to also account for the build run's conclusion
2020-10-07 13:15:12 +02:00
Tianyi Song 153d4f866a feat(create-app): add catalog-info.yaml in the created app (#2759)
* Add template for catalog-info

* Update docs
2020-10-07 09:05:22 +02:00
Fredrik Adelöw 5aeb0024b9 feat(catalog-backend): temporary named test db support to aid in debugging
Fully aware that this isn't pretty. But since I am in the process of debugging migrations and catalog stuff and want to easily run manually against several databases while waiting for proper testcontainers and e2e tests, this at least lets me gain some confidence short term.
2020-10-06 19:40:40 +02:00
Fredrik Adelöw af85ba3198 Merge pull request #2755 from spotify/freben/entity-full-name
feat(catalog-backend): keep track of entity full name and make it uniq
2020-10-06 19:25:36 +02:00
Patrik Oldsberg 2fba643d66 Merge pull request #2774 from jadonwolffs/master
renamed all instances of GuageProgress component to Guage
2020-10-06 19:10:09 +02:00
jadon 0765d4e162 renamed all instances of GuageProgress component to Guage including tests 2020-10-06 18:17:22 +02:00
Marvin9 7db0ffb6e5 feat: add rel to <a> & few <Link> tags 2020-10-06 21:19:31 +05:30
Marcus Eide 7857e564e4 Revert "Move variant style handling for Infocard to seperate file and use some of it for TabbedCard"
This reverts commit 94fa82b741.
2020-10-06 15:24:29 +02:00
Marcus Eide b47299806e Fix test 2020-10-06 15:19:56 +02:00
Marcus Eide 28f2d1e030 Move story into this plugin 2020-10-06 15:02:23 +02:00
Marcus Eide d03a7646f5 Handle empties 2020-10-06 15:00:41 +02:00
David Tuite 434ef5fce0 Upgrade GitHub PRs plugin in sample app (#2767)
Adds tab routing and uptakes the new dependency injection API. See [the
README](https://github.com/RoadieHQ/backstage-plugin-github-pull-requests) for more info.
2020-10-06 13:50:05 +02:00
Marcus Eide ae0de36689 bump version 2020-10-06 13:24:39 +02:00
Marcus Eide 346857e9c6 Fix sidebar add app template 2020-10-06 13:24:00 +02:00
Marcus Eide 11b9c82ac9 Move components into seperate folders 2020-10-06 13:23:59 +02:00
Marcus Eide 8d68c6652a Add settings page and remove popup 2020-10-06 13:23:59 +02:00
Marcus Eide fdd976a15a Move small components out 2020-10-06 13:23:59 +02:00
Marcus Eide 90b7d21821 Refactor the updatePosition logic 2020-10-06 13:23:59 +02:00
Marcus Eide 9ce6e44fdd Optimize featureflags handling 2020-10-06 13:23:59 +02:00
Marcus Eide 44c8696e8f Update app-template 2020-10-06 13:23:59 +02:00
Marcus Eide b7e41a5565 Remove jest-fetch-mock 2020-10-06 13:23:58 +02:00
Marcus Eide dbe126f75e Update dependencies 2020-10-06 13:23:58 +02:00
Marcus Eide d33fa314cd Fix merge conflicts 2020-10-06 13:23:58 +02:00
Marcus Eide 790cd5ac49 Update storybook for Sidebar 2020-10-06 13:23:58 +02:00
Marcus Eide 9c9031b788 Add instructions to readme 2020-10-06 13:23:58 +02:00
Marcus Eide 74d3579f49 Add tests 2020-10-06 13:23:58 +02:00
Marcus Eide c09145da0f Refactor tooltip placements 2020-10-06 13:23:58 +02:00
Marcus Eide 9403983361 Use TabbedCard to tab between different setting categories 2020-10-06 13:23:58 +02:00
Marcus Eide 94fa82b741 Move variant style handling for Infocard to seperate file and use some of it for TabbedCard 2020-10-06 13:23:58 +02:00
Marcus Eide cea6c4604e Add primary color to buttons that are active/selected 2020-10-06 13:23:57 +02:00
Marcus Eide a942d42008 Refactor toggling of featureFlags 2020-10-06 13:23:57 +02:00
Marcus Eide a1ec478639 Add icon to theme and use in ThemeToggle 2020-10-06 13:23:57 +02:00
Marcus Eide 5d8e058e4d Display list of providers from config as default 2020-10-06 13:23:57 +02:00
Marcus Eide 07e08834a5 Move <UserSettings/> to a user-settings plugin 2020-10-06 13:23:55 +02:00
Fredrik Adelöw e3476f5213 feat(catalog-backend): keep track of entity full name and make it uniq 2020-10-06 13:06:20 +02:00
Fredrik Adelöw 3cfdbd10ad Merge pull request #2770 from spotify/freben/more-sec
chore(deps): get rid of vulnerable node-forge (again) and node-fetch
2020-10-06 10:52:00 +02:00
Fredrik Adelöw b66bbaec12 chore(deps): get rid of vulnerable node-forge (again) and node-fetch 2020-10-06 10:06:31 +02:00