Commit graph

11 commits

Author SHA1 Message Date
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
James Lopez
112f470572 Fix cross-project references copy to include the project reference
Also added relevant specs and refactored to_references in a bunch of places to be more consistent.
2017-01-03 13:01:46 +01:00
Douglas Barbosa Alexandre
bc7895fff8 Use label subject to calculate number of issues/mrs within the group 2016-10-31 23:27:49 -02:00
Douglas Barbosa Alexandre
2f7260b460 Fix max number of permitted priorities per project label 2016-10-19 14:58:28 -02:00
Douglas Barbosa Alexandre
8379fbcd47 Add subject to group and projects labels which return group/project 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
99e928f103 Add restriction to number of permitted priorities per project label 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
cece77f273 Fix validation to allow updates to description/color of project label 2016-10-19 14:58:26 -02:00
Douglas Barbosa Alexandre
0e8dd59913 Move common logic to reference group/project label to Label#to_reference 2016-10-19 14:58:26 -02:00
Douglas Barbosa Alexandre
07709c5576 Unfold references for group labels when moving issue to another project 2016-10-19 14:58:25 -02:00
Douglas Barbosa Alexandre
e28058c410 Validate if project label title does not exist at group level 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre
cfedd42bad Add ProjectLabel model 2016-10-19 14:58:24 -02:00