summaryrefslogtreecommitdiff
path: root/app/services/merge_requests/update_service.rb
Commit message (Collapse)AuthorAgeFilesLines
* CE port of code changed for epicsjk-epic-changes-ce-portJarka Kadlecova2017-11-021-4/+6
|
* Rename MergeRequest#async_merge to merge_asyncOswaldo Ferreira2017-08-281-1/+1
|
* Track enqueued and ongoing MRsOswaldo Ferreira2017-08-281-1/+1
|
* Rename "Slash commands" to "Quick actions"Eric Eastwood2017-06-151-3/+3
| | | | | | | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
* Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-1/+4
|
* Create todos only for new mentionsJarka Kadlecova2017-03-291-1/+1
|
* support `/merge` slash comand for MRsJarka Kadlecova2017-01-111-0/+15
|
* Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741Rydkin Maxim2016-12-161-1/+1
|
* Remove unnecessary require_relative calls from service classesSemyon Pupkov2016-11-221-4/+0
| | | | | Rails by default use autoload for all dirs from app folder. require_relative not needed. See ActiveSupport::Dependencies.autoload_paths
* Maintain "force_remove_source_branch" options on Merge Request unless specifiedMark Fletcher2016-10-131-1/+4
|
* Add a /wip slash commandThomas Balthazar2016-10-031-1/+14
| | | | It toggles the 'WIP' prefix in the MR title.
* Use the `IssuableBaseService` lifecycle hooks to cache ↵Timothy Andrew2016-09-211-0/+4
| | | | | | | `MergeRequestsClosingIssues` - Instead of overriding `create` and `update` in `MergeRequests::BaseService` - Get all merge request service specs passing
* User can edit closed MR with deleted forkKatarzyna Kobierska2016-08-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | Add test for closed MR without fork Add view test visibility of Reopen and Close buttons Fix controller tests and validation method Fix missing space Remove unused variables from test closed_without_fork? method refactoring Add information about missing fork When closed MR without fork can't edit target branch Tests for closed MR edit view Fix indentation and rebase, refactoring
* Add notifications for new user mentions in merge requestsNick Thomas2016-08-151-1/+8
|
* Fix a 'missing keyword' error introduced in the last commitNick Thomas2016-08-151-1/+3
|
* Allows MR authors to have the source branch removed when merging the MRJeroen Jacobs2016-05-201-0/+2
|
* Improving the original label-subscribing implementationRémy Coutable2016-03-151-5/+9
| | | | | | | 1. Make the "subscribed" text in Issuable sidebar reflect the labels subscription status 2. Current user mut be logged-in to toggle issue/MR/label subscription
* Original implementation to allow users to subscribe to labelsTimothy Andrew2016-03-151-1/+6
| | | | | | | | | | | | | | | | | | 1. Allow subscribing (the current user) to a label - Refactor the `Subscription` coffeescript class - The main change is that it accepts a container, and conducts all DOM queries within its scope. We need this because the labels page has multiple instances of `Subscription` on the same page. 2. Creating an issue or MR with labels notifies users subscribed to those labels - Label `has_many` subscribers through subscriptions. 3. Adding a label to an issue or MR notifies users subscribed to those labels - This only applies to subscribers of the label that has just been added, not all labels for the issue.
* Rename Tasks to TodosDouglas Barbosa Alexandre2016-02-201-3/+3
|
* Rename IssuableBaseService#have_changes? to has_changes?Douglas Barbosa Alexandre2016-02-201-1/+1
|
* Ensure that we only have one task per issue/mrDouglas Barbosa Alexandre2016-02-201-0/+5
|
* Create a pending task when a user is mentioned when edit a issue/mr/noteDouglas Barbosa Alexandre2016-02-201-1/+1
|
* Rename TaskService#mark_as_done to mark_pending_tasks_as_doneDouglas Barbosa Alexandre2016-02-201-1/+1
|
* Move common behavior to to IssuableBaseServiceDouglas Barbosa Alexandre2016-02-201-17/+0
|
* 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-201-0/+1
|
* Marks pending tasks for an user as done when he edit an issueDouglas Barbosa Alexandre2016-02-201-1/+1
|
* Generate system note after Task item has been updated on Issue or Merge ↵Ruben Davila2015-11-191-4/+0
| | | | | | | | | | | | Request. #2296 Everytime the User check or uncheck a Task Item from the Issue or Merge Request description, a new update is going to be added to the activity logs of the Issue or Merge Request. Note that when using the edit form, you can only update the Task item status or add/delete/modify existing ones. Doing both actions is not fully supported.
* Refactor similar code for Issue and MR update serviceDmitriy Zaporozhets2015-11-171-30/+9
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Split huge method MergeRequests::UpdateService#executeDmitriy Zaporozhets2015-11-131-22/+25
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use issue editor as cross reference comment author when issue is edited with ↵edit-new-cross-referencesDouwe Maan2015-10-281-1/+1
| | | | a new mention.
* Simplify code around (cross)-referencesDouwe Maan2015-10-121-1/+1
|
* Show who last edited a comment if it wasn't the original authorDouwe Maan2015-07-301-1/+1
|
* Rename `notice_added_references` to `create_new_cross_references!`rs-issue-1773Robert Speicher2015-07-131-1/+1
|
* Simplify Issue and MergeRequest UpdateServicesrs-remove-task-statesRobert Speicher2015-07-081-6/+2
| | | | Now that those pesky task states are gone, these become a lot simpler.
* Remove unused `task_[un]check` states from Update servicesRobert Speicher2015-07-081-5/+1
| | | | These were left over from the old Task handling.
* Dont allow set assignee, milestone or labels if user is guestDmitriy Zaporozhets2015-06-251-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Disable changing of the source branch in merge request update APIStan Hu2015-05-291-1/+2
|
* Support editing target branch of merge requestStan Hu2015-05-291-1/+12
| | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/7105 See: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/130
* Add a note when an Issue or Merge Request's title changesRobert Speicher2015-05-261-0/+4
|
* No magic numbers for issues filteringDmitriy Zaporozhets2015-03-261-2/+2
|
* Make sure issue assignee is properly reset.Douwe Maan2015-03-241-0/+3
|
* Add labels notesNikita Verkhovin2015-02-081-0/+10
|
* Organize event order execution when update issue or mrDmitriy Zaporozhets2015-01-251-1/+1
|
* Add action property to merge request hookjubianchi2015-01-201-1/+1
|
* Add task lists to issues and merge requestsVinnie Okada2014-10-051-1/+7
| | | | | | | | Make the Markdown parser recognize "[x]" or "[ ]" at the beginning of a list item and turn it into a checkbox input. Users who can modify the issue or MR can toggle the checkboxes directly or edit the Markdown to manage the tasks. Task status is also displayed in the MR and issue lists.
* Make app works with strong paramsDmitriy Zaporozhets2014-06-261-4/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix issue/mr close/reopen via APIDmitriy Zaporozhets2014-06-101-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make a comment to MR whne milestone was changedDmitriy Zaporozhets2014-06-101-0/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix MR fork validation and services loadDmitriy Zaporozhets2014-04-031-0/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>