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
2020-11-12Move all acceptance tests into the test/acceptance/ dirJaime Martinez
2020-10-27Properly handle processing failures with `5xx`Kamil Trzciński
Prior to this change ALL processing failures unrelated to "file missing" would return `404`. This is inaccurate. Processing failures are failure of GitLab Pages and `500` should be returned in such cases.
2020-10-21PATCH-44819 remove avif test case, as this is handled by upstream go-mimedbFlorian Engelhardt
2020-10-20PATCH-44819 #460 cleanup DRY in mime type testFlorian Engelhardt
2020-10-20PATCH-44819 #460 add acceptance test for image/avif mime typeFlorian Engelhardt
2020-10-20PATCH-44819 #460 rename test methodFlorian Engelhardt
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-13Update metricsKamil Trzciński
2020-10-13Split cache set/get and add metricsJaime Martinez
2020-10-07Enable redirects by default24-redirects-by-defaultEric Eastwood
- Part of https://gitlab.com/gitlab-org/gitlab-pages/-/issues/24 - Original feature added in https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/336 - Feature was verified working in in production: https://ops.gitlab.net/gitlab-cookbooks/chef-repo/-/merge_requests/4247#note_92527 - Feature toggle docs being removed in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42759
2020-10-01Move tracer to httptransportJaime Martinez
2020-10-01Rename all zip and httprange metricsJaime Martinez
Renames all metrics to make them easier to understand. Adds a missing metric for number of open requests made by httprange.
2020-09-30Add extra metric for currently cached files per archiveJaime Martinez
2020-09-30Use histograms instead of gauges for transport durationsJaime Martinez
2020-09-30Add tests for new metricsJaime Martinez
DRY transport. Add buckets to responsiveness metric.
2020-09-28Ignore `@ hashed` directory for disk sourceJaime Martinez
2020-09-25Apply suggestions from reviewJaime Martinez
2020-09-24Add scraping test for new metricsJaime Martinez
2020-09-24Rebase from base branchJaime Martinez
Add vfs.VFS implementation for zip Fix build errors Clean zip vfs Add tests for Root Add zip serving metric Return a zip.Instance() when source == zip Add simple acceptance test for zip serving Use correct contents No need to start testServer in go routine
2020-09-15Add support for redirects24-add-redirectsEric Eastwood
Fix https://gitlab.com/gitlab-org/gitlab-pages/-/issues/24
2020-09-15Apply suggestions from feedbackJaime Martinez
Update metric name
2020-09-15Move setup to helper functionJaime Martinez
2020-09-15Update metrics acceptance testsJaime Martinez
Remove metrics_test.go and leave responsibility of testing to acceptance_test.go with `TestPrometheusMetricsCanBeScraped`. Update TODOs with issue links.
2020-08-28Convert TestDomainSource to table testJaime Martinez
Take apiCalled as arg
2020-08-28Add domain-config-source acceptance testsJaime Martinez
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-04Update acceptance tests without gitlabsourceconfigJaime Martinez
2020-08-04Set domain-config-source in acceptance testJaime Martinez
2020-07-06Address MR feedbackJaime Martinez
use correct reference
2020-07-06Move serving 404 logic to domain packageJaime Martinez
Simplify responsibilities of auth package and reduce complexity of app.go deciding which content to serve.
2020-07-06Get namespace domain if auth fails for a private domainJaime Martinez
Add acceptance test and some more domains for testing Move namespace domain serving logic Restore go.sum Remove redundant return Fix linter
2020-07-06Find parent namepsace domain if auth fails for current projectJaime Martinez
Update labkit
2020-07-06Serve custom 404 even in case of auth failureAlessio Caiazza
2020-07-06Add custom 404 acceptance testAlessio Caiazza
2020-07-06Serve custom 404.html file for namespace domainsJaime Martinez
This will allow namespace domains to serve custom 404.html files for public projects. This change adds a check to check for permision only if it's serving a namespace domain with access controls enabled.
2020-06-30Add SSL_CERT_DIR acceptance testJonathon Reinhart
2020-06-11Add units to metric namesJaime Martinez
2020-06-09Use histogram without labelsJaime Martinez
Register ServingTime. Rename DiskServingFileSize so that it's a histogram without needing labels
2020-06-01Enable the remaining lintersJaime Martinez
- ineffassign - misspell - structcheck - typecheck - unconvert - unused - varcheck - whitespace
2020-05-08Write config file for some acceptance testsJaime Martinez
Use filename from closure
2020-05-08Rename test config fileJaime Martinez
2020-05-08Consolidate args validationJaime Martinez
2020-05-08Enforce loading secrets from fileJaime Martinez
Passing secrets via command line is not allowed anymore. A config file should be used instead. The default filename is `gitlab-pages-config`. The following command line options will throw an error and prevent pages from running if set explicitly: - `-auth-client-id` - `-auth-client-secret` - `-auth-secret`
2020-05-04Add a prometheus counter for GitLab API call failuresGrzegorz Bizon
2020-02-05Add acceptance test for serverless metricsGrzegorz Bizon
2020-01-27Add domain configuration duration (from disk) to Prometheus metricsKrasimir Angelov
2020-01-22update acceptance test structure to improve readability and follow the style ↵improve-acceptance-tests-readabilityJaime Martinez
guide
2020-01-22update struct field names for TestAccessControl to follow coding styleJaime Martinez
(cherry picked from commit d6364c55ab51708b3ec92cde07ffa80fa9b84765)