Commit Graph

9121 Commits

Author SHA1 Message Date
Joe Porpeglia 7023e7066b Remove todo
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-27 09:13:03 -05:00
Joe Porpeglia 2b028ae041 Update api reports
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-27 09:13:02 -05:00
Joe Porpeglia ae1bba9ebc Use server token for catalog identity client
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-27 09:13:02 -05:00
Johan Haals e628945d4b Merge pull request #9148 from brethubbard/master
Make linkTarget configurable in MarkdownContent component
2022-01-27 15:02:08 +01:00
github-actions[bot] 406848efee Version Packages 2022-01-27 11:07:27 +00:00
MT Lewis c46a99b045 Merge pull request #8506 from backstage/authz-search-backend
search: filter unauthorized results
2022-01-27 11:01:51 +00:00
Ben Lambert caab696f28 Merge pull request #9191 from backstage/auth-backend/full-ref-subs
Auth backend/full ref subs
2022-01-27 11:37:36 +01:00
Patrik Oldsberg 26c7fca6be auth-backend: prettier + changeset tweak
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-27 10:52:00 +01:00
Patrik Oldsberg 5148c4f29d Merge pull request #9176 from backstage/dependabot/npm_and_yarn/react-text-truncate-0.17.0
chore(deps): bump react-text-truncate from 0.16.0 to 0.17.0
2022-01-27 10:20:22 +01:00
Colin Rymer 138ea531e7 docs(tech-insights-backend): fix CHANGELOG.md typo
Signed-off-by: Colin Rymer <colin.rymer@gmail.com>
2022-01-26 18:03:05 -05:00
elonj 80b9027eb7 oidc and googld subs will be full entity refs
Signed-off-by: elonj <elonj@spotify.com>
2022-01-26 17:27:32 -05:00
Patrik Oldsberg 867d44c82e Merge pull request #9149 from tradcliffe-expediagroup/tradcliffe/add-input-option-github-actions-dispatch
Tradcliffe/add input option GitHub actions dispatch
2022-01-26 21:58:34 +01:00
MT Lewis af4864b462 search-backend: deduplicate authorize calls
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-26 19:38:01 +00:00
Patrik Oldsberg 1aee8c207c Merge pull request #9136 from backstage/eide/auth-callback-urls
[auth-backend]: Support callbackUrl when setting cookie configuration
2022-01-26 16:34:21 +01:00
Patrik Oldsberg 941211e2b3 Merge pull request #9156 from backstage/dependabot/npm_and_yarn/types/node-cron-3.0.1
chore(deps-dev): bump @types/node-cron from 2.0.5 to 3.0.1
2022-01-26 12:18:16 +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
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
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
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
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 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
Johan Haals 3cd9123a32 chore: format with prettier
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-01-25 09:11:48 +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
Tracey b1b5639b86 shortened description, added type to workflowInputs and fixed line issue in handler
Signed-off-by: Tracey <tradcliffe@expediagroup.com>
2022-01-24 14:17:25 -08:00
Bret Hubbard ba1d635ebb software-templates: configure links in markdown to open in new tab
Signed-off-by: Bret Hubbard <hubbard.bret@gmail.com>
2022-01-24 14:53:26 -07:00
Tracey 2cd42a7ae5 updated github:action:dispatch to include inputs to send to GitHub action
Signed-off-by: Tracey <tradcliffe@expediagroup.com>
2022-01-24 13:29:33 -08:00
Patrik Oldsberg 06562229bb Merge pull request #8716 from awanlin/topic/use-definition-name
Updated to add definition name support
2022-01-24 21:54:38 +01:00
Jussi Hallila 491409c014 Merge pull request #9094 from RoadieHQ/update-readme-tech-insights
Update tech-insight BE README.
2022-01-24 17:25:31 +01:00
Jussi Hallila bbb6622752 Update tech-insight BE README.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-01-24 15:33:12 +01:00
Andre Wanlin 4ffc16b9c6 Updated useAsync import
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-01-24 08:03:26 -06:00
Andre Wanlin 3efec40f74 Merge branch 'backstage:master' into topic/use-definition-name 2022-01-24 07:57:21 -06:00
Marcus Eide 3b6e41009b Revert the cookiePath to include the handler suffix
Signed-off-by: Marcus Eide <eide@spotify.com>
2022-01-24 14:24:39 +01:00
Marcus Eide 71a2fbaa58 Simplify the cookiePath logic
Signed-off-by: Marcus Eide <eide@spotify.com>
2022-01-24 14:22:54 +01:00
Eric Peterson 8f370b038d Review feedback.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-24 13:11:51 +01:00
Eric Peterson 1dbe63ec39 Don't fallback to name on label to help clarify the different uses for each and allow label-less filters.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-24 13:06:39 +01:00
Eric Peterson 21705f6432 Document asyncValues/asyncDebounce props.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-24 13:06:39 +01:00
Eric Peterson 3b0000669a Test filter utility hooks.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-24 13:06:39 +01:00
Eric Peterson 73811cfb33 Refactor default value logic into utility hook.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-24 13:06:39 +01:00
Eric Peterson c84c404fc8 Initial tests.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-24 13:06:39 +01:00