Commit 430562f3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'master' of https://github.com/gitlabhq/gitlabhq

parents f34f9a9e f7da04dc
...@@ -27,7 +27,7 @@ If a user is a GitLab administrator they receive all permissions. ...@@ -27,7 +27,7 @@ If a user is a GitLab administrator they receive all permissions.
|Remove protected branches| |||✓|✓| |Remove protected branches| |||✓|✓|
|Edit project| |||✓|✓| |Edit project| |||✓|✓|
|Add Deploy Keys to project| |||✓|✓| |Add Deploy Keys to project| |||✓|✓|
|Confiure Project Hooks| |||✓|✓| |Configure Project Hooks| |||✓|✓|
|Switch visibility level| ||||✓| |Switch visibility level| ||||✓|
|Transfer project to another namespace| ||||✓| |Transfer project to another namespace| ||||✓|
|Remove project| ||||✓| |Remove project| ||||✓|
......
...@@ -62,6 +62,7 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS ...@@ -62,6 +62,7 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS
# Update init.d script # Update init.d script
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
# Update the logrotate configuration (keep logs for 90 days instead of 52 weeks) # Update the logrotate configuration (keep logs for 90 days instead of 52 weeks)
sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
...@@ -92,19 +93,12 @@ If you are using HTTPS, disable gzip as in [this commit](https://gitlab.com/gitl ...@@ -92,19 +93,12 @@ If you are using HTTPS, disable gzip as in [this commit](https://gitlab.com/gitl
To improve performance, enable gzip asset compression as seen [in this commit](https://gitlab.com/gitlab-org/gitlab-ce/commit/8af94ed75505f0253823b9b2d44320fecea5b5fb). To improve performance, enable gzip asset compression as seen [in this commit](https://gitlab.com/gitlab-org/gitlab-ce/commit/8af94ed75505f0253823b9b2d44320fecea5b5fb).
### 6. Update Init script ### 6. Start application
```bash
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
```
### 7. Start application
sudo service gitlab start sudo service gitlab start
sudo service nginx restart sudo service nginx restart
### 8. Check application status ### 7. Check application status
Check if GitLab and its environment are configured correctly: Check if GitLab and its environment are configured correctly:
......
...@@ -44,7 +44,8 @@ module Gitlab ...@@ -44,7 +44,8 @@ module Gitlab
def users(field, value) def users(field, value)
if field.to_sym == :dn if field.to_sym == :dn
options = { options = {
base: value base: value,
scope: Net::LDAP::SearchScope_BaseObject
} }
else else
options = { options = {
......
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