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-08-10Merge branch 'fix/no-ctx' into 'master'Jaime Martinez
fix: propagate context to sub requests See merge request gitlab-org/gitlab-pages!538
2021-08-08fix: propagate context to sub requestsfeistel
2021-08-05fix: close response body and fix memory leakfeistel
2021-02-03Simplify meteredRoundTripper initJaime Martinez
Use file.html explicitly in test
2021-01-11Refactor 'Error's not used as errors to stringsKevin
Change variables of error type to strings constants when these variables are solely used for the message contained in the errors.
2020-06-01Enable the remaining lintersJaime Martinez
- ineffassign - misspell - structcheck - typecheck - unconvert - unused - varcheck - whitespace
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-08explicitly set MaxIdleConns, so that it is clear we need to update it when ↵Igor
increasing MaxIdleConnsPerHost
2020-03-10Update special characters test to lowercaseCatalin Irimie
2020-03-06Encode artifact path to fix wrongly generated URLsCatalin Irimie
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-12Remove github.com/stretchr/testify/assertNick Thomas
The "assert" form is difficult to use correctly and complicates test understanding. I think we should insist on using require *only* in our tests across GitLab.
2018-08-18Combine transports to one packageTuomo Ala-Vannesluoma
2018-04-13Use require.NoError instead of assert.NoErrorJacob Vosmaer (GitLab)
2018-03-23Fix SSL artifacts requests on macosJacob Vosmaer (GitLab)
2017-10-02Rework the artifacts proxy to operate within Pages group domainsNick Thomas
2017-09-08Add an artifacts proxy to GitLab PagesJ. Shuster