Commit 0bcd5ca4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce

parents 3db8e452 a424a442
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
.project-edit-content .project-edit-content
%div %div
%h3.page-title %h3.page-title
Project settings: Project settings
%p.light Some settings, such as "Transfer Project", are hidden inside the danger area below.
%hr %hr
.panel-body .panel-body
= form_for @project, remote: true, html: { multipart: true, class: "edit_project form-horizontal" }, authenticity_token: true do |f| = form_for @project, remote: true, html: { multipart: true, class: "edit_project form-horizontal" }, authenticity_token: true do |f|
......
...@@ -97,7 +97,7 @@ Return values: ...@@ -97,7 +97,7 @@ Return values:
## Sudo ## Sudo
All API requests support performing an api call as if you were another user, if your private token is for an administration account. You need to pass `sudo` parameter by url or header with an id or username of the user you want to perform the operation as. If passed as header, the header name must be "SUDO" (capitals). All API requests support performing an api call as if you were another user, if your private token is for an administration account. You need to pass `sudo` parameter by URL or header with an id or username of the user you want to perform the operation as. If passed as header, the header name must be "SUDO" (capitals).
If a non administrative `private_token` is provided then an error message will be returned with status code 403: If a non administrative `private_token` is provided then an error message will be returned with status code 403:
...@@ -142,7 +142,7 @@ When listing resources you can pass the following parameters: ...@@ -142,7 +142,7 @@ When listing resources you can pass the following parameters:
- `page` (default: `1`) - page number - `page` (default: `1`) - page number
- `per_page` (default: `20`, max: `100`) - number of items to list per page - `per_page` (default: `20`, max: `100`) - number of items to list per page
[Link headers](http://www.w3.org/wiki/LinkHeader) are send back with each response. These have `rel` prev/next/first/last and contain the relevant URL. Please use these instead of generating your own urls. [Link headers](http://www.w3.org/wiki/LinkHeader) are send back with each response. These have `rel` prev/next/first/last and contain the relevant URL. Please use these instead of generating your own URLs.
## id vs iid ## id vs iid
......
...@@ -13,7 +13,7 @@ PUT /projects/:id/services/gitlab-ci ...@@ -13,7 +13,7 @@ PUT /projects/:id/services/gitlab-ci
Parameters: Parameters:
- `token` (required) - CI project token - `token` (required) - CI project token
- `project_url` (required) - CI project url - `project_url` (required) - CI project URL
### Delete GitLab CI service ### Delete GitLab CI service
......
...@@ -16,7 +16,7 @@ the configuration options as follows: ...@@ -16,7 +16,7 @@ the configuration options as follows:
```yml ```yml
gravatar: gravatar:
enabled: true enabled: true
# gravatar urls: possible placeholders: %{hash} %{size} %{email} # gravatar URLs: possible placeholders: %{hash} %{size} %{email}
plain_url: "http://cdn.libravatar.org/avatar/%{hash}?s=%{size}&d=identicon" plain_url: "http://cdn.libravatar.org/avatar/%{hash}?s=%{size}&d=identicon"
``` ```
...@@ -25,14 +25,14 @@ the configuration options as follows: ...@@ -25,14 +25,14 @@ the configuration options as follows:
```yml ```yml
gravatar: gravatar:
enabled: true enabled: true
# gravatar urls: possible placeholders: %{hash} %{size} %{email} # gravatar URLs: possible placeholders: %{hash} %{size} %{email}
ssl_url: "https://seccdn.libravatar.org/avatar/%{hash}?s=%{size}&d=identicon" ssl_url: "https://seccdn.libravatar.org/avatar/%{hash}?s=%{size}&d=identicon"
``` ```
## Self-hosted ## Self-hosted
If you are [running your own libravatar service](http://wiki.libravatar.org/running_your_own/) the url will be different in the configuration If you are [running your own libravatar service](http://wiki.libravatar.org/running_your_own/) the URL will be different in the configuration
but the important part is to provide the same placeholders so GitLab can parse the url correctly. but the important part is to provide the same placeholders so GitLab can parse the URL correctly.
For example, you host a service on `http://libravatar.example.com` the `plain_url` you need to supply in `gitlab.yml` is For example, you host a service on `http://libravatar.example.com` the `plain_url` you need to supply in `gitlab.yml` is
...@@ -65,5 +65,5 @@ Run `sudo gitlab-ctl reconfigure` for changes to take effect. ...@@ -65,5 +65,5 @@ Run `sudo gitlab-ctl reconfigure` for changes to take effect.
[Libravatar supports different sets](http://wiki.libravatar.org/api/) of `missing images` for emails not found on the Libravatar service. [Libravatar supports different sets](http://wiki.libravatar.org/api/) of `missing images` for emails not found on the Libravatar service.
In order to use a different set other than `identicon`, replace `&d=identicon` portion of the url with another supported set. In order to use a different set other than `identicon`, replace `&d=identicon` portion of the URL with another supported set.
For example, you can use `retro` set in which case url would look like: `plain_url: "http://cdn.libravatar.org/avatar/%{hash}?s=%{size}&d=retro"` For example, you can use `retro` set in which case the URL would look like: `plain_url: "http://cdn.libravatar.org/avatar/%{hash}?s=%{size}&d=retro"`
...@@ -14,7 +14,7 @@ Check https://wiki.shibboleth.net/ for more info. ...@@ -14,7 +14,7 @@ Check https://wiki.shibboleth.net/ for more info.
Following changes are needed to enable shibboleth: Following changes are needed to enable shibboleth:
protect omniauth-shibboleth callback url: protect omniauth-shibboleth callback URL:
``` ```
<Location /users/auth/shibboleth/callback> <Location /users/auth/shibboleth/callback>
AuthType shibboleth AuthType shibboleth
...@@ -32,7 +32,7 @@ protect omniauth-shibboleth callback url: ...@@ -32,7 +32,7 @@ protect omniauth-shibboleth callback url:
SetHandler shib SetHandler shib
</Location> </Location>
``` ```
exclude shibboleth urls from rewriting, add "RewriteCond %{REQUEST_URI} !/Shibboleth.sso" and "RewriteCond %{REQUEST_URI} !/shibboleth-sp", config should look like this: exclude shibboleth URLs from rewriting, add "RewriteCond %{REQUEST_URI} !/Shibboleth.sso" and "RewriteCond %{REQUEST_URI} !/shibboleth-sp", config should look like this:
``` ```
#apache equivalent of nginx try files #apache equivalent of nginx try files
RewriteEngine on RewriteEngine on
......
...@@ -35,7 +35,7 @@ After Slack is ready we need to setup GitLab. Here are the steps to achieve this ...@@ -35,7 +35,7 @@ After Slack is ready we need to setup GitLab. Here are the steps to achieve this
1. Fill in your Slack details 1. Fill in your Slack details
- Mark it as active - Mark it as active
- Paste in the webhook url you got from Slack - Paste in the webhook URL you got from Slack
Have fun :) Have fun :)
......
...@@ -250,17 +250,17 @@ The IDs are generated from the content of the header according to the following ...@@ -250,17 +250,17 @@ The IDs are generated from the content of the header according to the following
For example: For example:
``` ```
###### ..Ab_c-d. e [anchor](url) ![alt text](url).. ###### ..Ab_c-d. e [anchor](URL) ![alt text](URL)..
``` ```
which renders as: which renders as:
###### ..Ab_c-d. e [anchor](url) ![alt text](url).. ###### ..Ab_c-d. e [anchor](URL) ![alt text](URL)..
will first be converted by step 1) into a string like: will first be converted by step 1) into a string like:
``` ```
..Ab_c-d. e &lt;a href="url">anchor&lt;/a> &lt;img src="url" alt="alt text"/>.. ..Ab_c-d. e &lt;a href="URL">anchor&lt;/a> &lt;img src="URL" alt="alt text"/>..
``` ```
After removing the tags in step 2) we get: After removing the tags in step 2) we get:
...@@ -277,8 +277,8 @@ ab_c-d-e-anchor ...@@ -277,8 +277,8 @@ ab_c-d-e-anchor
Note in particular how: Note in particular how:
- for markdown anchors `[text](url)`, only the `text` is used - for markdown anchors `[text](URL)`, only the `text` is used
- markdown images `![alt](url)` are completely ignored - markdown images `![alt](URL)` are completely ignored
## Emphasis ## Emphasis
......
...@@ -6,7 +6,7 @@ This command will enable the namespaces feature introduced in v4.0. It will move ...@@ -6,7 +6,7 @@ This command will enable the namespaces feature introduced in v4.0. It will move
Note: Note:
- Because the **repository location will change**, you will need to **update all your git url's** to point to the new location. - Because the **repository location will change**, you will need to **update all your git URLs** to point to the new location.
- Username can be changed at [Profile / Account](/profile/account) - Username can be changed at [Profile / Account](/profile/account)
**Example:** **Example:**
......
...@@ -41,8 +41,8 @@ git checkout v1.1.0 ...@@ -41,8 +41,8 @@ git checkout v1.1.0
# copy config # copy config
cp config.yml.example config.yml cp config.yml.example config.yml
# change url to GitLab instance # change URL to GitLab instance
# ! make sure url end with '/' like 'https://gitlab.example/' # ! make sure the URL ends with '/' like 'https://gitlab.example/'
vim config.yml vim config.yml
# rewrite hooks # rewrite hooks
......
...@@ -10,7 +10,7 @@ GitLab 6.0 is affected by critical security vulnerabilities CVE-2013-4490 and CV ...@@ -10,7 +10,7 @@ GitLab 6.0 is affected by critical security vulnerabilities CVE-2013-4490 and CV
The root (global) namespace for projects is deprecated. The root (global) namespace for projects is deprecated.
So you need to move all your global projects under groups or users manually before update or they will be automatically moved to the project owner namespace during the update. When a project is moved all its members will receive an email with instructions how to update their git remote url. Please make sure you disable sending email when you do a test of the upgrade. So you need to move all your global projects under groups or users manually before update or they will be automatically moved to the project owner namespace during the update. When a project is moved all its members will receive an email with instructions how to update their git remote URL. Please make sure you disable sending email when you do a test of the upgrade.
### Teams ### Teams
......
...@@ -101,8 +101,8 @@ If all items are green, then congratulations upgrade is complete! ...@@ -101,8 +101,8 @@ If all items are green, then congratulations upgrade is complete!
### 8. GitHub settings (if applicable) ### 8. GitHub settings (if applicable)
If you are using GitHub as an OAuth provider for authentication, you should change the callback url so that it If you are using GitHub as an OAuth provider for authentication, you should change the callback URL so that it
only contains a root url (ex. `https://gitlab.example.com/`) only contains a root URL (ex. `https://gitlab.example.com/`)
## Things went south? Revert to previous version (7.6) ## Things went south? Revert to previous version (7.6)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment