Commit Graph

60373 Commits

Author SHA1 Message Date
MT Lewis 7dcff851e9 cli: stop ignoring version ranges when templating dependencies on @types packages
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-25 13:18:13 +00:00
MT Lewis 1e624ca627 Restrict all instances of @types/express to v4 to match express itself
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-24 22:25:36 +00:00
Fredrik Adelöw 54916f2446 Merge pull request #27797 from backstage/freben/q
correctly measure stitching queue length
2024-11-23 20:52:16 +01:00
Fredrik Adelöw 71152e351c correctly measure stitching queue length
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-23 17:05:35 +01:00
Fredrik Adelöw ce9803d5df Merge pull request #27791 from veenarm/ldap-entity-search-fix
fix: Updated patch for original PR26923 that filters ldap users
2024-11-23 12:18:34 +01:00
Patrik Oldsberg 48d6e4e591 Merge pull request #27795 from backstage/rugvip/express
backend-*-api: remove unused express dependencies
2024-11-23 12:16:48 +01:00
Patrik Oldsberg eef3ef1785 backend-*-api: remove unused express dependencies
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-11-23 00:59:54 +01:00
Patrik Oldsberg 77c7ce05d6 Merge pull request #27769 from backstage/reduce-yarn-plugin-bundle-size
Reduce yarn plugin bundle size
2024-11-23 00:30:50 +01:00
Patrik Oldsberg eb338fafd6 Merge pull request #27792 from bforbis/doc-fix
Minor doc fix
2024-11-23 00:23:20 +01:00
John ca567e2e31 Merge branch 'backstage:master' into ldap-entity-search-fix 2024-11-23 09:56:12 +11:00
John Redwood ced964bf0d fix: clean up implementaiton to remove looping, by adding secondary entry into the map lists to search against directly
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2024-11-23 08:09:59 +11:00
MT Lewis 27600c2cd3 yarn-plugin: import appropriate type to verify beforeWorkspacePacking signature
I realised that by default the `Plugin` type from
`@yarnpkg/core` sets the type of the `hooks`
property to `any`. This meant that there wasn't
any restriction on the hooks that could be passed,
and introduced the risk that a typo in the
`beforeWorkspacePacking` name could lead to the
hook being skipped.

This commit pulls in the appropriate type for
Hooks to verify the name and signature of the hook.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 17:03:42 +00:00
Ben Lambert e399df5872 Merge pull request #27763 from backstage/blam/incremental-events
incremental: wire up the events system in new backend
2024-11-22 17:42:55 +01:00
Fredrik Adelöw 58f791a5f0 Merge pull request #27787 from backstage/freben/prep-location-change
partial fix to deltas that update location keys
2024-11-22 16:40:57 +01:00
MT Lewis 124a108c36 yarn-plugin: extra values from dependency object after switch from lodash#some to native some
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 15:27:21 +00:00
MT Lewis d8bd6f5547 yarn-plugin: cherry-pick memoize method
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 14:51:02 +00:00
MT Lewis 344c591c91 yarn-plugin: use native Array.some
Avoids the dependency on the lodash function.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 14:51:02 +00:00
MT Lewis 9296a33c4d yarn-plugin: remove dependency on chalk
Chalk costs us about 20kb in the bundle size, and
we only use it to format one logged message. To
avoid this dependency, this commit hard-codes the
escape codes for that single message.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 14:51:01 +00:00
Brian Forbis f7b3896dd7 Minor doc fix
Signed-off-by: Brian Forbis <bforbis@athenahealth.com>
2024-11-22 09:46:53 -05:00
John Redwood 732700ab82 fix: Updated patch for original PR26923 that filters ldap users
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2024-11-23 00:27:02 +11:00
Ben Lambert d3bfac4de8 Merge pull request #27789 from backstage/blam/pre-enter
chore: enter pre
2024-11-22 14:24:44 +01:00
Ben Lambert 52cf554c01 Merge pull request #27788 from backstage/blam/seed
Remove seed
2024-11-22 14:14:05 +01:00
blam 793245c4e9 chore: enter pre
Signed-off-by: blam <ben@blam.sh>
2024-11-22 14:13:15 +01:00
Johan Haals e0d58ececd Merge pull request #27757 from backstage/mob/plugintokenhandler
backend-defaults: Add support for decoration of the pluginTokenHandler
2024-11-22 14:01:26 +01:00
blam e8e774525a chore: removing the seed
Signed-off-by: blam <ben@blam.sh>
2024-11-22 13:58:25 +01:00
Patrik Oldsberg 78d34b172c Merge pull request #27785 from backstage/rugvip/refresh
core-app-api: try to refresh session if scopes are missing
2024-11-22 13:36:53 +01:00
Fredrik Adelöw 1f1d079448 partial fix to deltas that update location keys
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-22 13:30:59 +01:00
Patrik Oldsberg e5fa0184dc core-app-api: try to refresh session if scopes are missing
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-11-22 13:23:37 +01:00
Patrik Oldsberg b2a2df7680 Merge pull request #27768 from backstage/release-manifest-native-fetch
release-manifests: use native fetch
2024-11-22 12:29:22 +01:00
Fredrik Adelöw 8f666588a9 Merge pull request #27775 from stephenglass/fix-catalog-search-displayname
fix(catalog): fix catalog search by display name
2024-11-22 11:06:37 +01:00
Patrik Oldsberg 7589f0f9a7 Merge pull request #27778 from backstage/blam/seed
Add lock seed to fix issue with `apidom-json-pointer`
2024-11-22 11:03:30 +01:00
Johan Haals 3f11a8e087 Update docs/auth/service-to-service-auth.md
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan@haals.se>
2024-11-22 10:44:13 +01:00
Johan Haals aea3fcf034 simplify example
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-11-22 10:43:25 +01:00
Patrik Oldsberg 769d946912 Merge pull request #27756 from backstage/camilaibs/add-meta-to-logging-middleware
[Core] Enable structured request logging
2024-11-22 10:32:30 +01:00
blam d22669272e chore: add context comment
Signed-off-by: blam <ben@blam.sh>
2024-11-22 10:22:11 +01:00
Fredrik Adelöw 9b852291de Merge pull request #27772 from backstage/freben/less-alpha
move off of some alpha exports
2024-11-22 10:05:24 +01:00
Johan Haals 062eaf3f75 chore: Add documentation
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-11-22 10:02:54 +01:00
Johan Haals 3052ecd97d Update packages/backend-defaults/src/entrypoints/auth/plugin/PluginTokenHandler.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan@haals.se>
2024-11-22 09:43:37 +01:00
Peter Macdonald 4a0a0bb1d4 Merge pull request #27644 from AdrianCert/patch-2
fix `googleAuthApiRef` inconsistency with latest changes
2024-11-22 08:58:41 +01:00
blam b27fea48d6 chore: add lock seed for bad release
Signed-off-by: blam <ben@blam.sh>
2024-11-22 08:51:45 +01:00
Camila Belo 45379e8116 refactor: mention date format change in changelog
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-11-22 08:26:28 +01:00
Patrik Oldsberg 103239756f Merge pull request #27266 from aramissennyeydd/sennyeya/cli-modules-wiring
feat: move config to its own "module"
2024-11-22 01:33:30 +01:00
Patrik Oldsberg 380a714cbe Merge pull request #27457 from backstage/sennyeya/export-http-middleware
feat: export middleware from httpRouter entrypoint
2024-11-22 01:29:06 +01:00
Patrik Oldsberg 64c3db571d Merge pull request #27776 from JessicaJHee/increase-refresh-time
Decrease OAuth2 token refresh grace period
2024-11-22 00:35:09 +01:00
Jessica He 28306899ed Decrease oauth2 token refresh grace period
Signed-off-by: Jessica He <jhe@redhat.com>
2024-11-21 17:36:14 -05:00
Stephen Glass 86a3a32a65 update filter to be more readable based on #27355
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2024-11-21 17:32:03 -05:00
Stephen Glass f18c67db38 fix catalog search by display name
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2024-11-21 17:00:18 -05:00
Camila Belo e3e8d06450 refactor: remove usage of morgan
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-11-21 22:04:07 +01:00
Patrik Oldsberg 4e103eb8bf Merge pull request #27766 from backstage/rugvip/docfix
events-node: clarify purpose of subscriber ID
2024-11-21 22:03:53 +01:00
Patrik Oldsberg a8641b3214 Merge pull request #27751 from kunickiaj/ajk--fix-route
Fix handling of root route when query params present
2024-11-21 22:00:03 +01:00