Commit Graph

7470 Commits

Author SHA1 Message Date
Johan Haals bb2bb36651 core-plugin-api: Remove deprecated get method from StorageApi
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 10:50:23 +01:00
Patrik Oldsberg 2638cd044c Merge pull request #9669 from backstage/rugvip/starred
catalog-react: move DefaultStarredEntitiesApi to catalog plugin + fixes
2022-03-01 10:47:21 +01:00
Johan Haals 6fa174810f Merge pull request #9804 from backstage/jhaals/cleanup-auth
core-app-api: Remove deprecated auth ApiRefs
2022-03-01 09:39:34 +01:00
Patrik Oldsberg 303063a655 catalog-react: added MockStarredEntitiesApi + usage
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 17:33:28 +01:00
Patrik Oldsberg c077b432b8 catalog-react: moved DefaultStarredEntitiesApi implementation to catalog plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 13:52:46 +01:00
Johan Haals 96bc687026 Merge pull request #9785 from backstage/jhaals/core-app-api-cleanup
core-plugin-api: Require OAuth provider id
2022-02-28 11:46:01 +01:00
dependabot[bot] 64b430f80d chore(deps): bump react-text-truncate from 0.17.0 to 0.18.0
Bumps [react-text-truncate](https://github.com/ShinyChang/react-text-truncate) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/ShinyChang/react-text-truncate/releases)
- [Changelog](https://github.com/ShinyChang/React-Text-Truncate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ShinyChang/react-text-truncate/commits)

---
updated-dependencies:
- dependency-name: react-text-truncate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 04:11:12 +00:00
Eric Peterson 022891fe78 Merge pull request #9830 from jeremyguarini/fix_gcs_auth
Fix authentication with GCS for techdocs
2022-02-26 17:13:50 +01:00
Jeremy Guarini ac25a0f577 When using GCS for the techdocs storage and not setting the GOOGLE_APPLICATION_CREDENTIALS environment variable, authentication and accessing the bucket fails due to the project ID not being found.
Relevant log output

```
techdocs error from GCS client library: Unable to detect a Project Id in the current environment.
```

By adding the projectID when initializing the Storage client, this should fix the issue. This current approach expects the project_id to be in the json credentials, which it usually is.

Another option would be to re-add the app-config projectID value back and allow users to specify the projectID that way as well.

Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2022-02-25 21:10:42 -08:00
Emma Indal b67a5a6af9 Merge pull request #9730 from backstage/emmaindal/techdocs-api-report 2022-02-25 17:23:04 +01:00
Fredrik Adelöw b129681aba Merge pull request #9575 from jonathan-ash/sidebar-submenu-external-links
Added the ability for SidebarSubmenuItem to use external links via "to" property
2022-02-25 14:48:12 +01:00
Emma Indal b6d7475a6c delete unused import
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:34:24 +01:00
Emma Indal 8049538eb1 TechDocsIndexPage to fall back to DefaultTechDocsHome as LegacyTechDocsHome is deprecated
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:23:49 +01:00
Emma Indal d0c90c4f64 replace all TechDocsPage -> TechDocsReaderPage and TechDocsPageHeader -> TechDocsReaderPageHeader except in docs
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:21:11 +01:00
Johan Haals 0ce1d75871 core-plugin-api: Remove generic auth APIs
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-25 14:00:07 +01:00
Fredrik Adelöw 94004f3066 fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-25 13:58:30 +01:00
Jonathan Ash 4583772804 <SidebarSubmenuItem /> - Switched out MUI <Link /> with Backstage <Link /> to handle external links
Signed-off-by: Jonathan Ash <jonathan-ash@users.noreply.github.com>
2022-02-25 10:16:28 +00:00
Emma Indal 542b839631 change naming of DocsResultListItem -> TechDocsSearchResultListItem to follow pattern
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:43 +01:00
Fredrik Adelöw c2deefa463 Merge pull request #9797 from Bonial-International-GmbH/PJ_bitbucket_lineNumber-ref
fix(bitbucket): fix line number references
2022-02-25 10:28:48 +01:00
Patrick Jungermann 33d5e79822 fix(bitbucket): fix line number references
Use the actual line number syntax for Bitbucket Cloud
and Bitbucket Server.

Closes: #9764

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-02-25 00:59:31 +01:00
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
Johan Haals adb3447ca5 update api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-24 14:50:53 +01:00
Johan Haals a480f670c7 core-plugin-api: Require OAuth provider id
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-24 14:38:16 +01:00
Fredrik Adelöw ba489f8f81 Merge pull request #9780 from backstage/jhaals/remove-anlyticscontext
core-plugin-api: Remove deprecated AnyAnalyticsContext type
2022-02-24 13:48:03 +01:00
Fredrik Adelöw c787dcf501 Merge pull request #9767 from backstage/freben/just-plain-parse
Simplified the `parseEntityRef` function
2022-02-24 12:54:51 +01:00
Fredrik Adelöw bc9ac5e038 Merge pull request #9752 from backstage/blam/deprecations/scaffolder/frontend
🧹 some tidying up in the `scaffolder` plugin
2022-02-24 11:54:06 +01:00
Johan Haals 33cd215b11 core-plugin-api: Remove deprecated AnyAnalyticsContext type
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-24 11:34:24 +01:00
Jonathan Ash e01cc158c7 Fixes for SidebarSubmenuItem to use external links
Signed-off-by: Jonathan Ash <jonathan-ash@users.noreply.github.com>
2022-02-24 09:07:21 +00:00
Camila Belo c13f768521 refactor(techdocs-common): apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 09:28:08 +01:00
Camila Belo bda799308c chore(techdocs-common): update api reports
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:14 +01:00
Camila Belo 947dcc465a refactor(techdocs-common): clean up helpers api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:13 +01:00
Camila Belo 7a9b906ec7 refactor(techdocs-common): clean up publish api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:13 +01:00
Camila Belo 2f16b943c9 refactor(techdocs-common): clean up preparer api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:13 +01:00
Camila Belo ced3d7cef8 refactor(techdocs-common): clean up generator api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:13 +01:00
Jonathan Ash c794118cb7 Merge branch 'master' of github.com:jonathan-ash/backstage into sidebar-submenu-external-links 2022-02-23 16:56:04 +00:00
Fredrik Adelöw 68f0871b76 Simplified the parseEntityRef function
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-23 16:28:29 +01:00
Fredrik Adelöw 0ba3149bee Merge pull request #9758 from backstage/jhaals/deprecate-generation
catalog-model: Deprecate `entity.metadata.generation`
2022-02-23 15:52:04 +01:00
Fredrik Adelöw 086b1b1694 Merge pull request #9739 from magnusp/cachemanager-redis-client
backend-common: add Redis backed cache store
2022-02-23 15:43:32 +01:00
Fredrik Adelöw eb764c2637 Merge pull request #9714 from backstage/dependabot/npm_and_yarn/cypress-9.5.0
chore(deps-dev): bump cypress from 7.3.0 to 9.5.0
2022-02-23 15:34:42 +01:00
Fredrik Adelöw fc07c8c132 Merge pull request #9754 from backstage/freben/the-ref-revolution
Remove all usage of, and deprecate, `EntityRef`
2022-02-23 15:34:08 +01:00
Fredrik Adelöw 943401405d Merge pull request #9671 from backstage/freben/targetRef
add `EntityRelation.targetRef`
2022-02-23 15:20:32 +01:00
Fredrik Adelöw c37252f2ae Merge pull request #9663 from backstage/rugvip/moveloco
catalog-model: move LocationSpec to catalog-backend
2022-02-23 15:15:50 +01:00
Fredrik Adelöw a26a8ce300 Merge pull request #9750 from backstage/dependabot/npm_and_yarn/minimatch-5.0.0
chore(deps): bump minimatch from 3.0.4 to 5.0.0
2022-02-23 14:59:52 +01:00
Johan Haals 4d8b9320b3 update wording
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-23 14:12:15 +01:00
Johan Haals 14bed12b76 deprecate generation in entity schema
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-23 13:37:42 +01:00
Fredrik Adelöw a561569a10 default namespace
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-23 13:36:46 +01:00
Johan Haals da44c47f43 catalog-model: Deprecate entity.metadata.generation
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-23 13:29:46 +01:00
Hasan Oezdemir f7c6b4a9f4 (bugfix): ignore setupTests and the file inside ./dev folder recursively. eslint can not resolve relative paths as we expected here, and it does not apply this rule.
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
2022-02-23 13:18:45 +01:00
Fredrik Adelöw 67a7c02d26 changesets
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-23 12:07:07 +01:00
Fredrik Adelöw ff3c04041f remove all usage of EntityRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-23 12:02:05 +01:00