Commit Graph

2452 Commits

Author SHA1 Message Date
Himanshu Mishra 66daa47c6a 1. Remove DiscoveryApi (frontend) and use PluginEndpointDiscovery(SingleHostDiscovery) (backend)
2. Mock class for testing
2020-11-18 20:29:07 +01:00
Himanshu Mishra 3b314807c6 TechDocs: Use discovery instead of config to read base url 2020-11-17 21:03:56 +01:00
Himanshu Mishra c01bf361a4 Modify tests to include new config param in LocalPublish 2020-11-17 20:19:30 +01:00
Himanshu Mishra 65edcdee22 TechDocs: Remove hardcoded backend URL from techdocs-backend 2020-11-17 20:03:44 +01:00
brendasukh 56e4278428 Merge pull request #3306 from backstage/remove-cur-feature-flag
Remove cur feature flag
2020-11-16 18:07:33 -05:00
Brenda Sukh 7cfabd4d51 Add label to currency select 2020-11-16 17:34:35 -05:00
Brenda Sukh 885526474e Fix styling on dropdowns 2020-11-16 16:14:19 -05:00
Ryan Vazquez 07d33bc352 Merge pull request #3305 from backstage/fix/cost-insights-excessive-header-margin
fix:(cost-insights-plugin): remove excessive header margin from cost overview banner
2020-11-16 12:37:30 -05:00
Brenda Sukh 746e861d0b Remove currency feature flag 2020-11-16 09:56:21 -05:00
brendasukh 04c0698df8 Merge pull request #3294 from backstage/fix-cost-excess-amount-calculation
Fix cost excess amount calculation
2020-11-16 09:51:38 -05:00
Ryan Vazquez 2f8a074dd2 remove excessive header margin from cost overview banner 2020-11-16 09:41:01 -05:00
Patrik Oldsberg 05ae2a4e52 cli: remove plugin:export 2020-11-16 13:17:35 +01:00
Brenda Sukh 319b6b17de Make exclusive end dates explicit 2020-11-13 15:51:25 -05:00
Brenda Sukh 259d848eee Add changeset 2020-11-13 15:21:24 -05:00
Brenda Sukh b13324a4de Fix ts errors 2020-11-13 15:18:50 -05:00
Brenda Sukh da883b1fb1 Pass in last complete billing date to compared change calculation 2020-11-13 15:16:32 -05:00
Brenda Sukh 3a86e69f8c Fix cost chart tooltip date label 2020-11-13 15:16:15 -05:00
Brenda Sukh 4339612789 Update compared change calculation to use last billing date 2020-11-13 15:15:58 -05:00
Brenda Sukh 83e3df8a57 Add mock daily cost data for test purposes 2020-11-13 10:16:38 -05:00
Brenda Sukh 3ec3fc48a7 Fix compared change calculation 2020-11-13 10:15:50 -05:00
Brenda Sukh 053fc56745 Move out utility functions for mock data to utils 2020-11-13 10:15:32 -05: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