summaryrefslogtreecommitdiff
path: root/app/services/issues/base_service.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add total_time_spent to the `changes` hash in issuable Webhook payloads40122-only-one-note-webhook-is-triggered-when-a-comment-with-time-spent-is-addedRémy Coutable2017-11-151-4/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Move update_project_counter_caches? out of issue and merge requestGeorge Andrinopoulos2017-11-111-0/+4
|
* Start adding Gitlab::HookData::IssuableBuilderRémy Coutable2017-10-091-4/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Include the changes in issuable webhook payloadsRémy Coutable2017-10-091-7/+7
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Move duplicate issue management to a servicearchytaus/gitlab-ce-26372-duplicate-issue-slash-commandSean McGivern2017-07-211-0/+8
|
* Multiple issue assignee: fix for CE restrictionsValery Sizov2017-05-051-1/+1
|
* Multiple issue assignee: CE restriction for multiple assigneesValery Sizov2017-05-051-0/+3
|
* Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-0/+19
|
* Move functionality for resolving discussions into a concernBob Van Landuyt2017-03-131-27/+0
|
* Always require MR-iid for resolving discussionsBob Van Landuyt2017-03-131-20/+16
| | | | | And deduplicate the finding of MR's & discussions. Now the searching is done in the service, istead of the controller & the API.
* Delegate a single discussion to a new issueBob Van Landuyt2017-03-131-1/+24
| | | | | | Delegate a discussion in a merge request into a new issue. The discussion wil be marked as resolved and a system note will be added linking to the newly created issue.
* Check if user can read issue before being assignedissue_22664Felipe Artur2016-12-271-4/+0
|
* Feature: delegate all open discussions to IssueBob Van Landuyt2016-12-051-0/+8
| | | | | | | | | | | | | When a merge request can only be merged when all discussions are resolved. This feature allows to easily delegate those discussions to a new issue, while marking them as resolved in the merge request. The user is presented with a new issue, prepared with mentions of all unresolved discussions, including the first unresolved note of the discussion, time and link to the note. When the issue is created, the discussions in the merge request will get a system note directing the user to the newly created issue.
* Scope hooks thal will run for confidential issuesDouglas Barbosa Alexandre2016-08-311-5/+4
|
* Fix confidential issues should not be passed to WebhooksDouglas Barbosa Alexandre2016-08-311-0/+2
|
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-1/+0
|
* Refactor and expose only Gitlab::UrlBuilder.build(record)simplify-gitlab-url_builder-15202Rémy Coutable2016-04-131-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Dynamically check `:admin_*` ability in IssuableBaseServicers-issue-2092Robert Speicher2015-07-241-0/+4
| | | | Closes #2092
* 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.
* 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
| |
* | Factor issue and merge request servicesCiro Santilli2014-10-071-9/+1
|/
* 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-131-2/+8
| | | | | | 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)
* Make a system comment when issue milestone changedDmitriy Zaporozhets2014-06-101-0/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Create services for issue close and reopenDmitriy Zaporozhets2014-04-021-5/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move update issue code to separate serviceDmitriy Zaporozhets2014-04-021-0/+19
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>