Commit Graph

11 Commits

Author SHA1 Message Date
GitLab Bot 793d974d7c Add latest changes from gitlab-org/gitlab@master 2021-05-14 12:10:58 +00:00
GitLab Bot 6d19e491d1 Add latest changes from gitlab-org/gitlab@master 2021-04-30 12:12:30 +00:00
Christian Couder 760d4a1621 Avoid creating labels when removing them
IssuableBaseService has been updated so that labels are not
created when push options to remove them are received.
2019-09-04 12:11:31 +02:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
gfyoung 265478ad74 Enable frozen string in apps/services/**/*.rb
For directories application_settings --> labels.

Partially addresses #47424.
2018-07-16 12:36:41 -07:00
Mark Chao 4f795ed823 Backport from EE !5954
Allow Labels::FindOrCreateService to find ancestor group labels
Add authentication check on API endpoint
Update flayignore
2018-07-04 20:48:50 +08:00
Jan Provaznik 07a227a320 Allow to find labels in ancestor groups and better group support in label service 2018-02-26 16:23:19 +00:00
Dongqing Hu 6dd7695444 Labels support color names in backend 2017-03-29 11:45:15 +00:00
Douwe Maan 3d7704ae5f Merge branch 'zj-fix-label-creation-non-members' into 'security'
Fix label creation non members

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23416

See merge request !2006
2016-11-28 21:24:19 -03:00
Adam Niedzielski e2c603696a Pass user instance to Labels::FindOrCreateService or skip_authorization: true
Do not pass project.owner because it may return a group and Labels::FindOrCreateService
throws an error in this case.
Fixes #23694.
2016-10-28 11:31:45 +02:00
Douglas Barbosa Alexandre 4f6d1c1d70 Rename Labels::CreateService to Labels::FindOrCreateService 2016-10-19 14:58:28 -02:00