Commit graph

8 commits

Author SHA1 Message Date
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
Stan Hu
0890aeb61a Fix error in generating labels
Attempting to generate default set of labels would result in
an error:

ArgumentError: wrong number of arguments (given 1, expected 0)

Closes #23649
2016-10-22 02:16:21 -07: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
Ben Bodenmiller
3e55d56c90 remove feature label
For automatic label generation remove label `feature` as it is basically means the same thing as label `enhancement`.
2014-10-31 17:22:16 -07:00
Dmitriy Zaporozhets
b2a6f4e136
Refactor label rendering and default label set generation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-29 22:19:47 +03:00
Dmitriy Zaporozhets
d45a6b2941
Migrate issue/mr labels from act_as_taggable to own labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-29 19:19:26 +03:00
Dmitriy Zaporozhets
03441769df Include default labels in issues autocomplete etc. Show colored labels on issues show page 2013-05-07 19:26:41 +03:00
Renamed from lib/gitlab/labels.rb (Browse further)