Commit Graph

7057 Commits

Author SHA1 Message Date
Jean-Philippe Lang 20ead6d8f7 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 09:53:10 +00:00
Jean-Philippe Lang 8f23043851 Dup attributes instead of issue object.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 09:51:26 +00:00
Toshi MARUYAMA bc7ed1e156 test: route: move timelogs tests to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:13:38 +00:00
Toshi MARUYAMA 904ec537b2 test: route: move members test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:13:14 +00:00
Toshi MARUYAMA ed933a28da test: route: move gantts test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:12:50 +00:00
Toshi MARUYAMA c7d96d1441 test: route: move repositories test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8340 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:12:25 +00:00
Toshi MARUYAMA ceaaf6d3a2 test: route: move versions test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:12:00 +00:00
Toshi MARUYAMA 1a626bcacd test: route: move files test in project to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 04:11:32 +00:00
Toshi MARUYAMA b6d6f5e382 test: route: move reports test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:41:43 +00:00
Toshi MARUYAMA dedbff3653 test: route: move issue_relations test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:41:17 +00:00
Toshi MARUYAMA e9ec49a705 test: route: move remaining calendars test in test_issues_extra_actions to routing/calendars_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:40:30 +00:00
Toshi MARUYAMA f37ee781fb test: route: move calendars test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:05:48 +00:00
Toshi MARUYAMA dd312d294a test: route: move journals test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:05:09 +00:00
Toshi MARUYAMA bb7854923d test: route: add 'my' test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 01:04:26 +00:00
Toshi MARUYAMA b5dd07781c set "svn:eol-style" native to lib/tasks/testing.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 00:05:29 +00:00
Toshi MARUYAMA ff1418e2d3 add new rake task "test:rdm_routing" to run test/integration/routing/*_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 00:00:56 +00:00
Toshi MARUYAMA 23bafda164 test: route: move issue_moves test in test_issues_extra_actions to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 23:08:04 +00:00
Toshi MARUYAMA f6a9cf4326 test: route: move groups test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 23:07:40 +00:00
Toshi MARUYAMA fbf323bf51 test: route: move enumerations test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 23:07:17 +00:00
Toshi MARUYAMA c18d24434a test: route: add account test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8326 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 23:06:52 +00:00
Toshi MARUYAMA 50b6ab9de2 test: route: fix duplicate "test_roles"
This is introduced by r8189 and r8230 in trunk.
So, this is not effect in 1.3-stable.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 12:19:54 +00:00
Toshi MARUYAMA e5275453db test: route: move documents test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 11:18:12 +00:00
Toshi MARUYAMA 413d98ca43 test: route: move messages test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:56:22 +00:00
Toshi MARUYAMA 260bc487aa code layout clean up test/integration/api_test/users_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:08:28 +00:00
Toshi MARUYAMA df2d2f3cf7 test: route: move custom_fields test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:08:05 +00:00
Toshi MARUYAMA a8186713ba test: route: move boards test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:07:39 +00:00
Toshi MARUYAMA 40eb962166 test: route: move admin test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 08:11:29 +00:00
Toshi MARUYAMA 4df7460ce6 test: route: move attachments test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 08:11:05 +00:00
Toshi MARUYAMA 3153897fde test: route: move activities test to new file
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 08:10:42 +00:00
Toshi MARUYAMA 3fbbd6bc50 fix filename of test/unit/lib/redmine/wiki_formatting.rb
"rake test:units" runs following command

<pre>
"rake test:units" runs '/usr/bin/ruby -I"lib:test"
  -I"/usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib"
  "/usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/rake_test_loader.rb"
  "test/unit/**/*_test.rb"'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 03:53:35 +00:00
Toshi MARUYAMA d10028ec06 route: remove unused 'help'
help controller was removed at r835.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 03:25:49 +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
Toshi MARUYAMA 4ee2193112 test: include ERB::Util at test/unit/helpers/issues_helper_test.rb
On Rails 3.1, undefined method `h' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 11:04:25 +00:00
Toshi MARUYAMA 28d2896f90 Rails3: view: html_safe for issues/destroy.html.erb
Contributed by Eric Cline.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 06:51:42 +00:00
Toshi MARUYAMA fddfd4b413 route: news: replace unused alias "all_news" and "formatted_all_news"
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 02:50:46 +00:00
Toshi MARUYAMA e2b36d1c8a Rails3: route: split boards topics edit and destroy
Rails2 legacy route on Rails 3.0 does not support this syntax.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 00:45:26 +00:00
Toshi MARUYAMA ab1137159f Rails3: helper: html_safe for WatchersHelper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 16:47:42 +00:00
Toshi MARUYAMA 0d5df3a73e Rails3: view: html_safe for timelog/bulk_edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 13:42:19 +00:00
Toshi MARUYAMA 576d333c2c Rails3: view: html_safe for common/_calendar.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 03:40:06 +00:00
Toshi MARUYAMA 427aca9f90 fix parsing zh-TW.yml error with psych library on Ruby 1.9
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 03:39:43 +00:00
Toshi MARUYAMA 16365b5ce9 fix parsing en.yml error with psych library on Ruby 1.9
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 03:39:11 +00:00
Toshi MARUYAMA d249989257 Rails3: rename sample_plugin .rhtml to .html.erb (#6317, #4796)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 08:32:30 +00:00
Toshi MARUYAMA cb4abb115d remove trailing white-spaces from public/htaccess.fcgi.example
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 07:17:35 +00:00
Toshi MARUYAMA 87fd636313 add newline at end of public/dispatch.rb.example
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 07:13:45 +00:00
Toshi MARUYAMA 182932560a add newline at end of public/dispatch.cgi.example
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 07:13:21 +00:00
Toshi MARUYAMA 647e91059d set property svn:eol-style native at public/htaccess.fcgi.example
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 06:44:03 +00:00
Toshi MARUYAMA 7d46c43884 change new line 'CRLF' to 'LF' at public/htaccess.fcgi.example
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 06:38:33 +00:00
Toshi MARUYAMA 5293ba2323 add newline at end of public/htaccess.fcgi.example
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 06:16:05 +00:00
Toshi MARUYAMA 9518cea3dd remove svn property "eol-style native" from public/htaccess.fcgi.example
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-20 06:09:50 +00:00
Toshi MARUYAMA 16e8818d9e remove trailing white-spaces from app/models/user.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-19 04:41:13 +00:00