Commit Graph

2731 Commits

Author SHA1 Message Date
Raghunandan Balachandran 8da3774f79 Merge pull request #1266 from spotify/mob/config-env
Auth Backend: read env config
2020-06-12 14:53:14 +02:00
Raghunandan Balachandran b167dd712f Merge pull request #1268 from spotify/sentry-localhost
Sentry backend: Fail gracefully for local development
2020-06-12 14:48:43 +02:00
Raghunandan 2c6b8659d3 review fixes 2020-06-12 14:40:06 +02:00
Raghunandan 33a96003c2 fail gracefully if sentry token is missing in localhost 2020-06-12 14:28:18 +02:00
Patrik Oldsberg 8cbb8459ba Merge pull request #1263 from spotify/stefanalund-patch-1-1
Link to SECURITY in CONTRIBUTING
2020-06-12 13:54:44 +02:00
Fredrik Adelöw 6c642a60c0 Merge pull request #1265 from spotify/freben/i-am-almost-unique
feat(catalog-backend): reject almost-same-name entities
2020-06-12 13:54:04 +02:00
Fredrik Adelöw 66fef7f2e4 chore(catalog-backend): use code instead of db to implement similarity rule 2020-06-12 13:41:05 +02:00
Raghunandan 5f13a53c6a Making auth backend work based on config. Config is yet to be read from the YAML and passed in. Localhost development will fail gracefully if AUTH config env vars are not set 2020-06-12 12:06:46 +02:00
Fredrik Adelöw 7de5e10408 feat(catalog-backend): reject almost-same-name entities 2020-06-12 12:04:56 +02:00
Stefan Ålund 5e034d687b Repo hygiene: Add SECURITY.md (#1262)
* Repo hygiene: Add SECURITY.md

* Update SECURITY.md
2020-06-12 09:56:06 +02:00
Stefan Ålund 86e399221c Link to SECURITY in CONTRIBUTING 2020-06-12 08:43:57 +02:00
Ben Lambert ca3cd45980 Merge pull request #1171 from spotify/blam/react-router
Migrate to React Router V6
2020-06-12 02:58:35 +02:00
blam 6a64ed933f chore(react-router-v6): quick fix for some type problems 2020-06-12 02:44:10 +02:00
blam 636cfd4357 Merge branch 'blam/react-router' of github.com:spotify/backstage into blam/react-router
* 'blam/react-router' of github.com:spotify/backstage:
  chore(catalog/swr): Removing superfluous import for useEffect
  feat(catalog/swr): simplify the code significantly. now we are talking. this library is the nutz
  feat(catalog/swr): Added a nice stale-while-revalidate pattern for fetching data
  chore(swr): Updating the yarn.lock
2020-06-12 02:25:40 +02:00
blam 2d543b9a3a chore(react-router-v6): reverting an old story 2020-06-12 02:24:53 +02:00
Ben Lambert b25f44ec31 Merge branch 'master' into blam/react-router 2020-06-12 01:52:55 +02:00
Ben Lambert 5a845d027d Merge pull request #1260 from spotify/blam/remove-node-cache
feat(catalog): Remove temporary caching in favour of stale-while-revalidate
2020-06-12 01:22:15 +02:00
blam 55cc1584e1 chore(catalog/swr): Removing superfluous import for useEffect 2020-06-12 00:53:05 +02:00
blam 5ae13652fe feat(catalog/swr): simplify the code significantly. now we are talking. this library is the nutz 2020-06-12 00:34:11 +02:00
blam 1a581d4d26 feat(catalog/swr): Added a nice stale-while-revalidate pattern for fetching data 2020-06-12 00:29:42 +02:00
blam 2face4e519 chore(swr): Updating the yarn.lock 2020-06-12 00:29:22 +02:00
blam 22e411df3b chore(react-router-v6): fixing the comment 2020-06-11 21:48:07 +02:00
blam 6f80d1b9bb chore(react-router-v6): Fixing what I think is the last of the routing for the application 2020-06-11 21:31:02 +02:00
blam 196ea291ea Merge branch 'master' of github.com:spotify/backstage into blam/react-router
* 'master' of github.com:spotify/backstage:
  Fix incorrect backend path in docs (#1258)
  packages/core-api: temporary solution for giving access to config when creating APIs
2020-06-11 21:15:45 +02:00
Stefan Ålund 7c088c5595 Fix incorrect backend path in docs (#1258) 2020-06-11 21:03:38 +02:00
blam acfe3103dc chore(react-router-v6): fixing broken test with the new router pattern 2020-06-11 21:03:04 +02:00
blam 0cd9a8a7d4 chore(react-router-v6): tidy up parts of the PR i wasn't happy with 2020-06-11 20:42:39 +02:00
blam 273db0314a chore(react-router-v6): Managed to get the Link + Button components working as expected 2020-06-11 20:35:48 +02:00
blam 47766635b6 chore(react-router-v6): Fixing navigation in the lighthouse plugin 2020-06-11 20:20:58 +02:00
Patrik Oldsberg 6915881056 Merge pull request #1257 from spotify/rugvip/stopgapp
packages/core-api: temporary solution for giving access to config when creating APIs
2020-06-11 19:38:57 +02:00
Patrik Oldsberg 9964401263 packages/core-api: temporary solution for giving access to config when creating APIs 2020-06-11 19:24:36 +02:00
blam da493b1fc9 chore(react-router-v6): revert paralell for tests, as my computer stared over 9000 node processes making my machine grind to a machine babbage would have disapointed with 2020-06-11 19:12:58 +02:00
blam 7ecfceac0f chore(react-router-v6): made some more progress on getting the tests passing 2020-06-11 18:35:53 +02:00
blam c1a21d53af Merge branch 'master' of github.com:spotify/backstage into blam/react-router
* 'master' of github.com:spotify/backstage: (45 commits)
  chore(catalog): simplify the filter types a little
  fix(catalog-backend): update the mock-data script to point to new example entities
  renamed example_components to example-components and deleted old exampled
  feat(catalog): add back ability for OR/IN type searches
  Add sample plugins to sidebar (#1243)
  chore(catalog): rename all pages and components to use Entity nomenclature
  fix(catalog): moar clean up
  Updated examples
  fix(catalog): add types and clean up code
  Added owner and lifecycle to catalog table, slightly updated examples
  chore(catalog): the component type is gone
  yarn.lock again...
  fix(catalog): merge errors
  review fixes. i thought about another force update for a moment :D
  move components to separate files
  fix(catalog): moar clean up
  fix(catalog): make code intention clear by renaming
  Merge pull request #1214 from spotify/feat/star-components
  Merge pull request #1194 from spotify/freben/backend-common-service
  Merge pull request #1215 from spotify/mob/sidebar-auth
  ...
2020-06-11 17:36:37 +02:00
blam 48aacfbe17 Merge branch 'master' of github.com:spotify/backstage into blam/react-router
* 'master' of github.com:spotify/backstage: (89 commits)
  Use URLSearchParams
  Use location?.type once more
  chore(catalog): clean up CatalogTable, use only Entity
  chore(catalog): clean up ComponentPage, use only Entity
  chore(catalog): tweak getEntityByName a bit, handle 404s properly
  chore(catalog/star): only set the cache if there are entries from the response
  chore(catalog/star): added a comment about why we are using a simple cache here
  chore(catalog/star): removing msw dependency, wrong branch
  chore(catalog): consistent use of named exports
  chore(msw): Added msw dependency
  chore(catalog/star): fixing issues with unmocked deps
  chore(catalog/star): adding a simple cache to stop flicker as a stopgap
  chore(catalog/star): reworking how the starring works, it now stores uri sort of references for entities
  fix(core): Tabs useEffect dependency list
  docs: format with prettier (#1218)
  Optional namespace and name as one part of URL
  docs/auth: added overview, oauth description and glossary
  docs: added plantuml generation script
  docs: added prettier config
  Remove deleted UserBadge component from Sidebar story
  ...
2020-06-11 17:36:19 +02:00
Fredrik Adelöw d689f664b8 Merge pull request #1255 from spotify/freben/simple-filters
chore(catalog): simplify the filter types a little
2020-06-11 16:13:45 +02:00
Fredrik Adelöw 469e362881 chore(catalog): simplify the filter types a little 2020-06-11 15:16:25 +02:00
Patrik Oldsberg 8d4e3080e9 Merge pull request #1068 from chanwit/gitops-profiles
New plugin for creating GitOps-managed Kubernetes right from Backstage.
2020-06-11 15:03:27 +02:00
Fredrik Adelöw f3374afd12 Merge pull request #1248 from spotify/freben/mock-data
fix(catalog-backend): update the mock-data script to point to new example entities
2020-06-11 14:57:48 +02:00
Fredrik Adelöw 5ee0bd47d9 fix(catalog-backend): update the mock-data script to point to new example entities 2020-06-11 14:51:43 +02:00
Sebastian Qvarfordt c413c7f762 Merge pull request #1245 from hooloovooo/add-catalog-data
Added owner and lifecycle to catalog table, updated examples
2020-06-11 14:02:46 +02:00
Fredrik Adelöw 0b710d36f2 Merge pull request #1247 from spotify/freben/multi
feat(catalog): add back ability for OR/IN type searches
2020-06-11 13:18:39 +02:00
Sebastian Qvarfordt 4f43119e19 renamed example_components to example-components and deleted old exampled 2020-06-11 13:15:14 +02:00
Fredrik Adelöw d156a6ca1f feat(catalog): add back ability for OR/IN type searches 2020-06-11 12:36:59 +02:00
Stefan Ålund d0518ee5d9 Add sample plugins to sidebar (#1243)
* Add sample plugins to sidebar

* Update RadarPage.test.tsx
2020-06-11 12:25:15 +02:00
Fredrik Adelöw 3f9fdfa7c2 Merge pull request #1244 from spotify/freben/renaming
chore(catalog): rename all pages and components to use Entity nomenclature
2020-06-11 12:24:29 +02:00
Fredrik Adelöw 1d05fea3c1 chore(catalog): rename all pages and components to use Entity nomenclature 2020-06-11 12:07:17 +02:00
Nikita Dudnik 0b03318cea Merge pull request #1216 from spotify/ndudnik/unregister-entity
Unregister entity
2020-06-11 12:03:53 +02:00
Nikita Nek Dudnik 62b1d6a3ed fix(catalog): moar clean up 2020-06-11 11:55:48 +02:00
Sebastian Qvarfordt 806824f0d9 Updated examples 2020-06-11 11:55:16 +02:00