Patrik Oldsberg
ba68ea4450
apply 0.68.1 fixes to master
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-18 11:30:15 +01:00
github-actions[bot]
408b0300cb
Version Packages
2022-02-17 10:38:59 +00:00
Patrik Oldsberg
d99c3c2177
Merge pull request #9254 from backstage/rugvip/add-roles
...
packages: add roles to all packages
2022-02-16 18:40:37 +01:00
Patrik Oldsberg
9892d74326
cli: renamed script commands to package
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-15 21:27:12 +01:00
Johan Haals
7aeb491394
catalog-model: deprecate ENTITY_DEFAULT_NAMESPACE, replace with DEFAULT_NAMESPACE
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-02-15 10:27:57 +01:00
Patrik Oldsberg
8f82d80adf
migrate all package scripts
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-14 21:50:07 +01:00
Patrik Oldsberg
bb5fcc3209
update all plugin package roles
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-14 21:50:05 +01:00
Patrik Oldsberg
b521c1b83b
detect all package roles
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-14 21:50:03 +01:00
Camila Belo
a2e5b91b1c
Merge pull request #9333 from RoadieHQ/fix-inline-docs-search
...
Fix tech docs inline search on Postgres
2022-02-14 08:17:31 +01:00
Fredrik Adelöw
453145abba
techdocs: do not use cross-fetch in backend
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-10 16:55:24 +01:00
Fredrik Adelöw
1ed305728b
bump node-fetch and cross-fetch
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-10 15:51:50 +01:00
github-actions[bot]
e4791789d1
Version Packages
2022-02-10 11:06:33 +00:00
github-actions[bot]
e74f416a00
Version Packages (next)
2022-02-08 19:38:17 +00:00
dependabot[bot]
2441d1cf59
chore(deps): bump knex from 0.95.6 to 1.0.2
...
Bumps [knex](https://github.com/knex/knex ) from 0.95.6 to 1.0.2.
- [Release notes](https://github.com/knex/knex/releases )
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/knex/knex/commits )
---
updated-dependencies:
- dependency-name: knex
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-07 15:51:55 +01:00
Jussi Hallila
d1eff62105
Fix tests.
...
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-02-03 12:21:54 +01:00
Jussi Hallila
811c710a21
Fix tech docs inline search on Postgres
...
Fix bug where tech docs collator stores search indices with wrong entity ref casing. Make the collator to conform legacyPathCasing configuration option.
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-02-03 12:15:12 +01:00
github-actions[bot]
a12bb7b065
Version Packages
2022-02-03 09:42:25 +00:00
github-actions[bot]
51eecb3f03
Version Packages (next)
2022-02-02 14:28:47 +00:00
Eric Peterson
742434a6ba
Fix TechDocs download bug when backend/app hosts are the same.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-02-01 13:39:23 +01:00
github-actions[bot]
e1580cf73a
Version Packages (next)
2022-02-01 08:53:29 +00:00
github-actions[bot]
406848efee
Version Packages
2022-01-27 11:07:27 +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
github-actions[bot]
8b18d054f3
Version Packages
2022-01-20 10:33:31 +00:00
Joe Porpeglia
ffa0ecfac4
Remove unused dependency
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
f911a60baf
Update api-report
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
cd3c5b132e
Update package exports to align with ADR004
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
ccaa50511f
Make getCacheKey sync
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
63e8b8605e
Disable catalog permission middleware unless permission.enabled = true
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
17ebcb09cd
Refactor router tests
...
Adds a `createApp` helper instead of creating the express app in `beforeEach`. This allows tests to mock behavior of router creation, like toggling certain middleware based on config values.
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
f1918143e5
Compute cache keys from tokens instead of user entity refs
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
e9857d0b82
Remove 403 handling logic
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
d9afa2e882
Add tests to verify /static/docs behavior
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
c2f54048d1
Use catalog: prefix for catalog entity cache
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
413c9fab08
Cancel cache read if it takes too long
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
f5598677bf
Set cache value asynchronously
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
45f37c9835
Use CachedEntityLoader in techdocs router
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
7dcc6b1fe6
Add CachedEntityLoader for techdocs
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
b76fec242d
Verify access to related catalog entities for all techdocs api routes
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
Co-authored-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2022-01-18 12:43:35 -05:00
github-actions[bot]
a94a2b8b3f
Version Packages (next)
2022-01-18 13:49:07 +00:00
github-actions[bot]
b04011602b
Version Packages
2022-01-13 14:23:13 +00:00
Fredrik Adelöw
5333451def
Got rid of the last brace-typed and hyphen-less params etc
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-10 09:48:12 +01:00
github-actions[bot]
7d27a11079
Version Packages
2021-12-30 11:06:46 +00:00
Eric Peterson
26a0296341
Merge pull request #8598 from erikxiv/fix-api-auth-in-techdocs
...
fixes api auth bug in techdocs backend
2021-12-28 17:33:36 +01:00
github-actions[bot]
3d68c45ef7
Version Packages
2021-12-23 12:23:34 +00:00
Erik Larsson
da676a49ab
fixes api auth bug in techdocs backend
...
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com >
2021-12-22 22:16:49 +01:00
Eric Peterson
8c25c3ea5b
Allow TechDocs cache in recommended deployment mode.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-12-21 12:02:45 +01:00
github-actions[bot]
9068128fd8
Version Packages
2021-12-09 12:02:28 +00:00
Fredrik Adelöw
dcd1a0c3f4
Do not unpack arguments directly on exported items
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-12-07 19:42:10 +01:00
Otto Sichert
731e9293bd
Merge pull request #6335 from backstage/iameap/techdocs-cache
...
[TechDocs] Optional static resource caching
2021-12-06 10:38:30 +01:00
Eric Peterson
ef600b3c8c
Review feedback.
...
Signed-off-by: Eric Peterson <i.am@eric.pe >
2021-12-05 16:50:09 -06:00