- 10 Aug, 2016 6 commits
-
-
DJ Mountney authored
Also updated the gitlab_key tests to freeze the ARGV variables.
-
Robert Speicher authored
Update the keys permission check to open the file in write mode. That way the file is created if it does not exist. This will help simplify the check being running from omnibus. Currently we create the authorized_keys, file in omnibus. We want to instead have omnibus call check-permissions as the git user, to get around nfs root_squash issues with the authorized_keys file. See merge request !83
-
DJ Mountney authored
That way the file is created if it does not exist.
-
Robert Speicher authored
Defense in depth for authorized_keys lines Validate the key_id and public_key inputs when rendering the actual 'line' we append to authorized_keys. Although these inputs are either trusted (key_id) or validated earlier (public_key) it does not hurt to take a little extra care that we do not write unintended data to the authorized_keys file. See merge request !82
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
- 05 Aug, 2016 1 commit
-
-
Jacob Vosmaer authored
-
- 04 Aug, 2016 3 commits
-
-
Robert Speicher authored
Small improvements - refactor GitlabKey away - fix Redis check output See merge request !81
-
Jacob Vosmaer authored
It is not nice to have both 'GitlabKeys' and 'GitlabKey'. We also do not need GitlabKey to be a class when it has no state.
-
Jacob Vosmaer authored
-
- 03 Aug, 2016 3 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
Improve authorized_keys check The old check only looked if authorized_keys exists. With this change, we look whether we can actually open the file for reading and writing. When this fails we try to print useful diagnostic information. See merge request !79
-
Jacob Vosmaer authored
-
- 02 Aug, 2016 1 commit
-
-
Jacob Vosmaer authored
The old check only looked if authorized_keys exists. With this change, we look whether we can actually open the file for reading and writing. When this fails we try to print useful diagnostic information.
-
- 01 Aug, 2016 3 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
Manage authorized_keys permissions continuously We can lazily create authorized_keys and set its permissions. This adds negligible overhead and it allows us to remove a setup step from GitLab both on source and in omnibus-gitlab. See merge request !78
-
Jacob Vosmaer authored
We can lazily create authorized_keys and set its permissions. This adds negligible overhead and it allows us to remove a setup step from GitLab both on source and in omnibus-gitlab.
-
- 27 Jul, 2016 4 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer (GitLab) authored
Add command to move repositories between repository storages Necessary for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/533 /cc @pcarranza See merge request !71
-
Alejandro Rodríguez authored
Track ongoing pushes and reject mv-storage commands if there are push running (after waiting some time)
-
Alejandro Rodríguez authored
-
- 26 Jul, 2016 3 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
Merge branch '51-gitlab-project-s-fork_project-command-doesn-t-work-if-the-project-is-being-forked-to-another-storage' into 'master' Allow gitlab-project's fork-project command to fork projects between different repository storages Closes #51 See merge request !75
-
Alejandro Rodríguez authored
-
- 21 Jul, 2016 1 commit
-
-
Robert Speicher authored
Unset GL_ID and GL_PROTOCOL immediately Neither other code executing in the hook process nor subprocesses of the hook process need access to the GL_ID / GL_PROTOCOL variables so we can just unset them the moment we fetch them. See merge request !73
-
- 20 Jul, 2016 3 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
Neither other code executing in the hook process nor subprocesses of the hook process need access to the GL_ID / GL_PROTOCOL variables so we can just unset them the moment we fetch them.
-
- 06 Jul, 2016 3 commits
-
-
Stan Hu authored
Add an error message when using shell commands with incompatible GitLab versions Closes #48 See merge request !70
-
Alejandro Rodríguez authored
-
Douwe Maan authored
Allow GitLab Shell to check for allowed access based on the used Git protocol. Needed for gitlab-org/gitlab-ce!4696 and gitlab-org/gitlab-ce#18601 See merge request !62
-
- 05 Jul, 2016 9 commits
-
-
Patricio Cano authored
-
Patricio Cano authored
-
Patricio Cano authored
-
Patricio Cano authored
-
Patricio Cano authored
-
Patricio Cano authored
-
Patricio Cano authored
-
Stan Hu authored
Remove hound config Since we moved to gitlab.com we don't use Hound CI anymore. Instead we have rubocop. See merge request !69
-
Robert Schilling authored
-