blam
3727e3b367
feat: update all preparers to use isomorphic git
2020-12-22 13:00:36 +01:00
blam
ff0f7f89a2
Merge branch 'master' of github.com:backstage/backstage into blam/isomorphic-git
...
* 'master' of github.com:backstage/backstage: (269 commits)
address comments
catalog-backend: flesh out and tweak the config schema
Update chilled-pigs-destroy.md
catalog-backend: start warning about usage of deprecated location types
scripts: add script for migrating away from deprecated location types
chore: fixing changeset prettyness
Create good-hairs-sniff.md
Update IconLinkVertical.tsx
Update violet-sloths-reply.md
Delete fuzzy-windows-cry.md
Create violet-sloths-reply.md
Added changeset
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
fix(app): listen to app.listen.host
scaffolder-backend: clarify type detection error message
docs: Update techdocs architecture features status
scaffolder-backend: gitlab preparer uses integrations token
core-api: ensure that routable extension components are discovered at boot
...
2020-12-21 16:31:15 +01:00
blam
54a19d4444
feat: move all publishers over to the backend common way to interact with git scm
2020-12-21 16:05:24 +01:00
blam
d0a972eb63
chore: reworking how we deal with exporting things from the main package
2020-12-21 16:05:10 +01:00
blam
70ceab3db4
feat: adding in all the functions needed for isomorphic git feature
2020-12-21 15:38:53 +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
github-actions[bot]
6e9f4d4a15
Version Packages
2020-12-17 10:16:33 +00: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
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
Patrik Oldsberg
1da7d2c657
plugins,packages: replace usages of ConfigReader.from
2020-12-15 19:04:50 +01:00
blam
3546862399
chore: update git-url-parse dependency
2020-12-15 13:22:17 +01:00
Kim S. Ly
bbd0e354ff
Implement readTree on BitBucketUrlReader - Add getBitbucketDefaultBranch
2020-12-15 01:04:16 -05:00
Kim S. Ly
58b3bbe4e8
Implement readTree on BitBucketUrlReader - Implement getBitbucketDownloadUrl and remove hash for Bitbucket Server
2020-12-15 01:01:56 -05:00
Kim S. Ly
ea6f833167
Implement readTree on BitBucketUrlReader
2020-12-15 01:01:56 -05:00
Fredrik Adelöw
43e1277796
WIP: implement readTree for bitbucket
2020-12-15 01:01:55 -05:00
blam
534c287c35
Merge branch 'master' of github.com:backstage/backstage into blam/isomorphic-git
...
* 'master' of github.com:backstage/backstage: (86 commits)
Fix typos (#3646 )
fix(core): React descendant P tag warning (#3641 )
build(deps): bump @svgr/rollup from 5.4.0 to 5.5.0 (#3643 )
build(deps): bump jest from 26.5.3 to 26.6.3 (#3644 )
Update 2020-09-30-plugin-marketplace.md
Update 2020-09-30-backstage-design-system.md
Update 2020-09-23-backstage-cncf-sandbox.md
Update 2020-09-08-announcing-tech-docs.md
Update 2020-08-05-announcing-backstage-software-templates.md
Update 2020-07-01-how-to-enable-authentication-in-backstage-using-passport.md
Update 2020-06-22-backstage-service-catalog-alpha.md
Update 2020-05-22-phase-2-service-catalog.md
Update 2020-05-14-weaveworks-covid-19-app-uses-backstage-ui.md
Update 2020-05-14-tech-radar-plugin.md
Update 2020-04-30-how-to-quickly-set-up-backstage.md
Update 2020-10-22-cost-insights-plugin.md
Update 2020-04-06-lighthouse-plugin.md
Update 2020-03-18-what-is-backstage.md
Update 2020-03-16-announcing-backstage.md
Add standard NPM metadata
...
2020-12-10 14:11:02 +01:00
github-actions[bot]
cf187484bf
Version Packages
2020-12-10 11:25:39 +00:00
Patrik Oldsberg
5b2e5d624d
Merge pull request #3575 from SDA-SE/feat/remove-prom-client
...
Remove prometheus dependency from backend-common
2020-12-08 19:14:13 +01:00
Fredrik Adelöw
38e24db009
integration: move the core url and auth logic to integration for the four major providers
2020-12-07 16:55:30 +01:00
Oliver Sand
12bbd748c5
Remove prometheus depenedency from backend-common
2020-12-04 17:07:29 +01:00
Mikael Östberg
be98e222ee
Update GithubUrlReader.ts
2020-12-04 09:06:26 +01:00
Mikael Östberg
6c91854391
Fix missing authentication in GitHubUrlReader
...
An oversight that probably stems from that most repositories for tech-docs are public anyway.
Ours are not, and are inside of a GitHub Enterprise, which is how i found this tiny bug.
I wish i knew how to mock the cross-fetch in order to inspect the Authorization header of the request to test this fix.
I can only confirm that it works on our backstage that targets GHE.
2020-12-03 20:41:31 +01:00
github-actions[bot]
01aa774d9a
Version Packages
2020-12-03 15:28:22 +00:00
Sebastian Qvarfordt
b570f78e22
Use resource instead of source when building github repo tar url ( #3552 )
...
* Use resource instead of source when building github repo tar url
* Changed the right part of the url...
* Added test to make sure we include subdomains in githubs readtree
* Fixed wopsie
2020-12-03 16:24:29 +01:00
Patrik Oldsberg
974223db86
Merge pull request #3507 from backstage/rugvip/port
...
backend-common: allow port in config to be both a number or a string
2020-12-01 14:58:55 +01:00
blam
b27077aa7b
chore: set the port as number if it comes through as a string
2020-12-01 13:16:46 +01:00
Patrik Oldsberg
6123682748
backend-common: allow port in config to be both a number or a string
2020-12-01 12:07:54 +01:00
Oliver Sand
52f6438794
Make backend-commons tests work on Windows
2020-11-30 18:06:42 +01:00
github-actions[bot]
892645b815
Version Packages
2020-11-27 12:51:09 +00:00
Patrik Oldsberg
b3d4e4e57a
backend-common: move the frontend visibility of config to @backstage/integration
2020-11-26 22:28:38 +01:00
Fredrik Adelöw
3aa7efb3ff
backend-common: add support for passing false as a CSP field value, to drop it from the defaults ( #3437 )
2020-11-25 10:51:35 +01:00
github-actions[bot]
fefb0e18e0
Version Packages
2020-11-24 10:17:02 +00:00
Patrik Oldsberg
b47dce06fc
backend-common: make integrations host and urls visibile in the frontend
2020-11-23 17:20:35 +01:00
Patrik Oldsberg
61da9c0320
backend-common: make test-utils a dev dep
2020-11-23 11:25:56 +01:00
Mattias Frinnström
f31d689d82
Switch to using async fs operations
2020-11-20 13:32:53 +01:00
Mattias Frinnström
3092806838
Support ZIP files without directory entries
2020-11-20 13:32:53 +01:00
Mattias Frinnström
b1b6537bc3
Handle request headers correctly
2020-11-20 13:32:53 +01:00
Mattias Frinnström
c08e5cbd6f
Fix parameters and encode URI component
2020-11-20 13:32:53 +01:00
Mattias Frinnström
a9155afb83
Some small changes
2020-11-20 13:32:53 +01:00
Mattias Frinnström
34a51a288a
Expose ZipArchiveResponse through ReadTreeResponseFactory
2020-11-20 13:32:53 +01:00
Mattias Frinnström
9367dde00d
Introduce ZipArchiveResponse
2020-11-20 13:32:53 +01:00
Mattias Frinnström
c6cf38c6a4
Rename ArchiveResponse to TarArchiveResponse
2020-11-20 13:32:23 +01:00
github-actions[bot]
bc0f47b7b7
Version Packages
2020-11-19 15:13:57 +00:00
Patrik Oldsberg
0b97a89f55
address config schema review comments
2020-11-18 11:31:19 +01:00
Patrik Oldsberg
9f6f39ce5f
backend-common: integration configs aren't required
2020-11-18 11:31:17 +01:00
Patrik Oldsberg
b8eba8219e
config-loader: enable validation of required props in d.ts definitions + fix issues
2020-11-18 11:31:16 +01:00
Patrik Oldsberg
567ce7804a
backend-common: port config schema to d.ts and fill out
2020-11-18 11:31:14 +01:00
Patrik Oldsberg
7298f8b265
config-loader: remove support for conditionally reading secrets
2020-11-18 11:31:10 +01:00
Patrik Oldsberg
ddb5a38f77
backend-common,core,auth-backend: added initial config schemas
2020-11-18 11:31:08 +01:00