Commit Graph

22167 Commits

Author SHA1 Message Date
Fredrik Adelöw da9cba20f2 add docs on how to add custom entity providers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-26 10:06:47 +01:00
Johan Haals 0386a59755 Merge pull request #9175 from backstage/dependabot/npm_and_yarn/date-io/luxon-2.13.1
chore(deps): bump @date-io/luxon from 2.11.1 to 2.13.1
2022-01-26 09:17:09 +01:00
dependabot[bot] bdc53553eb chore(deps): bump react-text-truncate from 0.16.0 to 0.17.0
Bumps [react-text-truncate](https://github.com/ShinyChang/react-text-truncate) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/ShinyChang/react-text-truncate/releases)
- [Changelog](https://github.com/ShinyChang/React-Text-Truncate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ShinyChang/react-text-truncate/commits)

---
updated-dependencies:
- dependency-name: react-text-truncate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 04:19:59 +00:00
dependabot[bot] aee5b168f2 chore(deps): bump @date-io/luxon from 2.11.1 to 2.13.1
Bumps [@date-io/luxon](https://github.com/dmtrKovalenko/date-io) from 2.11.1 to 2.13.1.
- [Release notes](https://github.com/dmtrKovalenko/date-io/releases)
- [Commits](https://github.com/dmtrKovalenko/date-io/compare/v2.11.1...v2.13.1)

---
updated-dependencies:
- dependency-name: "@date-io/luxon"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 04:18:15 +00:00
Patrik Oldsberg 1effad00de cli: fix app:serve problem package condition
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-25 22:38:11 +01:00
Patrik Oldsberg 1b4ab0d44c cli: fix app:serve dependency warning
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-25 22:38:11 +01:00
Colton Padden 7f77248247 Cancel in-progress workflow runs on a subsequent pull-request pushes
This will cancel any outstanding workflow runs when a commit is pushed
to the active pull request. This is done by configuring `concurrency` in
which only a single job or workflow in a concurrency `group` is active
at a single time.

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2022-01-25 15:49:12 -05:00
Patrik Oldsberg de9d7eba63 backend-common: fix config schema using address rather than host
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-25 20:40:43 +01:00
MT Lewis 10358e8b20 Merge pull request #9115 from backstage/vinzscam/authz-search-backend
Add AuthorizedSearchEngine tests
2022-01-25 18:26:05 +00:00
Alef 3847c6f7a7 docs: prettier
Signed-off-by: Alef <alef.carlos@gmail.com>
2022-01-25 14:20:57 -03:00
Otto Sichert 3bbf6125c6 Merge pull request #9164 from backstage/search/filter-timers
Use fake timers to test search filter hooks debounce
2022-01-25 16:59:17 +01:00
Vincenzo Scamporlino 9f394b231c Remove unused type
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-01-25 16:31:29 +01:00
Vincenzo Scamporlino 074f36cc43 Import DocumentTypeInfo from common
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-01-25 16:27:02 +01:00
Vincenzo Scamporlino 43f9d00c1e Add result-by-result filtering pagination test
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-01-25 16:27:02 +01:00
Vincenzo Scamporlino 77cbb31883 Fix comments
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-01-25 16:27:02 +01:00
Vincenzo Scamporlino e73ad9c89a Add AuthorizedSearchEngine tests
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-01-25 16:27:02 +01:00
Patrik Oldsberg a03716d24b Delete dependabot-a3a694f.md
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-25 16:07:35 +01:00
Otto Sichert 6efb76581c Use fake timers to test search filter hooks debounce
Signed-off-by: Otto Sichert <git@ottosichert.de>
2022-01-25 15:40:14 +01:00
Alef c9010470f6 feat: added Alef to vocab
Signed-off-by: Alef <alef.carlos@gmail.com>
2022-01-25 11:40:01 -03:00
MT Lewis 01b27d547c create-app: add changeset for new search-backend createRouter params
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 14:35:38 +00:00
MT Lewis bd895e5812 search-backend: update changeset to minor and add migration steps
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 14:35:37 +00:00
MT Lewis c7ce3076d9 search-backend: skip result-by-result filtering when possible
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 14:35:37 +00:00
Emma Indal 5cd8efd576 homepage templates blog post (#9158) 2022-01-25 15:17:32 +01:00
Vincenzo Scamporlino 12b9fb8b34 search-backend: initialize variable rather than declaring type
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:41 +00:00
Vincenzo Scamporlino bdbacb3b9c search-backend: handle missing type configuration in AuthorizedSearchEngine
The search-backend router ensures that all requested types are
configured, but since we don't know how this search engine will
be used, it's good to properly handle the case where an
unconfigured type is supplied.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:41 +00:00
Vincenzo Scamporlino 32e4645930 search-backend: validate page cursor when decoding
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:41 +00:00
MT Lewis 634abc1a41 search: move DocumentTypeInfo to search-common
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:40 +00:00
MT Lewis 1887a857c4 reduce detail in changesets
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:40 +00:00
MT Lewis bbfbc755aa [wip] search-backend: result-by-result authorization
To do:
- add tests for AuthorizedSearchEngine
- update router tests
- add diff to changeset

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:39 +00:00
MT Lewis 7da1b7c42a search-backend: add optional latency budget for authorized search backend
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:39 +00:00
MT Lewis 4682340457 techdocs-backend: support authorization in DefaultTechDocsCollator
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:39 +00:00
MT Lewis 4f5bde47e9 catalog-backend: support authorization in DefaultCatalogCollator
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:38 +00:00
MT Lewis f6389e9e5d search-backend-node: track document visibility permission by type in IndexBuilder
Tracking permissions by collator ensures that all the documents of a
given type are authorized using the same permission. This is not
critical for result-by-result authorization, but will likely be a
useful constraint when adding in-engine permission filtering to
specific search engines in the future.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:38 +00:00
MT Lewis 9a511968b1 search-common: add optional visibilityPermission property to DocumentCollator type
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:38 +00:00
MT Lewis 96cbebc629 search-common: add optional request options with token to SearchEngine#query
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:37 +00:00
MT Lewis b2e918fa0b search-common: add optional resourceRef field to IndexableDocument type
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-25 13:01:37 +00:00
Johan Haals 2d96be2810 Merge pull request #9134 from backstage/mob/release-manifest
github-actions: Add assemble release workflow
2022-01-25 13:34:16 +01:00
Johan Haals ea8158d252 Merge pull request #9159 from backstage/jhaals/cleanup-cli
cli: Remove `remove-plugin` command and lax option
2022-01-25 13:33:38 +01:00
Johan Haals f5aac9b35c Merge pull request #9155 from backstage/dependabot/npm_and_yarn/prettier-2.5.1
chore(deps-dev): bump prettier from 2.4.1 to 2.5.1
2022-01-25 10:57:36 +01:00
Johan Haals 1ddf6d9d5a Add changeset
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-01-25 10:35:09 +01:00
Johan Haals c52347c51f cli: Remove deprecated commands
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-01-25 10:32:01 +01:00
Patrik Oldsberg 4463b661af Merge pull request #9150 from backstage/dependabot/npm_and_yarn/html-webpack-plugin-5.5.0
chore(deps): bump html-webpack-plugin from 5.3.1 to 5.5.0
2022-01-25 09:17:43 +01:00
Johan Haals 3cd9123a32 chore: format with prettier
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-01-25 09:11:48 +01:00
Fredrik Adelöw 7081f1cb9f Merge pull request #9142 from backstage/freben/postcss-too
bump postcss past CVE-2021-23382
2022-01-25 08:48:34 +01:00
dependabot[bot] cad2172d01 chore(deps-dev): bump @types/node-cron from 2.0.5 to 3.0.1
Bumps [@types/node-cron](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node-cron) from 2.0.5 to 3.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node-cron)

---
updated-dependencies:
- dependency-name: "@types/node-cron"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 04:32:30 +00:00
dependabot[bot] beff00764f chore(deps-dev): bump prettier from 2.4.1 to 2.5.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 04:28:43 +00:00
dependabot[bot] 05f0f44180 chore(deps): bump remark-gfm from 2.0.0 to 3.0.1
Bumps [remark-gfm](https://github.com/remarkjs/remark-gfm) from 2.0.0 to 3.0.1.
- [Release notes](https://github.com/remarkjs/remark-gfm/releases)
- [Commits](https://github.com/remarkjs/remark-gfm/compare/2.0.0...3.0.1)

---
updated-dependencies:
- dependency-name: remark-gfm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 04:17:19 +00:00
dependabot[bot] 15bac1d738 chore(deps): bump react-markdown from 7.1.2 to 8.0.0
Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 7.1.2 to 8.0.0.
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/react-markdown/compare/7.1.2...8.0.0)

---
updated-dependencies:
- dependency-name: react-markdown
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 04:13:28 +00:00
dependabot[bot] b82292a61a chore(deps): bump html-webpack-plugin from 5.3.1 to 5.5.0
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.3.1 to 5.5.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v5.3.1...v5.5.0)

---
updated-dependencies:
- dependency-name: html-webpack-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 04:07:28 +00:00
Jay Gabriels 9af88acb7b Update README.md
Signed-off-by: Jay Gabriels <jgabriels30@gmail.com>
2022-01-24 14:26:22 -08:00