Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-19 | Refactor auth constructor to use options struct | Naman Jagdish Gala | |
2022-11-03 | Add auth-cookie-session-timeout flag | Kassio Borges | |
Related to: https://gitlab.com/gitlab-org/gitlab-pages/-/issues/806 Changelog: added | |||
2022-07-04 | Merge 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-27 | Apply review suggestions | Nejc Habjan | |
2022-06-25 | Move custom headers parsing into config loading | feistel | |
2022-06-23 | Merge 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-14 | Move cors handler early in the pipeline | feistel | |
2022-06-06 | Delay domain resolution after artifact middleware | feistel | |
2022-06-05 | Refactor acme tests and middleware for lazy domain resolution | feistel | |
2022-06-05 | Propagate context during certificate retrieval | feistel | |
2022-06-03 | Merge branch 'tls-metrics' into 'master' | Vladimir Shushlin | |
Add TLS for metrics See merge request gitlab-org/gitlab-pages!772 | |||
2022-06-03 | Remove IsHTTPS field | Vishal Tak | |
2022-06-03 | Merge 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-02 | Remove unused empty check on artifacts server URL | feistel | |
2022-06-02 | Use IsHTTPS field to check if metrics conn type | Vishal Tak | |
2022-06-02 | Use TLSConfig and remove IsHTTPS in Metrics config | Vishal Tak | |
Add unit tests and move acceptance tests | |||
2022-06-02 | Add support for tls for metrics | Vishal Tak | |
Changelog: added | |||
2022-06-02 | Merge branch 'perf/reduce-lookup-path' into 'master' | Jaime Martinez | |
refactor: reduce lookup path requests See merge request gitlab-org/gitlab-pages!753 | |||
2022-05-22 | Reduce lookup path requests in the handler pipeline | feistel | |
2022-05-20 | Propagate errors for better handling | feistel | |
2022-05-05 | Abstract artifact handling to a separate middleware | feistel | |
2022-04-27 | Remove duplicated logging initializationkassio/remove-extra-config-logging | Kassio Borges | |
2022-04-26 | Merge 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-22 | Move https middleware to internal/handlers | feistel | |
2022-04-20 | Add early https redirect | feistel | |
2022-04-20 | Move healthcheck middleware to a separate package | feistel | |
add Cache-Control: no-store to status response | |||
2022-03-15 | feat: allow auth http.Client timeout to be configurable | Osman İlge Ünaldı | |
Changelog: added | |||
2022-03-11 | Add correlation_id to all exception captures | Kassio Borges | |
2022-03-04 | feat: make server shutdown timeout configurable | Hüseyin Emre Aksoy | |
Changelog: added | |||
2022-02-22 | refactor: review fixes | Vladimir Shushlin | |
2022-02-22 | feat: Always apply TLS limits even without ServerName | Vladimir Shushlin | |
2022-02-21 | feat: Add TLS rate limits | Vladimir Shushlin | |
Changelog: added | |||
2022-02-01 | Merge 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-01 | refactor: stop passing file descriptors around and use net.Listen | feistel | |
Changelog: changed | |||
2022-01-31 | fix: fix metrics and logs not including domain resolution time | Vladimir 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-26 | Merge 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-24 | Merge branch 'fix/xforward-duplicate' into 'master' | Vladimir Shushlin | |
fix: remove duplicate xForwardedHost handler See merge request gitlab-org/gitlab-pages!641 | |||
2022-01-24 | lint: fix errorlint issues | feistel | |
2022-01-24 | lint: fix gci issues | feistel | |
2022-01-20 | feat: implement graceful shutdown | feistel | |
Changelog: added | |||
2021-12-20 | refactor: handle defaults in ratelimiter package itself | Vladimir 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-13 | refactor: move ratelimiter configuration to handlers package | Vladimir Shushlin | |
2021-12-13 | refactor: abstract ratelimiter package | Vladimir Shushlin | |
We want to add domain-based ratelimiter. The logic will be identical, but we'll use host instead of IP address. | |||
2021-12-12 | fix: remove duplicate xForwardedHost handler | feistel | |
2021-12-08 | refactor: encapsulate lru cache in ratelimiter package | Vladimir Shushlin | |
2021-12-08 | Merge branch 'remove-unused-ctx' into 'master' | Jaime Martinez | |
refactor: enable unparam in .gitlabci.yml See merge request gitlab-org/gitlab-pages!631 | |||
2021-12-07 | refactor: enable unparam in .golangci.yml | Vladimir Shushlin | |
and fix offences | |||
2021-12-07 | chore: upgrade to labkit 1.11.0 | Jaime Martinez | |
And report stack trace with error tracking to Sentry. Changelog: other | |||
2021-12-01 | Merge 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-01 | chore: update method names | feistel | |