summaryrefslogtreecommitdiff
path: root/app/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'repository-caching-refactor' into 'master' Robert Speicher2016-02-263-8/+6
|\ | | | | | | | | | | | | Refactor Repository Caching Related issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/13515 See merge request !2936
| * Moved cache expiration code to Repository hooksYorick Peterse2016-02-233-8/+6
| | | | | | | | | | This keeps all the cache expiration code in a single file/class instead of spreading it all across the codebase.
* | Does not create a todo when commenting on commit or project snippetDouglas Barbosa Alexandre2016-02-242-3/+2
|/
* Check the HEAD of branch when doing Merge When Succeededimprove-merge-when-succeededKamil Trzcinski2016-02-221-3/+9
|
* Merge branch 'tasks' into 'master' Douglas Barbosa Alexandre2016-02-2212-6/+221
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Todos Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/2425 Tasks: - Prepare database - [X] Create a new table (`todos`) - Tasks Queue view - [X] Add a number icon showing the number of todos on the top right next to the new and logout button that will redirect the user to the todos page - [X] Add a chronological list of todos, with the 'Todos' tab active by default - [X] Add a 'Done' button to each todo - [x] Add filters (project, author, type, and action) - Todos generation - [X] When user issue/mr is assgined to someone - [x] When user is mentioned on (issues/mr's/comments) - Mark todo as `done` - [X] When clicks on the 'Done' button - [X] When edit issue/mr - [X] When left/edit a comment - [X] When reassign issue/mr - [X] When add/remove labels to issue/mr - [X] When issue/mr is closed - [X] When mr is merged - [X] When added an emoji - [X] When changed the issue/mr milestone * Screenshot: ![Screenshot_2016-02-20_12.45.57](/uploads/4b2554b1bde25aed3347e1ae41e8e0c0/Screenshot_2016-02-20_12.45.57.png) See merge request !2817
| * Rename Tasks to TodosDouglas Barbosa Alexandre2016-02-2010-58/+58
| |
| * Rename IssuableBaseService#have_changes? to has_changes?Douglas Barbosa Alexandre2016-02-203-3/+3
| |
| * Create or mark task pending as soon the action happensDouglas Barbosa Alexandre2016-02-203-3/+1
| |
| * Ensure that we only have one task per issue/mrDouglas Barbosa Alexandre2016-02-203-92/+66
| |
| * Explicit mention of the assignee make a taskDouglas Barbosa Alexandre2016-02-201-6/+5
| | | | | | | | Since potentially the previous assign-task has already been handled.
| * :lipstick: Cosmetic changesDouglas Barbosa Alexandre2016-02-201-21/+21
| |
| * Create a pending task when a user is mentioned when edit a issue/mr/noteDouglas Barbosa Alexandre2016-02-203-16/+67
| |
| * Does not create a task if new assignee is the current userDouglas Barbosa Alexandre2016-02-201-4/+3
| |
| * Create a pending task when a user is mentioned on a noteDouglas Barbosa Alexandre2016-02-201-3/+14
| |
| * Create a pending task when a user is mentioned on issue/mrDouglas Barbosa Alexandre2016-02-201-6/+26
| |
| * Rename TaskService#mark_as_done to mark_pending_tasks_as_doneDouglas Barbosa Alexandre2016-02-203-8/+8
| |
| * Move common behavior to to IssuableBaseServiceDouglas Barbosa Alexandre2016-02-203-34/+13
| |
| * Marks pending tasks for an user as done when he merge the MRDouglas Barbosa Alexandre2016-02-202-0/+9
| |
| * Marks pending tasks for an user as done when he close the MRDouglas Barbosa Alexandre2016-02-202-1/+10
| |
| * Marks pending tasks for an user as done when he edit a MRDouglas Barbosa Alexandre2016-02-201-0/+21
| |
| * Create a pending task when an MR is assigned to someoneDouglas Barbosa Alexandre2016-02-203-7/+33
| |
| * Mark pending tasks for the current user as done when he edit a noteDouglas Barbosa Alexandre2016-02-202-0/+15
| |
| * Mark pending tasks for the note author as done when he left a noteDouglas Barbosa Alexandre2016-02-202-2/+13
| |
| * Marks pending tasks for an user as done when he close the issueDouglas Barbosa Alexandre2016-02-202-0/+10
| |
| * Marks pending tasks for an user as done when he edit an issueDouglas Barbosa Alexandre2016-02-204-3/+37
| |
| * Does not create a task for new issue when assignee is the current userDouglas Barbosa Alexandre2016-02-201-1/+1
| |
| * Create a pending task when an issue is assigned to someoneDouglas Barbosa Alexandre2016-02-204-0/+49
| |
* | Discover branches for commit statuses ref-less when doing merge when succeededmerge-when-succeededKamil Trzcinski2016-02-191-5/+10
|/
* Some updates from last code review.Rubén Dávila2016-02-191-7/+3
|
* Refactor RevertService.Rubén Dávila2016-02-191-30/+24
|
* Some fixes and refactors for code related to forks.Rubén Dávila2016-02-191-4/+25
|
* Don't make Repository#revert aware of MRs.Rubén Dávila2016-02-191-2/+6
|
* Update copy and URLs used when reverting MRs.Rubén Dávila2016-02-191-1/+1
|
* Big refactor for #revert_commit.Rubén Dávila2016-02-191-10/+1
| | | | | | * Now checking if a commit is already reverted or there is a conflict is much more faster. * No longer need to create a new branch.
* Some fixes required for conflicts on revert.Rubén Dávila2016-02-191-2/+4
|
* Make it work for merge commits.Rubén Dávila2016-02-191-3/+1
|
* Make MRs with revert commit work.Rubén Dávila2016-02-191-6/+10
|
* Add RevertService class with basic logic to revert commitRubén Dávila2016-02-191-0/+48
|
* Use adequate description for new MR.Rubén Dávila2016-02-191-1/+1
|
* Save merge commit id when MR is mergedRubén Dávila2016-02-191-1/+2
|
* Merge branch 'fix/ci-first-job-allow-failure' into 'master' Kamil Trzciński2016-02-181-0/+1
|\ | | | | | | | | | | | | | | | | Fix CI builds scheduler when first build in stage is allowed to fail This fixes an edge case in CI builds scheduler when first build in stage was marked as allowed to fail. Closes #3192 See merge request !2869
| * Return a builds array in builds create serviceGrzegorz Bizon2016-02-181-0/+1
| |
* | Merge branch 'fix/gitpushservice-complexity-issue' into 'master' Douwe Maan2016-02-181-57/+61
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce code complexity on GitPushService#execute Code complexity for gitlab-ce after this has been refactored: ``` 27.3: GitPushService#execute ``` This still needs to be merged into `gitlab-ee` presumably with conflicts... Perhaps we should create another issue for doing that? I left the code sort of similar to what it was... If I could, I would have refactored most of the code into separate classes, etc. as it breaks probably all SOLID principles. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/13327 See merge request !2784
| * refactored some stuff based on MR feedbackJames Lopez2016-02-171-3/+3
| |
| * refactored GitPushService and updated specJames Lopez2016-02-151-28/+19
| |
| * typoJames Lopez2016-02-121-1/+1
| |
| * attempt to reduce code complexity on GitPushService#executeJames Lopez2016-02-111-53/+66
| |
* | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵git-archive-refactorJacob Vosmaer2016-02-171-1/+13
|\ \ | | | | | | | | | git-archive-refactor
| * | Flush all repository caches when deleting a repoexpire-fork-import-cachesYorick Peterse2016-02-171-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | This ensures that _all_ caches (including any caches normally only flushed under certain conditions) are flushed whenever a project is removed. Because cache keys are based on project namespaces (excluding IDs) not doing so could result in a newly created project re-using old caches (if the project was re-created using the same name).
* | | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jacob Vosmaer2016-02-176-29/+43
|\ \ \ | |/ / | | | | | | git-archive-refactor