Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In order to use chomp! on the input later, we need to dup the ARGV input ↵dup-frozen-argv-key | DJ Mountney | 2016-08-10 | 1 | -1/+2 |
| | | | | | | string for keys Also updated the gitlab_key tests to freeze the ARGV variables. | ||||
* | Update the keys permission check to open the file in write mode. | DJ Mountney | 2016-08-10 | 1 | -2/+2 |
| | | | | That way the file is created if it does not exist. | ||||
* | Changes proposed during review | Jacob Vosmaer | 2016-08-10 | 1 | -1/+1 |
| | |||||
* | Defense in depth for authorized_keys lines | Jacob Vosmaer | 2016-08-05 | 1 | -0/+5 |
| | |||||
* | Refactor 'GitlabKey' class awaysmall-fixes | Jacob Vosmaer | 2016-08-04 | 1 | -15/+11 |
| | | | | | It is not nice to have both 'GitlabKeys' and 'GitlabKey'. We also do not need GitlabKey to be a class when it has no state. | ||||
* | Add permission check tests, improve checkauthorized-keys-permission-check | Jacob Vosmaer | 2016-08-03 | 1 | -3/+3 |
| | |||||
* | Improve authorized_keys check | Jacob Vosmaer | 2016-08-02 | 1 | -0/+13 |
| | | | | | | The old check only looked if authorized_keys exists. With this change, we look whether we can actually open the file for reading and writing. When this fails we try to print useful diagnostic information. | ||||
* | Manage authorized_keys permissions continuouslykeys-chmod | Jacob Vosmaer | 2016-08-01 | 1 | -4/+11 |
| | | | | | | We can lazily create authorized_keys and set its permissions. This adds negligible overhead and it allows us to remove a setup step from GitLab both on source and in omnibus-gitlab. | ||||
* | Track ongoing pushes and reject mv-storage commands if there are push ↵mv-storage | Alejandro Rodríguez | 2016-07-27 | 3 | -3/+76 |
| | | | | running (after waiting some time) | ||||
* | Add command to move repositories between repository storages | Alejandro Rodríguez | 2016-07-27 | 1 | -0/+32 |
| | |||||
* | Allow gitlab-project's fork-project command to fork projects between ↵ | Alejandro Rodríguez | 2016-07-26 | 1 | -1/+8 |
| | | | | different repository storages | ||||
* | Add an error message when using shell commands with incompatible GitLab versions | Alejandro Rodríguez | 2016-07-06 | 1 | -0/+1 |
| | |||||
* | Make use of a constant for the used SSH protocol | Patricio Cano | 2016-07-05 | 1 | -2/+3 |
| | |||||
* | Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] and make it mandatory with no ↵ | Patricio Cano | 2016-07-05 | 3 | -3/+3 |
| | | | | fallback value | ||||
* | Simplify protocol assign, and populate ENV['PROTOCOL'] variable when calling ↵ | Patricio Cano | 2016-07-05 | 1 | -1/+2 |
| | | | | hooks via SSH | ||||
* | Allow GitLab Shell to check for allowed access based on the used Git protocol. | Patricio Cano | 2016-07-05 | 3 | -5/+7 |
| | |||||
* | use STDERR to output error messages | Valery Sizov | 2016-07-05 | 1 | -3/+3 |
| | |||||
* | Refactor repository paths handling to allow multiple git mount pointsshards | Alejandro Rodríguez | 2016-06-29 | 7 | -42/+34 |
| | |||||
* | Simplify custom hook output handlingcustom-hook-output | Jacob Vosmaer | 2016-06-24 | 1 | -29/+16 |
| | |||||
* | Merge branch 'gitlab-redis' into 'master' | Stan Hu | 2016-06-23 | 3 | -2/+3 |
|\ | | | | | | | | | | | | | Put Redis loading code in one place Before this change you could not run the gitlab_net specs in isolation. See merge request !64 | ||||
| * | Put Redis loading code in one placegitlab-redis | Jacob Vosmaer | 2016-06-23 | 3 | -2/+3 |
| | | |||||
* | | Merge branch 'simplify-access-status' into 'master' | Valery Sizov | 2016-06-23 | 1 | -5/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Simplify the GitAccessStatus class Make the optional 'message' argument required. Remove unused 'to_json' method. See merge request !65 | ||||
| * | | Simplify the GitAccessStatus classsimplify-access-status | Jacob Vosmaer | 2016-06-23 | 1 | -5/+4 |
| |/ | | | | | | | | | Make the optional 'message' argument required. Remove unused 'to_json' method. | ||||
* | | Update PostReceive worker to provide enqueued_at timeenqueued_at_for_jobs | Paco Guzman | 2016-06-23 | 1 | -1/+6 |
|/ | |||||
* | Put redis library in lib/vendor/ and adjust LOAD_PATHuse-redis-rb-client | Stan Hu | 2016-05-12 | 16 | -20/+21 |
| | |||||
* | Add redis-rb as a vendored library | Stan Hu | 2016-05-12 | 16 | -2/+5284 |
| | | | | `make update-redis` will clone the library and adjust the paths properly | ||||
* | Use Redis Ruby client instead of shelling out to redis-cli | Stan Hu | 2016-05-12 | 3 | -26/+25 |
| | | | | Closes gitlab-org/gitlab-ce#17329 | ||||
* | Remove the update-head command since GitLab doesn't use it anymore | Rémy Coutable | 2016-04-28 | 1 | -17/+0 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Revert "Remove unused #list_remote_tags"revert-53 | Rémy Coutable | 2016-04-25 | 1 | -0/+22 |
| | | | | | | This reverts commit f5e87590d463b4b3d1bf5cd6b49a9d0d60acd552. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Update post receive worker so it logs a unique JID in sidekiqaiionx/gitlab-shell-aiionx-post_receive_jid | aiionx | 2016-04-19 | 1 | -2/+4 |
| | |||||
* | Remove branch functionality | Robert Schilling | 2016-04-19 | 1 | -15/+0 |
| | |||||
* | Remove rm-tag command | Robert Schilling | 2016-04-18 | 1 | -7/+0 |
| | |||||
* | Remove unused #list_remote_tags | Robert Schilling | 2016-04-16 | 1 | -22/+0 |
| | |||||
* | Revert "Do not prune objects during 'git gc'" | Jacob Vosmaer | 2016-04-06 | 1 | -1/+1 |
| | | | | | | | This reverts commit 1ca8a44f0baa1728650308fe992f42660170ae16. Never pruning loose objects at all is not really a solution for anything, and it causes annoying `git gc --auto` warnings. | ||||
* | Add new command to list tags from a remote repo. | Rubén Dávila | 2016-03-31 | 1 | -1/+24 |
| | | | | | | The output of the `git ls-remote` command is written to the STDOUT so the client can read and parse the list of tags. If there is an error it's also written to STDOUT. | ||||
* | Add the ability to fetch remote repo without tags.gl_ee_issue_116 | Rubén Dávila | 2016-03-30 | 1 | -2/+6 |
| | | | | | | When fetching remote repo with tags the new remote tags are mixed in with the local tags (all tags are saved under refs/tags), this affects the UI of the Project given that we're showing up tags of a remote repo. | ||||
* | Add encoding for the ssh key on the url | Pablo Carranza | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Change use of fingerprint for whole key | Pablo Carranza | 2016-03-24 | 1 | -2/+2 |
| | |||||
* | Change API endpoint to authorized_keys | Pablo Carranza | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Add authorized keys bin script to find keys by fingerprint | Pablo Carranza | 2016-03-24 | 3 | -13/+19 |
| | |||||
* | Add ssh-key resource get to gitlab_net | Pablo Carranza | 2016-03-24 | 1 | -0/+5 |
| | | | | | This provides the integration point to the internal API to get the ssh key from the internal API. | ||||
* | Add new commands: push-branches and delete-remote-branches. | Rubén Dávila | 2016-03-21 | 1 | -0/+43 |
| | |||||
* | get git annex to work when using custom SSH port | James Lopez | 2016-03-16 | 1 | -3/+2 |
| | |||||
* | Do not prune objects during 'git gc' | Jacob Vosmaer | 2016-03-14 | 1 | -1/+1 |
| | | | | | This is a workaround to reduce the impact of https://gitlab.com/gitlab-org/gitlab-ce/issues/13524 . | ||||
* | Remove redundant `|| false` | Douwe Maan | 2016-03-03 | 1 | -1/+1 |
| | |||||
* | Added an optional --force parameter for gitlab-projects fetch-remotefeature/fetch-remote-forced | Gabriel Mazetto | 2016-03-03 | 1 | -1/+6 |
| | | | | | | The optional parameter will decide wheter to fetch using --force or not. fetching with --force is a requirement for Gitlab Geo secondary node replication. | ||||
* | Actually use the read_timeout config option | Jacob Vosmaer | 2016-02-09 | 1 | -1/+5 |
| | |||||
* | Log duration of HTTP API requestsnet-read-timeout | Jacob Vosmaer | 2016-02-09 | 1 | -0/+5 |
| | |||||
* | Use an HTTP timeout of 5 minutes by default | Jacob Vosmaer | 2016-02-09 | 1 | -6/+11 |
| | |||||
* | Merge branch 'master' of https://gitlab.com/jnijhof/gitlab-shell | Jeroen Nijhof | 2016-01-04 | 1 | -2/+13 |
|\ | | | | | | | | | Conflicts: lib/gitlab_projects.rb |