Commit Graph

50890 Commits

Author SHA1 Message Date
cmoulliard be0202bc8d Remove file pushed BUT non needed
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-19 16:39:48 +01:00
Alex Crome 52799c9a44 Remove unneeded import
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2024-02-19 15:22:02 +00:00
Alex Crome a0b01eda2c Moved defence against null tokens into defaultProfileTransform to apply more broadly than just Microsoft tokens.
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2024-02-19 15:07:47 +00:00
Alex Crome 8d77d00733 Capatalised 'Microsoft' in changeset
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2024-02-19 14:51:09 +00:00
Alex Crome 71c3b7f765 Fix Microsoft Auth Provider when Profile not requested
Ensure that the Microsoft provider passes an empty profile object down if it hasn't received/requested one from the provider.  Fixes #23032.

The legacy Microsoft provider did something similar to replace a null profile with an empty object. https://github.com/backstage/backstage/blob/96c4f54bf6070db12676e9af0bf75d0d479c3d72/plugins/auth-backend/src/providers/microsoft/provider.ts#L266

I guess the only question is whether we want to fix this specifically for the Microsoft provider, or should we handle a null profiles deeper in the stack (i.e. `PassportOAuthAuthenticatorHelper.defaultProfileTransform` or in `PassportHelpers.transformProfile`)

Reason this didn't affect the legacy backend is that it was only recently the legacy backend Microsoft module was swapped over to use the path from the newer backend - #22208

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2024-02-19 14:40:42 +00:00
Patrik Oldsberg 8e9dfe7002 Merge pull request #23052 from backstage/rugvip/error-filter
backend-app-api: filter internal errors
2024-02-19 14:26:17 +01:00
cmoulliard 72ab2dcd58 Reviewing the change wording. Add the root cause of the error of: checkGiteaOrg to allow to know if there is a certificate error
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-19 14:13:34 +01:00
Patrik Oldsberg 3fffd8a2cb backend-app-api: include logId in filtered error log
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-02-19 14:08:52 +01:00
Ben Lambert f6bddcd9d8 Merge pull request #23040 from JinoArch/fix/customFieldExtensionDoc
fix: update field props and field validation library
2024-02-19 13:42:29 +01:00
Patrik Oldsberg 7ae5704903 backend-app-api: filter internal errors
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-02-19 13:07:43 +01:00
cmoulliard 40de43d14d Changed the wording to warn the user to get a certificate when using gitea locally and clean the template example
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-19 12:50:14 +01:00
cmoulliard ef0f44e423 Add change set and code change
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-19 12:11:02 +01:00
cmoulliard 922b80d77c Add the missing break within the while statement to exit when the gitea repository exists. #23049
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-19 12:04:11 +01:00
Ragnar Halldórsson 49c759e1c1 chore(catalog-backend-module-azure): Apply suggestion from code review and improve some wording in README
Signed-off-by: Ragnar Halldórsson <halldorsson@copopt.com>
2024-02-19 11:20:19 +01:00
Ragnar Halldórsson 6d1c0b663b fix(catalog-backend-module-azure): Use slash in branch name for tests
Signed-off-by: Ragnar Halldórsson <halldorsson@copopt.com>
2024-02-19 10:56:11 +01:00
Camila Belo 19b4358717 refactor(org): remove disable sub-section and use table for configs
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-02-19 09:21:50 +01:00
bnechyporenko 9aa01eeb08 Updated BEP 0004
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-18 12:42:04 +01:00
Patrik Oldsberg 3f15fa9387 docs/backend-system: split core services into separate doc sections
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-02-18 12:38:19 +01:00
JinoArch 1771120a72 fix: update field props and field validation library
Signed-off-by: JinoArch <39610834+JinoArch@users.noreply.github.com>
2024-02-17 17:59:25 -05:00
Armando Comellas 3b2db119b6 Delete plugins/gcp-projects/version.json
Just deleted this unesesary file.

Signed-off-by: Armando Comellas <businesswitharmando@gmail.com>
2024-02-17 12:13:12 -06:00
armandocomellas1 cd3e5f78d6 Rollingback de way to bring back the package version
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-02-17 12:10:10 -06:00
Fredrik Adelöw 25adbdde2d Merge pull request #22568 from sennyeya/catalog-entity-policies
feat(catalog): add support for entity policies in the new backend.
2024-02-17 16:15:55 +01:00
aramissennyeydd 5182f5bfdd merge fixes and update changeset
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:51:51 -05:00
Aramis 3d1954f80d fix api report
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:46 -05:00
Aramis 0eda4bc629 remove support for adding entity policies entirely
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 19:50:46 -05:00
Aramis 28a0882dbb rename to transformLegacyPolicyToProcessor
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:37 -05:00
Aramis 9281ab3bb6 fix api reports
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:37 -05:00
Aramis af751400d6 fix api report
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:37 -05:00
Aramis 447d8b6fcf add field validators
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 19:50:37 -05:00
Aramis 0aba8f018e add test cases for the new transformer
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:17 -05:00
Aramis 31392e59b8 update to a separate catalog extension and add support for replacing
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 19:50:17 -05:00
Aramis d8a54d0a83 feat(catalog): add support for entity policies in the new backend.
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 19:49:59 -05:00
Fredrik Adelöw b1789a2d6a Merge pull request #23029 from backstage/dependabot/npm_and_yarn/undici-5.28.3
Bump undici from 5.26.3 to 5.28.3
2024-02-17 00:11:09 +01:00
armandocomellas1 ddd963a940 Changing the route that we need for the GCP telemetry
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-02-16 16:31:08 -06:00
armandocomellas1 7ae4cf6d13 Package json deconstructed dynamically with variable
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-02-16 16:17:56 -06:00
armandocomellas1 b6df34e402 Package json deconstructed creating a new file containing only the version
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-02-16 15:52:31 -06:00
armandocomellas1 f1a5f33cec Add a better description inside unit test
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-02-16 13:51:24 -06:00
armandocomellas1 3e57ca7b65 Add a better unit test for headers validation
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-02-16 13:48:39 -06:00
Andres Mauricio Gomez P 4642cb7ac2 Added support to fetch data for Daemon Sets and display an accordion in the same way as with Deployments
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2024-02-16 13:28:32 -05:00
dependabot[bot] 504b54e4dd Bump undici from 5.26.3 to 5.28.3
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 16:57:26 +00:00
Ben Lambert 7917cbe801 Merge pull request #22965 from backstage/blam/remove-immer
remove immer deps
2024-02-16 17:49:09 +01:00
blam 1cfcb469cd chore: fixing knip report
Signed-off-by: blam <ben@blam.sh>
2024-02-16 17:28:03 +01:00
Ben Lambert 30b2519a6e Merge pull request #21890 from ch007m/issue-21866
Create a new action to publish on gitea
2024-02-16 14:48:42 +01:00
Fredrik Adelöw fa7ea3f2f0 break out the providers router into a separate file
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-16 14:33:10 +01:00
David Roberts e39eb80da9 better docs
Signed-off-by: David Roberts <David.Roberts@orbis.com>
2024-02-16 13:26:34 +00:00
cmoulliard 9eb7cacef7 Regenerated the API report
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 13:49:40 +01:00
renovate[bot] ff40ada6ba fix(deps): update dependency mysql2 to v3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 12:21:13 +00:00
Fredrik Adelöw f5e04e39d2 move away from deprecated types, import from auth-node
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-16 12:59:21 +01:00
cmoulliard 8db9fdaf29 Add git repository to the package.json file of the module
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 12:31:22 +01:00
cmoulliard 905f470831 Remove files to be published
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00