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
2020-02-03use gorilla/handlers.ProxyHeaders to get the X-Forwarded-* headers and set ↵Jaime Martinez
them in the appropriate http.Request fields
2019-12-08Add support for the port component in the Host headerGrzegorz Bizon
2019-12-04Improve error reporting in the main packageGrzegorz Bizon
2019-12-02Improve error handing when creating new domains config sourceGrzegorz Bizon
2019-11-25Make it possible to pass client config to gitlab sourceGrzegorz Bizon
2019-11-24Respond with 502 if a domain can not be retrieved from a sourceGrzegorz Bizon
2019-11-23Implement a transitional domains sourceGrzegorz Bizon
2019-11-23Add note about transitional domain source interfaceGrzegorz Bizon
2019-10-07Remove unused Admin gRPC APIKrasimir Angelov
It was ever used. See gitlab-org/omnibus-gitlab/merge_requests/3444#note_194217889 for more details. Done as part of https://gitlab.com/gitlab-org/gitlab/issues/28781.
2019-10-02Merge branch 'master' into backstage/gb/domain-serving-refactoringGrzegorz Bizon
2019-10-02Merge branch 'backstage/gb/separate-domain-source-storage' into 'master'Nick Thomas
Separate domain config source See merge request gitlab-org/gitlab-pages!188
2019-10-01Remove references to `Project`Kamil Trzciński
Always uses `LookupPath`. The `project` is local to `source/disk`.
2019-09-27Create a factory method for Domains to handle mutex betterGrzegorz Bizon
2019-09-27Create a factory method for Domains to handle mutex betterGrzegorz Bizon
2019-09-26Add support for previewing artifacts that are not publicTuomo Ala-Vannesluoma
Remove some duplicate logic on Auth module Separate handling artifact to own handlers package Unit test handlers by mocking auth and artifact modules Add generate-mock step to Makefile Use additional handler func to simplify TryMakeRequest return type Always try with token if exists Do not log RequestURI, log path only Remove not used logRequest func
2019-09-24Remove refactoring support comments and improve app.goGrzegorz Bizon
2019-09-24Encapsulate groups config in the source packageGrzegorz Bizon
2019-09-22Separate domain config source from a domainGrzegorz Bizon
2019-09-13Rename confusing domain struct from D to DomainGrzegorz Bizon
2019-08-30Refactoring to reduce cyclometric complexityAndrew Newdigate
2019-08-30Add full HTTP metrics and logging to GitLab pages using LabKitAndrew Newdigate
2019-08-22Refactor to use pluggable http.Handler middlewaresan-use-middleware-handlersAndrew Newdigate
2019-08-21Fix https downgrade for pages behind proxyVladimir Shushlin
We can't rely on r.TLS when pages are served behind proxy So we save https flag to a context for later usage Right now I'm trying to keep changes to a minimum since I'm planning to backport this to older versions That's why https flag is not refactored throughout the codebase The alternative way would be to use gorilla's proxy headers I'm planning to refactor to that version later
2019-08-08Use simplified Prometheus handler func.Ben Kochie
2019-07-12feat: add flag to define custom response headersMax Wittig
2019-07-10Revert "chore: vendor complete dependency tree"Max Wittig
This reverts commit 27bd4d83cade6a721330e8583874e7c715bf3a26.
2019-06-03Redirect unknown ACME challenges to the GitLab instanceVladimir Shushlin
2019-05-28Add config flags to specify TLS versionsKrasimir Angelov
Introduce two new configuration options -tls-min-version and -tls-max-version to control which TLS versions will be supported by the server. Accepted values are ssl3, tls1.0, tls1.1, tls1.2, and tls1.3. Closing https://gitlab.com/gitlab-org/gitlab-pages/issues/187
2019-05-16Disable 3DES and other insecure cipher suitesKrasimir Angelov
Supported cipher suites: tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 Closes https://gitlab.com/gitlab-org/gitlab-pages/issues/150.
2019-04-02Prepare pages auth logs for production rolloutVladimir Shushlin
Mostly escalate log levels Add new logs and fields to existing logs
2018-10-26Allow the maximum connection concurrency to be specifiedNick Thomas
2018-10-02Fix comparing the domain and log request information as well. Removed ↵Tuomo Ala-Vannesluoma
invalid comment and fixed one else case.
2018-09-30Fix returning and calling functionTuomo Ala-Vannesluoma
2018-09-22Add special handling for namespace projects to avoid existence leakTuomo Ala-Vannesluoma
2018-09-10Fix handling the projects with not updated configurationTuomo Ala-Vannesluoma
2018-08-18Add missing return callTuomo Ala-Vannesluoma
2018-08-10Allow auth proxying only for configured domains and everything under pages ↵Tuomo Ala-Vannesluoma
domain
2018-07-02Add debug loggingTuomo Ala-Vannesluoma
2018-06-30Combine private boolean with the access_control flagTuomo Ala-Vannesluoma
2018-06-30Fix not exposing project existence when group is found but project is notTuomo Ala-Vannesluoma
2018-06-30Refactor logic to avoid existence leakTuomo Ala-Vannesluoma
2018-06-30Add support for private projects and authentication with GitLab APITuomo Ala-Vannesluoma
2018-06-22Merge branch 'feature/add-support-for-reverse-proxy' into 'master'Alessio Caiazza
Add support for reverse proxy See merge request gitlab-org/gitlab-pages!99
2018-06-20Add support for reverse proxyDennis Günnewig
2018-06-04Switch to a GitLab fork of go-mimedbNick Thomas
2018-04-23Add gRPC admin health checkJacob Vosmaer (GitLab)
2018-03-29Put domain code in a separate packageJacob Vosmaer (GitLab)
2018-03-22Rename 'domains' type to 'domainMap'Jacob Vosmaer
2018-03-13Add more logging to gitlab pages daemonmaxmeyer
2018-03-07Merge branch 'https_only' into 'master'Nick Thomas
HTTPS-only pages See merge request gitlab-org/gitlab-pages!50