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-04-26Merge branch 'healthcheck/middleware' into 'master'Jaime Martinez
refactor: move healthcheck middleware early in the pipeline See merge request gitlab-org/gitlab-pages!616
2022-04-26Merge branch 'test/https-middleware' into 'master'Jaime Martinez
test: add early return and tests for internal/handlers/https Closes #749 See merge request gitlab-org/gitlab-pages!743
2022-04-26Compare status path against request pathfeistel
2022-04-26Rework healthcheck testsfeistel
2022-04-26Rework HTTPS tests and assert location headerfeistel
2022-04-26Merge branch 'fix/acme-middleware' into 'master'Vladimir Shushlin
fix acme middleware passing handled requests to parent middlewares See merge request gitlab-org/gitlab-pages!736
2022-04-25Add early return and tests for internal/handlers/httpsfeistel
2022-04-25Merge branch 'kassio/default-server-write-timeout-to-0' into 'master'Vladimir Shushlin
Tweaking default `serverWriteTimeout` to avoid problem with download of large files. See merge request gitlab-org/gitlab-pages!741
2022-04-22Move https middleware to internal/handlersfeistel
2022-04-22Fix acme middleware passing handled requests to parent middlewaresfeistel
2022-04-22config: Default serverWriteTimeout to 0kassio/default-server-write-timeout-to-0Kassio Borges
To avoid timeouts on large file downloads, change the default `serverWriteTimeout` to `0` (no timeout). Related to: https://gitlab.com/gitlab-org/gitlab-pages/-/issues/725#note_915081271 Changelog: changed
2022-04-20Move healthcheck middleware to a separate packagefeistel
add Cache-Control: no-store to status response
2022-04-18Add compile time flag for building in FIPSVishal Tak
2022-04-14Remove FF_DISABLE_REFRESH_TEMPORARY_ERROR feature flagfeistel
Changelog: removed
2022-04-14Merge branch 'fix-context-canceled-in-auth-and-artifacts' into 'master'Vladimir Shushlin
fix: handle context canceled gracefully for auth and artifacts Closes #679 See merge request gitlab-org/gitlab-pages!721
2022-04-13test: simplify cache test for ctx errorsfeistel
2022-04-13refactor: pass the correlationID direcly instead of using the contextfeistel
2022-04-13test: add cache test case for ctx errorsfeistel
2022-04-13fix: do not cache responses if there is a ctx errorfeistel
If the retriever timed out or there was a ctx/temporary error we just trigger a refresh on future requests Changelog: fixed
2022-04-11Increase serverWriteTimeout to avoid errors with large filesKassio Borges
Related to: https://gitlab.com/gitlab-org/gitlab-pages/-/issues/725 Changelog: fixed
2022-04-08chore: fix linter issuesJaime Martinez
2022-04-08chore: move check outside of fetching token functionJaime Martinez
2022-04-08fix: handle context canceled gracefully for auth and artifactsJaime Martinez
Changelog: changed
2022-04-06Add comment details for nonce sizeVishal Tak
2022-04-06Update nonce to make it of standard sizeVishal Tak
Changelog: changed
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-04Merge branch 'build-fips' into 'master'Vladimir Shushlin
Add FIPS support See merge request gitlab-org/gitlab-pages!716
2022-04-01Merge branch 'security-fix-weak-timeouts' into 'master'Vladimir Shushlin
Fix weak timeouts See merge request gitlab-org/security/gitlab-pages!18
2022-04-01Fix weak timeoutsKassio Borges
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-31Clean makefile and add runtime check for fipsbuild-fipsVishal Tak
2022-03-28Add FIPS supportVishal Tak
Changelog: added
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-15fix flag descriptionfeature/zip-http-timeout-paramvtak
2022-03-15Merge branch 'master' of gitlab.com:gitlab-org/gitlab-pages into ↵vtak
feature/zip-http-timeout-param
2022-03-15feat: allow auth http.Client timeout to be configurableOsman İlge Ünaldı
Changelog: added
2022-03-14add flag to parameterize zip http client timeoutvtak
Changelog: added
2022-03-11Add correlation_id to all exception capturesKassio Borges
2022-03-04feat: make server shutdown timeout configurableHüseyin Emre Aksoy
Changelog: added
2022-02-24test: replace require.Equal with specialized assertionsfeistel
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-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-22refactor: review fixesVladimir Shushlin
2022-02-22feat: Always apply TLS limits even without ServerNameVladimir Shushlin
2022-02-21feat: Add TLS rate limitsVladimir Shushlin
Changelog: added
2022-02-18lint: linting with make formatyigithankardas
2022-02-18refactor: use testhelpers.Close()yigithankardas
2022-02-17Merge branch 'fix/read-mime-header' into 'master'Jaime Martinez
refactor: parse custom headers using ReadMIMEHeader Closes #536 See merge request gitlab-org/gitlab-pages!517
2022-02-17refactor: use multierrors in custom headers parsingfeistel
2022-02-17Merge branch 'acceptance_tests' into 'master'Jaime Martinez
Replacing defer with testhelpers.Close() part 1 See merge request gitlab-org/gitlab-pages!689