Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-08 | test: add slow req acceptance test | Jaime Martinez | |
2021-12-08 | test: add sha256 to mocked lookups and fix tests | feistel | |
2021-12-07 | refactor: enable unparam in .golangci.yml | Vladimir Shushlin | |
and fix offences | |||
2021-11-17 | Merge branch 'refactor/run-pages-test' into 'master' | Jaime Martinez | |
test: refactor RunPagesProcess function to take functional arguments Closes #79 See merge request gitlab-org/gitlab-pages!607 | |||
2021-11-16 | feat: handle extra headers when serving from compressed zip archive | feistel | |
Related to https://gitlab.com/gitlab-org/gitlab-pages/-/issues/466 Changelog: added | |||
2021-11-11 | fix: reject requests with very long URIs | Vladimir Shushlin | |
Some parts of the application may be vulnerable to very long URIs being passed. E.g. Auth will try to save URI to session cookie, and it will fails, which will result in 500 error Changelog: fixed | |||
2021-11-02 | test: refactor RunPagesProcess function to take functional arguments | feistel | |
2021-10-29 | test: use GetPageFromListenerWithHeaders across tests | feistel | |
remove GetCompressedPageFromListener, GetPageFromListenerWithCookie and GetProxiedPageFromListener | |||
2021-10-14 | refactor: remove WithProxied setting | Jaime Martinez | |
2021-10-14 | test: rate limiter acceptance tests | Jaime Martinez | |
test: rate limit with all listener types | |||
2021-10-14 | feat: add source IP ratelimiter middleware | Jaime Martinez | |
It gets the source IP from `r.RemoteAddr` or from the `X-Forwarded-For` header for proxied requests (when `--listen-proxy` is enabled). The first iteration will only report logs and metrics when an IP is being rate limited. The rate limiter uses a Token Bucket approach using golang.org/x/time/rate, which can be configured with the newly added flags `rate-limit-source-ip` and `rate-limit-source-ip-burst`. To enable the rate limiter, set `rate-limit-source-ip` to value > 1, which is the number of requests per second to allow. It is enabled by default in "dry-run" mode so requests won't be dropped until the environment variable `FF_ENABLE_RATE_LIMITER` is set to `"true"`. See metrics.go for the newly added metrics. Changelog: added | |||
2021-10-08 | Merge branch 'remove/root' into 'master' | Jaime Martinez | |
Remove gitlab-pages daemon Closes #114 and #133 See merge request gitlab-org/gitlab-pages!542 | |||
2021-10-07 | test: remove support for daemonize tests | feistel | |
2021-10-07 | refactor: stop running gitlab-pages as root | feistel | |
We have now disabled chroot by default since %14.1, and recently removed support for disk-based configuration coming in %14.3. And we've also removed the chroot completely from Pages. Since nginx can do TCP proxying and there's no need to use privileged ports, Pages has been confirmed to run as non-root in k8s environment without any issues. This MR removes support for the gitlab-pages daemon completely. Changelog: removed | |||
2021-09-16 | refactor: remove FF_ENABLE_REDIRECTS feature flag | feistel | |
2021-09-09 | refactor: avoid os.Is.. in favor of errors.Is | feistel | |
2021-09-09 | refactor: move away from ioutil (deprecated) | feistel | |
2021-09-07 | test: improve artifact acceptance test | feistel | |
2021-08-26 | refactor: remove chroot/jail logic | feistel | |
Changelog: removed | |||
2021-08-26 | test: remove TestDomainsSource acceptance test | feistel | |
2021-08-26 | refactor: remove metrics for disk source | feistel | |
2021-08-26 | Merge branch 'remove/disk-source' into 'master' | Jaime Martinez | |
refactor: remove support for disk configuration source Closes #103, #158, #68, and #382 See merge request gitlab-org/gitlab-pages!541 | |||
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-20 | test: remove leftover tests requiring source disk | feistel | |
2021-08-20 | test: remove domain-config-source=gitlab from test and remove tests using ↵ | feistel | |
disk source | |||
2021-08-19 | test: fix response body not being closed | feistel | |
nolint is added when the body is nil or if the body can't be closed | |||
2021-08-18 | test: remove edge case for auto configuration source | feistel | |
since polling is being removed, setting config source to auto won't switch automatically to disk source if the gitlab source fails a request to the api. Note that config source is being removed in the next version so this test is will fail anyway. | |||
2021-08-17 | test: remove status-not-yet-ready test | feistel | |
Since api polling has been removed the gitlab client is always ready, hence the app's statuscheck will never fail | |||
2021-08-17 | refactor: remove GitLab API internal polling | feistel | |
2021-08-17 | test: rename and cleanup some functions571-refactor-missing-serving-tests | Jaime Martinez | |
2021-08-16 | chore: remove unnecessary func | Jaime Martinez | |
and fields added by mistake | |||
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-08-11 | test: remove unused expectedCredentials (Access-Control-Allow-Credentials) ↵ | feistel | |
field from cors test | |||
2021-08-10 | Apply 1 suggestion(s) to 1 file(s) | Jaime Martinez | |
2021-08-09 | test: merge cors tests to avoid duplicate code | feistel | |
2021-08-09 | test: add test to ensure cors header is sent with head requests | feistel | |
2021-07-27 | Merge branch 'fix/localhost-test' into 'master' | Vladimir Shushlin | |
Replace localhost instances with 127.0.0.1 See merge request gitlab-org/gitlab-pages!526 | |||
2021-07-26 | Merge branch '571-refactoring-acceptnace-part-5' into 'master' | Vladimir Shushlin | |
Update more acceptance tests See merge request gitlab-org/gitlab-pages!523 | |||
2021-07-25 | Replace localhost instances with 127.0.0.1 in tests | feistel | |
2021-07-22 | Add auth handlers to stub gitlab server | feistel | |
2021-07-22 | Use internal-gitlab-server in auth-related tasks | feistel | |
Update the auth package to use the internal server when fetching access token or checking for authentication. Changelog: changed | |||
2021-07-19 | Remove unused function | Jaime Martinez | |
2021-07-19 | Update statut tests | Jaime Martinez | |
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-19 | Update acceptance tls_test.go | Jaime Martinez | |
2021-07-15 | Update redirect tests | Jaime Martinez | |