Commit Graph

9215 Commits

Author SHA1 Message Date
Mike Ball 63e0e3a70d correct spelling of 'Acknowledge' in tooltip
Correct the spelling of 'Acknowledge' in the
Splunk On Call plugin tooltip title.

Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-03 08:36:26 -05:00
github-actions[bot] a12bb7b065 Version Packages 2022-02-03 09:42:25 +00:00
Johan Haals 379427cbbf Merge pull request #9308 from backstage/eide/add-custom-callbackurl-to-providers
[auth-backend]: Add custom `callbackUrl` support to additional providers
2022-02-03 10:36:35 +01:00
Johan Haals 56365604e7 Merge pull request #8807 from Expelizabeth/Expelizabeth/gauge-updates
Adding hover message and an info icon.
2022-02-03 10:33:02 +01:00
Ben Lambert c209fe277e Merge pull request #9168 from backstage/blam/scaffodler-secrets-frontend 2022-02-03 10:23:05 +01:00
Johan Haals c8acc4ae40 chore: fix test
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-03 09:54:07 +01:00
Johan Haals 53c538d6c6 Merge pull request #9310 from awanlin/topic/add-description-to-user-profile-card
Added description to UserProfileCard
2022-02-03 09:32:07 +01:00
Eric Peterson 18317a08db Do not add 'copy to clipboard' buttons to plain-old code instances. (#9314) 2022-02-02 19:00:32 +01:00
github-actions[bot] 51eecb3f03 Version Packages (next) 2022-02-02 14:28:47 +00:00
Andre Wanlin 64cbca7839 Added description to UserProfileCard
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-02-02 07:07:44 -06:00
Marcus Eide ea30d0fd75 Add support for custom callbackUrls to providers
Signed-off-by: Marcus Eide <eide@spotify.com>
2022-02-02 13:32:57 +01:00
Patrik Oldsberg 9888ccb678 Merge pull request #9294 from backstage/rugvip/auth-refresh
auth-backend,core-app-api: GitHub auth refactor and fixes
2022-02-02 12:07:21 +01:00
Joon Park 6acc8f7db7 Add caching to the useEntityPermission hook (#9064)
* Add caching to the useEntityPermission hook

Signed-off-by: Joon Park <joonp@spotify.com>

* Remove useRef

Signed-off-by: Joon Park <joonp@spotify.com>

* Use useSWR hook

Signed-off-by: Joon Park <joonp@spotify.com>
2022-02-02 10:49:04 +00:00
Patrik Oldsberg 648606b3ac auth-backend: store github oauth token in cookie and use for refresh
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-02 10:46:33 +01:00
Patrik Oldsberg 9d75a939b6 auth-backend: fix OAuthAdapter scope store, only storing on success
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-02 09:54:14 +01:00
Johan Haals 2e6927225d Merge pull request #9292 from RoadieHQ/code-coverage-plugin-fix-explore-files-breadcrumb
Code coverage plugin - fix explore files breadcrumbs bug
2022-02-02 09:02:07 +01:00
Eoghan McIlwaine 3a5b41a2af Add basic tests
Signed-off-by: Eoghan McIlwaine <eoghan@roadie.io>
2022-02-01 19:25:05 +01:00
Eoghan McIlwaine 1854bd771b Code coverage plugin: fix breadcrumbs
Signed-off-by: Eoghan McIlwaine <eoghan@roadie.io>
2022-02-01 19:24:39 +01:00
Eric Peterson 475b3cdaa3 Merge pull request #9257 from backstage/analytics/link-no-track 2022-02-01 16:39:01 +01:00
Johan Haals bde492e45b Merge pull request #8937 from backstage/fix-initial-filter
catalog-react: improve handling of groups with 0 items in UserListPicker
2022-02-01 16:00:18 +01:00
Eric Peterson 1fc6c84043 Merge pull request #9284 from backstage/techdocs/same-host-a-download
[TechDocs] Fix download 404 when backend/app hosts are the same
2022-02-01 15:13:54 +01:00
Eric Peterson 742434a6ba Fix TechDocs download bug when backend/app hosts are the same.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-02-01 13:39:23 +01:00
Joon Park ba59832aed Integrate catalog-import with permissions
Signed-off-by: Joon Park <joonp@spotify.com>
2022-02-01 12:34:25 +00:00
MT Lewis 91ffc2ade2 catalog: update DefaultCatalogPage test
This test appears to be checking for a regression in which the filter
reset from starred to owned after starring an entity. As a precursor,
it tried to select all three possible filters, but now it's no longer
possible to select filters that don't have any matching entities.

Now that the behaviour of menu items when there are no items in that
filter has changed, this commit updates the test to confirm that the
menu item starts disabled, and then enables when an entity is starred.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-02-01 11:33:11 +00:00
MT Lewis ce383faaef catalog-react: generalise UserListPicker filter resetting tests
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-02-01 11:33:11 +00:00
MT Lewis 17d812bdf2 catalog-react: generalize empty group handling
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-02-01 11:33:10 +00:00
MT Lewis dc3fe7c3ea catalog-react: disable groups with 0 entries in UserListPicker
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-02-01 11:33:10 +00:00
MT Lewis 300f8cdaee catalog-react: fix filter resetting bug in UserListPicker
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-02-01 11:33:09 +00:00
github-actions[bot] e1580cf73a Version Packages (next) 2022-02-01 08:53:29 +00:00
Eric Peterson d3c107da13 Merge pull request #9279 from backstage/techdocs/support-relative-source-src
[TechDocs] Add support for source tags pointing to relative assets
2022-02-01 09:48:14 +01:00
blam ac23003f62 chore: encode some values too
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 37a3fc75c0 chore: more code review fixes
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam c1be2801a9 chore: rewording PROVIDER_TOKEN to token
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 0f264c4f84 chore: api-reports needed updating for scaffolder bacend
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 72eccc0f5d chore: added tests for ensuring that the token is used properly when passed into the actions
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 2c34749bb6 feat: added support for overriding the token used for publish actions.
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam c91ba8cf2f feat: Added the ability for the scaffolder backend engine to template secrets into the input of actions
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam c345946703 chore: added a test to check the secrets context is being updated with the secrets returned from the scmAuthApi
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam b61c340676 chore: generated API reports
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 7d740b86c9 chore: added a todo for test
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 2ae059d35a feat: testing the RepoUrlPicker component with SecretsContexts
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 3e96fa47d0 chore: need to convert these to empty strings as they are controlled input values and material ui throws some errors in the frontend unless we have them
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 5521945cc7 feat: added some more behaviour to the HostPicker as noticed that when no hosts are supplied it breaks currently
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 6708dbfffe feat: added grabbing the token from the form with a debounce to not happen on every key press
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 288ad92b64 feat: reworking the secret types for the context.
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 6d9f426eab feat: added a SecretsContext for storing the secrets in the frontend and being able to add secrets to the context using a hooks
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
Eric Peterson f7257dff6f Allow links to not be tracked (or tracked custom).
Signed-off-by: Eric Peterson <i.am@eric.pe>
2022-01-31 21:14:42 +01:00
Eric Peterson aa4be23eaf Merge pull request #9166 from backstage/analytics/user-identity-3
[Analytics] Convention for tying events to known users
2022-01-31 19:22:13 +01:00
Eric Peterson e8df331078 Update docs to match reality.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-31 18:39:45 +01:00
Eric Peterson 359c31e31d Add support for source tags pointing to relative assets.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-31 18:19:53 +01:00