Age | Commit message (Collapse) | Author |
|
Set the r.URL.Scheme via middleware and log mismatches with the https flag in the context
See merge request gitlab-org/gitlab-pages!225
|
|
them in the appropriate http.Request fields
|
|
|
|
Revert "Merge branch 'master' into 'master'"
This reverts commit 1e9f978d74ae0e1d536f1984635021b368802ccb, reversing
changes made to 86d619069f226d40d3d0ba97a243db384f133d5f.
|
|
Watch a file to configure which domains should use the new gitlab config source
See merge request gitlab-org/gitlab-pages!211
|
|
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.
|
|
After running `go test` ran `go mod tidy` to cleanup Go module files.
Resolves #316
|
|
* 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
Release 1.12.0
Add HTTP client to consume GitLab internal API for Pages
Add minimal support for the api-secret-key config flag
Conflicts:
internal/source/gitlab/client.go
|
|
At the moment this supports only getting virtual domain configuration
for given host.
Related to https://gitlab.com/gitlab-org/gitlab-pages/issues/253.
|
|
|
|
|
|
to cleanup after removing Admin gRPC API.
|
|
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
|
|
|
|
|
|
* Bump all go mod vendoring to current releases.
* Fix gitaly CheckToken() call.
|
|
Apply a minimal upgrade to Go modules.
* Fix various tests.
* Drop vendoring.
|