Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-10 | Watch a file to configure which domains should use new gitlab source | Krasimir Angelov | |
Instead of passing domains once in an ENV variable we now watcn a config file (specified with `GITLAB_SOURCE_CONFIG_FILE`, defaults to `.gitlab-source-config.yml` and update ednabled/broken domains when it's content change. This way we can control this without having to restart Pages. Related to https://gitlab.com/gitlab-org/gitlab-pages/issues/266. | |||
2019-12-10 | Merge branch 'master' into feature/gb/gitlab-domains-source | Grzegorz Bizon | |
* master: Add support for the port component in the Host header Base64 decode GitLab API secret | |||
2019-12-05 | Merge branch 'master' into feature/gb/gitlab-domains-source | Grzegorz Bizon | |
* master: Check presence of GitLab API secret when building a domains source Make GitLab API Secret a supported parameter Improve error reporting in the main package Check if GitLab API secret has been provided too Avoid using `testify/assert` in favor of `require` Test domains source not fully configured Improve error handing when creating new domains config source Fix formatting in internal/source/gitlab/client/client_test.go Conflicts: acceptance_test.go internal/source/gitlab/client/client_test.go | |||
2019-12-05 | Base64 decode GitLab API secret | Krasimir Angelov | |
before using it. | |||
2019-12-04 | Check presence of GitLab API secret when building a domains source | Grzegorz Bizon | |
2019-12-04 | Handle non-existent domains properly using 204 status | Grzegorz Bizon | |
2019-11-28 | Use ENV variables to obtain a list of test new source domains | Grzegorz Bizon | |
2019-11-28 | Rename new source test fixture to avoid using existing domain | Grzegorz Bizon | |
2019-11-28 | Simplify acceptance tests for gitlab source a bit | Grzegorz Bizon | |
2019-11-28 | Merge branch 'master' into feature/gitlab-source-enum-domains | Grzegorz Bizon | |
* master: Improve GitLab client tests Change GitLab API JWT expire time to 5s Read the context of api-secret-key file and store it in app config Improve gitlab client tests Ensure there is response before defer close it in gitlab.GetVirtualDomain Document acrguments for gitlab.NewClient Add HTTP client to consume GitLab internal API for Pages | |||
2019-11-27 | Add acceptance tests for new domains source | Grzegorz Bizon | |
2019-11-27 | Read the context of api-secret-key file and store it in app config | Krasimir Angelov | |
as GitLabAPISecretKey | |||
2019-11-24 | Add an acceptance test for broken domains source | Grzegorz Bizon | |
2019-11-06 | Add minimal support for the api-secret-key config flag | Krasimir Angelov | |
Related to https://gitlab.com/gitlab-org/gitlab/issues/28781 and https://gitlab.com/gitlab-org/gitlab-pages/issues/253. | |||
2019-09-26 | Add support for previewing artifacts that are not public | Tuomo 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-12 | Remove github.com/stretchr/testify/assert | Nick Thomas | |
The "assert" form is difficult to use correctly and complicates test understanding. I think we should insist on using require *only* in our tests across GitLab. | |||
2019-09-06 | Add golang 1.13 to the ci | Vladimir Shushlin | |
2019-08-30 | Add full HTTP metrics and logging to GitLab pages using LabKit | Andrew Newdigate | |
2019-08-21 | Fix https downgrade for pages behind proxy | Vladimir 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-08 | Update metrics names. | Ben Kochie | |
* Rename "DomainsServed", `_total` is reserved for counters. * Rename "SessionsActive", "active sessions" makes more sense. | |||
2019-07-12 | feat: add flag to define custom response headers | Max Wittig | |
2019-06-03 | Redirect unknown ACME challenges to the GitLab instance | Vladimir Shushlin | |
2019-05-28 | Add config flags to specify TLS versions | Krasimir 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-16 | Disable 3DES and other insecure cipher suites | Krasimir 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-02-07 | Refactor access control acceptance tests | Alessio Caiazza | |
2019-01-09 | Add acceptance test for subgroups access control | Alessio Caiazza | |
2019-01-09 | Add acceptance test for deeply nested subgroups | Alessio Caiazza | |
2018-11-29 | subgroup support | Alessio Caiazza | |
2018-10-12 | Add acceptance tests for URLs with capital letters | Alessio Caiazza | |
2018-09-22 | Add special handling for namespace projects to avoid existence leak | Tuomo Ala-Vannesluoma | |
2018-09-12 | Avoid caching if project is access controlled | Tuomo Ala-Vannesluoma | |
2018-09-10 | Move access controlled projects under a group without default domain project | Tuomo Ala-Vannesluoma | |
2018-08-21 | Make private projects not accessible if auth is not configured | Tuomo Ala-Vannesluoma | |
2018-08-18 | Added checks for errors, refactored a bit to avoid method complexity ↵ | Tuomo Ala-Vannesluoma | |
increasing, fixed to work with custom ports and TLS enabled or not | |||
2018-08-12 | Use reserved namespace 'projects' for the redirect uri to handle situation ↵ | Tuomo Ala-Vannesluoma | |
where root pages domain is not handled with pages daemon | |||
2018-08-08 | Fix problem with the public suffix listed pages domain | Tuomo Ala-Vannesluoma | |
2018-08-07 | Make private pages public if gitlab and pages is ran without access control, ↵ | Tuomo Ala-Vannesluoma | |
add support for custom domains for which auth is proxied via gitlab pages domain | |||
2018-07-19 | Update to new endpoint and switch to better (user) endpoint when checking ↵ | Tuomo Ala-Vannesluoma | |
for token validity | |||
2018-07-02 | Remove duplicate test | Tuomo Ala-Vannesluoma | |
2018-07-02 | Add debug logging | Tuomo Ala-Vannesluoma | |
2018-06-30 | Fix not exposing project existence when group is found but project is not | Tuomo Ala-Vannesluoma | |
2018-06-30 | Add SSL cert file to access control test | Tuomo Ala-Vannesluoma | |
2018-06-30 | Refactor logic to avoid existence leak | Tuomo Ala-Vannesluoma | |
2018-06-30 | Convert access control acceptance tests to table based | Tuomo Ala-Vannesluoma | |
2018-06-30 | Deduplicate running pages with auth | Tuomo Ala-Vannesluoma | |
2018-06-30 | Use header authentication instead of query parameter | Tuomo Ala-Vannesluoma | |
2018-06-30 | Fix logic to return failure instead of making private pages public | Tuomo Ala-Vannesluoma | |
2018-06-30 | Add support for private projects and authentication with GitLab API | Tuomo Ala-Vannesluoma | |
2018-06-20 | Add tests for reverse proxy | Dennis Günnewig | |
2018-04-27 | Restore the old in-place chroot behaviour as a command-line option | Nick Thomas | |