Jason Liu
2a9bd224a8
Pass auth service when initializing GitHub scaffolder actions
...
Signed-off-by: Jason Liu <a.jason.liu21@gmail.com >
2024-12-05 22:22:33 +11:00
Jason Liu
b5e002b1cc
Make GitHub environment Scaffolder action use auth to resolve reviewers
...
Changes the github:environment:create Scaffolder action to request and
use a backend auth token when resolving the reviewer entityRefs from the
Backstage catalog.
This is because previously it would throw a 401 error when backend auth
was not disabled.
The logic for requesting the token is copied from the existing
catalog:fetch action, which needs to do a similar thing.
Also slightly clarifies that Backstage entityRefs are expected in the
reviewers list for this action.
Signed-off-by: Jason Liu <a.jason.liu21@gmail.com >
2024-11-23 20:57:53 +11: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
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
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
Patrik Oldsberg
c666e13783
app-backend: use req.path for index check
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2024-11-21 11:17:51 -08:00
Patrik Oldsberg
af4be53a14
app-backend: refactor config inject test + add more cases
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2024-11-21 11:09:43 -08:00
Adam Kunicki
d66fa80907
Fix handling of root route when query params present
...
Signed-off-by: Adam Kunicki <kunickiaj@gmail.com >
2024-11-21 11:09:42 -08:00
Fredrik Adelöw
db65221536
Merge pull request #27581 from mpsanchis/mpsanchis/upgrade-gitbeaker-gitlab-scaffolder
...
chore(scaffolder-backend-module-gitlab): Upgrade to gitbeaker ^41.2.0
2024-11-21 18:55:20 +01:00
MT Lewis
2e140dcd99
release-manifests: use native fetch
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-11-21 17:51:27 +00:00
Fredrik Adelöw
ed0aaec92f
move off of some alpha exports
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-11-21 18:51:25 +01:00
Vincenzo Scamporlino
5357df4799
Merge pull request #27770 from mend/NormanWenzelWSS-replace-dev-data
...
Replace personal developer data
2024-11-21 18:24:54 +01:00
blam
e327ec4859
chore fix
...
Signed-off-by: blam <ben@blam.sh >
2024-11-21 17:46:49 +01:00