Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-12 | Move all acceptance tests into the test/acceptance/ dir | Jaime Martinez | |
2020-10-27 | Properly 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-21 | PATCH-44819 remove avif test case, as this is handled by upstream go-mimedb | Florian Engelhardt | |
2020-10-20 | PATCH-44819 #460 cleanup DRY in mime type test | Florian Engelhardt | |
2020-10-20 | PATCH-44819 #460 add acceptance test for image/avif mime type | Florian Engelhardt | |
2020-10-20 | PATCH-44819 #460 rename test method | Florian Engelhardt | |
2020-10-13 | Merge branch 'feature/brotli' into 'master' | Vladimir Shushlin | |
Support for statically compressed brotli content-encoding See merge request gitlab-org/gitlab-pages!359 | |||
2020-10-13 | Ensure the content encoding is correct before reading the body | feistel | |
Avoid strange EOF error when the encoding is wrong | |||
2020-10-13 | Update metrics | Kamil Trzciński | |
2020-10-13 | Split cache set/get and add metrics | Jaime Martinez | |
2020-10-07 | Enable redirects by default24-redirects-by-default | Eric 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-01 | Move tracer to httptransport | Jaime Martinez | |
2020-10-01 | Rename all zip and httprange metrics | Jaime Martinez | |
Renames all metrics to make them easier to understand. Adds a missing metric for number of open requests made by httprange. | |||
2020-09-30 | Add extra metric for currently cached files per archive | Jaime Martinez | |
2020-09-30 | Use histograms instead of gauges for transport durations | Jaime Martinez | |
2020-09-30 | Add tests for new metrics | Jaime Martinez | |
DRY transport. Add buckets to responsiveness metric. | |||
2020-09-28 | Ignore `@ hashed` directory for disk source | Jaime Martinez | |
2020-09-25 | Apply suggestions from review | Jaime Martinez | |
2020-09-24 | Add scraping test for new metrics | Jaime Martinez | |
2020-09-24 | Rebase from base branch | Jaime 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-15 | Add support for redirects24-add-redirects | Eric Eastwood | |
Fix https://gitlab.com/gitlab-org/gitlab-pages/-/issues/24 | |||
2020-09-15 | Apply suggestions from feedback | Jaime Martinez | |
Update metric name | |||
2020-09-15 | Move setup to helper function | Jaime Martinez | |
2020-09-15 | Update metrics acceptance tests | Jaime Martinez | |
Remove metrics_test.go and leave responsibility of testing to acceptance_test.go with `TestPrometheusMetricsCanBeScraped`. Update TODOs with issue links. | |||
2020-08-28 | Convert TestDomainSource to table test | Jaime Martinez | |
Take apiCalled as arg | |||
2020-08-28 | Add domain-config-source acceptance tests | Jaime Martinez | |
2020-08-07 | Revert "Merge branch 'revert-a3365a7b' into 'master'"revert-185e0a0 | Jaime Martinez | |
This reverts commit 185e0a0e5c621f350335495291c535e5c05df89b, reversing changes made to a3365a7b1b41b3dee206cbcf27e915ee45d556a5. | |||
2020-08-04 | Revert "Merge branch 'use-domain-config-source-disk' into 'master'"revert-a3365a7b | Vladimir Shushlin | |
This reverts merge request !305 | |||
2020-08-04 | Update acceptance tests without gitlabsourceconfig | Jaime Martinez | |
2020-08-04 | Set domain-config-source in acceptance test | Jaime Martinez | |
2020-07-06 | Address MR feedback | Jaime Martinez | |
use correct reference | |||
2020-07-06 | Move serving 404 logic to domain package | Jaime Martinez | |
Simplify responsibilities of auth package and reduce complexity of app.go deciding which content to serve. | |||
2020-07-06 | Get namespace domain if auth fails for a private domain | Jaime 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-06 | Find parent namepsace domain if auth fails for current project | Jaime Martinez | |
Update labkit | |||
2020-07-06 | Serve custom 404 even in case of auth failure | Alessio Caiazza | |
2020-07-06 | Add custom 404 acceptance test | Alessio Caiazza | |
2020-07-06 | Serve custom 404.html file for namespace domains | Jaime 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-30 | Add SSL_CERT_DIR acceptance test | Jonathon Reinhart | |
2020-06-11 | Add units to metric names | Jaime Martinez | |
2020-06-09 | Use histogram without labels | Jaime Martinez | |
Register ServingTime. Rename DiskServingFileSize so that it's a histogram without needing labels | |||
2020-06-01 | Enable the remaining linters | Jaime Martinez | |
- ineffassign - misspell - structcheck - typecheck - unconvert - unused - varcheck - whitespace | |||
2020-05-08 | Write config file for some acceptance tests | Jaime Martinez | |
Use filename from closure | |||
2020-05-08 | Rename test config file | Jaime Martinez | |
2020-05-08 | Consolidate args validation | Jaime Martinez | |
2020-05-08 | Enforce loading secrets from file | Jaime 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-04 | Add a prometheus counter for GitLab API call failures | Grzegorz Bizon | |
2020-02-05 | Add acceptance test for serverless metrics | Grzegorz Bizon | |
2020-01-27 | Add domain configuration duration (from disk) to Prometheus metrics | Krasimir Angelov | |
2020-01-22 | update acceptance test structure to improve readability and follow the style ↵improve-acceptance-tests-readability | Jaime Martinez | |
guide | |||
2020-01-22 | update struct field names for TestAccessControl to follow coding style | Jaime Martinez | |
(cherry picked from commit d6364c55ab51708b3ec92cde07ffa80fa9b84765) |