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
path: root/shared
AgeCommit message (Collapse)Author
2024-01-08Add support for domain level redirectsNaman Jagdish Gala
2023-10-17Support for Mutual TLSAv1o
2023-06-08Use pages root directory from APIJanis Altherr
2023-04-27Make gitlabstub API responses more explicitKassio Borges
2022-07-26Fixes acme redirection issues when using a wildcard redirectFilip Aleksic
Changelog: fixed
2021-12-08test: add sha256 to mocked lookups and fix testsfeistel
2021-08-20Splat and placeholder support in _redirectsNathan Friend
This commit adds support for Netlify-style splats (*) and :placeholders in the _redirects file. Changelog: added
2021-08-16test: update SSL cases to use stubJaime Martinez
2021-08-16tests: more cases for access control enabledJaime Martinez
2021-08-16test: add zip for "group.auth"Jaime Martinez
and update acceptance tests using this project.
2021-07-19Update status and serving testsJaime Martinez
2021-07-19Add test2.my-domain.com configJaime Martinez
2021-07-19Add test.my-domain.com configJaime Martinez
2021-07-15Update redirect testsJaime Martinez
2021-06-21Use stub in acme_test.goJaime Martinez
2021-06-17Update https redirect testsJaime Martinez
2021-06-17Support custom domains in stub responsesJaime Martinez
2021-06-09Add more domainsJaime Martinez
2021-06-02Walk directory to find zipsJaime Martinez
And generate virtual domain API responses for stub
2021-06-02Zip test contentJaime Martinez
2021-02-15Add extra tests for serving zip archives from diskJaime Martinez
2020-11-18Support for HTTPS over PROXYv2 protocolIgor Wiedler
2020-10-27Properly handle processing failures with `5xx`Kamil Trzciński
Prior to this change ALL processing failures unrelated to "file missing" would return `404`. This is inaccurate. Processing failures are failure of GitLab Pages and `500` should be returned in such cases.
2020-10-15Merge branch 'fix-zip-directories' into 'master'Vladimir Shushlin
Fix support for archives without directory structure Closes #482 See merge request gitlab-org/gitlab-pages!373
2020-10-13Fix support for archives without directory structureKamil Trzciński
In case of archives that do not store directories we would fail to automatically serve `index.html` for a `/` type of request. This makes us create directories when traversing the file list. ``` Archive: public-without-dirs.zip Length Date Time Name --------- ---------- ----- ---- 40 2020-09-15 02:47 public/subdir/hello.html 14 2020-09-15 03:35 public/subdir/2bp3Qzs9CCW7cGnxhghdavZ2bJDTzvu2mrj6O8Yqjm3YMRozRZULxBBKzJXCK16GlsvO1GlbCyONf2LTCndJU9cIr5T3PLDN7XnfG00lEmf9DWHPXiAbbi0v8ioSjnoTqdyjELVKuhsGRGxeV9RptLMyGnbpJx1w2uECiUQSHrRVQNuq2xoHLlk30UAmis1EhGXP5kKprzHxuavsKMdT4XRP0d79tie4tjqtfRsP4y60hmNS1vSujrxzhDa 33 2020-09-15 02:47 public/subdir/linked.html 31 2020-09-15 02:47 public/404.html 33 2020-09-15 02:47 public/index.html 258 2020-10-13 12:40 public/bad_symlink.html 18 2020-10-13 12:40 public/symlink.html ```
2020-10-13Ensure the content encoding is correct before reading the bodyfeistel
Avoid strange EOF error when the encoding is wrong
2020-09-28Ignore `@ hashed` directory for disk sourceJaime Martinez
2020-09-24Rebase from base branchJaime Martinez
Add vfs.VFS implementation for zip Fix build errors Clean zip vfs Add tests for Root Add zip serving metric Return a zip.Instance() when source == zip Add simple acceptance test for zip serving Use correct contents No need to start testServer in go routine
2020-09-21Keep test zip archive onlyJaime Martinez
2020-09-21WIP: apply some of the suggestionsJaime Martinez
2020-09-21Add zip package that implements vfs.RootJaime Martinez
Adds a zip package capable of reading zip files from an httprange.Resource. It reads archive file contents into memory per archive that is requested from the vfs.Root. WIP: add simple test for archive reader WIP: fix build WIP: update archive test WIP: adding tests for archive WIP: print more info WIP: update zip file correct symlink WIP: use correct file Add bad symlink file to zip Update handling long symlinks update documentation and reorg code fix up stuff
2020-09-15Add support for redirects24-add-redirectsEric Eastwood
Fix https://gitlab.com/gitlab-org/gitlab-pages/-/issues/24
2020-07-06Address MR feedbackJaime Martinez
use correct reference
2020-07-06Move serving 404 logic to domain packageJaime Martinez
Simplify responsibilities of auth package and reduce complexity of app.go deciding which content to serve.
2020-07-06Get namespace domain if auth fails for a private domainJaime Martinez
Add acceptance test and some more domains for testing Move namespace domain serving logic Restore go.sum Remove redundant return Fix linter
2020-07-06Add custom 404 acceptance testAlessio Caiazza
2020-07-06Serve custom 404.html file for namespace domainsJaime Martinez
This will allow namespace domains to serve custom 404.html files for public projects. This change adds a check to check for permision only if it's serving a namespace domain with access controls enabled.
2020-06-03Add file size metric for disk servingJaime Martinez
2019-12-12Fix different issues with slashesKrasimir Angelov
Update code and tests to handle the fact thet API will always return prefix surrounded with slashes (e.g. `/prefix/`) and source.path with trailing slash (e.g. `path/to/public/`).
2019-11-29Pretty print new JSON test data / fixturesGrzegorz Bizon
2019-11-28Rename new source test fixture to avoid using existing domainGrzegorz Bizon
2019-11-27Add acceptance tests for new domains sourceGrzegorz Bizon
2019-06-12Resolve "Pages incorrectly serve acme-challenges with /index.html"Vladimir Shushlin
2019-06-03Redirect unknown ACME challenges to the GitLab instanceVladimir Shushlin
2019-01-11Merge branch 'ac-subgroups' into 'master'Nick Thomas
pages for subgroups Closes gitlab-ce#30548 See merge request gitlab-org/gitlab-pages!123
2019-01-09Add acceptance test for subgroups access controlAlessio Caiazza
2018-12-05Set the "Content-Type" only based on the file extensionReto Kaiser
This prevents false content-type detection based on the file contents, when they are gzipped. Closes #181
2018-11-29subgroup supportAlessio Caiazza
2018-10-12Add acceptance tests for URLs with capital lettersAlessio Caiazza
2018-09-22Add special handling for namespace projects to avoid existence leakTuomo Ala-Vannesluoma