Commit d2d566b162b60a2d310dfcdbcd0963c2156dd5ae
Exists in
master
and in
4 other branches
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Showing
3 changed files
with
12 additions
and
10 deletions
Show diff stats
app/views/admin/teams/projects/new.html.haml
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | .input | 8 | .input |
9 | = select_tag :project_ids, options_from_collection_for_select(@projects , :id, :name_with_namespace), multiple: true, data: {placeholder: 'Select projects'}, class: 'chosen span5' | 9 | = select_tag :project_ids, options_from_collection_for_select(@projects , :id, :name_with_namespace), multiple: true, data: {placeholder: 'Select projects'}, class: 'chosen span5' |
10 | 10 | ||
11 | - %h6 Choose greatest user acces for your team in this projects: | 11 | + %h6 Choose greatest user access for your team in these projects: |
12 | .clearfix | 12 | .clearfix |
13 | = label_tag :greatest_project_access, "Greatest Access" | 13 | = label_tag :greatest_project_access, "Greatest Access" |
14 | .input | 14 | .input |
app/views/projects/teams/available.html.haml
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | .padded | 10 | .padded |
11 | = label_tag :team_id, "Team" | 11 | = label_tag :team_id, "Team" |
12 | .input= select_tag(:team_id, options_from_collection_for_select(@teams, :id, :name), prompt: "Select team", class: "chosen xxlarge", required: true) | 12 | .input= select_tag(:team_id, options_from_collection_for_select(@teams, :id, :name), prompt: "Select team", class: "chosen xxlarge", required: true) |
13 | - %p.slead Choose greatest user acces in team you want to assign: | 13 | + %p.slead Choose greatest user access for your team in this project: |
14 | .padded | 14 | .padded |
15 | = label_tag :team_ids, "Permission" | 15 | = label_tag :team_ids, "Permission" |
16 | .input= select_tag :greatest_project_access, options_for_select(UserTeam.access_roles), {class: "project-access-select chosen span3" } | 16 | .input= select_tag :greatest_project_access, options_for_select(UserTeam.access_roles), {class: "project-access-select chosen span3" } |
doc/install/installation.md
@@ -42,11 +42,13 @@ up-to-date and install it. | @@ -42,11 +42,13 @@ up-to-date and install it. | ||
42 | apt-get install sudo -y | 42 | apt-get install sudo -y |
43 | 43 | ||
44 | **Note:** | 44 | **Note:** |
45 | -Vim is an editor that is used here whenever there are files that need to be | ||
46 | -edited by hand. But, you can use any editor you like instead. | 45 | +During this installation some files will need to be edited manually. |
46 | +If you are familiar with vim set it as default editor with the commands below. | ||
47 | +If you are not familiar with vim please skip this and keep using the default editor. | ||
47 | 48 | ||
48 | - # Install vim | 49 | + # Install vim and set as default editor |
49 | sudo apt-get install -y vim | 50 | sudo apt-get install -y vim |
51 | + sudo update-alternatives --set editor /usr/bin/vim.basic | ||
50 | 52 | ||
51 | Install the required packages: | 53 | Install the required packages: |
52 | 54 | ||
@@ -123,7 +125,7 @@ GitLab Shell is a ssh access and repository management software developed specia | @@ -123,7 +125,7 @@ GitLab Shell is a ssh access and repository management software developed specia | ||
123 | 125 | ||
124 | # Edit config and replace gitlab_url | 126 | # Edit config and replace gitlab_url |
125 | # with something like 'http://domain.com/' | 127 | # with something like 'http://domain.com/' |
126 | - sudo -u git -H vim config.yml | 128 | + sudo -u git -H editor config.yml |
127 | 129 | ||
128 | # Do setup | 130 | # Do setup |
129 | sudo -u git -H ./bin/install | 131 | sudo -u git -H ./bin/install |
@@ -162,7 +164,7 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version, | @@ -162,7 +164,7 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version, | ||
162 | 164 | ||
163 | # Make sure to change "localhost" to the fully-qualified domain name of your | 165 | # Make sure to change "localhost" to the fully-qualified domain name of your |
164 | # host serving GitLab where necessary | 166 | # host serving GitLab where necessary |
165 | - sudo -u git -H vim config/gitlab.yml | 167 | + sudo -u git -H editor config/gitlab.yml |
166 | 168 | ||
167 | # Make sure GitLab can write to the log/ and tmp/ directories | 169 | # Make sure GitLab can write to the log/ and tmp/ directories |
168 | sudo chown -R git log/ | 170 | sudo chown -R git log/ |
@@ -188,7 +190,7 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version, | @@ -188,7 +190,7 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version, | ||
188 | 190 | ||
189 | # Enable cluster mode if you expect to have a high load instance | 191 | # Enable cluster mode if you expect to have a high load instance |
190 | # Ex. change amount of workers to 3 for 2GB RAM server | 192 | # Ex. change amount of workers to 3 for 2GB RAM server |
191 | - sudo -u git -H vim config/puma.rb | 193 | + sudo -u git -H editor config/puma.rb |
192 | 194 | ||
193 | # Configure Git global settings for git user, useful when editing via web | 195 | # Configure Git global settings for git user, useful when editing via web |
194 | # Edit user.email according to what is set in gitlab.yml | 196 | # Edit user.email according to what is set in gitlab.yml |
@@ -214,7 +216,7 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup. | @@ -214,7 +216,7 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup. | ||
214 | # Change 'root' to 'gitlab' | 216 | # Change 'root' to 'gitlab' |
215 | # Change 'secure password' with the value you have given to $password | 217 | # Change 'secure password' with the value you have given to $password |
216 | # You can keep the double quotes around the password | 218 | # You can keep the double quotes around the password |
217 | - sudo -u git -H vim config/database.yml | 219 | + sudo -u git -H editor config/database.yml |
218 | 220 | ||
219 | # Make config/database.yml readable to git only | 221 | # Make config/database.yml readable to git only |
220 | sudo -u git -H chmod o-rwx config/database.yml | 222 | sudo -u git -H chmod o-rwx config/database.yml |
@@ -295,7 +297,7 @@ Make sure to edit the config file to match your setup: | @@ -295,7 +297,7 @@ Make sure to edit the config file to match your setup: | ||
295 | 297 | ||
296 | # Change YOUR_SERVER_FQDN to the fully-qualified | 298 | # Change YOUR_SERVER_FQDN to the fully-qualified |
297 | # domain name of your host serving GitLab. | 299 | # domain name of your host serving GitLab. |
298 | - sudo vim /etc/nginx/sites-available/gitlab | 300 | + sudo editor /etc/nginx/sites-available/gitlab |
299 | 301 | ||
300 | ## Restart | 302 | ## Restart |
301 | 303 |