Commit Graph

1185 Commits

Author SHA1 Message Date
Sebastian Qvarfordt be7ef69328 Added initial scaffold for techdocs backend (#1550)
* Added initial scaffold for techdocs backend

* Added test and a dummy route

* Missed file in commit

* Removed unused dependencies

* Added readme
2020-07-07 15:37:26 +02:00
Patrik Oldsberg 10d1e141b7 Merge pull request #1504 from danztran/fix_hardcoded_url
Replace hardcoded base urls
2020-07-07 14:52:49 +02:00
Patrik Oldsberg 6fdcc9f59a v0.1.1-alpha.13 2020-07-07 13:16:30 +02:00
Sebastian Qvarfordt 9fa773d571 Hack to fix typescript error in dependency. PR sent, and this fixes it temporarily. 2020-07-07 11:14:20 +02:00
Sebastian Qvarfordt d546ff776d Merge branch 'master' of github.com:spotify/backstage into mob/techdocs-sanitize-html 2020-07-07 10:45:50 +02:00
Ivan Shmidt 7e38251cef fix(scaffloder): pass values correctly 2020-07-07 09:40:42 +02:00
Ivan Shmidt c5bf20f244 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/scaffolder-flow-frontend 2020-07-07 09:12:26 +02:00
Ivan Shmidt 0933734e08 fix(scaffolder): get correct resultDir, template 2020-07-07 09:08:30 +02:00
Emma Indal f86715ae3d fix(techdocs): move from post transformers to pre transformers 2020-07-06 19:52:05 +02:00
Emma Indal 18e9dac360 fix(techdocs): adjust test to use post and pre transformers 2020-07-06 19:52:05 +02:00
Emma Indal 7f00b29ea2 feat(techdocs): sanitizeDOM transformer 2020-07-06 19:52:04 +02:00
Emma Indal 07d6e90341 feat(techdocs): add sanitizer package 2020-07-06 19:52:04 +02:00
Patrik Oldsberg a854568e44 Merge pull request #1500 from timurista/timurista
Add gitlab sign in method #343
2020-07-06 19:21:44 +02:00
Tim Urista 4f7e2de43c add backstage identity in test 2020-07-06 10:01:19 -07:00
Tim Urista fe8aa15473 add email for backstage profile 2020-07-06 09:47:19 -07:00
Bilawal Hameed 9a3b6d50fe fix: cast as HTMLElement 2020-07-06 14:29:28 +02:00
Bilawal Hameed 180a08a5ec chore: use onLoading and onLoaded 2020-07-06 14:24:23 +02:00
Bilawal Hameed 1040383d36 chore: added stylesheet test-util + split out shadow-dom test util 2020-07-06 14:08:38 +02:00
Bilawal Hameed 04067f24f0 chore: add onCssReady tests 2020-07-06 14:08:38 +02:00
Bilawal Hameed 4eca08efd1 chore: rename callbacks to onLoading and onLoaded 2020-07-06 14:08:36 +02:00
Bilawal Hameed b44d4a4467 fix: only run onLoading if external stylesheets exist 2020-07-06 14:08:05 +02:00
Bilawal Hameed 0c1e1bf346 feat(techdocs): added onCssReady transformer 2020-07-06 14:08:04 +02:00
Ivan Shmidt 8f1e0f67d1 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/scaffolder-flow-frontend 2020-07-06 13:53:45 +02:00
blam 66016baf5c chore(scaffolder): fixing typescript woes 2020-07-06 11:34:46 +02:00
blam 7693a8d484 chore(scaffolder): fixing linting 2020-07-06 11:15:53 +02:00
blam 55982ba3e9 chore(scaffolder): moving the mocks up a level 2020-07-06 11:14:29 +02:00
blam cf1eaac5a8 Merge branch 'master' of github.com:spotify/backstage into mob/create-vcs-step
* 'master' of github.com:spotify/backstage: (62 commits)
  chore: ref to shadowDomRef
  chore: revert data-testid back to shadow-dom
  fix: remove re-creating new shadow-dom on page change
  fix(techdocs): cleaned up useEffect in Reader
  fix: moved useEnforcingTrailingSlash upper in the hook chain
  chore(techdocs): updated tests
  fix(techdocs): fixed race condition between page loads
  fix(useFetch): use AsyncState type
  fix(techdocs-404): throw error
  fix(techdocs-home): move docs sites mock data to array
  fix(test): change to lowercase
  fix(test): remove async
  refactor(techdocs): basic techdocs not found, split out components from reader
  fix(tests): fix fixures (#1505)
  build(deps): bump css-loader from 3.5.3 to 3.6.0
  cli: never treat success as a failure in e2e test
  Fix variable
  Use Config for Filter Org List Header
  fix(sidebar): do not let sidebar items collapse and shrink
  cli: use tree-kill to kill serve task in e2e test
  ...
2020-07-04 05:27:33 +02:00
Bilawal Hameed 9e4c092d6b chore: ref to shadowDomRef 2020-07-03 16:26:54 +02:00
Bilawal Hameed 07e5d2ce8a chore: revert data-testid back to shadow-dom 2020-07-03 16:25:09 +02:00
Bilawal Hameed a662bc1639 fix: remove re-creating new shadow-dom on page change 2020-07-03 16:18:34 +02:00
Bilawal Hameed 52f4d37b8e fix(techdocs): cleaned up useEffect in Reader 2020-07-03 16:05:25 +02:00
Bilawal Hameed 95ebc8eba9 fix: moved useEnforcingTrailingSlash upper in the hook chain 2020-07-03 16:05:25 +02:00
Bilawal Hameed 96c24c687b chore(techdocs): updated tests 2020-07-03 16:05:25 +02:00
Bilawal Hameed 468ca0f9b3 fix(techdocs): fixed race condition between page loads 2020-07-03 16:05:25 +02:00
Emma Indal ddd73efa92 Merge pull request #1508 from spotify/emmaindal/techdocs-base-components
techdocs: base components + basic docs not found page
2020-07-03 12:12:12 +02:00
Emma Indal 8945b51114 fix(useFetch): use AsyncState type 2020-07-03 12:06:14 +02:00
Emma Indal eaf1d0a09d fix(techdocs-404): throw error 2020-07-03 11:55:20 +02:00
Emma Indal 3229b16ce8 fix(techdocs-home): move docs sites mock data to array 2020-07-03 11:55:19 +02:00
Emma Indal 3e3dff511b fix(test): change to lowercase
Co-authored-by: Bilawal Hameed <bil@spotify.com>
2020-07-03 11:55:19 +02:00
Emma Indal 6f3a8ee90a fix(test): remove async
Co-authored-by: Bilawal Hameed <bil@spotify.com>
2020-07-03 11:55:19 +02:00
Emma Indal cabd540abb refactor(techdocs): basic techdocs not found, split out components from reader 2020-07-03 11:55:19 +02:00
danztran a8b78350e2 rebase master 2020-07-03 16:38:03 +07:00
danztran 9472493ff1 extract app origin from base url 2020-07-03 16:34:52 +07:00
danztran 87d3922311 replace appUrl with appOrigin 2020-07-03 16:34:52 +07:00
danztran 1e29cbea0a remove TODO 2020-07-03 16:34:52 +07:00
danztran c371e45067 replace hardcoded url 2020-07-03 16:34:52 +07:00
Emma Indal ea58f885e2 fix(tests): fix fixures (#1505)
Co-authored-by: Emma Indal <emmai@spotify.com>
2020-07-03 11:17:15 +02:00
Nikita Dudnik 29e442cbc9 Merge pull request #1512 from spotify/freben/oauth2-custom-identity-provider
feat(auth): implement generic oauth2 provider
2020-07-03 10:21:06 +02:00
Nikita Dudnik d7b5b667e1 Merge pull request #1516 from spotify/freben/ghactions
feat(github-actions): introduce the old frontend code
2020-07-03 09:51:03 +02:00
Daniel Johansson 9b6b519314 Update migrations to support postgres 2020-07-03 09:44:31 +02:00