Commit Graph

2807 Commits

Author SHA1 Message Date
Patrik Oldsberg 39591369ba config-loader: add tests for schema compile and skip adding backend visibility paths 2020-11-18 11:31:19 +01:00
Patrik Oldsberg eda9f91515 config-loader: added test for config schema load 2020-11-18 11:31:19 +01:00
Patrik Oldsberg 7211624328 config-loader: added tests for schema collection 2020-11-18 11:31:19 +01:00
Patrik Oldsberg 5357723ea4 config-loader: fix .d.ts schema path handling on Windows 2020-11-18 11:31:18 +01:00
Patrik Oldsberg 90fb5c81d0 cli: update diff to handle package with configSchema files 2020-11-18 11:31:18 +01:00
Patrik Oldsberg 9f6f39ce5f backend-common: integration configs aren't required 2020-11-18 11:31:17 +01:00
Patrik Oldsberg 12f601f830 config-loader: fix types dependencies 2020-11-18 11:31:17 +01:00
Patrik Oldsberg 13c999c513 cli: added config:validate 2020-11-18 11:31:16 +01:00
Patrik Oldsberg b8eba8219e config-loader: enable validation of required props in d.ts definitions + fix issues 2020-11-18 11:31:16 +01:00
Patrik Oldsberg f6ed7d5d0d config-loader: normalize data paths to ensure consistent behavior 2020-11-18 11:31:15 +01:00
Patrik Oldsberg cb1634e818 cli: added config schema 2020-11-18 11:31:15 +01:00
Patrik Oldsberg 8782781f16 core: ported config schema to d.t.s 2020-11-18 11:31:15 +01:00
Patrik Oldsberg 567ce7804a backend-common: port config schema to d.ts and fill out 2020-11-18 11:31:14 +01:00
Patrik Oldsberg 06205426d8 config-loader: add support for defining config schema using .d.ts files 2020-11-18 11:31:14 +01:00
Patrik Oldsberg 28a49c2ffa config-loader: make visibility schema keyword work for all types 2020-11-18 11:31:14 +01:00
Patrik Oldsberg d02d79e392 config-loader,cli: better presentation of config schema validation errors 2020-11-18 11:31:14 +01:00
Patrik Oldsberg eb9e293fce config-loader: skip schema collection from packages that don't export package.json 2020-11-18 11:31:13 +01:00
Patrik Oldsberg b6e59e6368 cli: refactor and fix config:print to properly filter secrets 2020-11-18 11:31:13 +01:00
Patrik Oldsberg 49ab961b8b config-loader: add support for transforming values during schema processing 2020-11-18 11:31:13 +01:00
Patrik Oldsberg 051e0fd17e config-loader: hasApp -> hasFrontend 2020-11-18 11:31:13 +01:00
Patrik Oldsberg c18769cc00 config-loader: visibilities -> visiblity 2020-11-18 11:31:12 +01:00
Patrik Oldsberg eff7b6e3ba cli: remove debug print 2020-11-18 11:31:12 +01:00
Patrik Oldsberg 7f95e40fbb app-backend,cli: add support for injecting full config based on serialized schema 2020-11-18 11:31:12 +01:00
Patrik Oldsberg 2e4de99338 config-loader: switch to ajv v6 2020-11-18 11:31:12 +01:00
Patrik Oldsberg e43aa0dc60 cli: write serialized config schema to app output 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 3849e24112 config-loader: add support for serializing and deserializing schema 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 564f438edd cli: load config schema and use to filter config + add --frontend flag to print 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 7298f8b265 config-loader: remove support for conditionally reading secrets 2020-11-18 11:31:10 +01:00
Patrik Oldsberg f4af5d1dce config-loader: consider all deps when discovering schema and parallelize processing 2020-11-18 11:31:10 +01:00
Patrik Oldsberg 4ccba1aa96 config-loader: remove debugging output in schema lib 2020-11-18 11:31:10 +01:00
Patrik Oldsberg a533c15b09 config-loader: document schema lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg b652ebc4e7 config-loader: add visibility filtering tests + fix filtering logic 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 8c65cec932 config-loader: split up config schema implementation and move into separate lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 4795278039 config-loader: add config filtering by visibility 2020-11-18 11:31:08 +01:00
Patrik Oldsberg 6fec95079a config-loader: initial incomplete config schema implementation 2020-11-18 11:31:08 +01:00
Patrik Oldsberg ddb5a38f77 backend-common,core,auth-backend: added initial config schemas 2020-11-18 11:31:08 +01:00
Emma Indal 7d680c075e [Search] Search frontend plugin (#3086)
* feat(search) search plugin

* feat(search): search page components

* feat(search): api

* feat(search): filters wip

* feat(search): wip filters

* fix(search): delete unused useParams hook

* fix(search): update docs

* fix(search): use latest versions of dependencies

* fix(search): change version of catalog plugin

* fix(search api): pass instance of catalog api to search api

* fix(filters): rename component from FilterButton to FiltersButton

* fixup

* fix(filters): use list of checkboxes to match style of catalog page filters

* fix(styles): use theme spacing for margins and paddings, delete unused styles

* fix(search): change terminology of search input to be more consistent and clear

* fix(search): restructure component exports according to ADR

* fix(search): replace sm with xs on Grid components to support smaller screens

* fix(search): add types

* fixup

* fix(search): bump backstage core

* change versions of backstage theme and dev-utils
2020-11-18 11:20:37 +01:00
Joel Low 9023404510 feat(cli): Support specifying listen host/port for frontend 2020-11-18 14:24:55 +08:00
Fredrik Adelöw 7b37e68348 integrations: move common integration concerns to a separate package (#3295) 2020-11-16 16:15:09 +01:00
Patrik Oldsberg 90acea0a25 Merge pull request #3302 from backstage/rugvip/noexport
cli: remove plugin:export
2020-11-16 15:11:36 +01:00
Patrik Oldsberg 05ae2a4e52 cli: remove plugin:export 2020-11-16 13:17:35 +01:00
Patrik Oldsberg e4cf4342c2 cli: work around race condition while packing dependencies of the CLI 2020-11-16 00:57:36 +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
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 e1057d9a50 backend-common: provide a ReadTreeResponseFactory instance to all ReaderFactories 2020-11-12 13:52:18 +01:00
Patrik Oldsberg 5bc30d262f backend-common: make ReadTreeResponse.dir() accept an options object instead 2020-11-12 12:31:23 +01:00
Patrik Oldsberg 73231427e1 backend-common: add top-level archive filtering to ArchiveResponse + fix files() 2020-11-12 12:27:33 +01:00
Patrik Oldsberg 1b632b5aa7 backend-common: add archive tree reading utilities 2020-11-12 12:27:33 +01:00