119 Commits

Author SHA1 Message Date
Sameer Naik
212994dc5f moved UseDNS sshd configuration to install script 2014-08-30 13:17:54 +05:30
Sameer Naik
b90bad454d cleanup init script 2014-08-30 13:14:42 +05:30
Sameer Naik
98e5dabaf6 renamed nginx template gitlab.https.strict to gitlab-ssl 2014-08-30 13:04:37 +05:30
Sameer Naik
2dc5a61598 removed the gitlab.https.permission configuration template 2014-08-30 13:04:37 +05:30
Sameer Naik
0825f75e44 removed hack to disable secure sessions store when using a load balancer with ssl.
since commit 0c09fc846b29e2d07c5fcce6d551c631d63ab710 the hack to allow login over plain http when ssl is enabled is no longer required since the "proxy_set_header X-Forwarded-Proto" configuration is set to https.
2014-08-30 13:04:37 +05:30
Sameer Naik
96c964ed0d added NGINX_X_FORWARDED_PROTO configuration option 2014-08-30 13:04:37 +05:30
Sameer Naik
bab3ab1a7b removed the hack to make git over ssh
since commit 4966ffd2045a8405cd06365f6a2b24bbfc570958 the hack to make git over ssh work when the default http/https ports are not used is not required.
2014-08-30 13:04:35 +05:30
Sameer Naik
ba648a012b fix logic for copying user configurations 2014-08-29 23:07:04 +05:30
Sameer Naik
bf0b49e7f3 gitlab-shell: talk directly to unicorn worker, instead of going through nginx 2014-08-29 23:07:03 +05:30
Sameer Naik
9123824073 install the gitlab vhost to /etc/nginx/sites-enabled/ 2014-08-29 12:39:59 +05:30
Sameer Naik
0240531d7b added new SMTP_ENABLED configuration option. 2014-08-27 00:44:21 +05:30
Sameer Naik
f589fdac3c group nginx vhost config and relative root config codeblocks together 2014-08-26 01:17:51 +05:30
Sameer Naik
3d96888bd1 clean up GITLAB_RELATIVE_URL_ROOT code 2014-08-26 01:14:04 +05:30
Sameer Naik
bc430492c6 fix nginx static route handling when GITLAB_RELATIVE_URL_ROOT is used.
nginx was not configured correctly to handle static routes due to
which user uploaded files (in issues/wiki/avatar) were not being
displayed.

This issue was particularly visible when gitlab was configured to
use a relative url root.

This commit fixes the issue.
2014-08-26 00:41:10 +05:30
Sameer Naik
421018d563 fix relative root access without the trailing '/' character
if GITLAB_RELATIVE_URL_ROOT was configured (e.g. /gitlab), the application
was not accessible at http://git.local.host/gitlab. The trailing '/'
character was required.

This commit fixes the issue.
2014-08-26 00:25:41 +05:30
Sameer Naik
b8778c18d6 fix regression in sshd config introduced in efb421e7578b52fb970d3e6c7785a4e6dcad2342 2014-08-25 21:03:48 +05:30
Sameer Naik
efb421e757 defined macros for path variables 2014-08-25 19:53:27 +05:30
Devin Smith
d29f49c28c updated README.md, using OAUTH_GOOGLE_RESTRICT_DOMAIN instead of OAUTH_GOOGLE_HD 2014-08-23 12:02:54 -05:00
Devin Smith
dda73fc1e3 added google oauth hd config to allow for restricted domain. (see https://github.com/gitlabhq/gitlabhq/issues/1635) 2014-08-23 11:25:34 -05:00
Sameer Naik
1697f8d333 use spaces for indentation 2014-08-19 19:12:15 +05:30
Sameer Naik
730a02671a added OAUTH_BLOCK_AUTO_CREATED_USERS configuration option 2014-08-15 13:13:00 +05:30
Sameer Naik
e548a86e12 added OAUTH_ALLOW_SSO configuration option 2014-08-15 13:11:26 +05:30
Sameer Naik
d6d7ee82e0 added github oauth configuration support 2014-08-15 13:05:56 +05:30
Sameer Naik
61fbd092cd added twitter oauth configuration support 2014-08-15 13:01:52 +05:30
Sameer Naik
650294687e added support for google apps oauth, refer #111 2014-08-15 12:54:53 +05:30
Sameer Naik
b98abd5c19 added support for jira issue tracker 2014-08-15 00:18:54 +05:30
Sameer Naik
db3d4f7d86 added support for redmine issue tracker 2014-08-15 00:17:25 +05:30
John Jelinek IV
ad0b358d10 Fix #123 Set UseDNS to No in sshd_config 2014-08-13 23:12:46 -05:00
Sameer Naik
859ec18fe5 run gitlab init script as git user Closes #103 #74
When the /etc/init.d/gitlab script tries to switch the user to the `git` user, selinux steps in and blocks it. To avoid this we simple run the script as the `git` user using the `sudo -u git -H` command prefix.

In short the image should work with selinux enabled.
2014-07-26 13:24:22 +05:30
Sameer Naik
a7e578d693 added sanity checks for uploads directory 2014-07-22 20:29:33 +05:30
Sameer Naik
ef0a3392ca create of tmp/cache and tmp/public directories during migration 2014-07-22 20:20:01 +05:30
Sameer Naik
ce67d859fd added sanity checks for tmp directory 2014-07-22 20:18:12 +05:30
Sameer Naik
af6577c93f removed GITLAB_SUPPORT configuration option 2014-07-22 20:17:34 +05:30
Sameer Naik
545f8bcf53 set default email address to example@example.com 2014-07-22 20:16:11 +05:30
Sameer Naik
b55017c5db chmod /home/git/data directory. ref #34 2014-07-17 21:23:54 +05:30
Sameer Naik
ba155d4c47 do not assign a password for root since we do not allow root access
anymore
2014-07-01 22:50:53 +05:30
Sameer Naik
0ad14b8dd4 the 's' flag on files/directories apparently can only be changed by the owner (git), fixes #72 2014-06-19 11:41:16 +05:30
Sameer Naik
c4b6d1f1d3 sanitize: use permission commands as provided by gitlab:check command 2014-06-19 11:37:52 +05:30
Sameer Naik
196f81e6b2 init: fix permissions on gitlab-satellites directory 2014-06-19 11:34:45 +05:30
Sameer Naik
98ad28b5de init: cleanup 2014-06-18 12:57:07 +05:30
Sameer Naik
d33960f958 chown repositories and gitlab-satellites directories recursively in app:sanitize command 2014-06-17 22:08:44 +05:30
Sameer Naik
81ae8dff8c init: silence warning while install cron job 2014-06-17 21:18:22 +05:30
Sameer Naik
01cc2e1cae init: command cleanup 2014-06-17 21:15:39 +05:30
Sameer Naik
9f1b92b076 added GITLAB_RESTRICTED_VISIBILITY configuration option, closes #78 2014-06-17 21:13:19 +05:30
Sameer Naik
d433698b67 fix backup restore operation, closes #81 2014-06-14 21:09:53 +05:30
Sameer Naik
0743c4f53f init: set the DB_TYPE variable only if it has not already been set 2014-06-10 23:50:20 +05:30
Sameer Naik
63f0ef4c0a remove stale unicorn and sidekiq pid's 2014-06-09 09:40:44 +05:30
Sameer Naik
8f7ee0c908 init: moved startup of nginx to appStart function 2014-06-08 22:05:22 +05:30
Sameer Naik
64c7a892b7 rake: fix repositories and satellites directory permissions before executing gitlab:import:repos rake task. 2014-06-08 22:02:22 +05:30
Sameer Naik
d168cc5125 init: do not recursively update repositories and satellites derectories
permissions at startup.

The app:sanitize command can be used instead.
2014-06-08 21:51:15 +05:30