Commit Graph

10 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 8379fbcd47 Add subject to group and projects labels which return group/project 2016-10-19 14:58:27 -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 1e6d136af3 Keep cross project reference logic in GroupLabel#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 d820c090ec Add GroupLabel model 2016-10-19 14:57:14 -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