gitlab-org--gitlab-foss/app
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
..
assets Fix Markdown preview not working in Edit Milestone page 2015-05-25 21:03:55 -07:00
controllers Add support for Webhook note events 2015-05-21 23:48:16 -04:00
finders Group milestones by title in the dashboard and all other issue views 2015-05-01 01:12:58 +02:00
helpers Merge branch 'rs-link_to_label' into 'master' 2015-05-26 15:09:04 +00:00
mailers Revert "Allow to configure smtp and sendmail in gitlab.yml" 2015-05-06 17:39:18 +03:00
models Change percent_complete rescue value from 100 to 0 2015-05-26 14:57:53 -04:00
services Add support for Webhook note events 2015-05-21 23:48:16 -04:00
uploaders Fix URL to uploaded file. 2015-02-20 16:01:37 +01:00
views Merge branch 'rs-link_to_label' into 'master' 2015-05-26 15:09:04 +00:00
workers Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00