Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle broken symlinks in create-hookscreate-hooks-broken-symlink | Jacob Vosmaer | 2015-08-12 | 1 | -0/+45 |
| | | | | | | | If a repository contained a broken symlink named 'hooks', this would raise ENOENT in lib/gitlab_projects.rb, which got ignored in bin/create-hooks. This commit fixes that by making sure we handle broken symlinks in lib/gitlab_projects.rb. | ||||
* | Remove keys from authorized_keys in-place | Jacob Vosmaer | 2015-07-16 | 1 | -3/+5 |
| | | | | | | This will speed up the rm-key operation. The downside is that authorized_keys will not shrink when you remove a key. If this ever becomes a problem it can be fixed by running 'rake gitlab:shell:setup'. | ||||
* | Update GitlabShell tests.gl-id-refactor | Douwe Maan | 2015-04-06 | 1 | -25/+22 |
| | |||||
* | Move setting/unsetting of GL_ID from lib to executables. | Douwe Maan | 2015-04-06 | 1 | -8/+0 |
| | |||||
* | Write GitlabShell error to stderr.nice-error-message | Douwe Maan | 2015-04-06 | 1 | -1/+1 |
| | |||||
* | Prevent character encoding issues by sending received changes as raw data. | Douwe Maan | 2015-03-15 | 1 | -3/+5 |
| | |||||
* | Stub repo path for tests | Dmitriy Zaporozhets | 2015-03-04 | 1 | -0/+1 |
| | |||||
* | Add tests. | Douwe Maan | 2015-02-23 | 1 | -7/+76 |
| | |||||
* | Improve broadcast message logicv2.5.1 | Dmitriy Zaporozhets | 2015-02-18 | 2 | -4/+4 |
| | | | | | Expect broadcast message API endpoint to return 200 with empty JSON if no broadcast messages available | ||||
* | Disable git-annex by default | Dmitriy Zaporozhets | 2015-02-16 | 1 | -1/+7 |
| | |||||
* | Add more git-annex tests | Dmitriy Zaporozhets | 2015-02-16 | 1 | -1/+9 |
| | |||||
* | Enable git-annex on first command | Dmitriy Zaporozhets | 2015-02-13 | 1 | -24/+58 |
| | |||||
* | Log full Net::HTTP error. | Douwe Maan | 2015-02-12 | 1 | -5/+0 |
| | |||||
* | Show nice error message when internal API is unreachable. | Douwe Maan | 2015-02-11 | 3 | -4/+85 |
| | |||||
* | Refactor: Remove #tap for readability and performance and DRY up get/post. | Douwe Maan | 2015-02-11 | 1 | -1/+2 |
| | |||||
* | Print broadcast message if one is available. | Douwe Maan | 2015-02-09 | 4 | -0/+99 |
| | |||||
* | Revert "Revert "Merge branch 'git_hook_messages'"" | Valery Sizov | 2014-11-24 | 7 | -23/+25 |
| | | | | This reverts commit f8453da5868dd7a23d0f2f3da7a45e33c441d1db. | ||||
* | Revert "Merge branch 'git_hook_messages'" | Jacob Vosmaer | 2014-11-20 | 7 | -25/+23 |
| | | | | | | | | | | 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 | 7 | -23/+25 |
| | |||||
* | Merge pull request #177 from feedhenry/keys_list | Dmitriy Zaporozhets | 2014-10-28 | 1 | -0/+13 |
|\ | | | | | Added list-keys command, with associated spec | ||||
| * | Added list-keys command and spec | David Martin | 2014-10-15 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed puts and tidied up regex Address the hound Address the hound, again Use single quotes Add back travis.yml file Remove travis.yml, only keep on fh-master Use single quotes Use single quotes | ||||
* | | Merge pull request #179 from feedhenry/projects_list | Dmitriy Zaporozhets | 2014-10-28 | 1 | -0/+16 |
|\ \ | | | | | | | Added list-projects command & spec | ||||
| * | | Added list-projects command & spec | David Martin | 2014-10-15 | 1 | -0/+16 |
| |/ | | | | | | | | | | | | | | | | | | | list-projects command usage Single quotes Use single quotes Use single quotes | ||||
* | | Fix indentation | Dmitriy Zaporozhets | 2014-10-20 | 1 | -4/+4 |
| | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | add secret token | Valery Sizov | 2014-10-15 | 8 | -7/+29 |
|/ | |||||
* | Add coveralls support properly | Dmitriy Zaporozhets | 2014-09-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Fix tests | Dmitriy Zaporozhets | 2014-09-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Improve gitlab config tests | Dmitriy Zaporozhets | 2014-09-16 | 1 | -5/+11 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Improve config specs so they dont rely on config.yml | Dmitriy Zaporozhets | 2014-09-16 | 1 | -13/+20 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | support using custom redis database, fixes #173 | Tao | 2014-09-13 | 1 | -0/+1 |
| | |||||
* | Merge pull request #161 from Aigeruth/fix/gitlab_config_spec | Dmitriy Zaporozhets | 2014-09-11 | 1 | -2/+4 |
|\ | | | | | Fix spec for GitlabConfig.gitlab_url. | ||||
| * | Fix spec for GitlabConfig.gitlab_url. | Gabor Nagy | 2014-07-06 | 1 | -2/+4 |
| | | |||||
* | | Rebuild vcr cassettes | Dmitriy Zaporozhets | 2014-09-03 | 7 | -45/+55 |
| | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | Update GitlabNet to match new logic | Dmitriy Zaporozhets | 2014-09-01 | 8 | -46/+49 |
| | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | Remove update hook logic | Dmitriy Zaporozhets | 2014-09-01 | 3 | -27/+3 |
| | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | Add tests for GitlabPostReceive | Dmitriy Zaporozhets | 2014-09-01 | 2 | -1/+20 |
| | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | GitlabAccess and GitlabPostReceive classes added | Dmitriy Zaporozhets | 2014-09-01 | 1 | -0/+18 |
| | | | | | | | | | | | | Gitlab Access handles security check. GitlabPostReceive creates a sidekiq job Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | 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> |