Jean-Philippe Lang
818988c419
Removed ApplicationControllerTest.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 17:51:09 +00:00
Jean-Philippe Lang
610a92c4d1
Moved test from ApplicationControllerTest.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 17:48:18 +00:00
Toshi MARUYAMA
3d562490d8
code layout clean up app/views/wiki/rename.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 12:09:34 +00:00
Toshi MARUYAMA
27828590d1
Rails3: view: use explicit post method at wiki/rename.html.erb
...
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/projects/id/wiki/wikiname/rename"' error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 12:08:54 +00:00
Toshi MARUYAMA
bddd2a740d
Rails3: view: use explicit post method at projects/settings/_modules.html.erb
...
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/projects/id/modules"' error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 10:48:40 +00:00
Toshi MARUYAMA
737655cebc
Rails3: view: use explicit post method at my/account.html.erb
...
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/my/account"' error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 10:13:00 +00:00
Toshi MARUYAMA
4cc2731996
code layout clean up app/views/wiki/index.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 06:24:43 +00:00
Jean-Philippe Lang
d5030c8b81
View cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 22:53:39 +00:00
Jean-Philippe Lang
6b5f75bb1d
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 20:09:53 +00:00
Jean-Philippe Lang
131f258f5f
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 19:59:52 +00:00
Jean-Philippe Lang
395fe0d777
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 19:49:51 +00:00
Jean-Philippe Lang
606ca39d10
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 19:44:37 +00:00
Jean-Philippe Lang
bbba385198
Missing html_safe.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 17:40:03 +00:00
Jean-Philippe Lang
f488ee8b0a
Missing html_safe.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 15:39:38 +00:00
Toshi MARUYAMA
65959100f4
code layout cleanup app/views/repositories/_navigation.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 14:41:02 +00:00
Toshi MARUYAMA
888f9fd5e1
route: code layout clean up repositories route
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 13:26:00 +00:00
Toshi MARUYAMA
a9f25961af
route: code layout clean up repositories route
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 12:13:32 +00:00
Toshi MARUYAMA
313bfa5408
test: replace should "include the emails_header" at unit mailer test to Rails standard test suite
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 11:38:29 +00:00
Toshi MARUYAMA
2ab7dba964
Rails3: model: mailer: use .to_s at redmine_headers method
...
On Rails 3.0:
<pre>
DEPRECATION WARNING: Using a non-String object for a header's value is deprecated.
You specified 15 (a Fixnum) for X-Redmine-Issue-Id.
</pre>
On Rails 3.1.3:
<pre>
Error:
test_message_posted_message_id(MailerTest):
NoMethodError: undefined method `index' for 1:Fixnum
test/unit/mailer_test.rb:226:in `test_message_posted_message_id'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 09:35:50 +00:00
Toshi MARUYAMA
1b61fbf739
Rails3.1: test: include ERB::Util in unit/helpers/search_helper_test.rb
...
undefined method `h' error raises on Rails 3.1.3 and Ruby 1.8.7.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 09:07:57 +00:00
Toshi MARUYAMA
e7de511bbc
svn propset "svn:eol-style" native test/functional/auth_sources_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 22:18:25 +00:00
Jean-Philippe Lang
be5169249a
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 21:09:33 +00:00
Jean-Philippe Lang
8364f86af1
Give explicit url option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 20:25:33 +00:00
Jean-Philippe Lang
53d5ff299a
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 20:02:39 +00:00
Jean-Philippe Lang
13dca2fd3d
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 19:57:30 +00:00
Jean-Philippe Lang
84f8245abb
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 19:50:51 +00:00
Jean-Philippe Lang
ed1320f3c9
Use #scoped instead of .with_scope
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 18:23:45 +00:00
Jean-Philippe Lang
1f6764e2af
Rails3 compat.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 17:58:14 +00:00
Jean-Philippe Lang
cd256fe89f
Order is already defined on attachments association.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 17:35:34 +00:00
Jean-Philippe Lang
d84660c823
Use Errors#count instead of #length.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 17:23:12 +00:00
Toshi MARUYAMA
979a4ecb22
Rails3: helper: html_safe for SearchHelper render_results_by_type method
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 13:45:30 +00:00
Toshi MARUYAMA
c86cb730f1
Rails3: helper: html_safe for SearchHelper highlight_tokens method
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 13:44:35 +00:00
Toshi MARUYAMA
b67353fdb5
Rails3: helper: html_safe for IssuesHelper render_issue_tooltip method
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 11:45:18 +00:00
Toshi MARUYAMA
56ca36ede1
Rails3: view: html_safe for wiki/show.html.erb
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 11:44:32 +00:00
Toshi MARUYAMA
29edbd605b
Rails3: view: html_safe for my/page_layout.html.erb
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 09:51:30 +00:00
Toshi MARUYAMA
2b2eeb0192
Rails3: helper: html_safe for JournalsHelper render_notes method
...
Contributed by Sernin van de Krol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 06:39:35 +00:00
Toshi MARUYAMA
48fae14403
Rails3: view: html_safe for timelog/report.html.erb
...
Contributed by Eric Cline.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 06:11:46 +00:00
Toshi MARUYAMA
09e4fd0500
Rails3: view: html_safe for timelog/_report_criteria.html.erb
...
Contributed by Eric Cline.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 06:11:01 +00:00
Toshi MARUYAMA
5340a48253
Rails3: view: html_safe for issue_moves/new.html.erb
...
Contributed by Eric Cline.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 05:52:26 +00:00
Toshi MARUYAMA
0fe8a4248d
Rails3: view: html_safe for issues/bulk_edit.html.erb
...
Contributed by Eric Cline.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 04:45:49 +00:00
Toshi MARUYAMA
25ead5fd42
route: move time entries matchings and resources after /issues matchings
...
Time log tests pass except /time_entries delete action on Rails 3.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-31 06:19:12 +00:00
Toshi MARUYAMA
d17b4c8e4f
test: route: split wiki tests
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-31 05:08:54 +00:00
Toshi MARUYAMA
ab60ce54f5
test: route: split roadmap test in versions test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-31 02:51:41 +00:00
Toshi MARUYAMA
e5cc53c19c
route: move queries resources after projects resources
...
This change passes queries test on Rails 3.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 23:53:29 +00:00
Toshi MARUYAMA
dd769d2af8
route: change order users resources and matchings
...
This changes pass users tests on Rails 3.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 16:08:42 +00:00
Toshi MARUYAMA
561f7090c8
route: change order of some issues and projects resources and matchings
...
This change passes issues and projects routing tests on Rails 3.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 14:55:05 +00:00
Toshi MARUYAMA
dbc78746d2
route: move 'issues/new' matching before project/issues resources
...
On Rails3.0, 'match' needs before resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 12:53:15 +00:00
Toshi MARUYAMA
5127f3dcbc
route: move attachments resources after matching
...
On Rails3.0, 'match' needs before resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 12:52:08 +00:00
Toshi MARUYAMA
49ceb577ec
route: code layout clean up versions resources
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 10:10:02 +00:00
Toshi MARUYAMA
1a8338dbaf
test: route: rearrange issues tests for each scopes
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 10:09:04 +00:00