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/app.go
AgeCommit message (Collapse)Author
2023-01-19Refactor auth constructor to use options structNaman Jagdish Gala
2022-11-03Add auth-cookie-session-timeout flagKassio Borges
Related to: https://gitlab.com/gitlab-org/gitlab-pages/-/issues/806 Changelog: added
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-06-27Apply review suggestionsNejc Habjan
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-14Move cors handler early in the pipelinefeistel
2022-06-06Delay domain resolution after artifact middlewarefeistel
2022-06-05Refactor acme tests and middleware for lazy domain resolutionfeistel
2022-06-05Propagate context during certificate retrievalfeistel
2022-06-03Merge branch 'tls-metrics' into 'master'Vladimir Shushlin
Add TLS for metrics See merge request gitlab-org/gitlab-pages!772
2022-06-03Remove IsHTTPS fieldVishal Tak
2022-06-03Merge branch 'feat/infer-artifact-server' into 'master'Vladimir Shushlin
feat: infer artifacts-server from internal server unless it's set explicitly Closes #747 See merge request gitlab-org/gitlab-pages!775
2022-06-02Remove unused empty check on artifacts server URLfeistel
2022-06-02Use IsHTTPS field to check if metrics conn typeVishal Tak
2022-06-02Use TLSConfig and remove IsHTTPS in Metrics configVishal Tak
Add unit tests and move acceptance tests
2022-06-02Add support for tls for metricsVishal Tak
Changelog: added
2022-06-02Merge branch 'perf/reduce-lookup-path' into 'master'Jaime Martinez
refactor: reduce lookup path requests See merge request gitlab-org/gitlab-pages!753
2022-05-22Reduce lookup path requests in the handler pipelinefeistel
2022-05-20Propagate errors for better handlingfeistel
2022-05-05Abstract artifact handling to a separate middlewarefeistel
2022-04-27Remove duplicated logging initializationkassio/remove-extra-config-loggingKassio Borges
2022-04-26Merge branch 'healthcheck/middleware' into 'master'Jaime Martinez
refactor: move healthcheck middleware early in the pipeline See merge request gitlab-org/gitlab-pages!616
2022-04-22Move https middleware to internal/handlersfeistel
2022-04-20Add early https redirectfeistel
2022-04-20Move healthcheck middleware to a separate packagefeistel
add Cache-Control: no-store to status response
2022-03-15feat: allow auth http.Client timeout to be configurableOsman İlge Ünaldı
Changelog: added
2022-03-11Add correlation_id to all exception capturesKassio Borges
2022-03-04feat: make server shutdown timeout configurableHüseyin Emre Aksoy
Changelog: added
2022-02-22refactor: review fixesVladimir Shushlin
2022-02-22feat: Always apply TLS limits even without ServerNameVladimir Shushlin
2022-02-21feat: Add TLS rate limitsVladimir Shushlin
Changelog: added
2022-02-01Merge branch 'remove/file-descriptors' into 'master'Jaime Martinez
refactor: stop passing file descriptors around and use net.Listen directly See merge request gitlab-org/gitlab-pages!667
2022-02-01refactor: stop passing file descriptors around and use net.Listenfeistel
Changelog: changed
2022-01-31fix: fix metrics and logs not including domain resolution timeVladimir Shushlin
Currently we do logging and metrics capturing after we did the domain information lookup. It allows us to add more information to access logs. But it also distorts metrics because domain information lookup takes time. This logic was originally introduced in https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/157/diffs It didn't matter back than because we didn't lookup domain via API as we do now. Now it does matter. So this commits moves metrics and logging middlewares almost to the top of pipeline. Changelog: fixed
2022-01-26Merge branch 'feat/errorlint' into 'master'Jaime Martinez
build: enable errorlint and use modern error checking See merge request gitlab-org/gitlab-pages!648
2022-01-24Merge branch 'fix/xforward-duplicate' into 'master'Vladimir Shushlin
fix: remove duplicate xForwardedHost handler See merge request gitlab-org/gitlab-pages!641
2022-01-24lint: fix errorlint issuesfeistel
2022-01-24lint: fix gci issuesfeistel
2022-01-20feat: implement graceful shutdownfeistel
Changelog: added
2021-12-20refactor: handle defaults in ratelimiter package itselfVladimir Shushlin
also fix tests: * float64(1/time.Milesecond) == 0 * rate package doesn't actually refill the bucket on fractional seconds, so we need to use integers
2021-12-13refactor: move ratelimiter configuration to handlers packageVladimir Shushlin
2021-12-13refactor: abstract ratelimiter packageVladimir Shushlin
We want to add domain-based ratelimiter. The logic will be identical, but we'll use host instead of IP address.
2021-12-12fix: remove duplicate xForwardedHost handlerfeistel
2021-12-08refactor: encapsulate lru cache in ratelimiter packageVladimir Shushlin
2021-12-08Merge branch 'remove-unused-ctx' into 'master'Jaime Martinez
refactor: enable unparam in .gitlabci.yml See merge request gitlab-org/gitlab-pages!631
2021-12-07refactor: enable unparam in .golangci.ymlVladimir Shushlin
and fix offences
2021-12-07chore: upgrade to labkit 1.11.0Jaime Martinez
And report stack trace with error tracking to Sentry. Changelog: other
2021-12-01Merge branch 'refactor/limiter-new' into 'master'Jaime Martinez
refactor: make internal/lru and internal/ratelimiter metrics optional Closes #647 See merge request gitlab-org/gitlab-pages!606
2021-12-01chore: update method namesfeistel