Commit Graph

39630 Commits

Author SHA1 Message Date
backstage-goalie[bot] 09c2d8c6a6 Merge pull request #17104 from backstage/renovate/frsource-cypress-plugin-visual-regression-diff-3.x-lockfile
chore(deps): update dependency @frsource/cypress-plugin-visual-regression-diff to v3.2.12
2023-03-26 21:15:58 +00:00
renovate[bot] a298d8b8f4 chore(deps): update dependency @frsource/cypress-plugin-visual-regression-diff to v3.2.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 20:42:07 +00:00
backstage-goalie[bot] 2f1328c747 Merge pull request #17102 from backstage/renovate/frsource-cypress-plugin-visual-regression-diff-3.x-lockfile
chore(deps): update dependency @frsource/cypress-plugin-visual-regression-diff to v3.2.11
2023-03-26 20:24:01 +00:00
renovate[bot] 57d36e4324 chore(deps): update dependency prettier to v2.8.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 19:50:24 +00:00
renovate[bot] 39dbc8608d chore(deps): update dependency @frsource/cypress-plugin-visual-regression-diff to v3.2.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 19:43:49 +00:00
backstage-goalie[bot] 6700bd92ed Merge pull request #17099 from backstage/renovate/esbuild-0.x-lockfile
chore(deps): update dependency esbuild to v0.17.14
2023-03-26 13:36:10 +00:00
renovate[bot] 9521ff5e64 chore(deps): update dependency esbuild to v0.17.14
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 13:07:19 +00:00
Fredrik Adelöw a70cef9d85 Merge pull request #17071 from backstage/renovate/docusaurus-monorepo
fix(deps): update docusaurus monorepo to v2.4.0
2023-03-26 15:00:30 +02:00
Mark David Avery 9cb1db6546 fix(tech-insights): When multiple fact retrievers are used for a check, allow for cases where only one returns a given fact
Signed-off-by: Mark David Avery <mark@webark.cc>
2023-03-25 18:39:12 -07:00
headphonejames 2190368b52 remove react effect for less potential re-rendering
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-03-25 10:49:07 -07:00
headphonejames e4badfd959 re-execute checkin tests
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-03-24 14:57:43 -07:00
Jamie Klassen 85adf6943b fail multi-resource access token requests
The emphasis on the word 'erroneously' in [this
doc](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/ef0a1ae38249ba2cf6ec5d75731e711a6ae62cba/lib/msal-browser/docs/resources-and-scopes.md?plain=1#L36)
makes this behaviour pretty compelling.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:51:36 -04:00
Jamie Klassen 01e6d459e2 MicrosoftAuth automatically gets refresh tokens
Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:51:36 -04:00
Jamie Klassen c15e0cedbe can get non-microsoft graph tokens via refresh
Next up will be to make it possible to _request_ refreshable tokens via
`getAccessToken`, accounting for the fact that the `offline_access` scope does
not appear in the auth-backend response when it is requested -- instead the
response has a set-cookie header.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:51:36 -04:00
Jamie Klassen 000cbcc99a can get non-microsoft graph tokens via popup
These tokens will need to be requested on demand with a popup every time: Azure
does allow you to get a refresh token from its `/token` endpoint for a set of
Microsoft Graph scopes and use that refresh token to get access tokens for other
resources, but our session manager isn't quite subtle enough to handle use cases
like that yet.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:45:51 -04:00
Jamie Klassen c5a12022d8 refactor MicrosoftAuth
to allow overriding some behaviors in subsequent commits

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:10:26 -04:00
Jamie Klassen 475abd1dc3 support non-microsoft graph scopes
Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:10:25 -04:00
Jamie Klassen 646025786e construct test subject via factory function
Rather than using the MicrosoftAuthProvider constructor directly -- this is
more faithful to how this object is instantiated in practice.

Also, introduce FakeMicrosoftAPI to simulate negotiating scopes, authorization
codes, access tokens, and refresh tokens with Azure.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:10:17 -04:00
headphonejames af12902763 return lodash library
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-03-24 13:55:55 -07:00
Jamie Klassen 3b0ac0d7e2 convert module mock to msw
This should allow for easier refactoring and adding new microsoft-specific
features.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 16:48:41 -04:00
headphonejames f95a7e2c5d add changeset
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-03-24 13:21:17 -07:00
Patrik Oldsberg d8fea08f7c Merge pull request #17087 from backstage/rugvip/dedup
cli: fix package build to avoid duplicate modules for multiple entry points
2023-03-24 20:58:32 +01:00
blam 95ea9f69b6 chore: added a changeset
Signed-off-by: blam <ben@blam.sh>
2023-03-24 20:52:00 +01:00
blam 3d6982b749 chore: fixing old bug of filter not found for parseRepoUrl in fetch:template
Signed-off-by: blam <ben@blam.sh>
2023-03-24 20:43:37 +01:00
blam e3c38284bf chore: reworking how the secure templater works a little bit
Signed-off-by: blam <ben@blam.sh>
2023-03-24 20:41:40 +01:00
headphonejames d1f5324dff add changeset
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-03-24 11:29:53 -07:00
headphonejames 135b3d9a9c add test for removing tags after query string is provider
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-03-24 11:19:22 -07:00
Patrik Oldsberg d293cc8077 Merge pull request #16857 from niallthomson/rename-codeservices-plugin
Rename AWS CodeSuite plugin to AWS Code Services
2023-03-24 18:16:16 +01:00
Jake b42e74739e Add Syntasso as adopter
Signed-off-by: Jake <jake@syntasso.io>
2023-03-24 16:54:30 +00:00
Aramis Sennyey d31664d154 Remove from public interface and make techdocs specific.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-03-24 12:35:15 -04:00
Andy Ladjadj 79c2dd6d54 Update plugins/adr/src/components/EntityAdrContent/EntityAdrContent.tsx
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 16:52:53 +01:00
Patrik Oldsberg 24432ae52f cli: fix package build to avoid duplicate modules for multiple entry points
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-24 16:48:40 +01:00
Johan Haals 6217874ea6 update api-reports
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-03-24 14:41:52 +01:00
Johan Haals 1e4f5e91b8 chore: Bump zod deps
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-03-24 14:15:51 +01:00
Katharina Sick cf18c32934 feat: show details for nested objects and arrays in the Installed Actions page
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-03-24 14:14:17 +01:00
Andy Ladjadj 0701dfc4b4 fix: update regex to keep retro compatibility
Signed-off-by: Andy Ladjadj <andy.ladjadj@adevinta.com>
2023-03-24 13:53:15 +01:00
Andy Ladjadj d07e482120 ci: update changeset to include plugin-adr-common
Signed-off-by: Andy Ladjadj <andy.ladjadj@adevinta.com>
2023-03-24 13:53:15 +01:00
Andy Ladjadj 059e14136c fix(plugins/adr): use javascript regex compliant
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 13:46:47 +01:00
Andy Ladjadj b012dcefba ci: update changeset
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 13:46:46 +01:00
Andy Ladjadj 668b5733b1 fix(plugins/adr): replace url record by the path
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 13:46:46 +01:00
Andy Ladjadj f66fb122ff feat(plugins/adr): render subdirectories in list
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 13:46:45 +01:00
Andy Ladjadj 77aa3a4d47 fix(plugins/adr): use path attribute to fetch file instead of name
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 13:46:10 +01:00
Morgan Bentell 8a1e9dbdde Merge pull request #17031 from agentbellnorm/techdocs/mkdocs-material-9-compat
[Techdocs] mkdocs-material 9 compat
2023-03-24 13:21:45 +01:00
Patrik Oldsberg fff99fd804 Merge pull request #17076 from backstage/rugvip/org-members
OWNERS: add org members pjungermann, jamieklassen, OrkoHunter
2023-03-24 11:59:13 +01:00
Patrik Oldsberg 5972042ef8 OWNERS: add Helm Charts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-24 11:35:04 +01:00
Patrik Oldsberg 5c392e50b1 OWNERS: add org members pjungermann, jamieklassen, OrkoHunter
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-24 11:30:38 +01:00
Patrik Oldsberg ac7529636f Merge pull request #17043 from backstage/rugvip/owners-bux
OWNERS: update TechDocs + add Discoverability
2023-03-24 10:55:45 +01:00
Johan Haals e54581b82d Merge pull request #16820 from tradcliffe-expediagroup/tradcliffe-expediagroup/confluence-to-markdown-action
Tradcliffe expediagroup/confluence to markdown action
2023-03-24 10:35:55 +01:00
Patrik Oldsberg c8b464c97e CODEOWNERS: update to reflect techdocs-core change
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-24 10:17:49 +01:00
Patrik Oldsberg a2fcd70aa6 OWNERS: update to reflect pulp + bux
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-24 10:17:49 +01:00