Commit Graph

9035 Commits

Author SHA1 Message Date
Fredrik Adelöw 420c1cce91 rename the NextEntitiesCatalog
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-17 14:02:07 +01:00
Fredrik Adelöw 5e1a83e4f1 remove batchAddOrUpdateEntities too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-17 14:02:05 +01:00
Patrik Oldsberg cc13505856 Merge pull request #8809 from backstage/rugvip/depr
removed deprecations from the 2021-12-09 release
2022-01-17 14:01:34 +01:00
Fredrik Adelöw 9f2a8dc423 add migration to remove the old tables, and some cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-17 13:57:33 +01:00
Fredrik Adelöw 200c31c100 remove the legacy folder
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-17 13:57:33 +01:00
Fredrik Adelöw 462b76da14 stop exposing legacy and replace with next
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-17 13:57:33 +01:00
Joon Park e15ce5c16e Integrate authorization into catalog-backend delete entities endpoint (#8805)
* Integrate authorization into catalog-backend delete entities endpoint

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

* Remove entity ref from request and handle conditional response

Signed-off-by: Joon Park <joonp@spotify.com>
2022-01-17 12:22:24 +00:00
Patrik Oldsberg 4d21332888 Merge branch 'master' into rugvip/depr 2022-01-17 13:07:16 +01:00
Mark Stickley 02687954ca Fixed typo and made warning a little clearer
Signed-off-by: Mark Stickley <markstickley@theyakshack.co.uk>
2022-01-17 11:54:10 +00:00
Fredrik Adelöw c13beb05e4 Merge pull request #8943 from djamaile/master
feat(org): expose pageSize prop for MembersListCard component
2022-01-17 09:39:58 +01:00
David Weber 6f4f3422d8 Export GraphQlDefinitionWidget
This is important for reuse of the widget.

Signed-off-by: David Weber <david.weber@baloise.ch>
2022-01-16 12:41:14 +01:00
Patrik Oldsberg 2b27e49eb1 catalog,catalog-backend: update to catalog-model status change
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-15 16:47:39 +01:00
djamaile f006fe2529 feat(org): expose pageSize prop for MembersListCard component
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-01-14 19:05:43 +01:00
Fredrik Adelöw 7cd53159a2 Merge pull request #8940 from SDA-SE/fix/api-docs-url
fix(api-docs): set url explicitly to an empty string
2022-01-14 18:57:19 +01:00
Dominik Schwank cd4e3c4d4e fix(api-docs): set url explicitly to an empty string
The url argument is undefined when it is not explicitly set to an empty string. An undefined url is
causing the swagger UI to fail on match checks.

fixes #8895

Signed-off-by: Dominik Schwank <dominik.schwank@sda.se>
2022-01-14 18:19:25 +01:00
Juan Pablo Garcia Ripa 14b882a696 Move layout context to SidabarPage
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2022-01-14 18:05:55 +01:00
Juan Pablo Garcia Ripa 5bd03f03be fix conflict resolution
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2022-01-14 18:04:19 +01:00
Juan Pablo Garcia Ripa eae85fecac add focus after search
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

add provider to report

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2022-01-14 18:04:11 +01:00
Juan Pablo Garcia Ripa 8bb0f4bc8a add LayoutProvider
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2022-01-14 17:57:45 +01:00
Fredrik Adelöw a10b8c4df0 Merge pull request #8938 from djamaile/master
fix: typo in MembersListCard component
2022-01-14 17:41:05 +01:00
Fredrik Adelöw be5b5e3eba Merge pull request #8936 from backstage/freben/healer
Clear parent entity hashes on deletion, to get healing behaviors back
2022-01-14 17:14:02 +01:00
Fredrik Adelöw 7e8cc7d24e Merge pull request #6905 from tudi2d/mobile-sidebar
Mobile sidebar
2022-01-14 16:55:14 +01:00
Fredrik Adelöw 653d1fe263 better formulation
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-14 16:47:34 +01:00
djamaile 2908a41b9b fix: typo in MembersListCard component
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-01-14 16:42:07 +01:00
Fredrik Adelöw 68fa2e868d Merge pull request #8822 from erikxiv/techdocs-style-blockquote
Techdocs: use lighter color for block quotes and horizontal rulers
2022-01-14 16:29:13 +01:00
MT Lewis 71b09c83be Merge pull request #8799 from backstage/permissions-batching-improvements
permission-backend: wrap authorize request and response batches in envelope
2022-01-14 14:43:50 +00:00
Fredrik Adelöw dce98a92f7 Clear parent entity hashes on deletion, to get healing behaviors back
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-14 15:22:42 +01:00
Jussi Hallila 87f37b1674 Knexify queries.
Add additional test cases for cases where multiple entities are inserted.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-01-14 13:20:35 +01:00
blam 33e2553ccc chore: added tests for the rest of the broken out components. Now I think we're ready to go...
Signed-off-by: blam <ben@blam.sh>
2022-01-14 06:50:47 +01:00
Patrik Oldsberg 72d4b7061d Merge pull request #8719 from cmpadden/warn-app-config-deprecations
Warn users of deprecated keys in app configurations
2022-01-13 23:25:01 +01:00
Fredrik Adelöw 46d74fd427 Merge pull request #8774 from backstage/dependabot/npm_and_yarn/types/swagger-ui-react-4.1.1
build(deps-dev): bump @types/swagger-ui-react from 3.35.2 to 4.1.1
2022-01-13 22:32:49 +01:00
Patrik Oldsberg 8aebc7b0db app-backend: clarify relation between database and staticFallbackHandler
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 20:00:12 +01:00
Patrik Oldsberg ccd9bcb86e app-backend: some refactoring, renaming, and docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 20:00:12 +01:00
Patrik Oldsberg eb00e8af14 app-backend: changeset and API report for asset cache and header updates
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 20:00:12 +01:00
Patrik Oldsberg 729b188045 app-backend: update router to use static assets store and new cache headers
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 20:00:12 +01:00
Patrik Oldsberg 7261b76935 app-backend: added static assets middleware + header constants
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 20:00:12 +01:00
Patrik Oldsberg 3a7911ece8 app-backend: added test for asset lookup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 20:00:11 +01:00
Patrik Oldsberg 54ecf37c15 app-backend: added utility to find assets to store
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 20:00:11 +01:00
Patrik Oldsberg a9dcace703 app-backend: add StaticAssetsStore
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 20:00:11 +01:00
Patrik Oldsberg 6841660ba4 app-backend: added initial db migration for asset cache
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 19:59:42 +01:00
Patrik Oldsberg 5535336292 search: update api tests to mock getCredentials
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 19:51:31 +01:00
blam 8a086d1c36 chore: remove the last occurence of getIdToken
Signed-off-by: blam <ben@blam.sh>
2022-01-13 19:51:31 +01:00
Patrik Oldsberg 51fbedc445 plugins: migrate usage of deprecated IdentityApi methods
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 19:51:30 +01:00
Patrik Oldsberg 2916a83b9c catalog-react: deprecate loadIdentityOwnerRefs and simplify implementation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 19:27:13 +01:00
MT Lewis 12f5c33043 catalog-backend: rename permission-related variable to match type
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 17:51:06 +00:00
MT Lewis 0ae4f4cc82 permissions: rename authorize request and response types to avoid envelope suffix
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 17:51:06 +00:00
MT Lewis b768259244 permission-backend: wrap authorize request and response batches in envelope
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 17:51:05 +00:00
MT Lewis 94d24c751d catalog-backend: fix getResources
The getResources method in catalog-backend should use the
unauthorizedEntitiesCatalog to load resources, otherwise
we end up authorizing access to entities during application
of conditions.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 17:23:32 +00:00
blam 1b026578f0 chore: export some missing bits for the api-report.md
Signed-off-by: blam <ben@blam.sh>
2022-01-13 17:41:14 +01:00
blam 7fb125ac07 chore: simplify the contract between the different provider pickers
Signed-off-by: blam <ben@blam.sh>
2022-01-13 17:37:03 +01:00