summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Put authorized_keys.lock in the .ssh directoryJacob Vosmaer2014-05-301-1/+1
| | | |
* | | | Use lock file when add or remove keys from authorized_keys fileDmitriy Zaporozhets2014-04-181-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | This prevents concurrent modification of authorized_keys file Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Merge pull request #145 from lsjostro/fix_envJacob Vosmaer2014-04-111-1/+1
|\ \ \ \ | | | | | | | | | | Preserve LD_LIBRARY_PATH for Kernel::exec
| * | | | set LD_LIBRARY_PATH for Kernel::execLars Sjöström2014-03-261-1/+1
| |/ / /
* | | | Fix fatal: bad object 0000 when do new branch pushDmitriy Zaporozhets2014-04-031-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Make force push detection actually workDmitriy Zaporozhets2014-04-032-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | first setup to protect protected branched to force updatesSteven Thonus2014-03-252-2/+7
|/ / / | | | | | | | | | rebased for new code
* | | Pass tag name to update hook tooDmitriy Zaporozhets2014-03-201-6/+6
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Fix testsDmitriy Zaporozhets2014-03-191-2/+3
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Send api.allowed? request for both http and ssh pushDmitriy Zaporozhets2014-03-192-21/+22
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Add gitlab-keys batch-add-keysJacob Vosmaer2014-03-141-0/+18
| | | | | | | | | | | | | | | This command is intended to be called by the GitLab Rails code when restoring an application backup.
* | | Generate key_line in separate methodJacob Vosmaer2014-03-141-1/+5
| | |
* | | Add process wait for importDmitriy Zaporozhets2014-03-131-1/+3
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Dont import repo if existsDmitriy Zaporozhets2014-03-131-0/+3
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'import-timeout' into 'master'v1.8.3Dmitriy Zaporozhets2014-03-121-1/+19
|\ \ \ | | | | | | | | | | | | Import Timeout
| * | | Use KILL instead of TERMDmitriy Zaporozhets2014-03-121-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | Use Process spawnDmitriy Zaporozhets2014-03-121-2/+5
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | Add support for import repo timeoutDmitriy Zaporozhets2014-03-121-1/+16
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Explain why GitlabShell#exec_cmd has no testsJacob Vosmaer2014-03-121-0/+1
|/ / /
* | | Fix typo in Kernel::exec optionsJacob Vosmaer2014-03-121-1/+1
| | |
* | | Restrict env variables passed to git-xxx-packJacob Vosmaer2014-03-071-2/+2
| | |
* | | Make GitlabProjects#create_hooks a class methodJacob Vosmaer2014-02-261-9/+9
| | |
* | | Merge branch 'gitlab_keys_return_values' of ↵Dmitriy Zaporozhets2013-11-251-0/+3
|\ \ \ | | | | | | | | | | | | /home/git/repositories/gitlab/gitlab-shell
| * | | Fix return values in GitlabKeysJacob Vosmaer2013-11-201-0/+3
| | | |
* | | | Merge branch 'remove_open3' of /home/git/repositories/gitlab/gitlab-shellDmitriy Zaporozhets2013-11-212-2/+0
|\ \ \ \
| * | | | Remove unused open3 dependencyJacob Vosmaer2013-11-192-2/+0
| | | | |
* | | | | Removing extra space from the end of gitlab_update error messagesJonathan A. Sternberg2013-11-201-2/+2
| | | | |
* | | | | Display error and send failure exit status if redis-cli failsJonathan A. Sternberg2013-11-201-1/+4
| |/ / / |/| | | | | | | | | | | | | | | This should help prevent a misconfigured redis causing silent failures and fix issue #108.
* | | | Fix relative path detection for ssh://host:port/repo.gitDmitriy Zaporozhets2013-11-201-1/+3
|/ / / | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Escape repository pathDmitriy Zaporozhets2013-11-131-1/+9
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Bypass shell and use stdlib JSON for GitlabUpdateJacob Vosmaer2013-11-082-5/+7
| | |
* | | Separate options from arguments with --Jacob Vosmaer2013-11-071-4/+4
| | |
* | | Prevent update-head fail if branch not present in refs/headDmitriy Zaporozhets2013-11-061-5/+0
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'banish_shell_from_gitlab_keys' of ↵Dmitriy Zaporozhets2013-11-051-3/+8
|\ \ \ | | | | | | | | | | | | /home/git/repositories/gitlab/gitlab-shell
| * | | Use Ruby instead of the Bourne shellJacob Vosmaer2013-11-021-1/+1
| | | |
| * | | Remove sed invocation from GitlabKeysJacob Vosmaer2013-11-021-2/+7
| | | |
* | | | Remove chdirs from GitlabProjectsJacob Vosmaer2013-11-051-4/+4
|/ / /
* | | Bypass the shell in GitlabProjectsJacob Vosmaer2013-11-011-14/+14
| | |
* | | Refactor hook creation in GitlabProjectsJacob Vosmaer2013-11-011-14/+10
| | |
* | | Merge branch 'puts_instead_of_echo' of ↵Dmitriy Zaporozhets2013-10-311-3/+2
|\ \ \ | | | | | | | | | | | | /home/git/repositories/gitlab/gitlab-shell
| * | | Use Kernel#open to append lines to authorized_keysJacob Vosmaer2013-10-311-3/+2
| | |/ | |/|
* | | Version up to 1.7.2v1.7.2Dmitriy Zaporozhets2013-10-311-1/+1
| | |
* | | Execute command directly without using shellFrançois Bobot2013-09-161-8/+8
| |/ |/| | | | | use Shellwords.shellwords for splitting origin_cmd instead of .split(' ')
* | Merge branch 'master' of github.com:gitlabhq/gitlab-shellDmitriy Zaporozhets2013-08-262-2/+2
|\ \
| * | Fix typosJohannes Schleifenbaum2013-07-292-2/+2
| |/
* | Fix issue when developers are able to push to protected branchDmitriy Zaporozhets2013-08-261-1/+1
|/ | | | | When that branch contain a '/' in the branch name. Fix for git over ssh
* Remove empty post-receive hookJacob Vosmaer2013-07-191-4/+1
|
* Use Tempfile instead of `sed -i`Jacob Vosmaer2013-07-191-2/+5
| | | | | | The syntax for `sed -i` is incompatible between GNU sed and BSD sed. By Tempfile from the Ruby standard library we can avoid using the `-i` option of sed.
* Remove unused require statementJacob Vosmaer2013-07-191-1/+0
|
* Ability to clear authorized_keys fileDmitriy Zaporozhets2013-07-181-0/+5
|