Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add comment about untrusted origin_cmdstricter-exec_cmd | Jacob Vosmaer | 2015-11-26 | 1 | -0/+3 |
| | |||||
* | Limit availability of SSH_ORIGINAL_COMMAND | Jacob Vosmaer | 2015-11-25 | 1 | -12/+10 |
| | | | | | Hoping this makes it more obvious when code touches the very unsafe contents of this variable. | ||||
* | Disallow execing strings | Jacob Vosmaer | 2015-11-25 | 1 | -0/+7 |
| | | | | Passing strings to Kernel::exec leads to remote code execution. | ||||
* | Revert "Run git-lfs-authenticate script with original command line arguments" | Dmitriy Zaporozhets | 2015-11-25 | 1 | -2/+0 |
| | | | | | | This reverts commit 8449979ff029af51be0c675c5b6262bc4adc8b3d. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-shell into ↵ | Jacob Vosmaer | 2015-10-01 | 1 | -0/+3 |
|\ | | | | | | | no-init-on-gcryptsetup | ||||
| * | Merge branch 'bozaro/gitlab-shell-git-lfs-authenticate' | Dmitriy Zaporozhets | 2015-09-10 | 1 | -0/+2 |
| |\ | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
| | * | Run git-lfs-authenticate script with original command line arguments | Artem V. Navrotskiy | 2015-09-09 | 1 | -0/+2 |
| | | | |||||
| * | | Do not clean LANG environment variable for the git hooks when working ↵ | Artem V. Navrotskiy | 2015-09-09 | 1 | -0/+1 |
| |/ | | | | | | | | | | | through the SSH-protocol When cleaning this environment variable can be problems with the processing of non-ASCII data | ||||
* | | Skip 'git annex init' when using 'gcryptsetup'no-init-on-gcryptsetup | Jacob Vosmaer | 2015-08-11 | 1 | -1/+6 |
|/ | | | | | 'gcryptsetup' is a special git-annex feature that does its own initialization. | ||||
* | If git-annex is enabled set GIT_ANNEX_SHELL_LIMITED variable.git_annex_env_variable | Marin Jankovski | 2015-07-16 | 1 | -1/+11 |
| | |||||
* | Add git-lfs-authenticate to command white list | Artem V. Navrotskiy | 2015-06-29 | 1 | -3/+16 |
| | |||||
* | Refactor GitlabShell#exec a bit. | Douwe Maan | 2015-04-06 | 1 | -7/+9 |
| | |||||
* | GitlabShell doesn't need to set GL_ID at all. | Douwe Maan | 2015-04-06 | 1 | -5/+4 |
| | |||||
* | Write GitlabShell error to stderr.nice-error-message | Douwe Maan | 2015-04-06 | 1 | -18/+30 |
| | |||||
* | Fail early on invalid input (raise ... unless ...) | Jacob Vosmaer | 2015-02-20 | 1 | -34/+28 |
| | | | | | This intention of this change is to make the normal flow of execution easier to read, and to prevent mistakes in deeply nested if-else trees. | ||||
* | Immediatly raise exception if git-annex is disabled | Dmitriy Zaporozhets | 2015-02-19 | 1 | -17/+25 |
| | |||||
* | Safer line sub for git-annex commandv2.5.2 | Dmitriy Zaporozhets | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | Fix syntax of git init command | Dmitriy Zaporozhets | 2015-02-17 | 1 | -1/+1 |
| | |||||
* | Fix git-annex init repo | Dmitriy Zaporozhets | 2015-02-17 | 1 | -3/+3 |
| | |||||
* | Make fixes to pass rubocop | Dmitriy Zaporozhets | 2015-02-16 | 1 | -1/+1 |
| | |||||
* | Add config option to disable git-annex | Dmitriy Zaporozhets | 2015-02-16 | 1 | -4/+4 |
| | |||||
* | Enable git-annex on first command | Dmitriy Zaporozhets | 2015-02-13 | 1 | -9/+14 |
| | |||||
* | Improve logging for git-annex | Dmitriy Zaporozhets | 2015-02-12 | 1 | -1/+4 |
| | |||||
* | Merge branch 'master' into git-annex | Dmitriy Zaporozhets | 2015-02-12 | 1 | -14/+12 |
|\ | | | | | | | | | Conflicts: lib/gitlab_shell.rb | ||||
| * | Log full Net::HTTP error. | Douwe Maan | 2015-02-12 | 1 | -1/+0 |
| | | |||||
| * | Show nice error message when internal API is unreachable. | Douwe Maan | 2015-02-11 | 1 | -11/+12 |
| | | |||||
* | | Enable git-annex validate access | GitLab | 2015-02-12 | 1 | -6/+5 |
| | | |||||
* | | Patch gitlab-shell to work with git-annex-shell | Dmitriy Zaporozhets | 2015-02-11 | 1 | -6/+38 |
|/ | |||||
* | Revert "Revert "Merge branch 'git_hook_messages'"" | Valery Sizov | 2014-11-24 | 1 | -1/+1 |
| | | | | This reverts commit f8453da5868dd7a23d0f2f3da7a45e33c441d1db. | ||||
* | Revert "Merge branch 'git_hook_messages'" | Jacob Vosmaer | 2014-11-20 | 1 | -1/+1 |
| | | | | | | | | | | At least the following things were broken: - missing require for 'gitlab_access_status' in lib/gitlab_net.rb - gitlabhq master internal API returns 'true' or 'false', gitlab-shell expects JSON This reverts commit 11311a95545f967a5736cd16ab5fc37f7e658519, reversing changes made to 45444597aef3e434571de2491934ae92357ad231. | ||||
* | Show error message when git access is rejected | Valery Sizov | 2014-11-14 | 1 | -1/+1 |
| | |||||
* | Merge pull request #81 from corny/patch-1 | Dmitriy Zaporozhets | 2014-10-28 | 1 | -3/+1 |
|\ | | | | | avoid @user_tried | ||||
| * | Update gitlab_shell.rb | Julian K. | 2013-08-07 | 1 | -3/+1 |
| | | | | | | using instance_variable_defined to avoid @user_tried | ||||
* | | Use a different style of one-line classes | Jacob Vosmaer | 2014-08-27 | 1 | -1/+1 |
| | | |||||
* | | Handle invalid number of arguments | Jacob Vosmaer | 2014-08-27 | 1 | -3/+8 |
| | | | | | | | | | | | | | | When a remote user with a valid SSH key runs something like 'ssh git@gitlab.example.com foobar', gitlab-shell would raise an exception in the GitlabShell#escape_path method. With this change, we catch an invalid number of arguments as soon as possible and exit. | ||||
* | | use abort isntead of raise when checking path | Job van der Voort | 2014-08-27 | 1 | -1/+1 |
| | | |||||
* | | set LD_LIBRARY_PATH for Kernel::exec | Lars Sjöström | 2014-03-26 | 1 | -1/+1 |
| | | |||||
* | | Explain why GitlabShell#exec_cmd has no tests | Jacob Vosmaer | 2014-03-12 | 1 | -0/+1 |
| | | |||||
* | | Fix typo in Kernel::exec options | Jacob Vosmaer | 2014-03-12 | 1 | -1/+1 |
| | | |||||
* | | Restrict env variables passed to git-xxx-pack | Jacob Vosmaer | 2014-03-07 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'remove_open3' of /home/git/repositories/gitlab/gitlab-shell | Dmitriy Zaporozhets | 2013-11-21 | 1 | -1/+0 |
|\ \ | |||||
| * | | Remove unused open3 dependency | Jacob Vosmaer | 2013-11-19 | 1 | -1/+0 |
| | | | |||||
* | | | Fix relative path detection for ssh://host:port/repo.git | Dmitriy Zaporozhets | 2013-11-20 | 1 | -1/+3 |
|/ / | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | Escape repository path | Dmitriy Zaporozhets | 2013-11-13 | 1 | -1/+9 |
| | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | Version up to 1.7.2v1.7.2 | Dmitriy Zaporozhets | 2013-10-31 | 1 | -1/+1 |
| | | |||||
* | | Execute command directly without using shell | François Bobot | 2013-09-16 | 1 | -8/+8 |
|/ | | | | use Shellwords.shellwords for splitting origin_cmd instead of .split(' ') | ||||
* | Merge pull request #56 from smashwilson/36-logger | Dmitriy Zaporozhets | 2013-06-10 | 1 | -4/+32 |
|\ | | | | | Logger | ||||
| * | Show an 'access denied' message on stderr. | ash | 2013-05-18 | 1 | -0/+1 |
| | | |||||
| * | Allow administrators to log users by key id (faster) or by username (clearer). | ash | 2013-05-18 | 1 | -8/+26 |
| | | |||||
| * | Logging throughout gitlab-shell. | ash | 2013-05-18 | 1 | -1/+10 |
| | |