summaryrefslogtreecommitdiff
path: root/app/services/issues
Commit message (Collapse)AuthorAgeFilesLines
* Fix counters cache invalidation for Issues and Merge RequestsValery Sizov2017-05-262-0/+2
|
* 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-042-5/+28
|
* Refactor resolvability checks based on typeDouwe Maan2017-04-061-3/+5
|
* Make issue-from-discussion description text more consistentDouwe Maan2017-04-051-4/+7
|
* Create todos only for new mentionsJarka Kadlecova2017-03-291-1/+1
|
* Move `ResolveDiscussions` into `concerns/issues` folderBob Van Landuyt2017-03-131-32/+0
|
* Update copyBob Van Landuyt2017-03-131-1/+1
| | | | One comments *on* something, not *in* something
* Rename variableBob Van Landuyt2017-03-133-14/+14
| | | | | merge_request_for_resolving_discussions -> merge_request_to_resolve_discussions_of
* Make sure the for a merge request only gets executed once.Bob Van Landuyt2017-03-131-1/+3
|
* Clean up `discussions_to_resolve`-methodBob Van Landuyt2017-03-131-9/+9
|
* Move `resolve_discussions_with_issue` to `Issues::CreateService`Bob Van Landuyt2017-03-132-9/+9
|
* Don't filter params and merge them back in laterBob Van Landuyt2017-03-131-7/+2
| | | | By building the issue before filtering
* Correctly indent quotes in new issue descriptionBob Van Landuyt2017-03-131-1/+2
| | | | | | By using `>`-quote style instead of `>>>`. Also: Update documentation images.
* Better variable namesBob Van Landuyt2017-03-131-2/+2
| | | | So the title doesn't seem to be set _on_ a merge request.
* Optimize finding `discussions_to_resolve`Bob Van Landuyt2017-03-131-5/+9
|
* Link 'discussion' instead of dateBob Van Landuyt2017-03-131-2/+1
| | | | Since the date would be wrong for people in different timezones.
* Move functionality for resolving discussions into a concernBob Van Landuyt2017-03-134-36/+40
|
* Always require MR-iid for resolving discussionsBob Van Landuyt2017-03-132-22/+18
| | | | | 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-133-17/+46
| | | | | | 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.
* Address review commentsValery Sizov2017-03-071-2/+2
|
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into orderable-issuesValery Sizov2017-03-031-1/+1
|\
| * Enable and autocorrect the CustomErrorClass copSean McGivern2017-03-011-1/+1
| |
* | Address review commentsValery Sizov2017-03-021-17/+15
| |
* | [Issue Board Sorting] Set position for newly created issuesValery Sizov2017-02-281-0/+1
| |
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into orderable-issuesValery Sizov2017-02-242-16/+12
|\ \ | |/
| * Spam check and reCAPTCHA improvements28093-snippet-and-issue-spam-check-on-editOswaldo Ferreira2017-02-212-16/+13
| |
* | Frontend updates to positioning the issue in listsPhil Hughes2017-02-171-1/+1
| |
* | Allow issues in boards to be orderedDouwe Maan2017-02-171-0/+21
|/
* Use safe navigation operator to make rubocop happywinniehell2017-02-131-1/+1
|
* fix issue creation from milestone doesn't assign the milestonewendy04022017-02-121-1/+9
|
* Use reCaptcha when an issue identified as spamJarka Kadlecova2017-02-071-2/+10
|
* Check if user can read issue before being assignedissue_22664Felipe Artur2016-12-271-4/+0
|
* Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741Rydkin Maxim2016-12-161-1/+1
|
* Feature: delegate all open discussions to IssueBob Van Landuyt2016-12-053-1/+71
| | | | | | | | | | | | | 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.
* Refactor JiraService by moving code out of JiraService#execute methodclean-up-jira-serviceAdam Niedzielski2016-12-011-1/+1
| | | | | | | | | | The implicit interface of project services states that the "execute" method is meant to be called when project hooks are executed. Currently JiraService does not support any project events even though JiraService#supported_events says that "commit" and "merge_request" are supported. They are only used to render correct options in JIRA configuration screen, but they are not supported. Because of that, this commit makes "execute" method a no-op.
* Process commits in a separate workerprocess-commits-using-sidekiqYorick Peterse2016-11-071-0/+13
| | | | | | | | | | | | | This moves the code used for processing commits from GitPushService to its own Sidekiq worker: ProcessCommitWorker. Using a Sidekiq worker allows us to process multiple commits in parallel. This in turn will lead to issues being closed faster and cross references being created faster. Furthermore by isolating this code into a separate class it's easier to test and maintain the code. The new worker also ensures it can efficiently check which issues can be closed, without having to run numerous SQL queries for every issue.
* Include global labels when moving an issue to another projectDouglas Barbosa Alexandre2016-10-191-2/+6
|
* Add bulk update support for merge requests listDmitriy Zaporozhets2016-09-081-25/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* 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
|
* Merge branch '4273-slash-commands' into 'master'Robert Speicher2016-08-183-15/+16
|\ | | | | | | | | | | Support slash commands in issues / MR description & comments See merge request !5021
| * Fix specs and implement fixes based on failing specsDouwe Maan2016-08-171-2/+5
| |
| * Merge branch 'master' into 4273-slash-commandsDouwe Maan2016-08-161-7/+12
| |\ | | | | | | | | | | | | # Conflicts: # app/services/issues/create_service.rb
| * | Enforce permissions in `{Issues,MergeRequests}::{Close,Reopen}Service`Rémy Coutable2016-08-132-0/+4
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | Support slash commands in noteable description and notesRémy Coutable2016-08-131-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some important things to note: - commands are removed from noteable.description / note.note - commands are translated to params so that they are treated as normal params in noteable Creation services - the logic is not in the models but in the Creation services, which is the right place for advanced logic that has nothing to do with what models should be responsible of! - UI/JS needs to be updated to handle notes which consist of commands only - the `/merge` command is not handled yet Other improvements: - Don't process commands in commit notes and display a flash is note is only commands - Add autocomplete for slash commands - Add description and params to slash command DSL methods - Ensure replying by email with a commands-only note works - Use :subscription_event instead of calling noteable.subscribe - Support :todo_event in IssuableBaseService Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch '2451-fix-mentions-in-issue-updates' into 'master' Robert Speicher2016-08-171-1/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Send notification emails when users are newly mentioned in issue or MR edits ## What does this MR do? Introduces "new mention in issue" and "new mention in MR" email notifications. Editing a Mentionable title or description and adding a mention to a user who was not previously mentioned will now send them a notification email, following usual permissions for doing so. ## Why was this MR needed? Issues & MRs may be edited to include mentions to new people. We don't currently send out email notifications of these edits to anyone, although they do create TODOs. This brings email notifications into parity with TODOs. ## What are the relevant issue numbers? Closes #2451 See merge request !5800
| * | Send notification emails when users are newly mentioned in issue editsNick Thomas2016-08-121-1/+6
| |/
* | Further refactor and syntax fixes.Patricio Cano2016-08-151-2/+2
| |