Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-08 | Add support for domain level redirects | Naman Jagdish Gala | |
2023-10-17 | Support for Mutual TLS | Av1o | |
2023-06-08 | Use pages root directory from API | Janis Altherr | |
2023-04-27 | Make gitlabstub API responses more explicit | Kassio Borges | |
2022-07-26 | Fixes acme redirection issues when using a wildcard redirect | Filip Aleksic | |
Changelog: fixed | |||
2021-12-08 | test: add sha256 to mocked lookups and fix tests | feistel | |
2021-08-20 | Splat and placeholder support in _redirects | Nathan Friend | |
This commit adds support for Netlify-style splats (*) and :placeholders in the _redirects file. Changelog: added | |||
2021-08-16 | test: update SSL cases to use stub | Jaime Martinez | |
2021-08-16 | tests: more cases for access control enabled | Jaime Martinez | |
2021-08-16 | test: add zip for "group.auth" | Jaime Martinez | |
and update acceptance tests using this project. | |||
2021-07-19 | Update status and serving tests | Jaime Martinez | |
2021-07-19 | Add test2.my-domain.com config | Jaime Martinez | |
2021-07-19 | Add test.my-domain.com config | Jaime Martinez | |
2021-07-15 | Update redirect tests | Jaime Martinez | |
2021-06-21 | Use stub in acme_test.go | Jaime Martinez | |
2021-06-17 | Update https redirect tests | Jaime Martinez | |
2021-06-17 | Support custom domains in stub responses | Jaime Martinez | |
2021-06-09 | Add more domains | Jaime Martinez | |
2021-06-02 | Walk directory to find zips | Jaime Martinez | |
And generate virtual domain API responses for stub | |||
2021-06-02 | Zip test content | Jaime Martinez | |
2021-02-15 | Add extra tests for serving zip archives from disk | Jaime Martinez | |
2020-11-18 | Support for HTTPS over PROXYv2 protocol | Igor Wiedler | |
2020-10-27 | Properly 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-15 | Merge 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-13 | Fix support for archives without directory structure | Kamil 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-13 | Ensure the content encoding is correct before reading the body | feistel | |
Avoid strange EOF error when the encoding is wrong | |||
2020-09-28 | Ignore `@ hashed` directory for disk source | Jaime Martinez | |
2020-09-24 | Rebase from base branch | Jaime 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-21 | Keep test zip archive only | Jaime Martinez | |
2020-09-21 | WIP: apply some of the suggestions | Jaime Martinez | |
2020-09-21 | Add zip package that implements vfs.Root | Jaime 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-15 | Add support for redirects24-add-redirects | Eric Eastwood | |
Fix https://gitlab.com/gitlab-org/gitlab-pages/-/issues/24 | |||
2020-07-06 | Address MR feedback | Jaime Martinez | |
use correct reference | |||
2020-07-06 | Move serving 404 logic to domain package | Jaime Martinez | |
Simplify responsibilities of auth package and reduce complexity of app.go deciding which content to serve. | |||
2020-07-06 | Get namespace domain if auth fails for a private domain | Jaime 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-06 | Add custom 404 acceptance test | Alessio Caiazza | |
2020-07-06 | Serve custom 404.html file for namespace domains | Jaime 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-03 | Add file size metric for disk serving | Jaime Martinez | |
2019-12-12 | Fix different issues with slashes | Krasimir 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-29 | Pretty print new JSON test data / fixtures | Grzegorz Bizon | |
2019-11-28 | Rename new source test fixture to avoid using existing domain | Grzegorz Bizon | |
2019-11-27 | Add acceptance tests for new domains source | Grzegorz Bizon | |
2019-06-12 | Resolve "Pages incorrectly serve acme-challenges with /index.html" | Vladimir Shushlin | |
2019-06-03 | Redirect unknown ACME challenges to the GitLab instance | Vladimir Shushlin | |
2019-01-11 | Merge branch 'ac-subgroups' into 'master' | Nick Thomas | |
pages for subgroups Closes gitlab-ce#30548 See merge request gitlab-org/gitlab-pages!123 | |||
2019-01-09 | Add acceptance test for subgroups access control | Alessio Caiazza | |
2018-12-05 | Set the "Content-Type" only based on the file extension | Reto Kaiser | |
This prevents false content-type detection based on the file contents, when they are gzipped. Closes #181 | |||
2018-11-29 | subgroup support | Alessio Caiazza | |
2018-10-12 | Add acceptance tests for URLs with capital letters | Alessio Caiazza | |
2018-09-22 | Add special handling for namespace projects to avoid existence leak | Tuomo Ala-Vannesluoma | |