Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move GitHooksService to Gitlab::Git | Jacob Vosmaer | 2017-08-23 | 1 | -1/+1 |
| | |||||
* | Add confirm delete protected branch modal | Sam Rose | 2017-05-08 | 1 | -12/+4 |
| | |||||
* | Moved Project#protected_branch? to ProtectedBranch, similar for tags | James Edwards-Jones | 2017-04-03 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary require_relative calls from service classes | Semyon Pupkov | 2016-11-22 | 1 | -2/+0 |
| | | | | | Rails by default use autoload for all dirs from app folder. require_relative not needed. See ActiveSupport::Dependencies.autoload_paths | ||||
* | Fix lightweight tags not processed correctly by GitTagPushService22271-drone-tag-pipeline-build | Alejandro Rodríguez | 2016-10-28 | 1 | -1/+1 |
| | | | | | | | | When we updated gitlab_git to 10.4.1, `tag.target` changed from pointing to the sha of the tag to the sha of the commit the tag points to. The problem is that only annotated tags have `object_sha`s, lightweight tags don't (it's nil), so (only) in their case we still need to use `tag.target`. | ||||
* | Simplify the name for data builder, feedback: | Lin Jen-Shin | 2016-08-12 | 1 | -2/+7 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791 | ||||
* | Move those builders to their own namespace, feedback: | Lin Jen-Shin | 2016-08-04 | 1 | -1/+1 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099 | ||||
* | Update to gitlab_git 10.4.1 and take advantage of preserved Ref objects | Alejandro Rodríguez | 2016-07-28 | 1 | -1/+1 |
| | |||||
* | Revert "Merge branch ↵ | Alejandro Rodríguez | 2016-07-24 | 1 | -1/+1 |
| | | | | | '17073-tagscontroller-index-is-terrible-response-time-goes-up-to-5-…" This reverts merge request !5375 | ||||
* | Update to gitlab_git 10.4.1 and take advantage of preserved Ref objects | Alejandro Rodríguez | 2016-07-21 | 1 | -1/+1 |
| | |||||
* | Services: code style fixes, minor refactoringservices_refactoring1 | Valery Sizov | 2016-07-06 | 1 | -10/+2 |
| | |||||
* | Better message for git hooks and file locks | Valery Sizov | 2016-07-04 | 1 | -2/+2 |
| | |||||
* | Fix duplicated branch creation/deletion Web hooks/service notifications when ↵ | Stan Hu | 2016-02-09 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | | | using Web UI Similar to 423d2d6, except duplicates occurred only if a Web service (e.g. Slack) were configured. When deleting a branch, this is what was happening: 1. DeleteBranchService calls execute_hooks and execute_services 2. The call to repository.rm_branch triggers the GitHooksService. 3. This, in turn, calls GitPushService and then calls the same hooks/services again. 5145706 now makes it no longer necessary for DeleteBranchService and CreateBranchService to execute the branch hooks/services. Note that tags behave differently in GitTagPushService and GitPushService is not called. Closes #10330 | ||||
* | Fix duplicated branch creation/deletion events when using Web UI | Stan Hu | 2016-01-08 | 1 | -1/+0 |
| | | | | | | | | | | | | When deleting a branch, this is what was happening: 1. DeleteBranchService calls EventCreateService and creates an event. 2. The call to repository.rm_branch triggers the GitHooksService. 3. This, in turn, calls GitPushService and then calls EventCreateService again. 5145706c now makes it no longer necessary for DeleteBranchService and CreateBranchService to create an event. Closes #4304 | ||||
* | Run custom Git hooks when creating or deleting branches through the UI. #1156 | Rubén Dávila | 2015-12-03 | 1 | -1/+3 |
| | |||||
* | Ecevute hooks and services when branches are created/deleted through web. | Douwe Maan | 2015-03-13 | 1 | -0/+3 |
| | |||||
* | Use PushDataBuilder where applicable. | Douwe Maan | 2015-03-13 | 1 | -2/+9 |
| | |||||
* | Move all event creation to EventCreateService. | Douwe Maan | 2015-02-13 | 1 | -1/+1 |
| | |||||
* | Factor error and success methods from services. | Ciro Santilli | 2014-09-21 | 1 | -11/+10 |
| | |||||
* | Validate branch-names and references in WebUI, API | Robert Schilling | 2014-09-03 | 1 | -5/+6 |
| | | | | Add specs for GitRefValidator | ||||
* | Improve branch-removal logic | Dmitriy Zaporozhets | 2014-05-22 | 1 | -0/+4 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Delete branch service with permission checks | Dmitriy Zaporozhets | 2014-05-22 | 1 | -0/+42 |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> |