Commit Graph

22019 Commits

Author SHA1 Message Date
Patrik Oldsberg 4cad73ca7f run prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-26 12:02:06 +01:00
Patrik Oldsberg 8bfc214f9d docs: remove prettier config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-26 12:01:45 +01:00
Daniel Tibbing fef86fe600 Updated LDAP docs with Provider usage
Signed-off-by: Daniel Tibbing <daniel.tibbing@king.com>
2022-01-26 11:55:05 +01:00
Johan Haals ab03f065c0 scripts: update package private check to handle undefined
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-01-26 11:50:20 +01:00
Patrik Oldsberg dc46efa2cc cli: use auto proto for ws url
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-26 11:08:34 +01:00
Patrik Oldsberg 4c48766266 Merge pull request #9170 from backstage/rugvip/nowarn
cli: fix app:serve dependency warning
2022-01-26 10:55:49 +01:00
Fredrik Adelöw 093720ecbc Merge pull request #9171 from backstage/freben/providers
add docs on how to add custom entity providers
2022-01-26 10:32:54 +01:00
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