Commit Graph

4895 Commits

Author SHA1 Message Date
Max Falk 30627bd3e7 check array length and only add newlines if length > 0
Signed-off-by: Max Falk <gmdfalk@gmail.com>
2021-06-08 10:21:24 +02:00
Max Falk f3a3134f7e fix(cli): fix TypeError when formatting error messages
error.errors can be undefined which will lead to a TypeError, swallowing the actual error message in the process

Signed-off-by: Max Falk <gmdfalk@gmail.com>
2021-06-08 10:21:24 +02:00
Max Falk 5da7171903 fix(cli): fix TypeError when formatting error messages
error.errors can be undefined which will lead to a TypeError, swallowing the actual error message in the process

Signed-off-by: Max Falk <gmdfalk@gmail.com>
2021-06-08 10:21:24 +02:00
Oliver Sand 69f9a35c94 Fix template kind tests
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-08 09:57:50 +02:00
Fredrik Adelöw 4f8cf50fe5 Update past the broken gitbeaker version
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-08 09:14:07 +02:00
Patrik Oldsberg 9cd3c533c6 cli: switch to @sucrase/plugin-jest instead of ts-jest
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-07 22:45:27 +02:00
Tim eec173625f Merge pull request #5926 from backstage/mob/csp-directive
Remove default upgrade-insecure-requests
2021-06-07 11:30:46 -06:00
Fredrik Adelöw 442449891d Merge pull request #5934 from yafanasiev/fix-github-plugin
fix: add missing token on job list call to Github API
2021-06-07 15:22:09 +02:00
Fredrik Adelöw b5d0f0346f Merge pull request #5945 from backstage/jhaals/fix-import
catalog-import: Display prepareResult in final step
2021-06-07 14:43:03 +02:00
Fredrik Adelöw b1033b7bf8 Merge pull request #5752 from backstage/blam/migrate-templates-to-v2
Migrating old `backstage.io/v1alpha1` templates to `backstage.io/v1beta2`
2021-06-07 14:41:00 +02:00
blam d0e4a9feb9 chore: reworking excluding of templates
Signed-off-by: blam <ben@blam.sh>
2021-06-07 13:54:10 +02:00
Johan Haals 70bc30c5b7 catalog-import: Display prepareResult in final step
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-07 13:23:41 +02:00
blam 50484e720d chore: migrate the cra template fully and remove it from create-app
Signed-off-by: blam <ben@blam.sh>
2021-06-07 10:55:07 +02:00
blam 6c410d16bc chore: remove create-react-app template
Signed-off-by: blam <ben@blam.sh>
2021-06-07 10:55:07 +02:00
Oliver Sand 160daa72bb Fix tests for if condition in schema
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-07 10:14:41 +02:00
yafanasiev 9bdd2cca89 fix: add missing token on job list call to Github API
Signed-off-by: yafanasiev <y.afanasiev@easygenerator.com>
2021-06-06 14:13:32 +03:00
Tim Hansen efef396113 Add note about disabling CSP defaults
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-04 20:05:29 -06:00
Eric Peterson 0a032c55ce Fix bug causing search to be empty initially.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 20:09:28 +02:00
Tim Hansen 92963779b5 Remove default upgrade-insecure-requests
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-04 10:20:02 -06:00
Eric Peterson 66507c5830 <SearchFilterNext /> -> <SearchFilter />, with deprecation warning.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 18:11:40 +02:00
Eric Peterson 094ec9cdb8 <SearchBarNext /> -> <SearchBar />, with deprecation warning.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 18:06:45 +02:00
Eric Peterson 42b3615b04 <SearchResultNext /> -> <SearchResult />, with deprecation warning.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 18:00:47 +02:00
Eric Peterson ab548091ed <SearchPageNext /> -> <SearchPage />, with upgrade instructions and deprecation warnings.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 17:41:34 +02:00
Oliver Sand 4dba3594ae Deprecate entityRef in output and move it into links, filter empty links
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 17:19:54 +02:00
Oliver Sand b0f54086ac Update api report
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 16:30:34 +02:00
Oliver Sand 09fdc24802 Improve documentation
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 16:30:33 +02:00
Oliver Sand 052f42400d Extend template entity schema with if in step
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 16:30:33 +02:00
Oliver Sand af06c6a782 Some small fixes
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 16:30:32 +02:00
Eric Peterson 3846822b32 Merge pull request #5786 from backstage/mob/search-fe
[Search] V1 Frontend
2021-06-04 15:08:38 +02:00
Mathias Åhsberg eda9dbd5fa Download tar.gz archives for Bitbucket
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-06-04 12:46:42 +00:00
Fredrik Adelöw cfc221bb75 Merge pull request #5897 from backstage/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.26.0
chore(deps): bump @typescript-eslint/eslint-plugin from 4.15.2 to 4.26.0
2021-06-04 14:32:40 +02:00
dependabot[bot] 7f7443308a chore(deps): bump @typescript-eslint/eslint-plugin from 4.15.2 to 4.26.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.2 to 4.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 13:41:57 +02:00
Camila Belo 9f31301bc8 fix: reset Lunr refresh interval
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Camila Belo 311ca9f517 fix: change copyright year to 2021
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Eric Peterson d0d2bf79c8 API Report and document types.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Eric Peterson 455b97b127 Make type(s) readonly properties of Collator/Decorator classes
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Camila Belo 5a1c284b2c test(app/components/search): complete Page coverage
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Camila Belo 6b8d6ccd13 refactor(plugins/search): make components more stylable
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Camila Belo 8f3994141b Set default value for SearchBar as zero
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Emma Indal c8284149c2 composability refactoring
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Emma Indal 455c828c78 update api report
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal 720fd2f360 prettier
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal b6a633ca31 it's 2021
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal 578028c9a6 consistent composability between result list items and filters
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Eric Peterson 94e13c8892 Making Search page composable.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Eric Peterson 1f3e6dff88 Pass result type along from search engine.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal 8829e8228e wip composable result list
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
github-actions[bot] fa92d70fba Version Packages 2021-06-03 13:23:54 +02:00
Johan Haals 8650112701 Catalog: Enable new processing engine
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-03 11:13:17 +02:00
Patrik Oldsberg f031c411ef Merge pull request #5894 from backstage/rugvip/core-compat
core-api,core-plugin-api: make RouteRef* types forwards and backwards compatible
2021-06-03 11:04:03 +02:00