Commit Graph

4446 Commits

Author SHA1 Message Date
Himanshu Mishra 477872d149 auth: Fix SingleSingInPage to not ask for login on every page refresh
1. Disable instantPopup when requesting Backstage identity. If it is set to true, existing user sessions are discarded - from core-api/src/lib/AuthSessionManager/RefreshingAuthSessionManager.ts

2. The auto prop should be true by default, to trigger a log-in attempt when the SingleSignInPage component is loaded

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-05-17 23:00:32 +02:00
Johan Haals 6f02dacdc8 Merge pull request #5601 from backstage/mob/dryrun
Catalog/next: Add support for dryRun
2021-05-11 11:36:26 +02:00
Ben Lambert 48fa6b03a6 Merge pull request #5630 from mtlewis/alert-stack
Show number of older messages in AlertDisplay
2021-05-10 14:25:02 +02:00
Himanshu Mishra e4b48f9d51 Merge pull request #5617 from backstage/iameap/spaces-in-doc-objects 2021-05-10 12:27:03 +02:00
Eric Peterson 0c491a1c5e Clean up tests and imports
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-10 11:25:11 +02:00
Ben Lambert 72ac10b135 Merge pull request #5623 from BA1RY/feat/cli-context-version-bump
cli: context for version:bump about version change
2021-05-10 11:15:03 +02:00
Mike Lewis 3f988cb632 Add count of older messages in Snackbar alert
Adds "(n older messages)" suffix to the message contents in the
core AlertDisplay when there are multiple messages to show. Some
considerations that led to this:

* It seems like if we're going to show only one message, it should be
  the most recent message (which is the current behavior).
* Just showing a message count (e.g. '1/4', '4/4') seems open
  to interpretation about whether the count starts at the oldest or
  newest.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-05-10 09:56:49 +01:00
Mike Lewis 0494d0a946 Remove unnecessary message prop from Snackbar
When the Snackbar has children, the message prop is ignored, so we can
remove it from here to simplify the component.

cf. https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/Snackbar/Snackbar.js#L247

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-05-10 09:52:05 +01:00
Ben Lambert 12518e2420 Merge pull request #5392 from backstage/eide/shortcut-plugin
[plugin]: Shortcuts plugin for the Sidebar
2021-05-10 10:47:31 +02:00
Johan Haals b0d711e718 Catalog/next: Add support for dryRun
which is used by the catalog-import plugin.

Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 10:06:54 +02:00
Fredrik Adelöw d36f262904 Merge pull request #5618 from backstage/blam/fixbrokenchangeset
chore: trying to fix the version packages PR as there's some horrible formatting issues
2021-05-10 09:45:13 +02:00
Ben Lambert effdfff204 Merge pull request #5610 from brethubbard/master
Improve error messages when schema validation fails
2021-05-10 09:31:46 +02:00
Eric Peterson 4042b6e140 Decode req.path before loading object from OpenStack Swift
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:08 +02:00
Eric Peterson 9570335f24 Decode req.path before loading object from Azure
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:08 +02:00
Eric Peterson 3ebfa8f189 Decode req.path before loading object from S3 bucket.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:08 +02:00
Eric Peterson 4916a6e23d Decode req.path before loading object from GCS
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:08 +02:00
Shashank Bairy R d40316a7fd use Array.from instead of spread operator
Signed-off-by: Shashank Bairy R <shashank.bairy04@gmail.com>
2021-05-09 12:00:05 +05:30
Shashank Bairy R 80f07624cd Add context for versions:bump about version change and update tests
Signed-off-by: Shashank Bairy R <shashank.bairy04@gmail.com>
2021-05-09 00:02:50 +05:30
Marcus Eide 699bca6725 Merge branch 'master' into eide/shortcut-plugin 2021-05-07 17:06:23 +02:00
blam 85978cb28a chore: trying to fix the version packages PR as there's some horrible formatting in there somehow
Signed-off-by: blam <ben@blam.sh>
2021-05-07 16:38:00 +02:00
Ben Lambert 4a4bed0178 Merge pull request #5581 from SDA-SE/feat/apidocssearch
Fix setting the state with `useQueryParamState` makes inputs lose their focus
2021-05-07 15:42:09 +02:00
Oliver Sand 6f57e2df67 Fix typo
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-07 15:09:23 +02:00
Ben Lambert b17d47754a Merge pull request #5598 from backstage/dependabot/npm_and_yarn/react-use-17.2.4
chore(deps): bump react-use from 15.3.8 to 17.2.4
2021-05-07 14:43:57 +02:00
Ben Lambert bc7dcfd466 Merge pull request #5611 from julian-mp/realign-template-schema
Realign Template schema (parameters > input)
2021-05-07 13:35:59 +02:00
blam 9eabe20696 chore: new plugins should use later versions of react-use
Signed-off-by: blam <ben@blam.sh>
2021-05-07 13:27:05 +02:00
Julian Pearce add75e7a5b generate API report
Signed-off-by: Julian Pearce <git@julian.mp>
2021-05-07 11:42:03 +01:00
Oliver Sand 4d9a337a4a Restore debounceTime and mark it as deprecated
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-07 11:54:50 +02:00
dependabot[bot] 0b51bcb008 chore(deps): bump react-use from 15.3.8 to 17.2.4
Bumps [react-use](https://github.com/streamich/react-use) from 15.3.8 to 17.2.4.
- [Release notes](https://github.com/streamich/react-use/releases)
- [Changelog](https://github.com/streamich/react-use/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/react-use/compare/v15.3.8...v17.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 09:20:46 +00:00
Ben Lambert 4acd1d1de1 Merge pull request #5595 from backstage/dependabot/npm_and_yarn/ts-node-9.1.1
chore(deps): bump ts-node from 8.10.2 to 9.1.1
2021-05-07 11:11:15 +02:00
Julian Pearce 10c008a3a6 resolves #5586
Signed-off-by: Julian Pearce <git@julian.mp>
2021-05-07 03:39:56 +01:00
Bret Hubbard e9458540de Improve error messages when schema validation fails
Signed-off-by: Bret Hubbard <hubbard.bret@gmail.com>
2021-05-06 16:07:27 -06:00
Marcus Eide 7d1adb9bc5 Merge branch 'master' into eide/shortcut-plugin 2021-05-06 14:59:36 +02:00
Johan Haals 0bfcc4323a Merge pull request #5587 from backstage/mob/wire-locationservice
catalog/next: Wire API with locationStore, fix filtering
2021-05-06 13:30:28 +02:00
Marcus Eide d8cfac252a Merge branch 'master' into eide/shortcut-plugin 2021-05-06 13:28:53 +02:00
Oliver Sand 42e133b6de Fix table toolbar rerendering to often and losing focus
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-06 10:56:15 +02:00
Oliver Sand a3b102c827 Use useSearchParams in useQueryParamState
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-06 10:56:15 +02:00
blam 3aec82a61d chore: fix create-app version to Patch
Signed-off-by: blam <ben@blam.sh>
2021-05-06 10:47:38 +02:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
dependabot[bot] e133f76cd1 chore(deps): bump ts-node from 8.10.2 to 9.1.1
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.1.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 04:12:19 +00:00
Johan Haals 1f1511e768 catalog/next: Wire API with locationStore, fix filtering
Co-authored-by: Ben Lambert <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-05 16:38:14 +02:00
Fredrik Adelöw 4ac335883b Merge pull request #5583 from mtlewis/remove-infocard-bottom-padding
Remove extra bottom padding in InfoCard content
2021-05-05 13:32:55 +02:00
Mike Lewis 7b8272fb7d Remove extra bottom padding in InfoCard content
Fixes #5396 by overriding padding-bottom to undefined for MuiCardContent
in rootTheme.ts.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-05-05 11:53:33 +01:00
Dominik Henneke 42f2adadc8 Merge pull request #5415 from SDA-SE/feat/rundocker-api
Refactor the runDockerContainer function to a ContainerRunnerApi interface
2021-05-05 12:00:40 +02:00
Oliver Sand 889d89b6ec Fix setting the state with useQueryParamState makes inputs lose their focus
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-05 11:34:33 +02:00
Johan Haals 45ca6c7699 Refactor StateManager into the ProcessingEngine
And add some tests

Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 09:39:00 +02:00
Oliver Sand f852f7381c Revert "Add support for json schema to API docs"
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-03 17:25:15 +02:00
Dominik Henneke 1d7a40101a Update the API reports of backend-common and techdocs-common
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-05-03 16:33:05 +02:00
Fredrik Adelöw 5c3a5306c1 Merge pull request #5560 from backstage/freben/peer-deps
Fix most of the yarn install transitive dependency warnings
2021-05-03 16:02:55 +02:00
Fredrik Adelöw a6e5293984 Merge pull request #5521 from splunk/fix-yarn-build-lax
[Fixes #5520] yarn build does not have --lax option exposed
2021-05-03 14:26:09 +02:00
Dominik Henneke e0bfd3d448 Refactor the runDockerContainer function to a ContainerRunner interface.
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-05-03 14:16:28 +02:00