Commit Graph

13341 Commits

Author SHA1 Message Date
gregoireW 816a741331 Merge branch 'backstage:master' into feat/limit_group 2021-05-10 11:20:57 +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
Erik Engervall abae672c81 Merge remote-tracking branch 'backstage/master' into erikengervall/plugin-release-manager-as-a-service 2021-05-10 10:15:54 +02:00
Johan Haals 6185b62e38 Wrap location in data to conform with current API
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 10:06:55 +02:00
Johan Haals b23de0aeb6 Revert "Make listLocations conform with current API"
This reverts commit 449972081db302c6c2a2938a45f90beb82e117c8.

Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 10:06:54 +02:00
Johan Haals e53223f15c Make listLocations conform with current API
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 10:06:54 +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
Fredrik Adelöw 28a028d08e Merge pull request #5629 from backstage/dependabot/npm_and_yarn/storybook-dark-mode-1.0.8
chore(deps-dev): bump storybook-dark-mode from 1.0.3 to 1.0.8
2021-05-10 07:55:16 +02:00
Fredrik Adelöw 6ce90d72e6 Merge pull request #5628 from backstage/dependabot/npm_and_yarn/google-cloud/storage-5.8.5
chore(deps): bump @google-cloud/storage from 5.8.0 to 5.8.5
2021-05-10 07:53:44 +02:00
Fredrik Adelöw fab5267c5a Merge pull request #5627 from backstage/dependabot/npm_and_yarn/sanitize-html-2.3.3
chore(deps): bump sanitize-html from 2.3.2 to 2.3.3
2021-05-10 07:52:43 +02:00
Fredrik Adelöw c71eb17821 Merge pull request #5626 from backstage/dependabot/npm_and_yarn/microsite/prettier-2.3.0
chore(deps-dev): bump prettier from 2.2.1 to 2.3.0 in /microsite
2021-05-10 07:52:05 +02:00
dependabot[bot] 3e3c3659a0 chore(deps-dev): bump storybook-dark-mode from 1.0.3 to 1.0.8
Bumps [storybook-dark-mode](https://github.com/hipstersmoothie/storybook-dark-mode) from 1.0.3 to 1.0.8.
- [Release notes](https://github.com/hipstersmoothie/storybook-dark-mode/releases)
- [Changelog](https://github.com/hipstersmoothie/storybook-dark-mode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hipstersmoothie/storybook-dark-mode/compare/v1.0.3...v1.0.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 04:21:58 +00:00
dependabot[bot] f39dbc7403 chore(deps): bump @google-cloud/storage from 5.8.0 to 5.8.5
Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 5.8.0 to 5.8.5.
- [Release notes](https://github.com/googleapis/nodejs-storage/releases)
- [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-storage/compare/v5.8.0...v5.8.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 04:20:29 +00:00
dependabot[bot] 5f343551dc chore(deps): bump sanitize-html from 2.3.2 to 2.3.3
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.3.2...2.3.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 04:14:03 +00:00
dependabot[bot] eeb6e5ddaa chore(deps-dev): bump prettier from 2.2.1 to 2.3.0 in /microsite
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 04:09:18 +00:00
Eric Peterson 6e2b9a92d6 Updating backend-common API
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 18:16:24 +02:00
Eric Peterson 03ae33c064 Prettier
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 18:08:57 +02:00
Eric Peterson d48b375a81 Update changeset to reflect most recent changes.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 17:56:30 +02:00
Eric Peterson 38e943da0c Implement a NoStore cache backend, and do not provide a cache backend by default.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 17:52:06 +02:00
Alexander Kaserbacher 82ca1ac228 Add changeset
Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com>
2021-05-09 17:45:36 +02:00
Alexander Kaserbacher 59fdb9dce2 Use apiBaseUrl for Bitbucket server if it is set
default to host otherwise

Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com>
2021-05-09 17:37:09 +02:00
Eric Peterson d6936dcbde Swap out cache-manager for Keyv implementation.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 17:11:04 +02:00
Eric Peterson 884c2bd54f Update docs to reflect changes
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson 7ff6a75575 Add an onError config to enable plugin devs to catch and handle underlying client errors
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson 368a5158cc Return an explicit undefined on no data.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson b71c230beb Refactor CacheManager.fromConfig
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson cc60475127 Clarify default TTL behavior.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson b73dc5f46e Clean up some types
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson ac8f7e4666 Dev dependency.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:30 +02:00
Eric Peterson 22fd8ce2ac Changeset
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson 669ff5ee2e Declare new public API
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson b57fa279c5 Clean up and document exported types
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson c7fa03cd76 Test coverage for CacheManager and CacheClient
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson 6e0be00e1d Wrap cache clients in a Backstage-specific CacheClient to handle key normalization and error handling + allow us the freedom to move away from cache-manager in the future if necessary.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson 93ff8275dd WIP store-agnostic cache manager.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:40 +02:00
Eric Peterson e04f1ccfbe Changeset
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:09 +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 2cd70e1646 Add changeset
Signed-off-by: Shashank Bairy R <shashank.bairy04@gmail.com>
2021-05-09 00:08:36 +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
Fredrik Adelöw d2eed74d35 Merge pull request #5622 from backstage/dependabot/npm_and_yarn/ua-parser-js-0.7.28
chore(deps): bump ua-parser-js from 0.7.21 to 0.7.28
2021-05-08 14:42:38 +02:00
dependabot[bot] f6dbdb6021 chore(deps): bump ua-parser-js from 0.7.21 to 0.7.28
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.21 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.21...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 21:08:39 +00:00