Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-24Merge branch 'refactor/test-erroris' into 'master'Jaime Martinez
test: migrate to assertions using modern error checking See merge request gitlab-org/gitlab-pages!684
2022-02-18refactor: use testhelpers.Close()yigithankardas
2022-02-03test: migrate to assertions using modern error checkingfeistel
2022-01-24lint: fix gci issuesfeistel
2021-10-01Merge branch 'remove/chrootpath' into 'master'Alessio Caiazza
refactor: clean up chrootPath from the httpfs package Closes #598 See merge request gitlab-org/gitlab-pages!559
2021-09-09refactor: move away from ioutil (deprecated)feistel
2021-08-26refactor: clean up chrootPath from the httpfs packagefeistel
2021-07-12Disable chroot and add daemon-enable-jail flagJaime Martinez
- Disable chroot mechanism by default. - Adds the daemon-enable-jail flag which will allow users to enable the legacy chroot mechanism if anything goes wrong. This flag won't be available via Omnibus, instead users will need to define the environment variable and pass to Pages. - Simplify chroot logic from http_fs - Update jail documentation - Enable chroot when domain-config-source=disk Changelog: changed
2021-04-14Update unit testsJaime Martinez
2021-04-14Return early if allowedPath is the root dirJaime Martinez
2021-04-14Strip chrootPath from allowedPathsJaime Martinez
2021-04-13Handle chrootPath in http_fsJaime Martinez
2021-04-13Remove root from AllowedPathsJaime Martinez
2021-04-13Allow serving zip from disk in chrootJaime Martinez
This is a temporary workaround for https://gitlab.com/gitlab-org/gitlab/-/issues/326117#note_546346101 where daemon-inplace-chroot=true fails to serve zip archives when pages_serve_with_zip_file_protocol is enabled To be removed after we roll-out zip architecture completely https://gitlab.com/gitlab-org/gitlab-pages/-/issues/561 Changelog: fixed
2021-02-15Add test for path not allowedJaime Martinez
2021-02-05Make NewFileSystemPath return errorJaime Martinez
2021-02-05Add copyright and licenseJaime Martinez
Also make sure we resolve the absolute path for allowedPaths
2021-02-05Add test to serve contentJaime Martinez
2021-02-05Add httpfs packageJaime Martinez
Implements the http.FileSystem interface so it can be used to RegisterProtocol with an http.Transport.