Commit Graph

462 Commits

Author SHA1 Message Date
Ivan Shmidt 02aea7b8ff Merge branch 'freben/catalog-model' of github.com:spotify/backstage into shmidt-i/location-update-results 2020-05-28 16:06:33 +02:00
Ivan Shmidt b716214752 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/location-update-results 2020-05-28 15:56:38 +02:00
Fredrik Adelöw 3673722f69 Move the model into a plugin-catalog-model for sharing outside the backend 2020-05-28 15:29:17 +02:00
Stefan Ålund 3d4334fdb9 New home: service catalog (#1018)
* New home: service catalog

* Add banner

* Remove extra <>

* Re-enable test

* Review comments

* Update DismissableBanner.stories.tsx
2020-05-28 12:46:23 +02:00
Ivan Shmidt 6b2be283a0 fix: PR edits 2020-05-28 11:50:53 +02:00
Govind Goel eeb69c5617 Set the correct page title in /create (#1037)
This commit will fix the page title error in /create
2020-05-28 08:47:19 +02:00
Raghunandan Balachandran 43552302c3 Merge pull request #1025 from spotify/nonce-headers
Auth backend: Nonce and header checks
2020-05-27 16:00:06 +02:00
Bilawal Hameed 01025bbd01 plugin(tech-radar): set private to false and publishConfig access to public 2020-05-27 12:50:09 +02:00
Stefan Ålund aeffe49ad3 Add Stories for Header variants (#1027)
* Add Stories for Header variants

* Set service type
2020-05-27 10:53:59 +02:00
Adil Alimbetov f72d97dc17 Sidebar logo update (#814)
* Testing logo ux

* Updated logo on sidebar

* removed unused vars

* adjusted types on icon components
2020-05-27 10:13:41 +02:00
Ivan Shmidt 9310ce5aee fix: test 2020-05-27 10:04:55 +02:00
Ivan Shmidt 66611b29bb Merge branch 'master' of github.com:spotify/backstage into shmidt-i/location-update-results 2020-05-27 10:02:56 +02:00
Raghunandan 86518a0210 add test cases for nonce checks 2020-05-27 09:40:18 +02:00
dependabot-preview[bot] 93263f6bd1 build(deps-dev): bump @types/uuid from 7.0.3 to 8.0.0 (#944)
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 7.0.3 to 8.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-26 22:59:26 +02:00
Fredrik Adelöw caada84661 Merge pull request #1015 from spotify/mob/entity-list-and-item
Implement /entities with filters, /entities/by-id, /entities/by-name
2020-05-26 22:34:15 +02:00
Ben Lambert c954f9d5ec Catalog Filters (#1000)
* feat(catalog-plugin): Starting to add the sidebar filters component for the different filters applicable

* chore(catalog-frontend): fixing pr code review comments

* feat(packages/core): export IconComponent for use in other packages

* chore(catalog-frontend): Added some tests for the catalog filter component to make sure it renders the correct data

* feat(catalog-frontend): added the ability for click handlers when changing selected filter

* feat(catalog-frontend): store state in the page component for active filter and moving out the mock data to a better place

* feat(catalog-frontend): reworking the selected state and fixing the selected text on the table when you choose the correct filter
2020-05-26 20:06:21 +02:00
Raghunandan 12d41d0f0a use providerFactory.provider instead of hardcoding google 2020-05-26 17:25:48 +02:00
Raghunandan fccdb7e3ef add nonce check for the google auth dance in popup 2020-05-26 17:25:48 +02:00
Raghunandan 77d1e7382d add check for x-requested-with header 2020-05-26 17:25:48 +02:00
Raghunandan Balachandran 07b0ec9a90 Merge pull request #997 from spotify/google-refreh-tokens
Implemented refresh endpoint for google provider
2020-05-26 17:23:59 +02:00
Raghunandan 3a7e998a16 fix review comments, more error handling, moar tests 2020-05-26 17:06:40 +02:00
Fredrik Adelöw f6fc811d0a Use spread 2020-05-26 16:45:24 +02:00
Ivan Shmidt 0cae5dea3a fix: conflict resolution leftover 2020-05-26 16:44:49 +02:00
Ivan Shmidt 9ca8f8355f feat: location update results 2020-05-26 16:40:41 +02:00
Patrik Oldsberg fdb2241ad0 Merge pull request #1003 from spotify/rugvip/apimove
core: refactor ErrorApi and AlertApi
2020-05-26 16:27:25 +02:00
Fredrik Adelöw 8a1145b96c Fix test order 2020-05-26 16:22:45 +02:00
Fredrik Adelöw bfeaf43c71 Individual entity fetches 2020-05-26 15:50:31 +02:00
Fredrik Adelöw 642de90255 Filtering 2020-05-26 14:48:37 +02:00
Nikita Nek Dudnik bbdd383ebe fix: PR review clean up 2020-05-26 11:31:23 +02:00
Fredrik Adelöw 8c71c29b60 Add basic test harness for the router 2020-05-26 11:08:46 +02:00
Nikita Nek Dudnik 33b7372363 fix: parametrize location reader and update test 2020-05-26 10:51:07 +02:00
Nikita Nek Dudnik 885eaac0a9 fix: disable typechecking for mock 2020-05-26 10:02:02 +02:00
Nikita Nek Dudnik fabcec2c0f fix: add eslint ignore to module mock file 2020-05-26 09:13:42 +02:00
Raghunandan 1da6ac369e fix tests and add more tests 2020-05-25 23:52:59 +02:00
Patrik Oldsberg 4e7e0833cc packages/core: add observable consumer to ErrorApi 2020-05-25 22:19:02 +02:00
Nikita Nek Dudnik dfcad87517 fix: tests after merge 2020-05-25 18:37:47 +02:00
Nikita Nek Dudnik ca63580518 Merge branch 'master' of github.com:spotify/backstage into ndudnik/validate-locations 2020-05-25 18:35:12 +02:00
Nikita Nek Dudnik 8e4e6d0aba feature: implement location validation on addLocation 2020-05-25 18:26:26 +02:00
Raghunandan a8184250fe fix lint issues 2020-05-25 17:51:27 +02:00
Raghunandan 53c1fe0601 fix lint issues 2020-05-25 17:46:42 +02:00
Raghunandan a739f2da58 Fixes in response format in frontend and backend apis 2020-05-25 16:51:50 +02:00
Raghunandan 6cd55c3b7b Always return scope 2020-05-25 16:27:56 +02:00
Fredrik Adelöw 76f113ecdb Merge pull request #995 from spotify/freben/store-entities
Store entities completely in the database
2020-05-25 16:17:29 +02:00
Raghunandan 95f86e7482 Implemented refresh endpoint for google provider 2020-05-25 16:05:35 +02:00
dependabot-preview[bot] 9d11042939 build(deps-dev): bump @types/fs-extra from 8.1.0 to 9.0.1 (#937)
Bumps [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 8.1.0 to 9.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-25 15:05:09 +02:00
Fredrik Adelöw 9a0885304e Unbreak build 2020-05-25 14:19:29 +02:00
Fredrik Adelöw 44844af0bd Store entities completely in the database 2020-05-25 14:12:05 +02:00
Fredrik Adelöw 645bee1b4c Add code for building a search index over added/modified entities
This is not actually being inserted yet, because doing so needs a little refactoring of the database code that happens in another PR.

Adding separate PR for the index to make it easier to review the logic.
2020-05-25 14:02:47 +02:00
Patrik Oldsberg 618065b783 Merge pull request #994 from spotify/rugvip/route-ref
packages/core: rename NavTargets to RouteRefs
2020-05-25 13:27:28 +02:00
Patrik Oldsberg a79f120fa5 packages/core: rename NavTargets to RouteRefs 2020-05-25 12:47:44 +02:00