summaryrefslogtreecommitdiff
path: root/app/services/issues
Commit message (Collapse)AuthorAgeFilesLines
...
* Create a pending task when an issue is assigned to someoneDouglas Barbosa Alexandre2016-02-202-0/+2
|
* Backport JIRA serviceDrew Blessing2015-12-181-0/+5
|
* 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-27/+9
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Split complex method Issues::UpdateService#executeDmitriy Zaporozhets2015-11-131-13/+16
| | | | 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-122-2/+2
|
* Show who last edited a comment if it wasn't the original authorDouwe Maan2015-07-301-1/+1
|
* Dynamically check `:admin_*` ability in IssuableBaseServicers-issue-2092Robert Speicher2015-07-241-0/+4
| | | | Closes #2092
* 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-4/+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-6/+1
| | | | These were left over from the old Task handling.
* Rename abilities to correspond contoller/model action namesrename-abilitiesDmitriy Zaporozhets2015-06-261-1/+1
| | | | | | | | | | | | | | | | | write_ was renamed to create_ modify_ was renamed to update_ So now in update action we have next code def create can?(current_user, :create_issue, @issue) end def update can?(current_user, :update_issue, @issue) end Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Dont allow set assignee, milestone or labels if user is guestDmitriy Zaporozhets2015-06-252-0/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix post-receive errors on a push when an external issue tracker is configuredStan Hu2015-06-121-1/+1
| | | | | Closes #1700 Closes #1720
* Add a note when an Issue or Merge Request's title changesRobert Speicher2015-05-261-0/+4
|
* Update SystemNoteService method naming conventionsRobert Speicher2015-05-112-2/+2
| | | | | Now the verb comes first, and there is no restriction on singular/plural.
* Add a SystemNoteService classRobert Speicher2015-05-112-2/+2
| | | | | There's a lot of code in the Note model that only deals with creating system notes, so we're going to split that into its own class.
* No magic numbers for issues filteringDmitriy Zaporozhets2015-03-261-2/+2
|
* Make sure issue assignee is properly reset.Douwe Maan2015-03-242-3/+6
|
* Send notifications and leave system comments when bulk updating issues.Douwe Maan2015-03-061-25/+10
|
* Issue #595: Support Slack notifications upon issue and merge request eventsStan Hu2015-03-031-3/+9
| | | | | | | | | | | 1) Adds a DB migration for all services to toggle on push, issue, and merge events. 2) Upon an issue or merge request event, fire service hooks. 3) Slack service supports custom messages for each of these events. Other services not supported at the moment. 4) Label merge request hooks with their corresponding actions.
* Add labels notesNikita Verkhovin2015-02-081-0/+7
|
* Organize event order execution when update issue or mrDmitriy Zaporozhets2015-01-252-2/+2
|
* Merge pull request #7967 from Bugagazavr/issue-actorValeriy Sizov2014-11-051-1/+1
|\ | | | | Add issueable actor to hooks
| * Add issueable actorKirill Zaitsev2014-10-051-1/+1
| |
* | Remove unused methodVinnie Okada2014-10-091-7/+0
| |
* | Factor issue and merge request servicesCiro Santilli2014-10-071-9/+1
| |
* | Add task lists to issues and merge requestsVinnie Okada2014-10-051-1/+13
|/ | | | | | | | 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.
* Fix label set during issue/mr creationDmitriy Zaporozhets2014-07-301-1/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Notification for reopened issue.Marin Jankovski2014-07-031-0/+1
|
* Make app works with strong paramsDmitriy Zaporozhets2014-06-261-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Added an UrlBuilder for building rails named routesJeroen van Baarsen2014-06-131-4/+1
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Return a little more information in Issue webhookJeroen van Baarsen2014-06-135-6/+12
| | | | | | When a webhook for issues is triggered, it should also return the resource URL, and the action that was performed (ie: Was it reopened, updated, opened or closed)
* Fix issue/mr close/reopen via APIDmitriy Zaporozhets2014-06-101-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make a system comment when issue milestone changedDmitriy Zaporozhets2014-06-102-0/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix testsDmitriy Zaporozhets2014-04-024-4/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix assignee change in Issues::UpdateServiceDmitriy Zaporozhets2014-04-021-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add support for close/reopen actions in update serviceDmitriy Zaporozhets2014-04-022-2/+11
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Create services for issue close and reopenDmitriy Zaporozhets2014-04-024-6/+40
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move update issue code to separate serviceDmitriy Zaporozhets2014-04-023-6/+38
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move code for issue creation to service.Dmitriy Zaporozhets2014-04-021-0/+23
| | | | | | | | | The goal of suych refactoring is to get rid of observers. Its much easier to test and code when object creation and all other related actions done in one class instead of splited across observers, callbacks etc. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move all Context classes into ServicesDmitriy Zaporozhets2014-01-161-0/+39
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>