Commit Graph

3390 Commits

Author SHA1 Message Date
blam 70ceab3db4 feat: adding in all the functions needed for isomorphic git feature 2020-12-21 15:38:53 +01:00
samiramkr 241bdb6215 Merge pull request #3704 from backstage/samiram/aboutCard
Samiram/about card
2020-12-21 15:08:29 +01:00
Ben Lambert a098d18dd1 Merge pull request #2557 from backstage/mob/scaffolder-cra-fixes
feat(scaffolder): cra add gha integration, fix imports
2020-12-21 15:04:33 +01:00
Samira Mokaram 7358a60fa1 address comments 2020-12-21 13:36:01 +01:00
Patrik Oldsberg 9eab5096a2 Merge pull request #3588 from omerlh/patch-1
chore: use node 14 for backend dockerfile
2020-12-21 12:22:23 +01:00
blam ee92b179e1 Merge branch 'master' of github.com:backstage/backstage into mob/scaffolder-cra-fixes
* 'master' of github.com:backstage/backstage: (98 commits)
  build(deps): bump archiver from 5.0.2 to 5.1.0
  build(deps): bump typescript-json-schema from 0.45.0 to 0.45.1
  docs: Update lighthouse docs
  scaffolder-backend: clarify type detection error message
  scaffolder-backend: gitlab preparer uses integrations token
  core-api: ensure that routable extension components are discovered at boot
  core-api: memoize app element traversal and validation
  core-api: add lazy loading of component extensions
  Add changeset and add missing semicolon
  Add search plugin to new CLI created apps
  build(deps): bump graphql from 15.3.0 to 15.4.0
  core-api: add MutableSessionManager and fix AuthSessionStore not properly updating session state
  run prettier on the roadmap
  core-api: refactor createReactExtension to forward component types directly and avoid @types/react dependency
  core-api: add route validation to app + test
  core-api: default type parameters for BackstagePlugin to avoid breakage
  changeset: add changesets for new plugin extension API
  core-api: avoid exporting AnyRoutes, AnyExternalRoutes, and ExternalRouteRef constructor
  core-api: rename BindRouteFunc to AppRouteBinder
  core-api,plugins/graphiql: export extension APIs from core-api and port the graphiql plugin
  ...
2020-12-21 10:37:32 +01:00
Samira Mokaram 33d603c58c change the export of Link 2020-12-21 10:29:04 +01:00
Erik Larsson 2837dec850 fix(app): listen to app.listen.host 2020-12-20 19:30:01 +01:00
Patrik Oldsberg 1fa02e5bb3 Merge pull request #3777 from backstage/mob/valid
core-api: ensure that routable extension components are discovered at boot
2020-12-19 12:52:08 +01:00
Patrik Oldsberg f0eda7e0aa core-api: ensure that routable extension components are discovered at boot
Co-authored-by: blam <ben@blam.sh>
2020-12-18 14:21:46 +01:00
Fredrik Adelöw 04ac603cd1 Merge pull request #3774 from tudi2d/3618-search-in-new-apps
Add search plugin to new CLI created apps
2020-12-18 14:00:40 +01:00
Fredrik Adelöw e3dc3e40cf Merge pull request #3767 from backstage/bug/csp
Updating CSP for unsafe eval
2020-12-18 13:58:49 +01:00
Patrik Oldsberg 1adc0443ad Merge pull request #3770 from backstage/rugvip/ghsession
core-api: add MutableSessionManager and fix AuthSessionStore not properly updating session state
2020-12-18 13:41:02 +01:00
Patrik Oldsberg 891628b3b5 Merge pull request #3753 from backstage/mob/rr
core-api: Introduce new plugin extension API
2020-12-18 13:28:16 +01:00
Fredrik Adelöw 31b75b039f Merge pull request #3524 from backstage/freben/relative-locations-everywhere
catalog-model: use relative location targets in examples
2020-12-18 12:20:24 +01:00
Patrik Oldsberg c47ec51a94 core-api: memoize app element traversal and validation 2020-12-18 12:12:53 +01:00
Patrik Oldsberg c35554dc4c core-api: add lazy loading of component extensions
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
2020-12-18 12:12:53 +01:00
Philipp Hugenroth 0101c7a161 Add changeset and add missing semicolon 2020-12-18 11:31:16 +01:00
Philipp Hugenroth f742a8bf7b Add search plugin to new CLI created apps 2020-12-18 10:42:38 +01:00
Patrik Oldsberg d681db2b50 core-api: add MutableSessionManager and fix AuthSessionStore not properly updating session state 2020-12-17 23:27:45 +01:00
Samira Mokaram 54ce0ebdd6 remove AboutCard and rename IconLinkVertical and revert some changes 2020-12-17 16:26:13 +01:00
Patrik Oldsberg adb1afdc2b core-api: refactor createReactExtension to forward component types directly and avoid @types/react dependency
Co-authored-by: blam <ben@blam.sh>
2020-12-17 16:11:00 +01:00
Samira Mokaram 9a74e9a97d Merge branch 'master' of https://github.com/spotify/backstage into samiram/aboutCard 2020-12-17 15:19:16 +01:00
Patrik Oldsberg aeb9fb254e core-api: add route validation to app + test
Co-authored-by: blam <ben@blam.sh>
2020-12-17 13:49:21 +01:00
Patrik Oldsberg 6d263b0bdf core-api: default type parameters for BackstagePlugin to avoid breakage
Co-authored-by: blam <ben@blam.sh>
2020-12-17 13:35:36 +01:00
Patrik Oldsberg eb6a928eb0 core-api: avoid exporting AnyRoutes, AnyExternalRoutes, and ExternalRouteRef constructor 2020-12-17 13:18:14 +01:00
Patrik Oldsberg b3e7780d8f core-api: rename BindRouteFunc to AppRouteBinder 2020-12-17 13:18:14 +01:00
Patrik Oldsberg ad66d1c8c4 core-api,plugins/graphiql: export extension APIs from core-api and port the graphiql plugin
Co-authored-by: blam <ben@blam.sh>
2020-12-17 13:18:14 +01:00
Fredrik Adelöw 797d170873 core-api: add full PrivateAppImpl test for bindRoutes 2020-12-17 13:18:13 +01:00
Fredrik Adelöw 5d52e20a44 core-api: run bindRoutes in the app impl and inject provider 2020-12-17 13:18:13 +01:00
Patrik Oldsberg ad5eab923c core-api: add unused optional bindRoutes method to AppOptions 2020-12-17 13:18:13 +01:00
Patrik Oldsberg c78bc66cfb core-api: add routes and externalRoutes to plugin interface
Co-authored-by: blam <ben@blam.sh>
2020-12-17 13:18:13 +01:00
Patrik Oldsberg e2aa76f19b core-api: initial implementation of external route refs
Co-authored-by: blam <ben@blam.sh>
2020-12-17 13:18:12 +01:00
Himanshu Mishra a8573e53b9 create-app: Update techdocs-backend, add changesets 2020-12-17 11:33:59 +01:00
Himanshu Mishra 2ac77aeec2 techdocs-backend: Remove individual preparers and generators from app backend, to use factory methods
When a new Backstage app is setup, the techdocs backend file contains all the preparers (dir, github, gitlab, etc.) and same for generators. While this providers added customizibility, it comes with a cost of complexity in setting up the app backend. New preparers' updates would need users to update their app's techdocs backend file.

Scaffolder backend has already moved to this proposed pattern.
2020-12-17 11:33:56 +01:00
github-actions[bot] 6e9f4d4a15 Version Packages 2020-12-17 10:16:33 +00:00
Ben Lambert 9d7b50f2f3 Merge pull request #3762 from backstage/rugvip/saml
core-api: unique storage of saml sessions as well
2020-12-17 11:11:44 +01:00
Fredrik Adelöw f671440858 Merge pull request #3673 from mateiidavid/implement-readtree-on-gitlab
Implement readTree for GitlabReader (#3547)
2020-12-17 11:10:55 +01:00
Patrik Oldsberg 34eecc8b41 core-api: unique storage of saml sessions as well 2020-12-17 10:53:31 +01:00
blam e2beaf5940 chore: create scm from auth 2020-12-17 10:18:52 +01:00
blam 90f22cc2db chore: when serving with app-backend, the frontend needs unsafe-eval for the patterns in react-jsonschema-form or ajv validation 2020-12-17 01:29:51 +01:00
blam e07eb800c7 chore: remove deep link 2020-12-16 17:28:53 +01:00
Himanshu Mishra d96f61bd70 Merge pull request #3718 from backstage/orkohunter/update-techdocs-project-status-docs 2020-12-16 16:25:13 +01:00
mateiidavid 19f5c5e990 Change Gitlab config test to include apiBaseurl 2020-12-16 14:13:54 +00:00
mateiidavid 47930a36f7 Implement readTree for GitlabReader (#3547)
* This change adds an implementation for the readTree method in GitlabReader.
The implementation is similar to the readTree method in GithubReader
with the exception of the 'path' variable used for subpaths in the
archive. To facilitate this, GitlabIntegrationConfig now has an apiUrl
field which was missing for Gitlab but was present for Bitbucket & GH.

* As part of this change, there are also new tests added to GitlabReader
to mirror what has been done with the GH reader. For now the archive
format chosen is 'zip', follow-up action includes having a look at
whether tar.gz is preferable.

Signed-off-by: Matei David <madavid@expediagroup.com>
2020-12-16 14:13:54 +00:00
Himanshu Mishra d62be2f822 Merge pull request #3731 from backstage/orkohunter/techdocs-set-correct-content-type-header 2020-12-16 10:58:04 +01:00
blam c754b6aa47 chore: revert some of the universal file stuff for now 2020-12-16 10:36:57 +01:00
Fredrik Adelöw a71599b163 Merge pull request #3465 from SDA-SE/feat/remote-implements-apis
Remove implementsApis
2020-12-16 10:17:44 +01:00
Ben Lambert ca03fc8e86 Merge pull request #3720 from fidelcoria/custom-github-auth
chore(auth): customizable github auth storage key
2020-12-16 08:43:02 +01:00
Himanshu Mishra ef4927baf6 techdocs-common: Use || operator instead of full if-else checks 2020-12-15 22:19:03 +01:00