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
AgeCommit message (Collapse)Author
2018-11-16Add a template for the release issuerelease-templateAlessio Caiazza
2018-10-29Merge branch 'release-1-3-0' into 'master'v1.3.0Nick Thomas
Release v1.3.0 See merge request gitlab-org/gitlab-pages!119
2018-10-29Release v1.3.0Nick Thomas
2018-10-29Merge branch '172-runtime-thread-limit' into 'master'Alessio Caiazza
Allow the maximum connection concurrency to be set See merge request gitlab-org/gitlab-pages!117
2018-10-26Allow the maximum connection concurrency to be specifiedNick Thomas
2018-10-26Merge branch 'bjk/prom_0.9' into 'master'Nick Thomas
Update Prometheus vendoring See merge request gitlab-org/gitlab-pages!116
2018-10-26Update Prometheus vendoringBen Kochie
Update client_golang and common vendoring to latest release * Improves text rendering performance. * Pin to v0.9.x release.
2018-10-24Merge branch 'fix-goimports' into 'master'Alessio Caiazza
Fix goimports See merge request gitlab-org/gitlab-pages!118
2018-10-24Improve detection and error-handling of fmt errorsNick Thomas
2018-10-24Remove a workaround for golintNick Thomas
2018-10-24Remove a few test failures running make coverNick Thomas
2018-10-24Improve .gitlab-ci.yml pipelineNick Thomas
The make verify task no longer works on Go 1.8, so split it out into a separate job, run on go1.11. Also run the tests themselves on go1.11 as we're here.
2018-10-24Fix import paths for goimportNick Thomas
2018-10-12Merge branch 'sh-fix-version-output' into 'master'Nick Thomas
Fix version string not showing properly Closes #140 See merge request gitlab-org/gitlab-pages!115
2018-10-12Fix version display to include a newlineNick Thomas
2018-10-12Fix version string not showing properlyStan Hu
Due to a typo, the output of `gitlab-pages -version` was always `dev` instead of the actual version. The variable name is VERSION, not Version. Closes https://gitlab.com/gitlab-org/gitlab-pages/issues/140
2018-10-12Release v1.2.1v1.2.1Nick Thomas
2018-10-12Merge branch '170-404-serving-projects-with-capital-letters' into 'master'Nick Thomas
Resolve "404 serving projects with capital letters" Closes #170 See merge request gitlab-org/gitlab-pages!114
2018-10-12Fix 404 for project with capital lettersAlessio Caiazza
When loading domains map from disk we lowercase the project name, this patch will lowercase it also when checking incoming HTTP requests against the configuration map.
2018-10-12Add acceptance tests for URLs with capital lettersAlessio Caiazza
2018-10-05Merge branch '169-release-pages-1-2-0' into 'master'v1.2.0Nick Thomas
Release GitLab Pages v1.2.0 Closes #169 See merge request gitlab-org/gitlab-pages!113
2018-10-05Release GitLab Pages v1.2.0Nick Thomas
2018-10-05Merge branch 'auth' into 'master'Nick Thomas
Make GitLab pages support access control This change adds support for access controlled pages by configuration provided from GitLab to the `config.json`. When project is not public and access control is enabled for it, pages will require user to authenticate. This is done by redirecting user to GitLab authorize endpoint. If project visiblity is public, then access will not be checked. Pages will store the access token in a session cookie. When access token is invalid the authentication will be done again. This work is related to the feature request gitlab-ce#33422, check also MR gitlab-ce!18589 and omnibus-gitlab!2583. ## Changes * New fields in the `config.json` * Auth package for handling OAuth and checking access to a project when necessary * Test for auth and also acceptance tests See merge request gitlab-org/gitlab-pages!94
2018-10-04Set session cookie HttpOnly to trueTuomo Ala-Vannesluoma
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-30Merge commit 'd07b803b6f8519566940843e389a6c2d73424a76' into authTuomo Ala-Vannesluoma
2018-09-27Merge branch '167-hide-from-the-shadow' into 'master'Kamil Trzciński
Stop serving shadowed namespace project files Closes #167 See merge request gitlab-org/gitlab-pages!111
2018-09-27Stop serving shadowed namespace project filesNick Thomas
2018-09-22Copied the fixed getProject function from the !111 to make tests passTuomo Ala-Vannesluoma
2018-09-22Add special handling for namespace projects to avoid existence leakTuomo Ala-Vannesluoma
2018-09-12Avoid caching if project is access controlledTuomo Ala-Vannesluoma
2018-09-11Remove not used hostTuomo Ala-Vannesluoma
2018-09-11Do not set domain to cookie to avoid wildcard cookieTuomo Ala-Vannesluoma
2018-09-10Move access controlled projects under a group without default domain projectTuomo Ala-Vannesluoma
2018-09-10Add file to make an example of the project conflict issueTuomo Ala-Vannesluoma
2018-09-10Refactor to use the same storeTuomo Ala-Vannesluoma
2018-09-10Fix panic serving errorsTuomo Ala-Vannesluoma
2018-09-10Fix handling the projects with not updated configurationTuomo Ala-Vannesluoma
2018-09-03Merge branch 'master' into authNick Thomas
2018-08-30Merge branch 'sh-release-1.1.0' into 'master'v1.1.0Stan Hu
Release GitLab Pages v1.1.0 Closes #166 See merge request gitlab-org/gitlab-pages!110
2018-08-30Release GitLab Pages v1.1.0Stan Hu
CHANGELOG has already been updated.
2018-08-30Add CHANGELOG entry for 1.1.0 itemsStan Hu
2018-08-27Merge branch 'sh-fix-pages-redirection-group-domains' into 'master'Nick Thomas
Fix HTTP to HTTPS redirection not working for default domains Closes #162 See merge request gitlab-org/gitlab-pages!106
2018-08-27Fix HTTP to HTTPS redirection not working for default domainsStan Hu
If a default domain is in use, the group domain will be passed into the IsHTTPSOnly() call, but this will always return false because the HTTPS-only flag can only be determined by looking at the HTTP request host rather than the URL. For example, for the project https://gitlab.com/tanukitalks/tanukitalks.gitlab.io, this is what happened previously: 1. For a project in the default domain (e.g. `gitlab.io`), GitLab Pages loads `config.json` and sees the group is `tanukitalks` with the project name `tanuitalks.gitlab.io`. It stores the HTTPS-only flag inside the project config. 2. Note that for projects in the default domain, the `domainConfig` is empty. This makes sense because there is no domain configuration specified since the default domain is being used, and we need to redirect on a project-by-project basis. 3. User requests https://tanukitalks.gitlab.io. 4. GitLab Pages looks up `tanukitalks.gitlab.io`, and it returns the domain `tanukitalks` with an empty `domainConfig` and project `tanukitalks.gitlab.io`. 5. Since there is no `domainConfig`, `IsHTTPSOnly` attempts to resolve the project from the URL. 6. However, since the URL is using the default domain, the path is `/`, which doesn't resolve to any project. In the new behavior, we check the hostname of the request to see if it matches any project before trying to parse the URL. Closes #162
2018-08-26Merge branch 'sh-log-duplicate-domains' into 'master'Nick Thomas
Log duplicate domain names Closes #160 See merge request gitlab-org/gitlab-pages!107
2018-08-26Log duplicate domain namesStan Hu
This will help make it easier to track stale `config.json` files on disk. Closes https://gitlab.com/gitlab-org/gitlab-pages/issues/160
2018-08-23Merge branch 'sh-abort-upon-domain-scan-error' into 'master'Nick Thomas
Abort domain scan if a failure is encountered Closes gitlab-com/infrastructure#4749 See merge request gitlab-org/gitlab-pages!102
2018-08-23Update map_test.goNick Thomas
2018-08-23dm.Map#ReadGroups never returns an errorNick Thomas