Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use relative git object paths to construct absolute ones before setting Envfix/git-env-repo-paths | Ahmad Sherif | 2017-11-14 | 1 | -1/+3 |
| | |||||
* | add username to authorized result, so that gitlab-shell can pass it to hooks | David Turner | 2017-09-29 | 1 | -0/+7 |
| | |||||
* | refactor users update service | James Lopez | 2017-09-28 | 1 | -1/+1 |
| | |||||
* | refactor services to match EE signature | James Lopez | 2017-09-28 | 1 | -1/+1 |
| | |||||
* | Implement /internal/pre-receive for shell operations | Alejandro Rodríguez | 2017-09-05 | 1 | -0/+8 |
| | |||||
* | Return a value to check if redis is available on /internal/check | Alejandro Rodríguez | 2017-09-05 | 1 | -1/+2 |
| | |||||
* | Implement /internal/post_receive unified endpoint for PostReceive tasksgitaly-shell-redis | Alejandro Rodríguez | 2017-08-31 | 1 | -1/+16 |
| | |||||
* | Renamed Gitaly services | Andrew Newdigate | 2017-07-18 | 1 | -1/+1 |
| | |||||
* | Handle case when BroadcastMessage.current is nil | Stan Hu | 2017-07-13 | 1 | -1/+1 |
| | | | | | | | Somehow Rails.cache.fetch occasionally returns `nil` values, which causes this endpoint to crash. Closes #35094 | ||||
* | Send Gitaly Repository with /api/internal/allowedgitaly-internal-allowed-send-repo | Kim "BKC" Carlbäcker | 2017-07-07 | 1 | -1/+2 |
| | | | | | - Make single gitaly payload - Add feature-flag specs to verify payload | ||||
* | update code based on feedback | James Lopez | 2017-06-23 | 1 | -2/+4 |
| | |||||
* | refactor update user service not to do auth checks | James Lopez | 2017-06-23 | 1 | -1/+1 |
| | |||||
* | more refactoring based on feedback | James Lopez | 2017-06-23 | 1 | -3/+4 |
| | |||||
* | added service in the rest of controllers and classes | James Lopez | 2017-06-23 | 1 | -1/+1 |
| | |||||
* | Allow discover by userid - issue 28517 | Matt Walsh | 2017-06-20 | 1 | -3/+8 |
| | |||||
* | Add “Project moved” error to Git-over-SSH | Michael Kozono | 2017-06-16 | 1 | -1/+1 |
| | |||||
* | #13336 - display multiple messages in both the UI and git output | Mike Ricketts | 2017-06-15 | 1 | -1/+9 |
| | |||||
* | Remove unnecessary variablemk-fix-git-over-http-rejections | Michael Kozono | 2017-06-05 | 1 | -3/+1 |
| | |||||
* | Refactor construction of response | Michael Kozono | 2017-06-05 | 1 | -14/+6 |
| | |||||
* | Refactor to let GitAccess errors bubble up | Michael Kozono | 2017-06-05 | 1 | -18/+20 |
| | | | | | | No external behavior change. This allows `GitHttpController` to set the HTTP status based on the type of error. Alternatively, we could have added an attribute to GitAccessStatus, but this pattern seemed appropriate. | ||||
* | Prevent errors from non-functional notify_post_receive endpointfix-notify-post-receive | Alejandro Rodríguez | 2017-05-18 | 1 | -8/+9 |
| | |||||
* | Enable the Style/TrailingCommaInLiteral cop | Rémy Coutable | 2017-05-10 | 1 | -1/+1 |
| | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Pass GL_REPOSITORY in Workhorse responses29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ce | Alejandro Rodríguez | 2017-05-05 | 1 | -1/+1 |
| | |||||
* | Generate and handle a gl_repository param to pass around components | Alejandro Rodríguez | 2017-05-03 | 1 | -4/+6 |
| | | | | | | | | | This new param allows us to share project information between components that don't share or don't have access to the same filesystem mountpoints, for example between Gitaly and Rails or between Rails and Gitlab-Shell hooks. The previous parameters are still supported, but if found, gl_repository is prefered. The old parameters should be deprecated once all components support the new format. | ||||
* | Wrong method call on notify_post_receive. | Luigi Leoni | 2017-04-27 | 1 | -1/+1 |
| | |||||
* | Remove unused user activities code | Sean McGivern | 2017-04-14 | 1 | -10/+0 |
| | |||||
* | Add user activity service and spec. Also added relevant - NOT offline - ↵ | James Lopez | 2017-04-14 | 1 | -0/+12 |
| | | | | | | | migration It uses a user activity table instead of a column in users. Tested with mySQL and postgreSQL | ||||
* | Set Git-specific env in /api/internal/allowed | Rémy Coutable | 2017-04-10 | 1 | -15/+9 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Use Gitlab::Git::Repository#gitaly_... more | Jacob Vosmaer | 2017-04-07 | 1 | -1/+1 |
| | |||||
* | Incorporate Gitaly client for refs service | Alejandro Rodríguez | 2017-04-04 | 1 | -1/+4 |
| | |||||
* | Separate GRPC channels per repository storage | Jacob Vosmaer | 2017-03-29 | 1 | -1/+1 |
| | |||||
* | Add internal endpoint to notify post-receive to Gitalygitaly-post-receive | Alejandro Rodríguez | 2017-03-01 | 1 | -0/+12 |
| | |||||
* | Record and show last used date of SSH Keys | Vincent Wong | 2017-01-09 | 1 | -1/+7 |
| | | | | | | | | Addresses: Issue #13810 1. Adds a last_used_at attribute to the Key table/model 2. Update a key's last_used_at whenever it gets used 3. Display how long ago an ssh key was last used | ||||
* | Accept environment variables from the `pre-receive` script. | Timothy Andrew | 2016-12-16 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Starting version 2.11, git changed the way the pre-receive flow works. - Previously, the new potential objects would be added to the main repo. If the pre-receive passes, the new objects stay in the repo but are linked up. If the pre-receive fails, the new objects stay orphaned in the repo, and are cleaned up during the next `git gc`. - In 2.11, the new potential objects are added to a temporary "alternate object directory", that git creates for this purpose. If the pre-receive passes, the objects from the alternate object directory are migrated to the main repo. If the pre-receive fails the alternate object directory is simply deleted. 2. In our workflow, the pre-recieve script (in `gitlab-shell) calls the `/allowed` endpoint, which calls out directly to git to perform various checks. These direct calls to git do _not_ have the necessary environment variables set which allow access to the "alternate object directory" (explained above). Therefore these calls to git are not able to access any of the new potential objects to be added during this push. 3. We fix this by accepting the relevant environment variables (GIT_ALTERNATE_OBJECT_DIRECTORIES, GIT_OBJECT_DIRECTORY) on the `/allowed` endpoint, and then include these environment variables while calling out to git. 4. This commit includes (whitelisted) these environment variables while making the "force push" check. A `Gitlab::Git::RevList` module is extracted to prevent `ForcePush` from being littered with these checks. | ||||
* | Fix POST /internal/allowed to cope with gitlab-shell v4.0.0 project paths | Nick Thomas | 2016-11-16 | 1 | -36/+2 |
| | | | | | | | | | | | | | gitlab-shell v3.6.6 would give project paths like so: * namespace/project gitlab-shell v4.0.0 can give project paths like so: * /namespace1/namespace2/project * /namespace/project * /path/to/repository/storage/namespace1/namespace2/project * /path/to/repository/storage/namespace/project | ||||
* | Refactor storage path extraction from full repo pathdz-internal-api-fullpath | Dmitriy Zaporozhets | 2016-10-28 | 1 | -6/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Make internal api work with full repo path instead of name | Dmitriy Zaporozhets | 2016-10-27 | 1 | -4/+14 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Handle LFS token creation and retrieval in the same method, and in the same ↵lfs-ssh-authorization-fix | Patricio Cano | 2016-09-28 | 1 | -1/+1 |
| | | | | | | Redis connection. Reset expiry time of token, if token is retrieved again before it expires. | ||||
* | Revert "Revert all changes introduced by ↵lfs-support | Kamil Trzcinski | 2016-09-19 | 1 | -0/+13 |
| | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6043" This reverts commit 6d43c95b7011ec7ec4600e00bdc8df76bb39813c. | ||||
* | Revert all changes introduced by ↵ | Kamil Trzcinski | 2016-09-19 | 1 | -13/+0 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6043 | ||||
* | Rename capabilities to authentication_abilities | Kamil Trzcinski | 2016-09-16 | 1 | -3/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/lfs-support-for-ssh' into per-build-token | Kamil Trzcinski | 2016-09-15 | 1 | -0/+13 |
|\ | | | | | | | | | | | | | | | # Conflicts: # app/controllers/projects/git_http_client_controller.rb # app/helpers/lfs_helper.rb # lib/gitlab/auth.rb # spec/requests/lfs_http_spec.rb | ||||
| * | Better authentication handling, syntax fixes and better actor handling for ↵ | Patricio Cano | 2016-09-15 | 1 | -8/+1 |
| | | | | | | | | LFS Tokens | ||||
| * | Refactored handling of the `LfsToken` and added functionality to it to ↵ | Patricio Cano | 2016-09-15 | 1 | -9/+11 |
| | | | | | | | | simplify external code. | ||||
| * | Refactored LFS auth logic when using SSH to use its own API endpoint ↵ | Patricio Cano | 2016-09-15 | 1 | -12/+18 |
| | | | | | | | | `/lfs_authenticate` and added tests. | ||||
| * | Refactor LFS token logic to use a Redis key instead of a DB field, making it ↵ | Patricio Cano | 2016-09-15 | 1 | -4/+5 |
| | | | | | | | | a 1 use only token. | ||||
| * | Added LFS support to SSH | Patricio Cano | 2016-09-15 | 1 | -1/+12 |
| | | | | | | | | - Required on the GitLab Rails side is mostly authentication and API related. | ||||
* | | Fix existing authorization specs | Kamil Trzcinski | 2016-09-15 | 1 | -10/+8 |
| | | |||||
* | | Add access specs | Kamil Trzcinski | 2016-09-15 | 1 | -2/+12 |
|/ | |||||
* | Minor edits to two_factor_recovery_codes API error catching | Drew Blessing | 2016-08-31 | 1 | -5/+9 |
| |