Commit Graph

9240 Commits

Author SHA1 Message Date
Ben Lambert 910a7e0dde Merge pull request #9344 from backstage/rugvip/auth-cookies
auth-backend: make it possible to tweak the cookie configuration logic
2022-02-07 16:46:18 +01:00
Ben Lambert 653e98bbe5 Merge pull request #9359 from RoadieHQ/loading-progress-on-task-page
adds progress bar to the task page..
2022-02-07 14:33:14 +01:00
Ben Lambert d2c379aeab Merge pull request #9247 from backstage/filter-query-params
Respect queryParameter updates in catalog pickers
2022-02-07 13:18:40 +01:00
Emma Indal a4a777441d [Home] homepage component starred entities (#9378)
* implement starred entities home page component + add to storybook

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update default template to include starred entities

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* api report

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-07 11:28:26 +01:00
Fredrik Adelöw 709bc85ca1 Merge pull request #9338 from backstage/freben/ea-no-more
Bunch of random api cleanup
2022-02-07 10:45:37 +01:00
Patrik Oldsberg 87bcdc2366 Merge pull request #9341 from backstage/rugvip/todo-test
todo: switch to routable extension + add test
2022-02-07 10:33:14 +01:00
Ben Lambert 411d2a425a Merge pull request #9346 from djamaile/master
fix(scaffolder-backend): use the right key when initializing a Gitlab…
2022-02-05 22:02:00 +01:00
Tim Hansen fb39efa320 Fix useEntityListProvider test
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2022-02-04 13:57:27 -07:00
Tim Hansen 911f01ace3 Set initial value from queryParameters
Add tests for external queryParameter updates

Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2022-02-04 12:47:18 -07:00
Tim Hansen 680e7c7452 Respect queryParameter updates in pickers
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2022-02-04 09:18:23 -07:00
Brian Fletcher 8563695598 move the progress bar inside the log viewer
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-04 15:08:46 +00:00
Patrik Oldsberg 5d5c9bfb4c auth-backend: removed cookieConfigurer from router options
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-04 13:11:10 +01:00
Ben Lambert bbd59ed355 Merge pull request #9275 from RoadieHQ/allow-configurable-holding-text
allow providing holding text for scaffolder loading
2022-02-04 13:04:45 +01:00
Brian Fletcher 9f19529e48 adds progress bar to the task page..
.. if the task is still loading

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-04 12:03:02 +00:00
Jussi Hallila faf49ba82f Add line clamping to search results on modal search screen. (#9331)
* Add line clamping to search results on modal search screen.

Signed-off-by: Jussi Hallila <jussi@hallila.com>

* Add mock to test so we don't have to spin up canvas with jsdom.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-02-04 13:02:22 +01:00
Patrik Oldsberg 323f48704d todo: switch to routable extension + add test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-04 10:39:14 +01:00
Patrik Oldsberg 08fcda13ef auth-backend: make it possible to tweak the cookie configuration logic
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-04 01:32:22 +01:00
djamaile 2bd5f24043 fix(scaffolder-backend): use the right key when initializing a Gitlab client
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-02-03 22:17:53 +01:00
Fredrik Adelöw 7bb1bde7f6 Bunch of random api cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-03 16:27:15 +01:00
Brian Fletcher 6b07ea436c Merge branch 'master' of github.com:backstage/backstage into holding 2022-02-03 14:07:15 +00:00
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
Brian Fletcher 17182f82ae remove undefined option for optional param
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-02 15:50:11 +00: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
Brian Fletcher d0a3bdb263 also export task page props and document
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-01 23:00:21 +00:00
Brian Fletcher 5f32f20a34 fixes the comonent types
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-01 22:44:44 +00: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
Brian Fletcher 410ce6ed2a Allow providing a TaskPageComponent
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-01 14:36:09 +00: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