Toshi MARUYAMA
2461d12388
gantt: remove redundant empty lines from unit gantt helper test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-11 02:58:59 +00:00
Toshi MARUYAMA
dadd294a25
code layout cleanup test/unit/lib/redmine/helpers/gantt_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 08:08:06 +00:00
Jean-Philippe Lang
ba5a052c8c
Copyright update.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Jean-Philippe Lang
f12942ff40
Make sure that "today" does not change during tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 23:53:34 +00:00
Jean-Philippe Lang
c7d78ef094
Fixed gantt_test, Date.today and 0.day.from_now may not be the same depending on time and time zone.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 23:50:56 +00:00
Toshi MARUYAMA
d19a7dee42
add fixtures to test/unit/lib/redmine/helpers/gantt_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 00:55:37 +00:00
Jean-Philippe Lang
0fad78f53f
Removed Query.generate_default! helper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 12:46:43 +00:00
Jean-Philippe Lang
b960470d78
Removed object_daddy dependency.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 11:56:47 +00:00
Jean-Philippe Lang
67d52acb84
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9091 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:55:25 +00:00
Jean-Philippe Lang
8071b71c5d
No need to delete fixtures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:48:44 +00:00
Toshi MARUYAMA
6c7ead508f
test: include ERB::Util at test/unit/lib/redmine/helpers/gantt_test.rb
...
On Rails 3.1, undefined method `h' error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 11:05:23 +00:00
Jean-Philippe Lang
b549523e4b
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:14:14 +00:00
Toshi MARUYAMA
98e7d125f1
remove trailing white-spaces from test/unit/lib/redmine/helpers/gantt_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 07:53:59 +00:00
Toshi MARUYAMA
5f1e8b3c55
remove trailing white-spaces from test/unit/lib/redmine/helpers/calendar_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 06:59:44 +00:00
Jean-Philippe Lang
da69f086e7
Fixes version url.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:28:48 +00:00
Jean-Philippe Lang
86eed08fbf
Fixes progress calculation on gantt ( #7838 ).
...
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 17:35:20 +00:00
Jean-Philippe Lang
96ff8ef4bc
Fixes wrong test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 16:49:35 +00:00
Jean-Philippe Lang
78af4f429f
Adds support for saturday as the first week day ( #7097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:43:26 +00:00
Jean-Philippe Lang
4f9d3f80c4
Moved calendar tests to unit/lib/redmine/helpers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:26:59 +00:00
Jean-Philippe Lang
ec8d9a7911
Gantt: do not ignore project filter ( #7000 , #7352 ), do not display empty projects/versions, and display shared versions used in other projects ( #5817 , #6476 , #6604 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 18:07:09 +00:00
Jean-Philippe Lang
ad62060753
Disable project completion display on the gantt ( #7127 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-29 20:29:42 +00:00
Jean-Philippe Lang
525656a490
Ported subtasks display with indentation to the new gantt ( #7128 ) and fixed markers alignment.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-18 16:06:20 +00:00
Jean-Philippe Lang
edc35d4d5b
Gantt code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-17 14:05:43 +00:00
Jean-Philippe Lang
98c7c179ca
Gantt code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-17 13:40:25 +00:00
Jean-Philippe Lang
8f7da03419
Gantt code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-17 12:41:54 +00:00
Jean-Philippe Lang
27f76d20ce
Gantt: fixes progress width in some cases and start code cleaning.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-17 12:24:11 +00:00
Jean-Philippe Lang
b48291ec63
Adds an application setting to limit the number of items that can be displayed on the gantt chart ( #6276 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-15 21:18:06 +00:00
Jean-Baptiste Barth
17f86d964f
Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 23:24:34 +00:00
Eric Davis
bdb3937e0f
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
2010-09-10 03:09:02 +00:00