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/test
AgeCommit message (Collapse)Author
2024-01-08Add support for domain level redirectsNaman Jagdish Gala
2023-11-30Update dependencies to latest versionJanis Altherr
2023-10-18Remove FF_CONFIGURABLE_ROOT_DIR Feature Flagjanis
2023-10-17Support for Mutual TLSAv1o
2023-06-08Use pages root directory from APIJanis Altherr
2023-04-27Make gitlabstub API responses more explicitKassio Borges
2023-04-04Redirect to unique domainKassio Borges
2022-07-26Fixes acme redirection issues when using a wildcard redirectFilip Aleksic
Changelog: fixed
2022-07-05Remove rate limits feature flagsfeistel
Changelog: removed
2022-07-04Replace custom extraEnv with native t.setEnvfeistel
2022-07-04Merge branch 'feat/gitlabstub-tls' into 'master'Jaime Martinez
feat: add tls support to gitlab stub server See merge request gitlab-org/gitlab-pages!809
2022-07-04Merge branch 'refactor/test-ping' into 'master'Jaime Martinez
refactor: use healthcheck path during test ping See merge request gitlab-org/gitlab-pages!795
2022-07-01Add tls support to gitlab stub serverfeistel
2022-06-30Merge branch 'fix/domainresolver-test-race' into 'master'Jaime Martinez
test: fix Flaky TestDomainResolverError race Closes #787 See merge request gitlab-org/gitlab-pages!806
2022-06-29Refactor test ping to use healthcheck pathfeistel
2022-06-29Merge branch 'fix/invalid-writeheader' into 'master'Jaime Martinez
test: prevent invalid writeheader code 0 during tests See merge request gitlab-org/gitlab-pages!802
2022-06-28Fix invalid writeheader code 0 race during testsfeistel
2022-06-28Fix Flaky TestDomainResolverError racefeistel
2022-06-28Merge branch 'fix/test-acme-sigsev' into 'master'Jaime Martinez
test: check for errors in acme tests before passing the body See merge request gitlab-org/gitlab-pages!797
2022-06-27Fix TestSlowRequests testfeistel
we do not log the error anymore.
2022-06-22Check for errors in acme tests before passing the bodyfeistel
2022-06-22Serve 404 if ctx is canceled while resolving a domainfeistel
2022-06-17Extract gitlab stub server in a separate packagefeistel
2022-06-02Use TLSConfig and remove IsHTTPS in Metrics configVishal Tak
Add unit tests and move acceptance tests
2022-06-02Add support for tls for metricsVishal Tak
Changelog: added
2022-05-30Merge branch 'feat/unix-sock' into 'master'Vladimir Shushlin
feat: add support for socket listeners See merge request gitlab-org/gitlab-pages!758
2022-05-30Add acceptance tests for socket listenersfeistel
2022-04-25Replace os.Setenv with testing.SetEnvfeistel
2022-04-05Merge branch 'refactor/specialized-require' into 'master'Jaime Martinez
test: replace require.Equal with specialized assertions See merge request gitlab-org/gitlab-pages!685
2022-04-01Merge branch 'security-validate-session-host' into 'master'Vladimir Shushlin
fix: validate that session was issued on the same host See merge request gitlab-org/security/gitlab-pages!28
2022-03-24fix: validate that session was issued on the same hostVladimir Shushlin
Currently, sessions are valid across all domains. And our auth tokens are also valid for all pages projects user has access to. This means that cookie from one website can be reused on the another. Attackers can steal cookies in many different ways. The easiest way would be to setup a validated custom domain, then proxy all requests to pages server, but log the cookies. Once you have a cookie for attackers domain, you can reuse it on any other pages domain the target user has access to. This commit saves current domain in the session and validates it when reading the session. Changelog: security
2022-03-14update go-proxyproto and fix testsvtak
2022-02-24test: replace require.Equal with specialized assertionsfeistel
2022-02-22Merge branch 'reject-tls-2' into 'master'Vladimir Shushlin
feat: add rate limits on the TLS connection level See merge request gitlab-org/gitlab-pages!700
2022-02-22feat: Always apply TLS limits even without ServerNameVladimir Shushlin
2022-02-21feat: Add TLS rate limitsVladimir Shushlin
Changelog: added
2022-02-21Merge branch 'set-timeout-in-tests' into 'master'Jaime Martinez
refactor: Always set request timeout in tests See merge request gitlab-org/gitlab-pages!699
2022-02-18refactor: Always set request timeout in testsVladimir Shushlin
2022-02-16reset: go back to initial commit.yigithankardas
2022-02-02lint: fix linter issuesfeistel
2022-01-25Merge branch 'refactor/test-tmp' into 'master'Vladimir Shushlin
test: replace tmpdir workaround with native T tmp See merge request gitlab-org/gitlab-pages!598
2022-01-25Merge branch 'cleanup/gitlab-server-stub' into 'master'Alessio Caiazza
test: cleanup gitlab server stub and stubOpts See merge request gitlab-org/gitlab-pages!652
2022-01-24test: replace tmpdir workaround with native T tmpfeistel
2022-01-24lint: fix gci issuesfeistel
2022-01-20feat: implement graceful shutdownfeistel
Changelog: added
2022-01-12Merge branch '630-add-rate-limiting-per-domain-name' into 'master'Jaime Martinez
Add rate limiting per domain name See merge request gitlab-org/gitlab-pages!635
2022-01-11feat: add domain rate-limiterVladimir Shushlin
Changelog: added
2021-12-24feat: enable Etag cachingVladimir Shushlin
Changelog: added
2021-12-22test: cleanup gitlab server stub and stubOptsfeistel
2021-12-21fix: wait for process to exit in acceptance testsVladimir Shushlin