summaryrefslogtreecommitdiff
path: root/app/services/issuable_base_service.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-4/+10
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-301-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-141-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-101-2/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-101-2/+10
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-211-11/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-191-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-291-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* Merge branch 'add-label-push-opts' into 'master'Ash McKenzie2019-09-061-6/+9
|\ | | | | | | | | | | | | Support adding and removing labels w/ push opts Closes #5942 See merge request gitlab-org/gitlab-ce!31831
| * Simplify filter_labels method in IssuableBaseServiceadd-label-push-optsChristian Couder2019-09-041-15/+9
| | | | | | | | | | IssuableBaseService::filter_labels() has been refactored to call a new `label_ids_to_filter` method.
| * Avoid creating labels when removing themChristian Couder2019-09-041-1/+1
| | | | | | | | | | IssuableBaseService has been updated so that labels are not created when push options to remove them are received.
| * Support adding and removing labels w/ push optsChristian Couder2019-09-041-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MergeRequests::PushOptionsHandlerService has been updated to allow adding and removing labels to a merge request using git push options. To create a new merge request and add 2 labels to it: git push -u origin -o merge_request.create \ -o merge_request.label="My label 1" \ -o merge_request.label="My label 2" To update an existing merge request and remove a label while adding a different label: git push -u origin -o merge_request.label="My added label" \ -o merge_request.unlabel="My removed label" Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64320
* | Add service to transfer group milestonesEugenia Grieff2019-09-041-0/+1
|/ | | | | | | | | | | - Add new service that transfers milestones from a group to a project - Include new service in Projects transfer service - Include FromUnion module in Milestone model to use in transfer service - Add specs for new milestones service - Add specs for transferring milestones in project transfer service
* Add service classes for mutating AwardEmojiLuke Duncalfe2019-08-211-4/+1
| | | | | | | | | | | | | | | | | | Adding, destroying and toggling emoji previously lacked services and instead were performed through methods called on Awardable models. This led to inconsistencies where relevant todos would be marked as done only when emoji were awarded through our controllers, but not through the API. Todos could also be marked as done when an emoji was being removed. Behaviour changes - Awarding emoji through the API will now mark a relevant Todo as done - Toggling an emoji off (destroying it) through our controllers will no longer mark a relevant Todo as done Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63372
* Add system notes for when a zoom call was added/removed from an issue63547-add-system-notes-for-when-a-zoom-call-was-added-removed-from-an-issueJacopo2019-07-291-0/+1
| | | | | Add a zoom link added / removed system note when a zoom link is being added / removed to the issue description.
* Skip spam check for task list updatesFelipe Artur2019-07-091-2/+2
| | | | Task list updates should not mark users action as spam on akismet.
* Do not change updated_at on an issue when reordering on an issue boardEugenia Grieff2019-06-281-2/+11
|
* [CE] Support multiple assignees for merge requestsosw-multi-assignees-merge-requestsOswaldo Ferreira2019-04-081-6/+12
| | | | | Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
* [backend] backport of scoped labelsJan Provaznik2019-04-041-2/+3
| | | | Scoped labels in EE require additional changes in CE code.
* Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ↵jarv/dev-to-gitlab-2019-04-02John Jarvis2019-04-021-8/+12
|\ | | | | | | jarv/dev-to-gitlab-2019-04-02
| * Check if labels are available for target issuableJarka Košanová2019-03-281-8/+12
| | | | | | | | | | - labels have to be in the same project/group as an issuable
* | add a uniq constraints on issues and mrs labelsAntoine Huret2019-04-011-1/+1
| |
* | Add a thin encapsulation around .pluck(:id)Nick Thomas2019-03-281-3/+1
|/
* Add array support for labelsAlexandru Croitor2019-03-061-1/+1
| | | | | * Support label parameter as comma separated and array of strings for merge requests and issues api endpoints
* Check issue milestone availabilityJarka Košanová2019-02-141-0/+6
| | | | | | | | | | Add project when creating milestone in specs We validate milestone is from the same project/parent group as issuable -> we need to set project in specs correctly Improve methods names and specs organization
* Remove Redcarpet markdown engineJan Provaznik2019-02-041-3/+1
| | | | | This engine was replaced with CommonMarker in 11.4, it was deprecated since then.
* Address review commentsBrett Walker2019-01-311-17/+18
|
* Changes for review commentsBrett Walker2019-01-301-10/+10
|
* Use the sourcepos attribute for finding tasksBrett Walker2019-01-301-5/+5
|
* Specs for Issue::UpdateServiceBrett Walker2019-01-301-3/+4
|
* Add back call to execute_hooksBrett Walker2019-01-301-5/+1
|
* Raise exception if we can't match the update_taskBrett Walker2019-01-301-0/+31
| | | | and some additional refactoring
* Refactor toggling of task list itemBrett Walker2019-01-301-0/+32
|
* Fix MilestonesFinder to pass relations to scopeHeinrich Lee Yu2019-01-121-2/+2
| | | | | | | Instead of querying relations into ids we just pass them to the model scope because the scope supports it now. Also changes other calls to `Milestone.for_projects_and_groups`
* Run CommonSystemNotesService on issuable createHeinrich Lee Yu2018-12-181-1/+5
| | | | Adds system notes for labels, milestone and due date on create
* Allow limiting quick actions to executeBob Van Landuyt2018-11-071-2/+2
| | | | | | Sometimes we don't want to trigger any quick actions that cause side effects. For example when building a record to validate. This allows listing the quick actions that need to be performed.
* Add email for milestone changeChantal Rollison2018-11-021-0/+8
|
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+4
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Resolve "Migrate issue labels and milestone to related merge request"Tiago Botelho2018-09-061-11/+2
|
* Enable frozen string in apps/uploaders/*.rbgfyoung2018-07-161-0/+2
| | | | Partially addresses #47424.
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-1/+1
|
* Resolve "Update `updated_at` on an issue/mr on every issue/mr changes"🙈 jacopo beschi 🙉2018-06-011-1/+4
|
* Show issues of subgroups in group-level issue boardFelipe Artur2018-04-051-1/+2
|
* Allow assigning and filtering issuables by ancestor group labelsFelipe Artur2018-04-041-1/+1
|
* Rename quick actions handlerOswaldo Ferreira2018-03-051-2/+2
|
* Move wip handling to MergeRequest::BaseServicewip-slash-command-on-mr-descriptionOswaldo Ferreira2018-03-011-16/+5
|
* /wip slash command on MR creationAdam Pahlevi2018-03-011-0/+15
| | | | | | | | | | | | change to symbol add complete changelog add test for /wip unwip as sym test for work in progress separate from issuable
* Allow to find labels in ancestor groups and better group support in label ↵Jan Provaznik2018-02-261-3/+11
| | | | service
* Port `read_cross_project` ability from EEBob Van Landuyt2018-02-221-1/+1
|