Commit Graph

2432 Commits

Author SHA1 Message Date
Patrik Oldsberg 05ae2a4e52 cli: remove plugin:export 2020-11-16 13:17:35 +01:00
Fredrik Adelöw f531d307c4 catalog-backend: reject overwrite of entities from foreign locations (#3286) 2020-11-13 11:16:33 +01:00
Patrik Oldsberg 484385c658 Merge pull request #3283 from backstage/rugvip/retree
backend-common: refactor readTree to only accept URL and options + add response helper
2020-11-13 10:53:53 +01:00
Fredrik Adelöw d21e4172b5 auth-backend: change messaging around missing email (#3287) 2020-11-13 10:04:33 +01:00
Patrik Oldsberg bd1cef1847 backend-common: review comments for readTree + switch archive return type to a stream 2020-11-13 00:43:20 +01:00
Patrik Oldsberg b672492e21 backend-common: make .readTree required 2020-11-12 13:59:10 +01:00
Patrik Oldsberg 6417d966bb backend-common,techdocs-backend: refactor .readTree to accept options and implement GitHub reader with response utils 2020-11-12 13:53:22 +01:00
Patrik Oldsberg e74422b4d8 backend-common: make ReadTreeResponse.files async 2020-11-12 12:27:33 +01:00
github-actions[bot] 76a8099029 Version Packages 2020-11-12 10:52:23 +00:00
Fredrik Adelöw 752808090b auth-backend: Handle non-7-bit safe characters in the posted message data (#3280) 2020-11-12 11:48:46 +01:00
Fredrik Adelöw 4628763998 auth-backend: Encode the OAuth state param using URL safe chars (#3281) 2020-11-12 11:43:35 +01:00
Ryan Vazquez d5a2bf9296 Merge pull request #3268 from backstage/ryanv-cost-insights-custom-toolips
Ryanv cost insights custom toolips
2020-11-11 16:41:47 -05:00
Fredrik Adelöw c250dfe293 Update README.md (#3278) 2020-11-11 18:27:27 +01:00
Himanshu Mishra 67ba233fb6 Merge pull request #3277 from backstage/sonarqube-readme
Improve sonarqube readme
2020-11-11 14:40:35 +01:00
Oliver Sand 84b654d5de Use dense table style and outlined chips in the API Explorer (#3276)
This matches the styling of the catalog.
2020-11-11 13:34:40 +01:00
Fredrik Adelöw 4a9d666a32 catalog: more info about refresh errors (#3272)
We sometimes get errors like `Cannot read property 'toLowerCase' of undefined` which really doesn't help debugging. So log the error stack instead of just the message, and also make the rules enforcer (which is the very first code that's hit by newly read data) more defensive. The latter is needed because no validation has been performed on the entity data yet, so if the user mistakenly inserted bad data, the code will crash instead of just rejecting the data as invalid.
2020-11-11 13:31:08 +01:00
Oliver Sand c3e8426a91 Improve sonarqube readme
The wrong name here leads to confusion.
2020-11-11 13:03:19 +01:00
Ryan Vazquez 2fcc82a95c emphasize divider background
use fixed title for project growth alert

map product option to entity id in client

remove conditional from test name

update tooltip verbiage for unlabeled costs

add default tooltip

tooltip cleanup

remove unused palette property
2020-11-10 16:33:37 -05:00
o-farooq a906f20e7b feat(techradar-plugin) add techradar blip history backend support (#3191)
* add techradar entry history data structure

* updated names and added changeset

* fix docs

Co-authored-by: Omer Farooq <17722640+o-farooq@users.noreply.github.com>
2020-11-10 16:29:45 +01:00
Ryan Vazquez 82eaf04706 bugfix: display select for 1 or more metrics 2020-11-09 14:38:02 -05:00
Oliver Sand 0c0798f082 Persist Table Filters in the API Explorer (#2936)
* fix: allow changing the categories of a checkbox tree

* feat: allow setting the current selection in the checkbox tree

* feat: allow setting the current selection in the select

* feat: add a way to access the tables internal state (filters, search, ...)

* feat: add useQueryParams hook

* feat: persist the table state of the api explorer in the url

* Use react-use instead of writing own hooks

* Resolve review comments

* Rename selectedChilds to selecetedChildren

* Add changesets

* Support passing a separate state name to useQueryParamState

This allows to use the useQueryParamState hook multiple time per route and have a separate state.

* refactor: fix typo...
2020-11-09 18:19:47 +01:00
Ryan Vazquez ac4cfa0cf1 Merge branch 'master' into ryanv-cost-insights-custom-toolips 2020-11-09 11:07:13 -05:00
Chad Wilson 2d0bd1be70 About card edit improvements (#2950)
* Update to Edit link in Card component.

* prettier

* new line

* Added changeset

* Actually run prettier. . .

* Added functionality to determine source of url for icon choice. Fixed failed tests.

* Added test case for new edithref attribute

* Prettier

* forgot a file

* correct url substring sanitation

* corrected url substring sanitation

* Added handling of Bitbucket Cloud and Gitlab.

* Added tests for each GitLab and BitBucket edits.

* Update to leverage git-url-parse

* update test to reflect owner change
2020-11-09 16:52:00 +01:00
Sebastian Qvarfordt f059eaf755 readTree method on UrlReader (#2925)
* Basic implementation of readTree on github and use it in techdocs

* Added a UrlPreparer and cleaned up some minor things

* Download entire archive and filter out the wanted files in readTree

* Added test for dir output of tree reader

* Fixed formatting

* Fixed formatting

* Some cleanups and fixes

* Fix typing issues

* Fix prettier

* Fix prettier

* Removed unused dependency

* Fixed comments on PR

* Prettier

* Moved @types/fs-extra to devDeps

* Fixed another PR comment

* Added a test for getDocFilesFromRepository

* Prettier
2020-11-09 16:28:51 +01:00
Ryan Vazquez f12b26274c remove unused import 2020-11-09 10:08:24 -05:00
Ryan Vazquez 3be3868e0d merge 2020-11-09 09:57:46 -05:00
Ryan Vazquez c8b24b5bb3 custom tooltip; export custom bar chart components 2020-11-09 09:34:11 -05:00
Adam Harvey a41730c6ea [plugin-jenkins] Add tooltip to Jenkins build rerun (#3251)
* Add tooltop to Jenkins build rerun

* Add tooltip to spelling
2020-11-07 12:31:11 +01:00
Oliver Sand 5a2705de23 Export AuthProviders, DefaultProviderSettings and ProviderSettingsItem (#3249)
`Settings` allows to pass `providerSettings`, but right now there isn't a way to constuct them out of the existing components as they aren't exported.
2020-11-06 11:43:58 +01:00
dependabot[bot] a16780d833 chore(deps): bump @gitbeaker/core from 23.5.0 to 25.2.0 (#3210)
* chore(deps): bump @gitbeaker/core from 23.5.0 to 25.2.0

Bumps [@gitbeaker/core](https://github.com/jdalrymple/gitbeaker) from 23.5.0 to 25.2.0.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases)
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/23.5.0...25.2.0)

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

* bump the other package too

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2020-11-05 18:54:26 +01:00
Oliver Sand 3f05616bf5 fix text color of tech-radar footer (#3245) 2020-11-05 13:05:05 +01:00
Patrik Oldsberg 64b0d9d7e0 Merge pull request #2881 from Marvin9/chore/use-catalog-api
chore: use catalog API to fetch entity in scaffolder-backend
2020-11-05 11:17:34 +01:00
Fredrik Adelöw 24b3c31000 catalog: make the table denser (#3224) 2020-11-05 11:13:21 +01:00
Oliver Sand 803527bd32 Upgrade @kyma-project/asyncapi-react to 0.14.2
There is an intersting fix for displaying async messages in the docs.
2020-11-05 10:45:32 +01:00
Tim bd2879640e Merge pull request #3239 from backstage/timbonicus/fix-empty-product-state
Fix styling issue on Cost Insights product panels with no cost
2020-11-04 12:29:54 -07:00
Fredrik Adelöw 596a3b8d14 docs: features/software-catalog/external-integrations (#3231) 2020-11-04 20:01:03 +01:00
Tim Hansen 9a294574c8 Fix styling issue on Cost Insights product panels with no cost 2020-11-04 10:54:41 -07:00
Fredrik Adelöw 42b0dbddcb feat(catalog-client): create a basic catalog client (#3166) 2020-11-04 13:18:03 +01:00
Patrik Oldsberg bb547d5bf6 Merge pull request #3187 from n2ygk/gitlab-doc
Gitlab Enterprise documentation
2020-11-04 11:35:19 +01:00
Patrik Oldsberg bf78992c59 Merge pull request #3184 from SDA-SE/feat/links-sonarqube-plugin
feat(plugin-sonarqube): add links to each rating
2020-11-04 11:25:23 +01:00
Patrik Oldsberg aceb2b8b80 Merge pull request #3112 from backstage/freben/filter-simplify
fix(catalog-backend): simplify the filtering logic
2020-11-04 11:21:03 +01:00
github-actions[bot] 715bb76fb5 Version Packages 2020-11-03 20:50:42 +00:00
Brenda Sukh db3d032283 Update getProductInsights to accept a single object with fields 2020-11-03 15:25:01 -05:00
Brenda Sukh 02f3e571ad Make lastBillingDate a param for product insights 2020-11-03 13:52:57 -05:00
Brenda Sukh cff0a558e5 Expose alerts for internal use 2020-11-03 13:52:39 -05:00
Patrik Oldsberg cf87e35e7f plugins/sonarqube: bump to 0.1.1 2020-11-03 14:11:10 +01:00
Patrik Oldsberg 8360d9f7e2 Merge pull request #3140 from backstage/rugvip/release
Release v0.1.1
2020-11-03 13:28:03 +01:00
Patrik Oldsberg 474bb5b57f rewrite other references to spotify/backstage and sorrounding things 2020-11-03 11:39:27 +01:00
Patrik Oldsberg af141c0766 rewrite repo location urls 2020-11-03 11:03:49 +01:00
Oliver Sand 3cbebc9c13 fix: fix edge case of sonarqube plugin if no quality gate was computed
Initially no quality gate is available, till the first analysis. Previously this was handled as "failed". Now it has its own state.
2020-11-02 19:20:23 +01:00