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/go.mod
AgeCommit message (Collapse)Author
2021-03-25Remove .GOPATH symlinksJaime Martinez
Simplifies Makefiles to not use `.GOPATH` symlink. Updates `test.yaml` to reuse the Go cache in between jobs instead of removing and downloading all the dependencies for every job. Changelog: other
2021-01-11Do not accept client-supplied X-Forwarded-For headerIgor Wiedler
2020-12-07Use junit reportJaime Martinez
2020-11-20Update LabKit library to v1.0.0Andrew Newdigate
LabKit has reached a 1.0.0 milestone :tada: See https://gitlab.com/gitlab-org/labkit/-/releases/v1.0.0
2020-11-18Support for HTTPS over PROXYv2 protocolIgor Wiedler
2020-10-20PATCH-44819 switch from lupine to gitlab-ord mime-dbFlorian Engelhardt
2020-10-20Revert "Add Host and SNI-based rate limiting"Kamil Trzciński
This reverts commit 7f8e9bd39def730616a4c7d1d5f00ee6ca9ea76a.
2020-10-20Add Host and SNI-based rate limitingKamil Trzciński
This adds a per-process rate limiting of the incoming requests and connections. This assume two: - Requests generate a pressure on Object Storage - New TLS connections generate a pressure on CPU due to TLS handshake (generating and exchanging asymmetric keys)
2020-10-14Update labkit to support ttfb_msttfb-labkitKamil Trzciński
2020-10-13Merge branch 'feature/brotli' into 'master'Vladimir Shushlin
Support for statically compressed brotli content-encoding See merge request gitlab-org/gitlab-pages!359
2020-10-13Ensure the content encoding is correct before reading the bodyfeistel
Avoid strange EOF error when the encoding is wrong
2020-10-13Use ccache/v2Jaime Martinez
2020-10-13Try to LRU cache offsets and symlinksKamil Trzciński
2020-09-15Add support for redirects24-add-redirectsEric Eastwood
Fix https://gitlab.com/gitlab-org/gitlab-pages/-/issues/24
2020-08-07Use exponential backoff for pollingJaime Martinez
Introudce github.com/cenkalti/backoff/v4 library to use exponential backoff when polling the Status API.
2020-08-07Revert "Merge branch 'revert-a3365a7b' into 'master'"revert-185e0a0Jaime Martinez
This reverts commit 185e0a0e5c621f350335495291c535e5c05df89b, reversing changes made to a3365a7b1b41b3dee206cbcf27e915ee45d556a5.
2020-08-04Revert "Merge branch 'use-domain-config-source-disk' into 'master'"revert-a3365a7bVladimir Shushlin
This reverts merge request !305
2020-08-04Remove yaml direct dependencyJaime Martinez
2020-06-30Use correct version in go.modJaime Martinez
2020-06-30Drop Go 1.12 and bump minimum Go 1.13Jaime Martinez
2020-06-05Use histograms instead of gaguesJaime Martinez
Removed test assertion for metric as histograms are not collectors so we can't really test it. Left the test though as it's still valuable.
2020-05-28Use custom code_quality job inspired by the runnerJaime Martinez
2020-05-28Add lint and lint-docker rules to MakefileJaime Martinez
Remove references to ./bin/golint, ./bin/gocycle and remove _support/ directory. Add formatting rule to .golangci.yml for goimports and local imports.
2020-05-28Update dependenciesJaime Martinez
2020-05-28Add .golangci.yml linter configurationJaime Martinez
As part of https://gitlab.com/gitlab-org/gitlab-pages/-/issues/385 we have introduced the use of a custom `.golangci.yml` file with some custom rules for linting. This replaces the need of downloading and using `golint`, `gofmt` `go vet` and `gocyclo` manually. We take advantage of the custom `golangci-lint` docker image as stated in the [Automatic lintinb] (https://docs.gitlab.com/ee/development/go_guide/#automatic-linting) section of the Go standards and style guidelines. This iteration enables a subset of linters, with the remaining of them enabled on a separate MR as described in the issue above. The main changes introduced by this linter include: - gosec: potential hardcoded credentials - goconst: DRY by declaring and using constants - gosimple: reduce statements complexity and improve return statements
2020-05-26Update goyaml dependencydcouture
2020-04-27go mod tidyIgor Wiedler
2020-04-27update labkit dependencyIgor Wiedler
2020-02-03Merge branch '219-use-proxy-headers-https' into 'master'Alessio Caiazza
Set the r.URL.Scheme via middleware and log mismatches with the https flag in the context See merge request gitlab-org/gitlab-pages!225
2020-02-03use gorilla/handlers.ProxyHeaders to get the X-Forwarded-* headers and set ↵Jaime Martinez
them in the appropriate http.Request fields
2020-01-28Add X-Forwarded headers to serverless proxyGrzegorz Bizon
2020-01-17Revert godirwalk to v1.10.12Krasimir Angelov
Revert "Merge branch 'master' into 'master'" This reverts commit 1e9f978d74ae0e1d536f1984635021b368802ccb, reversing changes made to 86d619069f226d40d3d0ba97a243db384f133d5f.
2020-01-13Merge branch '266-flip-config-source' into 'master'Nick Thomas
Watch a file to configure which domains should use the new gitlab config source See merge request gitlab-org/gitlab-pages!211
2020-01-10Watch a file to configure which domains should use new gitlab sourceKrasimir Angelov
Instead of passing domains once in an ENV variable we now watcn a config file (specified with `GITLAB_SOURCE_CONFIG_FILE`, defaults to `.gitlab-source-config.yml` and update ednabled/broken domains when it's content change. This way we can control this without having to restart Pages. Related to https://gitlab.com/gitlab-org/gitlab-pages/issues/266.
2020-01-09dragonfly bsd support by updating godirwalk to v1.14.0Karrick S. McDermott
After running `go test` ran `go mod tidy` to cleanup Go module files. Resolves #316
2019-11-29Merge branch 'master' into feature/gb/gitlab-domains-sourceGrzegorz Bizon
* master: Improve GitLab client tests Change GitLab API JWT expire time to 5s Read the context of api-secret-key file and store it in app config Improve gitlab client tests Ensure there is response before defer close it in gitlab.GetVirtualDomain Document acrguments for gitlab.NewClient Release 1.12.0 Add HTTP client to consume GitLab internal API for Pages Add minimal support for the api-secret-key config flag Conflicts: internal/source/gitlab/client.go
2019-11-12Add HTTP client to consume GitLab internal API for PagesKrasimir Angelov
At the moment this supports only getting virtual domain configuration for given host. Related to https://gitlab.com/gitlab-org/gitlab-pages/issues/253.
2019-10-30Add scaffold of the gitlab client source cacheGrzegorz Bizon
2019-10-11Add scaffold of gitlab domains config sourceGrzegorz Bizon
2019-10-07Run `go mod tidy`Krasimir Angelov
to cleanup after removing Admin gRPC API.
2019-09-26Add support for previewing artifacts that are not publicTuomo Ala-Vannesluoma
Remove some duplicate logic on Auth module Separate handling artifact to own handlers package Unit test handlers by mocking auth and artifact modules Add generate-mock step to Makefile Use additional handler func to simplify TryMakeRequest return type Always try with token if exists Do not log RequestURI, log path only Remove not used logRequest func
2019-09-17check go.mod go.sumAlessio Caiazza
2019-09-11Rollback grpc vendoring to 1.19.1.Ben Kochie
2019-09-11Update vendoring to latestBen Kochie
* Bump all go mod vendoring to current releases. * Fix gitaly CheckToken() call.
2019-09-11Convert vendoring to go modules.Ben Kochie
Apply a minimal upgrade to Go modules. * Fix various tests. * Drop vendoring.