Commit Graph

6641 Commits

Author SHA1 Message Date
MT Lewis 1cad4e54ca backend-common: additional api-report comments and tags
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:24:48 +00:00
MT Lewis 73bff921fd backend-common: update api-report
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:16:38 +00:00
MT Lewis 54eaeddaf1 backend-common: move NoopTokenManager into ServerTokenManager namespace
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:16:38 +00:00
MT Lewis 10d0109d2e backend-common: extract NoopTokenManager from ServerTokenManager
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:01:11 +00:00
hiba-aldalaty 32cac66991 Rename SidebarSubItemDropDownItem to SidebarSubmenuItemDropDownItem, update api-reports
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-26 11:44:52 +00:00
hiba-aldalaty de81ed2cd0 Remove unnecessary code, Rename ItemWithSubmenu, Make style properties optional in pallette
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-26 11:36:08 +00:00
hiba-aldalaty 06878bf810 Revert "Move styling from themes/palette and make optional"
This reverts commit 04e1b87a89.

Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-26 11:29:09 +00:00
hiba-aldalaty 04e1b87a89 Move styling from themes/palette and make optional
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-26 10:25:10 +00:00
MT Lewis 5510cee039 backend-common: stop accepting self-reported pluginId in ServerTokenManager
Until we have a solution for assigning plugin/backend identities in a
way that's not open to impersonation, we can't build on top of this
information, so it's better to leave it out for now.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 10:23:57 +00:00
Fredrik Adelöw de1f77b71c Merge pull request #8233 from backstage/freben/less-cross
🧹  Align on usage of `cross-fetch` vs `node-fetch` in frontend vs backend packages
2021-11-26 10:15:50 +01:00
dependabot[bot] 797decb9fe build(deps): bump style-loader from 1.2.1 to 3.3.1
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.1 to 3.3.1.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.2.1...v3.3.1)

---
updated-dependencies:
- dependency-name: style-loader
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-26 04:07:58 +00:00
jrusso1020 ed5bef529e Add swimlanes to scaffolder page
Add swimlane filtering to the scaffolder page. This will allow
developers to surface specific templates ahead of others or group
templates together. This is just a first pass, in the future we can also
all developers to customize the listing component for fancier one

Fixes https://github.com/backstage/backstage/issues/6661s

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-11-25 20:25:28 -05:00
MT Lewis 4e6b2319a2 backend-common: include self-reported pluginId in backend token
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-25 18:58:58 +00:00
MT Lewis 189f7f8a72 backend-common: allow for multiple signing keys in ServerTokenManager
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-25 18:42:07 +00:00
MT Lewis 51608d2021 backend-common: bits->bytes in config schema comment
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-25 18:16:54 +00:00
Patrik Oldsberg b291d0ed7e core-plugin-api: bit clearer deprecation warning for createRouteRef
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-25 18:35:27 +01:00
hiba-aldalaty 303503ab9e SidebarItem no longer requires 'to' or 'onClick' props if children provided
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-25 15:05:07 +00:00
Fredrik Adelöw 552a6795e4 Merge pull request #8097 from backstage/freben/react-dev-utils
bump react-dev-utils
2021-11-25 15:36:53 +01:00
blam ea99ef5198 chore: added deprecation warnings and removing build-image command that has been deprecated for 6 months. think it's fine to remove this now.
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2021-11-25 15:04:18 +01:00
github-actions[bot] ef34f5de7b Version Packages 2021-11-25 12:40:52 +00:00
Patrik Oldsberg 781f91ab30 Merge pull request #8231 from backstage/rugvip/create-app-pack
create-app: add pack scripts that excludes peer depdencies during publish
2021-11-25 13:35:42 +01:00
Fredrik Adelöw 47619da24c give the same treatment to catalog-backend too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-25 13:05:11 +01:00
Fredrik Adelöw b055a6addc Align on usage of cross-fetch vs node-fetch in frontend vs backend packages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-25 13:05:08 +01:00
hiba-aldalaty 378a6a82a0 Simplify code/extract some logic in Items.tsx
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-25 11:06:50 +00:00
Patrik Oldsberg dcaeaac174 create-app: add pack scripts that excludes peer depdencies during publish
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-25 12:06:49 +01:00
Fredrik Adelöw e7230ef814 bump react-dev-utils
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-25 11:45:58 +01:00
Marley Powell 1f22075a46 Merge branch 'master' of https://github.com/backstage/backstage into marley/7678-pull-request-dashboard 2021-11-25 09:21:03 +00:00
irma12 b5bd60fddc Changesets fixes
Signed-off-by: irma12 <irma@roadie.io>
2021-11-24 23:11:50 +01:00
irma12 574e524fcd Merge branch 'master' into scorecard-tech-insights
Signed-off-by: irma12 <irma@roadie.io>
2021-11-24 22:53:10 +01:00
Praveen Ranjan Keshri 776180b740 Fixed bug in backend-common to allow passing of remote option in order to enable passing remote url in --config option. The remote option should be passed along with reloadIntervalSeconds from packages/backend/src/index.ts (Updated the file as well)
Signed-off-by: Praveen Ranjan Keshri <prkeshri@gmail.com>
2021-11-25 01:59:54 +05:30
Fredrik Adelöw 42ebbc18c0 get both gitbeaker packages bumped, and add changeset
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-24 14:21:45 +01:00
dependabot[bot] e99db76f6a build(deps): bump @gitbeaker/node from 30.3.0 to 34.4.1
Bumps [@gitbeaker/node](https://github.com/jdalrymple/gitbeaker) from 30.3.0 to 34.4.1.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases)
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/30.3.0...34.4.1)

---
updated-dependencies:
- dependency-name: "@gitbeaker/node"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 14:19:24 +01:00
Johan Haals a7d3cbf79c Merge pull request #8212 from backstage/mob/deprecate-register
core-plugin-api: Deprecate Plugin register and output
2021-11-24 13:23:44 +01:00
hiba-aldalaty 34706291e7 Move destructuring of the props into function SidebarSubmenuItem
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-24 11:16:53 +00:00
hiba-aldalaty 9f8e9a04d1 Rename DropDownItem -> SidebarSubItemDropDownItem
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-24 11:09:01 +00:00
hiba-aldalaty fce9870fff Rename Submenu -> SidebarSubmenu, SidebarSubItem -> SidebarSubmenuItem
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-24 10:58:43 +00:00
hiba-aldalaty 949633623f Fix tSidebar ests and storybook after merging change caused isPinned to be true by default
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-24 09:29:41 +00:00
Johan Haals 88f5378397 Add export, update API report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-11-24 09:36:40 +01:00
dependabot[bot] fb90b70de5 chore(deps-dev): bump @testing-library/cypress from 7.0.6 to 8.0.2
Bumps [@testing-library/cypress](https://github.com/kentcdodds/cypress-testing-library) from 7.0.6 to 8.0.2.
- [Release notes](https://github.com/kentcdodds/cypress-testing-library/releases)
- [Changelog](https://github.com/testing-library/cypress-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cypress-testing-library/compare/v7.0.6...v8.0.2)

---
updated-dependencies:
- dependency-name: "@testing-library/cypress"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 04:11:52 +00:00
Mike Lewis 40ea710c14 backend-common: add api doc comments
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-23 18:22:53 +00:00
Mike Lewis 4b6de2f872 backend-common: remove 'Server' from TokenManager method names
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-23 18:12:28 +00:00
Mike Lewis 8a001f8202 backend-common: TokenManager throws for invalid tokens rather than returning boolean
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-23 17:55:47 +00:00
Johan Haals 950b36393c core-plugin-api: Add tests and changesets
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-11-23 16:58:27 +01:00
Johan Haals a3c5b2f70b core-plugin-api: Deprecate Plugin register and output
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-11-23 16:58:21 +01:00
Mike Lewis f38dff4085 backend-common: tests validating interop of multiple token managers
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-23 14:58:48 +00:00
Mike Lewis 8cb1c4d17c backend-common: rename config block from authorization to auth
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-23 14:41:33 +00:00
Mike Lewis 42b01ee725 backend-common: import ConfigReader from @backstage/config
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-23 13:57:38 +00:00
Mike Lewis db1befcf39 backend-common: make secret required if authorization config block is provided
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-23 13:56:07 +00:00
Mike Lewis ef9dfd3440 backend-common: leave ConfigReader to throw errors when config is missing in ServerTokenManager
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-23 13:54:04 +00:00
Patrik Oldsberg 68eddf88a0 Merge pull request #8118 from backstage/rugvip/test-port
packages,plugins: migrate to using TestApiProvider and TestApiRegistry
2021-11-23 13:47:51 +01:00