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
2022-07-04Merge branch 'refactor/custom-headers-parsing' into 'master'Jaime Martinez
refactor: move custom headers parsing into config loading See merge request gitlab-org/gitlab-pages!801
2022-07-04Merge branch 'refactor/test-ping' into 'master'Jaime Martinez
refactor: use healthcheck path during test ping See merge request gitlab-org/gitlab-pages!795
2022-07-01Add tls support to gitlab stub serverfeistel
2022-07-01Enable FF_ENABLE_PLACEHOLDERS by default619-enable-placeholders-by-defaultJaime Martinez
Changelog: added
2022-07-01Merge branch 'refactor/artifact-try-make-request' into 'master'Jaime Martinez
refactor: remove host out of Artifact.TryMakeRequest Closes #760 See merge request gitlab-org/gitlab-pages!787
2022-06-30Merge branch 'fix/domainresolver-test-race' into 'master'Jaime Martinez
test: fix Flaky TestDomainResolverError race Closes #787 See merge request gitlab-org/gitlab-pages!806
2022-06-30Merge branch 'fix/log-empty-artifact' into 'master'Jaime Martinez
fix: stop logging an empty artifact server if the address is inferred See merge request gitlab-org/gitlab-pages!794
2022-06-29Refactor test ping to use healthcheck pathfeistel
2022-06-29Merge branch 'fix/log-consistency' into 'master'Vladimir Shushlin
fix: improve consistency of log fields Closes #785 See merge request gitlab-org/gitlab-pages!805
2022-06-29Merge branch 'fix/invalid-writeheader' into 'master'Jaime Martinez
test: prevent invalid writeheader code 0 during tests See merge request gitlab-org/gitlab-pages!802
2022-06-28Fix invalid writeheader code 0 race during testsfeistel
2022-06-28Improve consistency of log fieldsfeistel
2022-06-28Fix Flaky TestDomainResolverError racefeistel
2022-06-28Merge branch 'fix/test-acme-sigsev' into 'master'Jaime Martinez
test: check for errors in acme tests before passing the body See merge request gitlab-org/gitlab-pages!797
2022-06-28Merge branch 'feat/configurable-redirects' into 'master'Jaime Martinez
feat: make _redirects limits configurable See merge request gitlab-org/gitlab-pages!778
2022-06-28Merge branch 'fix/routing-502' into 'master'Jaime Martinez
fix: serve 404 if ctx is canceled while resolving a domain See merge request gitlab-org/gitlab-pages!796
2022-06-27Fix TestSlowRequests testfeistel
we do not log the error anymore.
2022-06-27Simplify validation test checksNejc Habjan
2022-06-27Initialize redirects config with default valuesNejc Habjan
2022-06-27Apply maintainer review suggestionsNejc Habjan
2022-06-27Apply review suggestionVishal Tak
2022-06-27Swap int casts for MaxConfigSizeNejc Habjan
2022-06-27Set up redirects config for unit testsNejc Habjan
2022-06-27Apply review suggestionsNejc Habjan
2022-06-27Make _redirects limits configurableNejc Habjan
Changelog: added
2022-06-27Do not log an error when serving 404 in routing middlewarefeistel
2022-06-27Merge branch 'feat/only-chdir-if-disk' into 'master'Jaime Martinez
feat: avoid chdir inside RootDir if disk is not enabled See merge request gitlab-org/gitlab-pages!798
2022-06-25Move custom headers parsing into config loadingfeistel
2022-06-23Merge branch 'fix/get-certificate-ctx' into 'master'Jaime Martinez
fix: propagate context during certificate retrieval See merge request gitlab-org/gitlab-pages!777
2022-06-22Avoid chdir inside RootDir if disk is not enabledfeistel
2022-06-22Check for errors in acme tests before passing the bodyfeistel
2022-06-22Serve 404 if ctx is canceled while resolving a domainfeistel
2022-06-22Fix logging an empty artifact server if the address is inferredfeistel
2022-06-22Merge branch 'kassio/remove-outdated-readme-link' into 'master'Jaime Martinez
Remove outdated link from README See merge request gitlab-org/gitlab-pages!792
2022-06-22Merge branch 'fix-redirects' into 'master'Jaime Martinez
Fix domain level redirects See merge request gitlab-org/gitlab-pages!790
2022-06-21Remove outdated link from READMEkassio/remove-outdated-readme-linkKassio Borges
Changelog: changed
2022-06-21Merge branch 'jv-clear-timezone' into 'master'Vladimir Shushlin
Clear timezones from cached zip entries See merge request gitlab-org/gitlab-pages!791
2022-06-21Clear timezones from cached zip entriesJacob Vosmaer
In https://gitlab.com/gitlab-org/gitlab-pages/-/issues/702 we discovered that by caching many `*zip.File` instances, we end up storing many Go timezone objects on the heap: one per cached `*zip.File`. This adds up to about 25% of the heap size. In this commit we set the timestamp of `*zip.File` to UTC. Because Go re-uses a single timezone object for UTC, this causes the original timezone objects of the `*zip.File` instances to be garbage collected. This reduces the heap size. Here is an example program that demonstrates the effect: ```golang package main import ( "archive/zip" "log" "os" "runtime/pprof" ) func main() { if err := load(os.Args[1]); err != nil { log.Fatal(err) } log.Printf("load finished: %d archives", len(readers)) pprof.WriteHeapProfile(os.Stdout) } var readers []*zip.ReadCloser func load(filename string) error { for i := 0; i < 1000; i++ { zr, err := zip.OpenReader(filename) if err != nil { return err } if os.Getenv("FORCE_UTC") == "1" { for _, zf := range zr.File { zf.Modified = zf.Modified.UTC() } } readers = append(readers, zr) } return nil } ```
2022-06-21Merge branch 'ci/remove-gosec-brakeman' into 'master'Vladimir Shushlin
Ignore gosec and brakeman analyzers See merge request gitlab-org/gitlab-pages!780
2022-06-21Ignore gosec and brakeman analyzersfeistel
2022-06-20Fix domain level redirectsfix-redirectsVishal Tak
Do not allow domain level redirects through special characters Changelog: fixed
2022-06-20Merge branch 'feat/cmd-stub' into 'master'Jaime Martinez
feat: extract gitlab stub server in a separate package See merge request gitlab-org/gitlab-pages!673
2022-06-20Merge branch 'fix/timeout-err' into 'master'Jaime Martinez
fix: properly handle io.copy errors Closes #698 See merge request gitlab-org/gitlab-pages!683
2022-06-17Extract gitlab stub server in a separate packagefeistel
2022-06-17Properly handle io.copy errorsfeistel
Changelog: added
2022-06-17Merge branch 'kassio/update-dev-docs-location' into 'master'Jaime Martinez
Update the contributing documentation link on README See merge request gitlab-org/gitlab-pages!789
2022-06-16Update the contributing documentation link on READMEkassio/update-dev-docs-locationKassio Borges
Related to: https://gitlab.com/gitlab-org/gitlab-pages/-/issues/774 Changelog: changed
2022-06-15Remove host out of Artifact.TryMakeRequestfeistel
2022-06-15Merge branch 'refactor/move-artifact-middleware' into 'master'Jaime Martinez
refactor: delay domain resolution after artifact middleware See merge request gitlab-org/gitlab-pages!752
2022-06-15Merge branch 'ci/unit-test-avoid-compile' into 'master'Jaime Martinez
ci: add unit-test task and avoid building the binary See merge request gitlab-org/gitlab-pages!782