Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Write GitlabShell error to stderr.nice-error-message | Douwe Maan | 2015-04-06 | 1 | -18/+30 |
| | |||||
* | Write GitlabAccess error to stderr. | Douwe Maan | 2015-04-06 | 1 | -11/+10 |
| | |||||
* | Prevent character encoding issues by sending received changes as raw data. | Douwe Maan | 2015-03-15 | 1 | -1/+5 |
| | |||||
* | Fix post-receive broadcast message | Dmitriy Zaporozhets | 2015-03-04 | 1 | -1/+1 |
| | |||||
* | Enable rubocop rule | Dmitriy Zaporozhets | 2015-03-02 | 2 | -3/+3 |
| | |||||
* | Correct spelling: Symlinking is short for symbolic linking | Petrik de Heus | 2015-02-27 | 1 | -1/+1 |
| | |||||
* | Add tests. | Douwe Maan | 2015-02-23 | 1 | -2/+2 |
| | |||||
* | Return true from GitlabPostReceive to ensure custom hooks run. | Douwe Maan | 2015-02-23 | 1 | -1/+3 |
| | |||||
* | 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 |
| | |||||
* | Improve broadcast message logicv2.5.1 | Dmitriy Zaporozhets | 2015-02-18 | 2 | -8/+6 |
| | | | | | Expect broadcast message API endpoint to return 200 with empty JSON if no broadcast messages available | ||||
* | 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 | 3 | -10/+10 |
| | |||||
* | Disable git-annex by default | Dmitriy Zaporozhets | 2015-02-16 | 1 | -1/+1 |
| | |||||
* | Add config option to disable git-annex | Dmitriy Zaporozhets | 2015-02-16 | 2 | -4/+8 |
| | |||||
* | Enable git-annex on first command | Dmitriy Zaporozhets | 2015-02-13 | 2 | -14/+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 | 4 | -65/+79 |
|\ | | | | | | | | | Conflicts: lib/gitlab_shell.rb | ||||
| * | Log full Net::HTTP error. | Douwe Maan | 2015-02-12 | 2 | -2/+2 |
| | | |||||
| * | Show nice error message when internal API is unreachable. | Douwe Maan | 2015-02-11 | 4 | -23/+39 |
| | | |||||
| * | Refactor: Remove #tap for readability and performance and DRY up get/post. | Douwe Maan | 2015-02-11 | 1 | -40/+40 |
| | | |||||
* | | Enable git-annex validate access | GitLab | 2015-02-12 | 2 | -6/+10 |
| | | |||||
* | | Patch gitlab-shell to work with git-annex-shell | Dmitriy Zaporozhets | 2015-02-11 | 1 | -6/+38 |
|/ | |||||
* | Print broadcast message if one is available. | Douwe Maan | 2015-02-09 | 2 | -0/+50 |
| | |||||
* | Fix gitlab-shell access for any kind of branchv2.4.2 | Dmitriy Zaporozhets | 2015-01-28 | 1 | -1/+2 |
| | |||||
* | Join changes in GitlabNet library | Dmitriy Zaporozhets | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Return true if no action was needed during create_hooks. Log to logger ↵ | Marin Jankovski | 2015-01-16 | 1 | -1/+6 |
| | | | | actions taken. | ||||
* | Merge branch 'master' of github.com:gitlabhq/gitlab-shellv2.4.1 | Dmitriy Zaporozhets | 2015-01-13 | 1 | -1/+1 |
|\ | |||||
| * | double quotes to single quotes | Christian González | 2015-01-02 | 1 | -1/+1 |
| | | |||||
| * | typo in message: "accesible" -> "accessible" | Christian González | 2015-01-01 | 1 | -1/+1 |
| | | |||||
* | | masking access_token from url for logging | Valery Sizov | 2015-01-13 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #197 from dblessing/fix/custom_hook_output | Jacob Vosmaer | 2014-11-26 | 1 | -3/+3 |
|\ | | | | | Fix custom hook output | ||||
| * | Fix custom hook output and return values | Drew Blessing | 2014-11-18 | 1 | -3/+3 |
| | | |||||
* | | Add missing 'require_relative' in gitlab_net.rb | Jacob Vosmaer | 2014-11-25 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this 'require' statement, you get the following error: ``` $ git ls-remote origin /home/git/gitlab-shell/lib/gitlab_net.rb:30:in `check_access': uninitialized constant GitlabNet::GitAccessStatus (NameError) from /home/git/gitlab-shell/lib/gitlab_shell.rb:63:in `validate_access' from /home/git/gitlab-shell/lib/gitlab_shell.rb:24:in `exec' from /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>' fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` | ||||
* | | Revert "Revert "Merge branch 'git_hook_messages'"" | Valery Sizov | 2014-11-24 | 4 | -7/+33 |
| | | | | | | | | This reverts commit f8453da5868dd7a23d0f2f3da7a45e33c441d1db. | ||||
* | | Revert "Merge branch 'git_hook_messages'" | Jacob Vosmaer | 2014-11-20 | 4 | -33/+7 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge branch 'git_hook_messages' | Dmitriy Zaporozhets | 2014-11-19 | 4 | -7/+33 |
|\ \ | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: VERSION | ||||
| * | | Show error message when git access is rejected | Valery Sizov | 2014-11-14 | 4 | -7/+33 |
| |/ | |||||
* | | Merge pull request #193 from cirosantilli/tag-branch-rm-double-dash | Dmitriy Zaporozhets | 2014-11-18 | 1 | -2/+2 |
|\ \ | |/ |/| | Delete tags and branches that start with hyphen | ||||
| * | Delete tags and branches that start with hyphen | Ciro Santilli | 2014-10-31 | 1 | -2/+2 |
| | | |||||
* | | Fix the calls to pre- and post-receive custom hooks | jkbzh | 2014-11-06 | 1 | -14/+41 |
| | | | | | | | | | | | | - Reset G_ID if the custom pre-receive hook fails - Use a pipe to feed stdin to the custom pre- and post-receive hooks, in the same way that the standalone git works | ||||
* | | Support for custom hooks | Drew Blessing | 2014-11-05 | 3 | -3/+48 |
|/ | |||||
* | using true instead of 1 | jose | 2014-10-30 | 1 | -1/+1 |
| | |||||
* | The gitlab pre-receive hook expects the call to exec to return 1 | jose | 2014-10-30 | 1 | -1/+1 |
| | | | | | | | | | when a user has access. Doing an exit 0 effectively ended the thread. No code would be executed after the call to exec. This changes fixes the problem for the pre-receive hooks but you want to check that GitlabAccess.exec is not used elsewhere. A quick grep of the code seems to indicate this is not the case | ||||
* | 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 | ||||
* | | Merge pull request #177 from feedhenry/keys_list | Dmitriy Zaporozhets | 2014-10-28 | 1 | -0/+14 |
|\ \ | | | | | | | Added list-keys command, with associated spec | ||||
| * | | Added list-keys command and spec | David Martin | 2014-10-15 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |