Commit Graph

9130 Commits

Author SHA1 Message Date
Mikko Korhonen bee418a36b docs(catalog-import): update documentation about catalog filename customizations
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:14:59 +02:00
Mikko Korhonen 9735b00b6a refactor(catalog-import): access catalog filename and branchname via hooks and helpers
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:14:58 +02:00
Mikko Korhonen 2734946be0 test(catalog-import): migrate some tests to use TestApiProvider
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:13:42 +02:00
Mikko Korhonen e9b5f55a8b chore(catalog-import): generate api report
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:13:42 +02:00
Mikko Korhonen b40159ff3a chore(catalog-import): update README with relevant information how to customzie layout
Obsolete instructions were used, updated with up-to-date information from changelog
https://github.com/backstage/backstage/blob/master/plugins/catalog-import/CHANGELOG.md#minor-changes-1

Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:13:42 +02:00
Mikko Korhonen 4d17cc5424 test(catalog-import): update and tests for custom catalog filename and branch name
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:13:42 +02:00
Mikko Korhonen 307f17372e feat(catalog-import): make catalog import branch name customizable
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:13:42 +02:00
Mikko Korhonen 1bd29cd9ae feat(catalog-import): make catalog import example paths customizable
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:13:42 +02:00
Mikko Korhonen 581bed3512 feat(catalog-import): read catalog filename from app config
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:13:42 +02:00
Mikko Korhonen b20709491d feat(catalog-import): expose catalog filename to frontend
Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
2022-01-28 10:13:42 +02:00
MT Lewis fef8fc92c5 catalog-backend: add some missing location unit tests
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-27 17:48:15 +00:00
MT Lewis 5bbffa60be catalog-backend: pass token to locationService in location routes
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-27 17:46:37 +00: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