summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* If git-annex is enabled set GIT_ANNEX_SHELL_LIMITED variable.git_annex_env_variableMarin Jankovski2015-07-161-1/+11
|
* Add git-lfs-authenticate to command white listArtem V. Navrotskiy2015-06-291-3/+16
|
* Prevent keys with a very specific comment from accidentally being deleted.Douwe Maan2015-04-141-2/+6
|
* Merge branch 'list-ecdsa' into 'master'Dmitriy Zaporozhets2015-04-131-1/+1
|\ | | | | | | | | | | | | | | Include ecdsa keys in `gitlab_keys list-keys`. Addresses internal issue https://dev.gitlab.org/gitlab/gitlab-shell/issues/31. See merge request !12
| * Include ecdsa keys in `gitlab_keys list-keys`.list-ecdsaDouwe Maan2015-04-101-1/+1
| |
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-shellDmitriy Zaporozhets2015-04-133-24/+18
|\ \
| * | Refactor GitlabShell#exec a bit.Douwe Maan2015-04-061-7/+9
| | |
| * | GitlabShell doesn't need to set GL_ID at all.Douwe Maan2015-04-061-5/+4
| | |
| * | Move setting/unsetting of GL_ID from lib to executables.Douwe Maan2015-04-062-12/+5
| |/
* | Merge pull request #212 from jirutka/patch-1Dmitriy Zaporozhets2015-04-102-1/+5
|\ \ | |/ |/| Allow to configure location of the secret file
| * Allow to configure location of the secret fileJakub Jirutka2015-02-082-1/+5
| |
* | Write GitlabShell error to stderr.nice-error-messageDouwe Maan2015-04-061-18/+30
| |
* | Write GitlabAccess error to stderr.Douwe Maan2015-04-061-11/+10
| |
* | Prevent character encoding issues by sending received changes as raw data.Douwe Maan2015-03-151-1/+5
| |
* | Fix post-receive broadcast messageDmitriy Zaporozhets2015-03-041-1/+1
| |
* | Enable rubocop ruleDmitriy Zaporozhets2015-03-022-3/+3
| |
* | Correct spelling: Symlinking is short for symbolic linkingPetrik de Heus2015-02-271-1/+1
| |
* | Add tests.Douwe Maan2015-02-231-2/+2
| |
* | Return true from GitlabPostReceive to ensure custom hooks run.Douwe Maan2015-02-231-1/+3
| |
* | Fail early on invalid input (raise ... unless ...)Jacob Vosmaer2015-02-201-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 disabledDmitriy Zaporozhets2015-02-191-17/+25
| |
* | Safer line sub for git-annex commandv2.5.2Dmitriy Zaporozhets2015-02-181-1/+1
| |
* | Improve broadcast message logicv2.5.1Dmitriy Zaporozhets2015-02-182-8/+6
| | | | | | | | | | Expect broadcast message API endpoint to return 200 with empty JSON if no broadcast messages available
* | Fix syntax of git init commandDmitriy Zaporozhets2015-02-171-1/+1
| |
* | Fix git-annex init repoDmitriy Zaporozhets2015-02-171-3/+3
| |
* | Make fixes to pass rubocopDmitriy Zaporozhets2015-02-163-10/+10
| |
* | Disable git-annex by defaultDmitriy Zaporozhets2015-02-161-1/+1
| |
* | Add config option to disable git-annexDmitriy Zaporozhets2015-02-162-4/+8
| |
* | Enable git-annex on first commandDmitriy Zaporozhets2015-02-132-14/+14
| |
* | Improve logging for git-annexDmitriy Zaporozhets2015-02-121-1/+4
| |
* | Merge branch 'master' into git-annexDmitriy Zaporozhets2015-02-124-65/+79
|\ \ | | | | | | | | | | | | Conflicts: lib/gitlab_shell.rb
| * | Log full Net::HTTP error.Douwe Maan2015-02-122-2/+2
| | |
| * | Show nice error message when internal API is unreachable.Douwe Maan2015-02-114-23/+39
| | |
| * | Refactor: Remove #tap for readability and performance and DRY up get/post.Douwe Maan2015-02-111-40/+40
| | |
* | | Enable git-annex validate accessGitLab2015-02-122-6/+10
| | |
* | | Patch gitlab-shell to work with git-annex-shellDmitriy Zaporozhets2015-02-111-6/+38
|/ /
* | Print broadcast message if one is available.Douwe Maan2015-02-092-0/+50
|/
* Fix gitlab-shell access for any kind of branchv2.4.2Dmitriy Zaporozhets2015-01-281-1/+2
|
* Join changes in GitlabNet libraryDmitriy Zaporozhets2015-01-281-1/+1
|
* Return true if no action was needed during create_hooks. Log to logger ↵Marin Jankovski2015-01-161-1/+6
| | | | actions taken.
* Merge branch 'master' of github.com:gitlabhq/gitlab-shellv2.4.1Dmitriy Zaporozhets2015-01-131-1/+1
|\
| * double quotes to single quotesChristian González2015-01-021-1/+1
| |
| * typo in message: "accesible" -> "accessible"Christian González2015-01-011-1/+1
| |
* | masking access_token from url for loggingValery Sizov2015-01-131-0/+1
|/
* Merge pull request #197 from dblessing/fix/custom_hook_outputJacob Vosmaer2014-11-261-3/+3
|\ | | | | Fix custom hook output
| * Fix custom hook output and return valuesDrew Blessing2014-11-181-3/+3
| |
* | Add missing 'require_relative' in gitlab_net.rbJacob Vosmaer2014-11-251-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 Sizov2014-11-244-7/+33
| | | | | | | | This reverts commit f8453da5868dd7a23d0f2f3da7a45e33c441d1db.
* | Revert "Merge branch 'git_hook_messages'"Jacob Vosmaer2014-11-204-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 Zaporozhets2014-11-194-7/+33
|\ \ | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: VERSION