Commit Graph

294 Commits

Author SHA1 Message Date
Eric Peterson 567c95284f Move AWS policy docs to documentation page.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-13 13:50:33 +02:00
Eric Peterson e8302ea5a4 Use move instead of copy in GCS migrate when requested.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-13 13:50:33 +02:00
Eric Peterson c23b09d52d Centralize lowercase logic to tested helper.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-13 13:50:33 +02:00
Eric Peterson 5ee76b0769 Update API Reports
Co-authored-by: Camila Belo <camilabs@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-13 13:50:01 +02:00
Camila Belo d4535da733 Initial Azure migrate method
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-07-13 13:25:37 +02:00
Eric Peterson 6471d21123 Initial AWS migrate method.
Co-authored-by: Camila Belo <camilabs@gmail.com>
Co-authored-by: Ruben Lindström <rubenl@spotify.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-13 13:25:36 +02:00
Eric Peterson 8fa94e3acc Google Cloud Storage implementation
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-13 13:25:36 +02:00
Eric Peterson 8b653ba877 Local implementation just for illustrative purposes.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-13 13:25:36 +02:00
Eric Peterson 495a935f1f Define migration interface.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-13 13:25:36 +02:00
Patrik Oldsberg 1118f33e4f Merge pull request #6433 from backstage/rugvip/report-all-the-things
root: bump api-extractor & friends + recreate API reports along with previously unsupported packages
2021-07-12 20:28:09 +02:00
Patrik Oldsberg 602b5b59bb packages: regenerate all API reports with prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:54:11 +02:00
Patrik Oldsberg 8ae3cffb85 recreate all api-reports with latest version of api-extractor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:46:43 +02:00
blam 203d256d36 chore: reverting fs-extra bump, that seems to have broken all the installs
Signed-off-by: blam <ben@blam.sh>
2021-07-12 19:29:34 +02:00
github-actions[bot] de67704be9 Version Packages 2021-07-08 11:37:02 +00:00
Carlo Colombo 6841e01132 fix git-url-parse minor version, 11.5.x broke bitbucket server integration
Signed-off-by: Carlo Colombo <carlo.colombo@klarna.com>
2021-07-08 10:46:11 +02:00
Rogerio Angeliski 7a74046f16 docs: added generated files
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:41 -03:00
Rogerio Angeliski 93f8e8b423 Revert "docs: added generated files"
This reverts commit b2cefb34e0d4640cc5bb675d05d0ea906d74eec8.

Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:41 -03:00
Rogerio Angeliski 1cdc4ba0e2 docs: added generated files
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:40 -03:00
Himanshu Mishra a22de797bf Merge pull request #6206 from Dorn-/fix/openstack-publisher-encoding
fix(techdocs-commons): remove utf8 encoding on openstack publisher
2021-07-02 15:54:29 +02:00
dependabot[bot] 613e46d234 chore(deps): bump fs-extra from 9.1.0 to 10.0.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 11:29:50 +00:00
github-actions[bot] 6e937b9fa6 Version Packages 2021-07-01 09:06:13 +00:00
Patrik Oldsberg 0ce80ab75a Merge pull request #6204 from backstage/rugvip/safety
backend-common,cli-common: new utilites for safely resolving child paths
2021-06-29 09:43:01 +02:00
Patrik Oldsberg ab5cc376fa backend-common,cli-common: new utilites for safely resolving child paths
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-28 22:35:21 +02:00
Fredrik Adelöw 4666577b53 Merge pull request #6141 from backstage/software-catalog-rename
Docs: Update references to "service catalog"
2021-06-28 13:47:16 +02:00
Flavien Chantelot 683308ecf8 fix: remove utf8 encoding on openstack publisher
The utf8 encoding, which was not setted for other cloud storage providers, broke all images and other binary files.
The files uploaded were unreadable except plain text files. So in a standard documentation, all images were broken

Signed-off-by: Flavien Chantelot <flavien.chantelot@ovhcloud.com>
2021-06-28 11:24:28 +02:00
github-actions[bot] 5a64fe7ea5 Version Packages 2021-06-24 09:58:38 +00:00
Fredrik Adelöw bd9821e52e Merge pull request #6130 from RoadieHQ/docs_dir_traversal
Add check against directory traversal for `docs_dir` config value
2021-06-24 11:20:20 +02:00
Joe Porpeglia 709589a839 Rename service catalog to software catalog, excluding blog posts
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-06-21 11:48:43 -04:00
Jussi Hallila c17c0fcf9e Add check against directory traversal for docs_dir config value
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-06-21 11:26:37 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
github-actions[bot] fa92d70fba Version Packages 2021-06-03 13:23:54 +02:00
Patrik Oldsberg dae35dc48f Merge pull request from GHSA-pwhf-39xg-4rxw
Fix Advisory 1
2021-06-03 10:09:06 +02:00
Oliver Sand 0905947550 Support parsing mkdocs.yml files that are using custom yaml tags (#5860)
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-01 10:29:49 +02:00
Eric Peterson 33f6e98685 More explicit tests, and tidier helper.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-31 17:51:33 +02:00
Eric Peterson 104d2d44ee Account for SVG/XML files too.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-28 17:40:52 +02:00
Eric Peterson 58ba10677a Enforce plain text header for html files
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-28 14:13:30 +02:00
Eric Peterson dc6cf3b14f Test for sanitization bypass
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-28 14:06:44 +02:00
Eric Peterson f2b339a30c Fix existing GCS tests to match others.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-28 14:02:15 +02:00
github-actions[bot] b5a0d1c5d7 Version Packages 2021-05-27 10:23:15 +00:00
Patrik Oldsberg 4aab5cb0d0 Merge pull request #5748 from RoadieHQ/docs_dir_vuln
Add validation to prevent docs_dir from being an absolute path
2021-05-27 11:39:55 +02:00
Jussi Hallila 8cefadca04 Add validation to prevent docs_dir from being an absolute path
* Adds a new validation function to helpers to prevent generation when mkdocs.yml is not present or is invalid
* Handles vulnerability where docs_dir can be put in as an absolute path which copies and exposes the files from that absolute path in the file system

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-05-27 11:21:47 +02:00
github-actions[bot] 18285453eb Version Packages 2021-05-20 11:48:46 +00:00
jrusso1020 65e6c45410 Remove circular dependencies
In reference to issue #5563 this does the initial work to remove
all the circular dependencies that we have encountered while
building backstage using bazel. The next step will be to implement
a method to catch these circular dependencies before they get
merged in

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-05-15 11:17:05 -06:00
github-actions[bot] df31bdca8f Version Packages 2021-05-12 09:39:51 +00:00
Eric Peterson 0c491a1c5e Clean up tests and imports
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-10 11:25:11 +02:00
Eric Peterson 4042b6e140 Decode req.path before loading object from OpenStack Swift
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:08 +02:00
Eric Peterson 9570335f24 Decode req.path before loading object from Azure
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:08 +02:00
Eric Peterson 3ebfa8f189 Decode req.path before loading object from S3 bucket.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:08 +02:00
Eric Peterson 4916a6e23d Decode req.path before loading object from GCS
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:20:08 +02:00