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
github-actions[bot]
d397eb470f
Version Packages
2021-05-06 08:25:18 +00:00
Dominik Henneke
1d7a40101a
Update the API reports of backend-common and techdocs-common
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-05-03 16:33:05 +02:00
Dominik Henneke
e0bfd3d448
Refactor the runDockerContainer function to a ContainerRunner interface.
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-05-03 14:16:28 +02:00
Anders Näsman
55d84d7ce4
Merge pull request #5523 from RoadieHQ/tech-docs-s3-like-services
...
Tech docs with s3-like services
2021-04-30 11:48:55 +02:00
github-actions[bot]
44abfaada6
Version Packages
2021-04-29 13:35:03 +02:00
Fredrik Adelöw
4b1ce5edb0
fix master lint errors
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-04-29 12:19:57 +02:00
Jussi Hallila
e9e56b01ac
Add possibility to use path style discovery on S3 tech docs. Enables the possibility to support S3-like buckets that rely on path style API like Localstack.
...
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2021-04-29 10:54:42 +02:00
Patrik Oldsberg
9d3fb9a30a
scripts/api-extractor: sync API definitions
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-04-26 20:51:12 +02:00
Patrik Oldsberg
658de01647
scripts/api-extractor: disable all inline warnings
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-04-26 20:42:37 +02:00
Patrik Oldsberg
0eda63fe9d
scripts/api-extractor: disable inline compilation warnings
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-04-26 20:42:36 +02:00
Patrik Oldsberg
a904d8ba5e
packages: add api-reports for all included packages
...
Co-authored-by: Gustaf Räntilä <g.rantila@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-04-26 20:42:35 +02:00
Taras
f940c38378
Prevent uncaught exception in download of Techdocs Azure Blob Storage publisher
...
Signed-off-by: Taras <tarasm@gmail.com >
2021-04-24 11:24:08 -04:00
github-actions[bot]
70be53c939
Version Packages
2021-04-15 15:40:08 +02:00
Dominik Henneke
d541d9fd07
Include review comments
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-04-12 18:50:15 +02:00
Dominik Henneke
bc9d62f4f7
Create a new method to check the configuration of a techdocs publisher to not crash the application on errors
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-04-12 18:50:14 +02:00