]> source.dussan.org Git - redmine.git/commit
Rewrite the Gantt chart. #6276
authorEric Davis <edavis@littlestreamsoftware.com>
Fri, 10 Sep 2010 03:09:02 +0000 (03:09 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Fri, 10 Sep 2010 03:09:02 +0000 (03:09 +0000)
commitbdb3937e0f4c8faceb463e23cb28676930ddbd9e
tree8d8a5d1b5b78b1b206363549f8635a2e3b29ff32
parent8d52608dbad63d504ec4b48ffe5ea09cfbe95bd9
Rewrite the Gantt chart. #6276

This version of the Gantt chart supports nested charts. So Projects,
Versions, and Issues will be nested underneath their parents correctly.

Additional features:

* Move all Gantt code to Redmine::Helpers::Gantt class instead of having it in
  the Gantt class, controller, and view
* Recursive and nest sub-projects
* Recursive and nest versions
* Recursive and nest issues
* Draw a line showing when a Project is active and it's progress
* Draw a line showing when a Version is active and it's progress
* Show a version's % complete
* Change the color of Projects, Versions, and Issues if they are late or
  behind schedule
* Added Project#start_date and #due_date
* Added Project#completed_percent
* Use a mini-gravatar on the Gantt chart
* Added tests for the Gantt rendering

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4072 e93f8b46-1217-0410-a6f0-8f06a7374b81
29 files changed:
app/controllers/gantts_controller.rb
app/controllers/issues_controller.rb
app/helpers/application_helper.rb
app/helpers/gantt_helper.rb [new file with mode: 0644]
app/helpers/issues_helper.rb
app/models/issue.rb
app/models/project.rb
app/models/version.rb
app/views/gantts/show.html.erb
lib/redmine/export/pdf.rb
lib/redmine/helpers/gantt.rb
public/images/milestone.png [deleted file]
public/images/milestone_done.png [new file with mode: 0644]
public/images/milestone_late.png [new file with mode: 0644]
public/images/milestone_todo.png [new file with mode: 0644]
public/images/project_marker.png [new file with mode: 0644]
public/images/task_done.png
public/images/version_marker.png [new file with mode: 0644]
public/stylesheets/application.css
test/functional/gantts_controller_test.rb
test/object_daddy_helpers.rb
test/unit/helpers/application_helper_test.rb
test/unit/issue_test.rb
test/unit/lib/redmine/helpers/gantt_test.rb [new file with mode: 0644]
test/unit/project_test.rb
test/unit/version_test.rb
vendor/plugins/gravatar/Rakefile
vendor/plugins/gravatar/lib/gravatar.rb
vendor/plugins/gravatar/spec/gravatar_spec.rb