Commit graph

21 commits

Author SHA1 Message Date
Chantal Rollison
90aae02bd7 Add group milestones to dashboard milestone page 2018-08-03 19:52:37 +00:00
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Maxim Rydkin
5f72aaa303 replace is_legacy_group_milestone? with legacy_group_milestone? 2017-08-29 11:14:41 +03:00
Felipe Artur
b5f596c3ff Native group milestones 2017-07-07 15:08:49 +00:00
Z.J. van de Weg
128b1eae09 Update Rubocop to ruby 2.3 2017-02-07 15:16:46 +01:00
Adam Niedzielski
f13c650c16 Speed up group milestone index by passing group_id to IssuesFinder 2017-01-06 13:47:18 +01: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
Stan Hu
b60bc655f2 Restore placeholders in issue filters from "Any" to "Milestone" and "Label"
1f11096c included new filters but made it hard to determine which dropdown did
what. This patch restores the original placeholders.
2015-10-08 23:53:32 -07:00
Jonah Bishop
8b92946b54 Change percent_complete rescue value from 100 to 0
The percent_complete method returns a value of 100 when a
ZeroDivisionError occurs. That seems like a very strange default for an
error case, and results in a bug when a milestone has no corresponding
issues (new, empty milestones show 100% completion). This commit changes
the rescue value to 0, and subsequently fixes #1656, which reported this
problem.
2015-05-26 14:57:53 -04:00
Douwe Maan
58ecb06f74 Remove duplicates from group milestone participants list. 2015-02-05 21:26:57 +01:00
Marin Jankovski
275a5281d5 Milestone is closed only if all milestones are closed. 2014-07-14 15:25:09 +02:00
Marin Jankovski
3e52517da1 Add feature tests for group milestone. 2014-06-30 16:18:26 +02:00
Marin Jankovski
fdbf77ef99 Fix styling issues. 2014-06-30 13:27:17 +02:00
Marin Jankovski
d3796b84f8 Show all issues and merge requests that could be considered opened or closed, includes reopened and merged. 2014-06-30 12:41:27 +02:00
Marin Jankovski
d145f09cd6 Correct authorization for group milestones. 2014-06-30 11:38:03 +02:00
Marin Jankovski
e66a8b4cda Move milestone link in group head, 2 column milestone for MR and issues. 2014-06-30 11:13:24 +02:00
Marin Jankovski
c223fb1a96 Start building group milestone show page. 2014-06-30 09:45:16 +02:00
Marin Jankovski
f0af302c83 Close and reopen group milestones. 2014-06-30 09:44:30 +02:00
Marin Jankovski
4ca8a175a2 Filter group milestones. 2014-06-30 09:44:30 +02:00
Marin Jankovski
0723bf1afa Move group milestone processing from service to model. 2014-06-30 09:44:30 +02:00