Commit graph

19 commits

Author SHA1 Message Date
Jan Provaznik
470b3cb5a1 Fix label links update on project transfer 2018-04-19 08:17:12 +00: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
Jarka Kadlecová
dcc1ab979a Keep subscribers when promoting labels to group labels 2018-01-12 16:20:38 +01:00
Jacopo
181cd299f9 Adds Rubocop rule for line break after guard clause
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Brian Neel
9770c57fab Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
Grzegorz Bizon
0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Dongqing Hu
6dd7695444 Labels support color names in backend 2017-03-29 11:45:15 +00:00
Ritave
5d871dccbe Abillity to promote project labels to group labels
Fixes #24021
2017-01-31 12:50:52 +01: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
1d8b74fee3 Avoid touch label links that does not belongs to project when moving it 2016-10-19 14:58:28 -02:00
Douglas Barbosa Alexandre
4f6d1c1d70 Rename Labels::CreateService to Labels::FindOrCreateService 2016-10-19 14:58:28 -02:00
Douglas Barbosa Alexandre
d009d38ed6 User Labes::CreateService to create labels 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
6c189dcc8e Add service to create project labels 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
49ec98d1b2 Recreates the label priorities when moving project to another group 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
fc59d35720 Skip update query if label have the same id on Labels::TransferService 2016-10-19 14:58:26 -02:00
Douglas Barbosa Alexandre
8522ef44bf Recreates missing group labels when moving project to another group 2016-10-19 14:58:24 -02:00
Dmitriy Zaporozhets
986695e136 Refactor global and group milestones logic
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-16 14:07:38 +01:00
Douwe Maan
3a69dd20a1 Allow dashboard and group issues/MRs to be filtered by label 2015-10-14 12:33:39 +02:00