Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Handle invalid number of arguments | Jacob Vosmaer | 2014-08-27 | 1 | -0/+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 | |
| | | ||||||
* | | Fix invalid repo_name/repo_path parsing by GitlabUpdate | Dmitriy Zaporozhets | 2014-08-13 | 2 | -0/+43 | |
| | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | | Need to set config for user.name and user.email before creating the ↵ | Sean Edge | 2014-07-12 | 1 | -2/+2 | |
| | | | | | | | | annotated tag. | |||||
* | | Hopefully fixing broken CI build by setting user.name and user.email on the ↵ | Sean Edge | 2014-07-11 | 1 | -0/+3 | |
| | | | | | | | | temporary repo. | |||||
* | | Adding support+tests for annotated tags. | Sean Edge | 2014-07-09 | 1 | -7/+26 | |
|/ | ||||||
* | Fix tests | Dmitriy Zaporozhets | 2014-07-04 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #159 from Aigeruth/improvement/simplecov | Dmitriy Zaporozhets | 2014-07-04 | 1 | -0/+3 | |
|\ | | | | | Use simplecov for development. | |||||
| * | Use simplecov for development. | Gabor Nagy | 2014-06-24 | 1 | -0/+3 | |
| | | ||||||
* | | Improve coverage. | Gabor Nagy | 2014-06-23 | 7 | -0/+246 | |
|/ | ||||||
* | Create keys fixtures in test | Dmitriy Zaporozhets | 2014-05-31 | 1 | -0/+1 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Put authorized_keys.lock in the .ssh directory | Jacob Vosmaer | 2014-05-30 | 1 | -1/+12 | |
| | ||||||
* | Use lock file when add or remove keys from authorized_keys file | Dmitriy Zaporozhets | 2014-04-18 | 1 | -0/+36 | |
| | | | | | | This prevents concurrent modification of authorized_keys file Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Invoke IO.popen correctly for Ruby 1.9.3 | Jacob Vosmaer | 2014-04-15 | 1 | -1/+1 | |
| | | | | | Before this change, tests in gitlab_projects_spec were passing on Ruby 2.0.0 but not on 1.9.3. | |||||
* | Fix tests | Dmitriy Zaporozhets | 2014-04-14 | 8 | -126/+66 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Add gitlab-keys batch-add-keys | Jacob Vosmaer | 2014-03-14 | 1 | -0/+42 | |
| | | | | | This command is intended to be called by the GitLab Rails code when restoring an application backup. | |||||
* | Dont import repo if exists | Dmitriy Zaporozhets | 2014-03-13 | 1 | -0/+9 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Use large repo instead one with prompt | Dmitriy Zaporozhets | 2014-03-12 | 1 | -2/+2 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | change seed repo | Dmitriy Zaporozhets | 2014-03-12 | 1 | -2/+2 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Add support for import repo timeout | Dmitriy Zaporozhets | 2014-03-12 | 1 | -8/+29 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Use less shell commands in gitlab_projects_spec.rb | Jacob Vosmaer | 2014-03-07 | 1 | -2/+2 | |
| | ||||||
* | Use IO.popen instead of Kernel#` to read refs | Jacob Vosmaer | 2014-03-07 | 1 | -8/+12 | |
| | ||||||
* | Make GitlabProjects#create_hooks a class method | Jacob Vosmaer | 2014-02-26 | 1 | -2/+2 | |
| | ||||||
* | Stub file writing in tests | Jacob Vosmaer | 2013-11-25 | 1 | -6/+11 | |
| | ||||||
* | Fix return values in GitlabKeys | Jacob Vosmaer | 2013-11-20 | 1 | -4/+23 | |
| | ||||||
* | Refactor file writing tests | Jacob Vosmaer | 2013-11-20 | 1 | -33/+34 | |
| | ||||||
* | More file writing tests for GitlabKeys | Jacob Vosmaer | 2013-11-05 | 1 | -27/+33 | |
| | ||||||
* | Remove sed invocation from GitlabKeys | Jacob Vosmaer | 2013-11-02 | 1 | -5/+10 | |
| | ||||||
* | Bypass the shell in GitlabProjects | Jacob Vosmaer | 2013-11-01 | 1 | -2/+2 | |
| | ||||||
* | Refactor hook creation in GitlabProjects | Jacob Vosmaer | 2013-11-01 | 1 | -2/+3 | |
| | ||||||
* | Merge branch 'puts_instead_of_echo' of ↵ | Dmitriy Zaporozhets | 2013-10-31 | 1 | -2/+5 | |
|\ | | | | | | | /home/git/repositories/gitlab/gitlab-shell | |||||
| * | Use Kernel#open to append lines to authorized_keys | Jacob Vosmaer | 2013-10-31 | 1 | -2/+5 | |
| | | ||||||
* | | Execute command directly without using shell | François Bobot | 2013-09-16 | 1 | -2/+2 | |
|/ | | | | use Shellwords.shellwords for splitting origin_cmd instead of .split(' ') | |||||
* | Remove empty post-receive hook | Jacob Vosmaer | 2013-07-19 | 1 | -2/+0 | |
| | ||||||
* | Use Tempfile instead of `sed -i` | Jacob Vosmaer | 2013-07-19 | 1 | -1/+4 | |
| | | | | | | 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. | |||||
* | Merge pull request #69 from ↵ | Dmitriy Zaporozhets | 2013-07-08 | 1 | -0/+68 | |
|\ | | | | | | | | | thomasbiddle/support_adding_and_removing_branches_and_tags Support adding and removing branches and tags | |||||
| * | Adding tests for the addition of create-branch, create-tag, rm-branch, rm-tag | TJ Biddle | 2013-06-20 | 1 | -0/+68 | |
| | | | | | | | | | | The previous commit has the code addition to support adding and removing branches and tags in a repository - This commit ensures basic test cases are supported. | |||||
* | | Update head feature | Dmitriy Zaporozhets | 2013-06-10 | 1 | -0/+21 | |
| | | ||||||
* | | Allow administrators to log users by key id (faster) or by username (clearer). | ash | 2013-05-18 | 1 | -2/+9 | |
| | | ||||||
* | | Use :warn instead of :error for invalid commands. | ash | 2013-05-18 | 2 | -4/+4 | |
| | | ||||||
* | | Specs for logging in gitlab-shell. | ash | 2013-05-18 | 1 | -0/+26 | |
| | | ||||||
* | | Specs for logging during failure cases of fork-project. | ash | 2013-05-18 | 1 | -1/+15 | |
| | | ||||||
* | | Specifications for the 'bad paths' in mv-projects, and logging. | ash | 2013-05-18 | 1 | -0/+20 | |
| | | ||||||
* | | Add logging specs for gitlab-keys. | ash | 2013-05-17 | 1 | -0/+21 | |
| | | ||||||
* | | Specs for logging in gitlab_projects. | ash | 2013-05-17 | 1 | -1/+40 | |
|/ | ||||||
* | Fix tests and version up to 1.4.0v1.4.0 | Dmitriy Zaporozhets | 2013-04-30 | 1 | -1/+1 | |
| | ||||||
* | improve tests for forking from namespaces | Angus MacArthur | 2013-04-16 | 1 | -5/+5 | |
| | | | | Change-Id: I0c343c03ee3f033641f9958030ac57d92296547d | |||||
* | additional fork check and enhanced tests | Angus MacArthur | 2013-04-16 | 1 | -6/+17 | |
| | ||||||
* | more fixes for pull reuest | Angus MacArthur | 2013-04-16 | 1 | -2/+2 | |
| | | | | Change-Id: I1b3d64d79187c414e326928a96427d1cc6176224 | |||||
* | fork fixes for upstream pull | Angus MacArthur | 2013-04-16 | 1 | -3/+10 | |
| | | | | Change-Id: Ia48a93ccbfea6fdc0791ce25cf3e6291bfe7fa08 |