Commit Graph

1716 Commits

Author SHA1 Message Date
Oliver Sand 6a60d609e8 feat: move add example components to a more visible space and change behavior
Previously the button was displayed every time the table was empty. This event happend during filtering, causing the layout to switch around. Now we check if the catalog is completly empty instead. In addition the button is now at the top of the page and not part of the table. If no example locations are configured, it is completly hidden.
2020-09-18 12:56:51 +02:00
Ben Lambert ef4108dcaa Merge pull request #2426 from muffix/fix-2372-add-gitlab-to-scaffolder
Add GitLab integration for scaffolder
2020-09-17 13:54:09 +02:00
Oliver Sand cf32c9d02d Merge pull request #2496 from SDA-SE/feat/api-explorer-ui
feat: rework Api Explorer components
2020-09-17 13:19:43 +02:00
Oliver Sand bcf0f4cc11 feat: rework Api Explorer components
The table in the API explorer now shows details such as tags, owner, and description.
2020-09-17 12:39:20 +02:00
Björn Marschollek 55542797a9 Add GitLab integration for scaffolder
This adds a GitLab integration for the scaffolder backend.

We're introduceing a preparer and a publisher for GitLab so that we can
read templates from GitLab and publish them to a configured GitLab
instance. The two instances don't need to be the same. For instance,
templates could be public on gitlab.com, but the created repos will live
in a hosted GitLab somewhere else.

The publisher gets its own config object in `app-config.yaml` where the
target instance and token can be specified.

The service catalogue defines both `gitlab` and `gitlab/api` as
processors. They are both handled by the same preparer.

Closes #2372
2020-09-17 12:39:05 +02:00
Fredrik Adelöw f1ca8daee8 Merge pull request #2490 from spotify/freben/ghe
feat(catalog-backend): support GHE and other GitHub providers
2020-09-17 10:51:48 +02:00
Fredrik Adelöw 4077b424fa feat(catalog-backend): support GHE and other GitHub providers 2020-09-17 09:04:35 +02:00
Tim Jacomb 1b45fbc442 Simplify code 2020-09-17 07:25:27 +01:00
Tim Jacomb fcdae603ba Merge branch 'master' into add-access-support 2020-09-17 07:17:12 +01:00
dependabot[bot] e5b79755c0 chore(deps): bump nodegit from 0.26.5 to 0.27.0 (#2454)
Bumps [nodegit](https://github.com/nodegit/nodegit) from 0.26.5 to 0.27.0.
- [Release notes](https://github.com/nodegit/nodegit/releases)
- [Changelog](https://github.com/nodegit/nodegit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodegit/nodegit/compare/v0.26.5...v0.27.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 21:50:53 +02:00
Tim Jacomb fd7809ea34 Merge branch 'master' into add-access-support 2020-09-16 16:02:01 +01:00
Patrik Oldsberg 35abda0fa0 Merge pull request #2352 from timja/new-routing-jenkins
Update Jenkins plugin to new routing
2020-09-16 16:54:20 +02:00
Patrik Oldsberg 85a1574e9f Merge pull request #2429 from taras/tm/scaffold-repo-visibility
Add the ability to configure repository visibility via config
2020-09-16 16:52:22 +02:00
Patrik Oldsberg 1fea972187 Merge pull request #2088 from andrewthauer/api-docs-graphql
Add GraphQL support to API Docs
2020-09-16 16:37:11 +02:00
Tim Jacomb 38c0672e1e Merge branch 'master' into new-routing-jenkins 2020-09-16 14:46:49 +01:00
Tim Jacomb f93d7a15fc Condense if to else if 2020-09-16 14:36:52 +01:00
Tim Jacomb a40012d974 Reword 2020-09-16 14:14:46 +01:00
Tim Jacomb 7806decbc4 Make access optional 2020-09-16 14:09:54 +01:00
Tim Jacomb 80b56edec3 Merge branch 'master' into add-access-support 2020-09-16 14:08:47 +01:00
Taras Mankovski f5702ddc8e Add ability to flag user repositories as private 2020-09-16 08:53:18 -04:00
Iain Billett f0143360b7 Fix test schema 2020-09-16 09:02:42 +01:00
Iain Billett cf96d90e62 Fix formatting 2020-09-16 08:44:38 +01:00
Iain Billett ef9117f50a Validate template values on calls to the scaffolder API
Calls to the scaffolder API should use the schema from the template
entity to validate input values.
2020-09-16 08:44:38 +01:00
Taras Mankovski 449b5c3f15 Fix prettier errors 2020-09-15 16:38:38 -04:00
Taras Mankovski 6d3ce75100 Apply requested chanegs 2020-09-15 16:32:17 -04:00
Taras Mankovski 4c0c0bfd50 Add the ability to configure repository visibility via config 2020-09-15 16:29:43 -04:00
David Tuite 57ae0825d8 Fix scaffolder catalog link (#2471)
This was incorrectly linking to a relative path which ended up being
something like `/create/docs-template/Component/my-component`.
2020-09-15 15:00:23 +02:00
Tim Jacomb fdef955570 scaffolder: Add support for granting access on create 2020-09-15 08:38:46 +01:00
Ben Lambert 0597211af1 Merge pull request #2433 from timja/support-user-or-org
scaffolder: Allow user or org, remove hard coded isOrg
2020-09-15 09:17:25 +02:00
David Tuite d36f3bc5d8 Assorted scaffolder form help text improvements (#2467)
* Prompt the user for a description in templates

The text "Description of the component" was a little redundant since the
label already says "Description". This description text hints to the
user why they should bother adding an informative description.

* Inform user about lowercase, url-safe constraint

Create React App scaffolding fails when a name with spaces or other
non-url-safe chars are provided. Instead of making the user wait for a
failure, Backstage should tell them about this constraint up front.
2020-09-15 06:42:13 +02:00
Patrik Oldsberg b86d408fa7 plugins/newrelic: make public 2020-09-14 17:06:29 +02:00
Sebastian Qvarfordt 398d7eb91e TechDocs: Fix building if you already have a corrupt git tmp folder (#2457)
* Fix building if you already have a corrupt git tmp folder

* Logging the error we get before trying to recover
2020-09-14 16:57:37 +02:00
Oliver Sand d6b0c80afd fix(catalog): remove unused components (#2430)
This allows to resolve some circular dependencies.
2020-09-14 08:01:24 +02:00
Andrew Thauer 678a9c90de feat: add graphql api type 2020-09-13 22:01:11 -04:00
Ivan Shmidt 4780043ada Merge pull request #2172 from NetPenguins/master
GithubActions Logging Implementation
2020-09-12 19:16:19 +02:00
NetPenguins b4d4af50d8 prettier misconfigured 2020-09-12 10:26:19 -04:00
Patrik Oldsberg 3cf20cbad7 remove mock-data scripts 2020-09-12 15:27:27 +02:00
Patrik Oldsberg 75c7a055c1 app-config: use catalog.locations + aggregating location entities 2020-09-12 15:27:26 +02:00
NetPenguins 7cd4ae126a Merge remote-tracking branch 'upstream/master' 2020-09-12 09:10:07 -04:00
Joel Lau 7bcd6814de applied theme's background image to template cards (#2436) 2020-09-12 09:16:50 +02:00
Tim Jacomb c95fd141ae Remove hardcoded isOrg 2020-09-11 22:17:58 +01:00
Dominik Henneke 7553827223 feat(proxy-backend): support limiting the proxied HTTP methods 2020-09-11 13:56:41 +02:00
Oliver Sand 226c548804 Merge pull request #2394 from SDA-SE/feat/raw-api-type
Add option to display raw API definitions
2020-09-10 18:38:21 +02:00
Oliver Sand 6f67809bd3 feat: allow to view the raw API definitions, even if a viewer component is available 2020-09-10 17:55:54 +02:00
Emma Indal fd175e8ccd use classnames lib instead of duplicated styles 2020-09-10 13:43:56 +02:00
Emma Indal 3bfa0d7832 IconLinkVertical component to accept disabled prop 2020-09-10 12:50:58 +02:00
Emma Indal 296b6376e3 fix unclickable external links (#2396) 2020-09-10 12:05:22 +02:00
Marcus Eide 6a6fe5eef8 Merge pull request #2357 from spotify/eide/lighthouse-new-routing-api
lighthouse: Refactor to new routing api
2020-09-10 08:37:57 +02:00
Fredrik Adelöw a767c9f97c Merge pull request #2379 from spotify/freben/scaffoldplusplus
fix(scaffolder): properly post errors when calls fail
2020-09-09 17:18:46 +02:00
Fredrik Adelöw ee1e4f98c9 trim 2020-09-09 17:04:58 +02:00