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
2021-12-16Merge branch '678-release-1-49-0' into 'master'v1.49.01-49-stableVladimir Shushlin
Release v1.49.0 See merge request gitlab-org/gitlab-pages!650
2021-12-16docs: add changelog for version 1.49.0Jaime Martinez
2021-12-16feat: release v1.49.0Jaime Martinez
2021-12-16Merge branch 'feat/etag' into 'master'Jaime Martinez
feat: implement ETag support for zip serving Closes #82 See merge request gitlab-org/gitlab-pages!588
2021-12-16feat: implement ETag support for zip servingfeistel
Changelog: added
2021-12-16Merge branch '625-add-tests-for-stream-reading-zip' into 'master'Jaime Martinez
Update vfs/zip implementation to ensure minimum range requests for go1.17 Closes #625 See merge request gitlab-org/gitlab-pages!646
2021-12-16fix: update vfs/zip implementation to ensure minimum range requests for go1.17Arran Walker
Using `gitlab.com/gitlab-org/golang-archive-zip` instead of the `archive/zip` package from the stdlib. Changelog: changed
2021-12-16Merge branch 'serve-with-cache-headers-ff' into 'master'Jaime Martinez
feat: hide handling cache headers behind the faeture flag See merge request gitlab-org/gitlab-pages!645
2021-12-15feat: hide handling cache headers behind the faeture flagVladimir Shushlin
vfsServing.ServeCompressedFile logic is quite comples, and I'm afraid that we may handle something not the right way So I want to hide this behind the feature flag before cutting the release Changelog: fixed
2021-12-15Merge branch 'extract-feature-flags' into 'master'Jaime Martinez
refactor: extract common logic for env feature flags See merge request gitlab-org/gitlab-pages!642
2021-12-14refactor: extract common logic for env feature flagsVladimir Shushlin
2021-12-14Merge branch 'remove/ff-enable-redirects' into 'master'Vladimir Shushlin
refactor: remove FF_ENABLE_REDIRECTS feature flag Closes #618 See merge request gitlab-org/gitlab-pages!582
2021-12-14Merge branch 'http-pipeline' into 'master'Jaime Martinez
refactor: move ratelimiter configuration to handler package See merge request gitlab-org/gitlab-pages!639
2021-12-14Merge branch 'fix/sha-lookups' into 'master'Jaime Martinez
test: add sha256 to mocked lookups and fix tests See merge request gitlab-org/gitlab-pages!634
2021-12-14Merge branch 'domain-rate-limiter' into 'master'Jaime Martinez
refactor: abstract ratelimiter package See merge request gitlab-org/gitlab-pages!638
2021-12-14refactor: promote missingcachekey error to a static errorfeistel
2021-12-13fix: return an error if the cacheKey is emptyfeistel
2021-12-13refactor: move ratelimiter configuration to handlers packageVladimir Shushlin
2021-12-13refactor: abstract ratelimiter packageVladimir Shushlin
We want to add domain-based ratelimiter. The logic will be identical, but we'll use host instead of IP address.
2021-12-09Merge branch 'encapsulate-lru-in-ratelimiter' into 'master'Jaime Martinez
refactor: encapsulate lru cache in ratelimiter package See merge request gitlab-org/gitlab-pages!636
2021-12-08refactor: encapsulate lru cache in ratelimiter packageVladimir Shushlin
2021-12-08Merge branch '669-handle-context-canceled' into 'master'Vladimir Shushlin
fix(vfs): handle context.Canceled errors Closes #669 See merge request gitlab-org/gitlab-pages!628
2021-12-08chore: fix linter issueJaime Martinez
2021-12-08chore: apply suggestion from reviewJaime Martinez
2021-12-08chore: fix lint issueJaime Martinez
2021-12-08test: add slow req acceptance testJaime Martinez
2021-12-08fix: use if statement instead of switchJaime Martinez
2021-12-08refactor: handle error outside Root callerJaime Martinez
and pretend to serve content even if the request has been cancelled to prevent making extra operations if this happens early in the request chain. For example, if we know the request was cancelled there is no point in checking the redirects or the custom 404 file handler.
2021-12-08fix(vfs): handle context.Canceled errorsJaime Martinez
As not found resources to reduce the number of 500 errors reported in the logs and Sentry. Closes https://gitlab.com/gitlab-org/gitlab-pages/-/issues/669. Changelog: changed.
2021-12-08lint: fix formatting errorsfeistel
2021-12-08Merge branch 'remove-unused-ctx' into 'master'Jaime Martinez
refactor: enable unparam in .gitlabci.yml See merge request gitlab-org/gitlab-pages!631
2021-12-08test: add sha256 to mocked lookups and fix testsfeistel
2021-12-07Merge branch 'upgrade-labkit-1-11-0' into 'master'Vladimir Shushlin
chore: upgrade to labkit 1.11.0 See merge request gitlab-org/gitlab-pages!633
2021-12-07refactor: enable unparam in .golangci.ymlVladimir Shushlin
and fix offences
2021-12-07Merge branch 'move-cache-key-from-zipvfs-object' into 'master'Jaime Martinez
refactor: move keyFromPath our of zipVfs object See merge request gitlab-org/gitlab-pages!632
2021-12-07chore: upgrade to labkit 1.11.0Jaime Martinez
And report stack trace with error tracking to Sentry. Changelog: other
2021-12-06refactor: move keyFromPath our of zipVfs objectVladimir Shushlin
2021-12-01Merge branch 'refactor/limiter-new' into 'master'Jaime Martinez
refactor: make internal/lru and internal/ratelimiter metrics optional Closes #647 See merge request gitlab-org/gitlab-pages!606
2021-12-01chore: update method namesfeistel
2021-12-01docs: improve Cache documentationJaime Martinez
2021-12-01refactor: rename func and const to ensureJaime Martinez
make sure we're not spilling implementation details from the ratelimites package
2021-11-30Merge branch 'fix/domain-allowed' into 'master'Alessio Caiazza
fix(auth): check suffix correctly in domainAllowed See merge request gitlab-org/gitlab-pages!619
2021-11-25refactor: add functional option to customize lru cache size and expirationfeistel
don't expose default values and keep them private.
2021-11-25Merge branch 'refactor/config-multierror' into 'master'Jaime Martinez
refactor: use multierror in config validation Closes #665 See merge request gitlab-org/gitlab-pages!622
2021-11-25Merge branch 'fix/nolint' into 'master'Jaime Martinez
lint: remove outdated nolint directives Closes #557 and #606 See merge request gitlab-org/gitlab-pages!625
2021-11-22test: add nolintlint linterfeistel
2021-11-22lint: remove outdated nolint directivesfeistel
2021-11-22Merge branch 'update/golangci' into 'master'Alessio Caiazza
build: bump golangci to 1.43.0 See merge request gitlab-org/gitlab-pages!573
2021-11-22chore(auth): add unit tests for domainAllowedMarkus Legner
2021-11-22fix(auth): check suffix correctly in domainAllowedMarkus Legner
Changelog: fixed