Jean-Philippe Lang
a5ed9c7e2d
Adds avatar on changeset view.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:41:50 +00:00
Jean-Philippe Lang
87b51d847c
Fixed invalid html.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:34:38 +00:00
Jean-Philippe Lang
9b27e1cd83
Prevent empty table from being rendered.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:31:27 +00:00
Jean-Philippe Lang
091de63f30
Use explicit path name.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:24:28 +00:00
Toshi MARUYAMA
50a2a1321d
code layout clean up app/views/messages/edit.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 12:55:07 +00:00
Toshi MARUYAMA
f25aa90490
Rails3: view: use explicit post method at messages/edit.html.erb
...
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/boards/1/topics/1/edit"' error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 12:54:24 +00:00
Toshi MARUYAMA
1812e68198
Rails3: view: change html special characters to hexadecimal utf-8 strings at issues/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 08:09:20 +00:00
Toshi MARUYAMA
25477e452c
Rails3: view: html_safe for repositories/_revision_graph.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 08:08:43 +00:00
Toshi MARUYAMA
4786706591
use i18n label for previous and next issue ( #2850 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 05:50:10 +00:00
Jean-Philippe Lang
86a52eaedf
Makes .find_ids return integers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 21:35:00 +00:00
Jean-Philippe Lang
b1504ceb43
Adds previous/next links to issue ( #2850 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 20:09:44 +00:00
Jean-Philippe Lang
bbe1ff3ec9
Faster query.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 18:10:03 +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
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
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
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
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
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
Jean-Philippe Lang
852dee37ec
Do not add errors on attributes on fake attributes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 13:34:50 +00:00
Jean-Philippe Lang
a03432cbe6
Rails3 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 12:22:03 +00:00
Jean-Philippe Lang
b20598d755
Use :joins instead of :include in calculations.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 12:07:07 +00:00
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
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
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
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
Jean-Philippe Lang
f5987a5ca0
Use validation callback.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:48:06 +00:00
Jean-Philippe Lang
14ea087edc
Removed unused scope.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:04:34 +00:00
Jean-Philippe Lang
b7ceb3c333
Removed unused scope.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8291 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:04:08 +00:00
Jean-Philippe Lang
b8ce888d98
Use scoped method instead of merge_conditions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:02:46 +00:00
Jean-Philippe Lang
9e83ee2ddf
Removed after_initialize methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 14:57:58 +00:00
Jean-Philippe Lang
062fbeae80
Makes models #initialize accept additional arguments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:26:20 +00:00
Jean-Philippe Lang
5eed64b848
human_attribute_name accepts optional argument.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:20:19 +00:00
Jean-Philippe Lang
2a0257e8af
Use open scope in version issues count methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:05:46 +00:00
Jean-Philippe Lang
f29b57088a
html_safe for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 12:26:28 +00:00
Jean-Philippe Lang
3717ff34af
Rails3.1 compatibility
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:21:29 +00:00
Jean-Philippe Lang
7fdb74530c
html_safe for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 22:15:36 +00:00
Jean-Philippe Lang
b59d092e91
html_safe for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 22:05:29 +00:00
Jean-Philippe Lang
8269e9a990
html_safe for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 22:02:31 +00:00
Jean-Philippe Lang
a42ea3ccbb
html_safe for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 21:48:26 +00:00
Jean-Philippe Lang
8677f069ec
html_safe for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 21:46:39 +00:00
Jean-Philippe Lang
dcce70095b
Option to set parent automatically for new wiki pages ( #3108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:44:04 +00:00
Jean-Philippe Lang
17d08a939f
Changed style of the wiki edit form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:11:13 +00:00
Jean-Philippe Lang
b86ca61b49
Invalid HTML generated with ruby1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 09:21:37 +00:00
Toshi MARUYAMA
a36904c9ee
use same human_attribute_name logic with SCM models at group model ( #9795 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 13:07:32 +00:00
Jean-Philippe Lang
4f5e7d678e
Fixed: Unrelated error message when creating a group with an invalid name ( #9795 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 11:13:36 +00:00
Jean-Philippe Lang
b6e6f557f0
Display issue form fields according to permissions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:41:49 +00:00
Jean-Philippe Lang
7c00a4a11f
Restores migration broken by r8182 and removes default scope on Role ( #9800 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 22:24:20 +00:00
Etienne Massip
7d2298f39c
Save an @Issue#save@.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 20:31:34 +00:00
Jean-Philippe Lang
e43df59168
Added encoding comment to helpers ( #9792 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:56:23 +00:00
Jean-Philippe Lang
f1fec5eee0
Fixed that _revision_graph.html.erb breaks window load events ( #9775 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:29:35 +00:00
Etienne Massip
befb5081f4
Fixed time entries context menu activity update link.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:20:19 +00:00
Etienne Massip
8eaa63ccbf
Fixed issues context menu attributes update links ( #9794 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:06:23 +00:00
Etienne Massip
90010d1f3b
Removed code duplicated in lib.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 18:07:27 +00:00
Jean-Philippe Lang
7d501eaf81
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 20:40:03 +00:00
Jean-Philippe Lang
59c1141e08
Moved fields specific to new issues to the new issue form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 20:02:49 +00:00
Jean-Philippe Lang
cd0113a287
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 19:56:33 +00:00
Jean-Philippe Lang
e1f885feda
Use safe_attributes for issue watchers assignment.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 19:50:44 +00:00
Jean-Philippe Lang
ed5f487cf5
Fixed broken issue form update when changing tracker.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 20:43:51 +00:00
Jean-Philippe Lang
e13a763ab4
Adds /search to robots.txt.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 18:12:48 +00:00
Jean-Philippe Lang
804108a87f
Adds a hook before the new issue form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 18:12:03 +00:00
Jean-Philippe Lang
f9b6e57d24
Fixed error on project creation due to unrecognized route.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 18:05:13 +00:00
Toshi MARUYAMA
f1994ea9c0
Rails3: model: replace deprecated before_validation method at CustomField model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 12:04:54 +00:00
Jean-Philippe Lang
0471de41ff
Resourcified enumerations.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 10:26:12 +00:00
Jean-Philippe Lang
1ad16c2238
Removed fieldset.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 21:33:56 +00:00
Jean-Philippe Lang
8be46ff0b2
Removed double dash.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 21:28:30 +00:00
Jean-Philippe Lang
86d2b223cc
Fixed reorder links on custom fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 19:27:18 +00:00
Jean-Philippe Lang
805c65f55d
Extracted new_subclass_instance method to a module.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 19:18:06 +00:00
Etienne Massip
7ba57e517b
Explicitly declare all routes and deactivate default route.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:33:01 +00:00
Jean-Philippe Lang
467503fd4b
Changed ProjectsController#destroy to DELETE only.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:32:41 +00:00
Jean-Philippe Lang
52a7fa6176
Changed IssuesController#destroy to DELETE only.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:10:51 +00:00
Jean-Philippe Lang
8d6af1fcb0
Custom fields display on bulk edit form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:44:46 +00:00
Jean-Philippe Lang
3dcd71a082
REST urls for user memberships.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:37:48 +00:00
Jean-Philippe Lang
532a76f78c
Resourcified roles.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 23:29:58 +00:00
Jean-Philippe Lang
b127f9157d
Resourcified custom fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 22:58:30 +00:00
Jean-Philippe Lang
877fbc15da
Renamed TabularFormBuilder to Redmine::Views::LabelledFormBuilder.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:45:38 +00:00
Jean-Philippe Lang
ede9a03405
Removed TabularFormBuilder references in views.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:40:28 +00:00
Jean-Philippe Lang
9636882c1e
Use #labelled_form_for instead of #labelled_tabular_form_for.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:15:55 +00:00
Toshi MARUYAMA
312ffe43c7
Rails3: model: user: use ::Query instead of Query
...
Test fails on Rails 3.0.
<pre>
Error:
test_destroy_should_update_wiki_contents(UserTest):
NoMethodError: undefined method `delete_all' for ActiveRecord::AttributeMethods::Query:Module
app/models/user.rb:602:in `remove_references_before_destroy'
test/unit/user_test.rb:298:in `test_destroy_should_update_wiki_contents'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 12:08:58 +00:00
Jean-Philippe Lang
42d2bf0baf
Makes project and tracker assigned first in #attributes=
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 20:37:12 +00:00
Jean-Philippe Lang
3976e2d15d
Tests broken with ruby1.8.6 ( #9751 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 18:50:15 +00:00
Toshi MARUYAMA
aa127ebd4e
Rails3: model: Member: add virtual attribute to prevent error
...
On Rails 3.0, test fails with following error.
<pre>
Error:
test_validate(MemberTest):
NoMethodError: undefined method `role' for #<Member:0x7f73caf8cd08>
app/models/member.rb:87:in `validate_role'
test/unit/member_test.rb:76:in `test_validate'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8127 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 15:12:02 +00:00
Toshi MARUYAMA
15bb2fefa4
back out r8124
...
r8124 shows ":roles can't be empty".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 13:37:27 +00:00
Toshi MARUYAMA
d9699adce5
Rails3: model: Member: errors must be set on existing attributes
...
On Rails 3.0, test fails with following error.
<pre>
Error:
test_validate(MemberTest):
NoMethodError: undefined method `role' for #<Member:0x7f73caf8cd08>
app/models/member.rb:87:in `validate_role'
test/unit/member_test.rb:76:in `test_validate'
</pre>
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 11:13:24 +00:00
Toshi MARUYAMA
c585d224d8
replace tabs to spaces at app/views/issues/_form.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 07:30:03 +00:00
Toshi MARUYAMA
b1996b38b4
Rails3: view: html_safe for timelog/_date_range.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 23:54:10 +00:00
Toshi MARUYAMA
6d805cfca2
Rails3: helper: html_safe for render_flash_messages method at ApplicationHelper
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 23:53:20 +00:00
Jean-Philippe Lang
12077a4d44
Fixed that a cross-project custom query is not remembered inside project ( #9738 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 21:35:14 +00:00
Toshi MARUYAMA
fd32f7446d
code layout clean up app/views/gantts/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 03:54:45 +00:00
Jean-Philippe Lang
9333853f23
Removed the "more" link to edit additional properties of an issue ( #7603 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8102 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 20:15:22 +00:00
Jean-Philippe Lang
9cc1cb5281
Issue forms cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 18:02:10 +00:00
Jean-Philippe Lang
5ca558f191
Fixed: error when filtering by numeric custom field with postgresql ( #9719 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 20:45:45 +00:00
Jean-Philippe Lang
c562d79e4f
Parameter changed to issue_category in r7882 ( #9724 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8096 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 19:54:30 +00:00
Jean-Philippe Lang
e5bea933a8
Slight change to time report style.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 18:40:52 +00:00
Jean-Philippe Lang
afbdc51e01
Removed ARCondition.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:44:59 +00:00
Jean-Philippe Lang
0a92e382fa
Use scopes instead of ARCondition.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:36:47 +00:00
Jean-Philippe Lang
b9e02477e9
Use Query.visible scope.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:05:11 +00:00
Jean-Philippe Lang
1050993348
Removed unnecessary calculations in time entries index.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:01:42 +00:00
Jean-Philippe Lang
9e5ed4208b
Adds named scopes for time entries index.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:49:46 +00:00
Jean-Philippe Lang
ff0f141126
Adds named scopes for projects index.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:31:02 +00:00
Jean-Philippe Lang
f52410be19
Adds named scopes for users index.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:24:33 +00:00
Jean-Philippe Lang
68149f8c73
Fixes spent time column sort for postgresql.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 19:13:09 +00:00
Jean-Philippe Lang
2cca4938cf
Removed open/closed percentage on the roadmap.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 17:44:12 +00:00
Jean-Philippe Lang
6d498a3c46
Makes spent time column available on the issue list ( #971 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 16:43:32 +00:00
Toshi MARUYAMA
bddd19c1e6
Rails3: model: replace deprecated validate method at watcher model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 09:45:18 +00:00
Toshi MARUYAMA
32ed138c53
Rails3: model: replace deprecated before_save method at UserPreference model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 06:44:39 +00:00
Toshi MARUYAMA
1de2c1c2af
Rails3: model: replace deprecated validate method at member_role model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 05:21:20 +00:00
Jean-Philippe Lang
443bc4bf90
Fixed malformed HTML.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:21:56 +00:00
Toshi MARUYAMA
997995397e
Rails3: model: replace deprecated before_destroy method at member model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 16:41:23 +00:00
Toshi MARUYAMA
23fd43374d
Rails3: model: replace deprecated validate method at member model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 14:33:49 +00:00
Jean-Philippe Lang
fd18c51938
Adds tests for plugin settings editing.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 10:06:41 +00:00
Jean-Philippe Lang
8bbb5d9686
Tests/cleanup VersionsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 09:12:51 +00:00
Toshi MARUYAMA
8066aa5eb1
Rails3: helper: html_safe for "format_activity_description" method
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 06:15:55 +00:00
Toshi MARUYAMA
10ae93826e
Rails3: view: html_safe for parents and children revisions
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 06:15:03 +00:00
Toshi MARUYAMA
3eb534818a
code layout clean up application helper "link_to_revision" method
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 06:14:19 +00:00
Jean-Philippe Lang
655dc18d71
Do not show warnings for disabled scm.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 22:21:18 +00:00
Jean-Philippe Lang
040cfa4ad5
Makes the link in an issue update notification point to the change ( #9690 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 21:00:42 +00:00
Jean-Philippe Lang
69a2431dd0
Dropped TimeEntryReportsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:33:05 +00:00
Jean-Philippe Lang
caf898d7d1
Extracted time report logic from the controller.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 18:46:43 +00:00
Toshi MARUYAMA
da140238e7
code layout clean up issues helper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 11:36:40 +00:00
Toshi MARUYAMA
20f3dde0dd
Rails3: helper: html_safe for issues helper "show_detail" method
...
Contributed by Sernin van de Krol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 11:35:54 +00:00
Toshi MARUYAMA
3d379c4d07
scm: git: mercurial: not show revision graph in sub directory ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 23:41:03 +00:00
Jean-Philippe Lang
6475fe6474
Controller cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:16:44 +00:00
Jean-Philippe Lang
2967023a0e
Resourcified boards.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:14:09 +00:00
Jean-Philippe Lang
c3c2a4afe0
Resourcified documents.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:51:16 +00:00
Jean-Philippe Lang
1a28bd8e7e
Removed #find_project already defined as #find_project_by_project_id in parent class.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:08:06 +00:00
Jean-Philippe Lang
7a68ae27b0
Reverted r8007.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:02:40 +00:00
Jean-Philippe Lang
33e25255e3
Removed #find_project already defined in parent class.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:01:14 +00:00
Jean-Philippe Lang
5c2a146b24
Misplaced closing tbody tag.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:17:34 +00:00
Jean-Philippe Lang
d92c204ed3
Fixed: version files in Files module cannot be downloaded if issue tracking is disabled ( #9055 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:36:49 +00:00
Jean-Philippe Lang
cce80c690c
Adds an autoscroll div around time entry list and report ( #8809 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:32:28 +00:00
Jean-Philippe Lang
740dc53aab
Removed useless rescue.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:20:39 +00:00
Jean-Philippe Lang
361c059a6f
Removed unused method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:15:27 +00:00
Jean-Philippe Lang
b7d0ee3f47
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:14:12 +00:00
Jean-Philippe Lang
f45fc1a1ba
Removed a useless rescue.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:11:59 +00:00
Jean-Philippe Lang
b8836d89b1
Removed deprecated methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:11:11 +00:00
Jean-Philippe Lang
622b3ae61c
Removed delete button on enumeration edit form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:32:12 +00:00
Jean-Philippe Lang
2dbbdafbc6
Removed EnumerationsController#list action.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:23:57 +00:00
Jean-Philippe Lang
b8a924e4e1
Adds #current_version? method to wiki content.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:12:03 +00:00
Jean-Philippe Lang
744e4357a0
Fixed: Wiki export link doesn't work for users without :view_wiki_edits permission ( #9682 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:04:38 +00:00
Jean-Philippe Lang
63dc83fc0d
Fixed: Section-edit buttons not available when a the version parameter is provided even if it's the current version ( #9674 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 18:11:30 +00:00
Toshi MARUYAMA
1d00ec11a0
Rails3: helper: html_safe for robot_exclusion_tag
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 12:20:37 +00:00
Toshi MARUYAMA
f59d8bae97
Rails3: view: html_safe for login user link
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 12:18:53 +00:00
Jean-Philippe Lang
5a51ac7663
Update MessagesController#quote to match the input id changed in r7682 ( #9672 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 21:30:50 +00:00
Jean-Philippe Lang
5ac8020801
Do not include extra_info attribute in SysController responses because it breaks reposman activeresource client ( #8707 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 17:30:28 +00:00
Jean-Philippe Lang
6076db74f1
Improved user creation from incoming email.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 15:27:14 +00:00
Toshi MARUYAMA
a79e0fa5f6
fix csv decimal separator of time entry csv ( #8368 )
...
Contributed by Francisco José Martínez.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 12:14:20 +00:00
Jean-Philippe Lang
885605b439
Resourcified attachments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 11:16:47 +00:00
Toshi MARUYAMA
b95fd6315c
fix time entry csv last line encoding ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:53:08 +00:00
Jean-Philippe Lang
f680e7f8ac
Adds routes for group users.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:47:36 +00:00
Jean-Philippe Lang
1ebe9640a6
Replaced error_messages_for with #error_messages.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:44:58 +00:00
Toshi MARUYAMA
55d41cf77b
backout r6356: HTML escape of app/helpers/timelog_helper.rb
...
When export time entry csv, "undefined method `h'" error raises.
HTML escapes in view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 08:25:12 +00:00
Jean-Philippe Lang
0e2733a7cb
View cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 17:56:52 +00:00
Jean-Philippe Lang
5a1fcf826f
Sort the issue list by author/assignee according to user display format ( #9669 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 17:37:20 +00:00
Jean-Philippe Lang
0293ba7e9f
Version routes cleanup in views.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 14:55:24 +00:00
Jean-Philippe Lang
bb8e2beeac
Version routes cleanup in views.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 14:53:52 +00:00
Jean-Philippe Lang
307e97cc03
Adds icon on new item links in project settings.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 14:49:29 +00:00
Jean-Philippe Lang
841ec5192f
Set style for tips in forms.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 13:57:22 +00:00
Jean-Philippe Lang
6208b12f3b
CSS class for modal box buttons.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 13:33:19 +00:00
Toshi MARUYAMA
1dab1cd5cc
Ruby 1.9: fix encoding error on wiki diffs ( #4050 )
...
WikiDiff#to_html returns a string with ASCII encoding if
the WikiJournal content has been Zlib compressed because
Zlib::Inflate.inflate returns strings with ASCII encoding.
Forcing the encoding to be UTF8 fixes this bug.
Contributed by Moritz Breit.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-25 23:15:55 +00:00
Jean-Philippe Lang
7ed7d8984d
Check attachment size when the user selects a file ( #9667 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-25 22:32:07 +00:00
Jean-Philippe Lang
e21f60d170
Fixed: log time form not displayed on issue edit with :log_time permission only ( #9405 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-25 21:58:09 +00:00
Jean-Philippe Lang
398b700e57
Adds ids on rows in auth_sources/index view ( #9659 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-25 18:13:31 +00:00
Jean-Philippe Lang
703211c0a6
Fixed time entries context menu display according permissions ( #9405 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:31:21 +00:00
Jean-Philippe Lang
097b0e7a4d
Use document project when formatting text on documents index ( #9448 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 20:58:12 +00:00
Jean-Philippe Lang
6dab391932
Use user's time zone when logging time while editing ticket ( #9619 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 20:39:24 +00:00
Jean-Philippe Lang
902b3078d5
Limit the characters stripped by Attachment#sanitize_filename ( #4324 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 20:17:56 +00:00
Etienne Massip
3df586d22d
Html safe wiki page title.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 19:47:36 +00:00
Toshi MARUYAMA
564321b2d5
move logic to use latest image file attachment to class method for common use ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:31:29 +00:00
Jean-Philippe Lang
05f3bb6241
Removed object name from form_for arguments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:21:10 +00:00
Jean-Philippe Lang
3e0936606e
Removed object name from form_for arguments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:09:57 +00:00
Jean-Philippe Lang
8b7de1e400
error_messages_for removed in Rails 3.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:58:21 +00:00
Jean-Philippe Lang
45f4fdbaf0
Removed useless :lang option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:46:49 +00:00
Jean-Philippe Lang
c4540c799f
Makes labelled_tabular_form_for accept different signatures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:44:46 +00:00
Jean-Philippe Lang
3adc1c3192
Prevent clash with Rails 3 Query module.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:02:50 +00:00
Jean-Philippe Lang
3d23c42fc0
Do not use .merge_conditions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:00:54 +00:00
Jean-Philippe Lang
2081730f42
Do not use instance variable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 18:32:21 +00:00
Toshi MARUYAMA
9be9c5f565
fix inconsistent image filename extensions ( #9638 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 05:30:53 +00:00
Jean-Philippe Lang
68f3e91bd7
Resourcified issue statuses.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 22:04:07 +00:00
Jean-Philippe Lang
35e8f0d25d
User forms cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:43:11 +00:00
Jean-Philippe Lang
6577f37fc3
Resourcified trackers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:32:45 +00:00
Jean-Philippe Lang
33f7f5a00d
Strings as html safe.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 20:57:20 +00:00
Jean-Philippe Lang
34c73c7573
REST API for issue categories ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 17:09:01 +00:00
Jean-Philippe Lang
6f4fb8b892
Resourcified issue categories ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +00:00
Jean-Philippe Lang
30556f8cbf
Makes issue categories available in project REST API ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:55:44 +00:00
Toshi MARUYAMA
95c172dab3
remove unused Iconv from issues helper "issues_to_csv" method ( #4742 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:47:33 +00:00
Jean-Philippe Lang
248b725875
Adds API response to /issue_statuses to get the list of all available statuses ( #7180 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:25:58 +00:00
Jean-Philippe Lang
053adaef52
Adds API response to /trackers to get the list of all available trackers ( #7181 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:17:43 +00:00
Jean-Philippe Lang
8b5b928b92
Do not show the paragraph if no message is set.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:07:22 +00:00
Jean-Philippe Lang
ca300ccdea
Adds a dialog box for CSV export options ( #4742 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:23:20 +00:00
Jean-Philippe Lang
668184e520
Removed useless return false; statement.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:07:46 +00:00
Toshi MARUYAMA
fb75372b86
scm: attachment: remove "to_utf8" methods from helpers ( #2371 )
...
It is confusing that same name methods are in several helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:04:11 +00:00
Toshi MARUYAMA
f3b6e69c1a
attachment: move repositories encodings setting to the general tab and update the label ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:48:13 +00:00
Toshi MARUYAMA
77710ece26
attachment: use repositories setting to convert contents character encoding ( #2371 )
...
This commit results replacing invalid encoding instead to stripping.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:46:52 +00:00
Jean-Philippe Lang
85db02d486
Allows double click to move columns between available/selected columns.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 10:07:11 +00:00
Toshi MARUYAMA
06bc4e50ef
code layout clean up app/views/common/_diff.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 09:44:58 +00:00
Toshi MARUYAMA
245b534c83
attachment: add a new feature to switch "side by side" and "inline" for patches ( #9612 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 06:13:26 +00:00
Toshi MARUYAMA
700c6de3db
code layout clean up app/views/repositories/diff.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 04:18:01 +00:00
Toshi MARUYAMA
2d7f0d66b2
code layout clean up app/views/common/_file.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 04:17:19 +00:00
Toshi MARUYAMA
05abcb0663
code layout clean up app/views/repositories/annotate.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 04:16:39 +00:00
Toshi MARUYAMA
5eb388b851
code layout clean up link_to_attachment of application helper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 00:10:18 +00:00
Jean-Philippe Lang
e4cda67cf4
Fixed: Issue filter by assigned_to_role is not project specific ( #9540 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 15:11:20 +00:00
Jean-Philippe Lang
8ec1231dbc
Makes author column sortable and groupable on the issue list ( #1567 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 12:47:56 +00:00
Jean-Philippe Lang
bf18ee107d
Moved the project name after the item in the html title ( #9593 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:43:11 +00:00
Jean-Philippe Lang
12d05431c2
Adds a way to filter issues with or without start date ( #9607 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:25:36 +00:00
Jean-Philippe Lang
9ac86d4f4e
Wiki links for news and forums ( #9600 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:16:23 +00:00
Etienne Massip
548e27c343
Fixed wiki page version in annotated page ( #9597 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 22:24:50 +00:00
Etienne Massip
872f631396
Remove reference to deleted method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 21:29:50 +00:00
Jean-Philippe Lang
b3b2eb3e50
Fixes section edit links when text includes pre/code tag ( #2222 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 18:22:41 +00:00
Jean-Philippe Lang
1e8a9da131
Handle the case of a text formatter that doesn't support section edit ( #2222 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:41:54 +00:00
Jean-Philippe Lang
2770e28535
Do not show section edit links for wiki page history ( #2222 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:31:17 +00:00
Jean-Philippe Lang
6fc245327c
Wiki: allows single section edit ( #2222 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA
88f8daf8b7
move repositories helper to_utf8 logic to lib/redmine/codeset_util.rb for common use ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 11:53:15 +00:00
Toshi MARUYAMA
eb498a86ac
fix malformed issues csv encoding in case of unable to convert ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 15:36:26 +00:00
Toshi MARUYAMA
4a3581c748
fix malformed time entry report csv encoding in case of unable to convert ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:29:18 +00:00
Toshi MARUYAMA
4b5d50e40a
fix malformed time log csv encoding in case of unable to convert ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:10:53 +00:00
Toshi MARUYAMA
9a93bd1484
move Changeset#to_utf8 logic to lib/redmine/codeset_util.rb for common use ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 23:04:45 +00:00
Jean-Philippe Lang
f953426935
Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" ( #9534 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 16:30:35 +00:00
Jean-Philippe Lang
b170a40ed4
Adds a method to clear the settings cache.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 15:20:31 +00:00
Toshi MARUYAMA
3511292a17
Ruby 1.9: add "encoding: utf-8" header at application_helper.rb
...
Following error raises in case that time log has non ASCII comments.
<pre>
ActionView::TemplateError (incompatible character encodings: UTF-8 and ASCII-8BIT)
on line #5 of app/views/timelog/index.html.erb:
3: </div>
4:
5: <%= render_timelog_breadcrumb %>
6:
7: <h2><%= l(:label_spent_time) %></h2>
app/helpers/application_helper.rb:407:in `join'
app/helpers/application_helper.rb:407:in `breadcrumb'
app/helpers/timelog_helper.rb:32:in `render_timelog_breadcrumb'
app/views/timelog/index.html.erb:5
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 13:56:20 +00:00
Jean-Philippe Lang
3da92d7da7
Fixed: copied private queries not visible after project copy ( #9520 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 17:33:02 +00:00
Jean-Philippe Lang
981a6223e4
Custom date field accepts invalid dates ( #9394 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 13:22:57 +00:00
Jean-Philippe Lang
5b37920cce
Fixed: Custom 'version' field don't show shared versions ( #8615 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:32:21 +00:00
Jean-Philippe Lang
857cf5db38
Fixed: User with groups may not see issues assigned to him or to its groups ( #9478 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:22:47 +00:00
Toshi MARUYAMA
00faf35e05
pdf: add a new feature to export wiki pdf ( #401 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:49:09 +00:00
Etienne Massip
269014ced8
Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation ( #2269 ).
...
Based on the patch of #2277 contributed by Mischa The Evil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 18:40:33 +00:00
Toshi MARUYAMA
4ae7f82f3a
do not annotate text files which exceed the size limit for viewing ( #9484 )
...
Contributed by Antonio García-Domínguez.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 03:47:03 +00:00
Toshi MARUYAMA
ae086b5ef6
scm: view: remove redundant br tag from the revision page ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-04 01:33:24 +00:00
Toshi MARUYAMA
5d98eb6ece
scm: git: mercurial: add a new feature of revision graph ( #5501 )
...
Contributed by Jan Topiński.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 11:36:12 +00:00
Toshi MARUYAMA
cc79b6d04a
scm: view: add parents and children on the revision page ( #5501 )
...
Contributed by Jan Topiński.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 11:34:09 +00:00
Toshi MARUYAMA
9e238171ca
scm: model: mercurial: set revision graph support true ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:12:47 +00:00
Toshi MARUYAMA
57afa111a9
scm: model: git: set revision graph support true ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:12:24 +00:00
Toshi MARUYAMA
15795c4385
scm: model: add method to switch revision graph support or not and set default false ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:12:01 +00:00
Toshi MARUYAMA
e33ce24849
scm: controller: include parents in changesets ( #5501 )
...
Contributed by Jan Topiński.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:11:38 +00:00
Toshi MARUYAMA
d10102e940
scm: mercurial: model: save parent/child relation for changesets ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:03:16 +00:00
Toshi MARUYAMA
f63dc936ad
scm: git: model: save parent/child relation for changesets ( #5501 )
...
Contributed by Jan Topiński.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:02:22 +00:00
Toshi MARUYAMA
ef1223dd3a
scm: db: model: add parent/child relation for changesets ( #5501 )
...
Contributed by Jan Topiński.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:01:41 +00:00
Toshi MARUYAMA
23fe2be246
fix typos ( #9499 , #9489 )
...
Contributed by Igor Zubkov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-31 09:55:52 +00:00
Toshi MARUYAMA
86ba8491a5
[ #9489 ] use class instead of redundant id for label "no-css"
...
Contributed by Holger Just.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-30 00:27:33 +00:00
Etienne Massip
1032210edd
Don't escape already parsed wiki link title ( #9471 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 11:45:59 +00:00
Toshi MARUYAMA
7fab60cdd2
[ #9489 ] corrected labels and translations for reassign forms
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:24:11 +00:00
Toshi MARUYAMA
62f87e3091
[ #9489 ] made labels visible as this is an accessibility issue even for sighted users
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:23:47 +00:00
Toshi MARUYAMA
c6870edd55
[ #9489 ] added invisible label
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:23:23 +00:00
Toshi MARUYAMA
23cf476891
[ #9489 ] added invisible label
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:22:56 +00:00
Toshi MARUYAMA
26313afd5a
[ #9489 ] added invisible label for mail notification, linked label where possible
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:22:31 +00:00
Toshi MARUYAMA
b8637aaf76
[ #9489 ] linked labels to their elements
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:22:02 +00:00
Toshi MARUYAMA
53d05e641a
[ #9489 ] linked label to its element
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:21:21 +00:00
Toshi MARUYAMA
8ea09238da
[ #9489 ] set ids, created invisible labels and linked them
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:20:55 +00:00
Toshi MARUYAMA
21d74ecead
[ #9489 ] linked labels to their element
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:20:28 +00:00
Toshi MARUYAMA
320829ad5a
[ #9489 ] link label to element
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:20:00 +00:00
Toshi MARUYAMA
d1a59a2a7d
[ #9489 ] linked label to its element
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:19:18 +00:00
Toshi MARUYAMA
f108ff95dc
[ #9489 ] linked labels to their elements
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:18:46 +00:00
Toshi MARUYAMA
52f2879559
[ #9489 ] added invisible labels for reassign select-tag on destroy views
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:18:10 +00:00
Toshi MARUYAMA
fb0c6d433f
[ #9489 ] set unique id for each checkbox and linked it
...
added "no-css" class to overwrite the current label style
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:17:30 +00:00
Toshi MARUYAMA
e76e7fd6ea
[ #9489 ] set id for message_subject and linked it to label, added invisible label
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:16:48 +00:00
Toshi MARUYAMA
2446d5b83c
[ #9489 ] link label to element
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:16:11 +00:00
Toshi MARUYAMA
6505bf80e5
[ #9489 ] link label to element
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:15:37 +00:00
Toshi MARUYAMA
f8c9efdb31
[ #9489 ] linked labels to their elements
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:14:47 +00:00
Toshi MARUYAMA
fc54fac556
[ #9489 ] added invisible labels for queries
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:14:10 +00:00
Toshi MARUYAMA
f8fa9b767d
[ #9489 ] added invisible search label
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:13:38 +00:00
Toshi MARUYAMA
303ce0ae53
[ #9489 ] added invisible project scope label
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:13:06 +00:00
Toshi MARUYAMA
370de46974
scm: git: fix typo of comments about fetching revisions ( #9472 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-27 01:31:56 +00:00
Toshi MARUYAMA
01d3af65b3
scm: git: recovery and improve comments of fetching from 1.1 about harmful influence that git does not have the revision number ( #9472 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-27 00:35:43 +00:00
Etienne Massip
ad9e486077
Make queries resources fully conform to common behavior (removed additonal routes) ( #9108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-26 18:00:56 +00:00
Etienne Massip
a47979bcc2
Reverted removal of project assignment to query ( #9108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-26 17:00:16 +00:00
Toshi MARUYAMA
856b777362
show avatars on the news list ( #9470 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 23:43:27 +00:00
Toshi MARUYAMA
8dc7f1d1ee
scm: git: return saved revision at model "save_revision" ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 14:58:03 +00:00
Toshi MARUYAMA
55c98d4297
scm: git: use to_s for branches at model ( #5501 )
...
"scm.branches" will extend to have the revision for the branch.
no "to_s" will have a problem.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 14:57:34 +00:00
Etienne Massip
8f96f0c40d
Refactor : convert queries to REST resources (also fixes #9108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +00:00
Toshi MARUYAMA
657fcd97aa
add newline at end of app/views/journals/index.builder
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 11:43:12 +00:00
Toshi MARUYAMA
ccda115f15
scm: view: add #to_s to changeset.author ( #5501 )
...
On Ruby 1.8.6, following error raises.
undefined method `mb_chars' for #<ActiveRecord::Associations::BelongsToAssociation:0x7f86950f3e58>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-21 13:08:11 +00:00
Toshi MARUYAMA
b89d563078
scm: view: truncate author with length 30 ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-21 11:17:31 +00:00
Toshi MARUYAMA
335ac4f326
code layout clean up of app/views/repositories/_dir_list_content.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-20 01:07:10 +00:00
Etienne Massip
4eed0dca15
Reverted r7628.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 21:19:58 +00:00
Etienne Massip
33f65c5a48
Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 ( #8371 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 17:51:21 +00:00
Etienne Massip
a118c4ccb0
Fixed shot filter expression parsing depending upon field operators ( #8371 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-12 23:45:47 +00:00
Toshi MARUYAMA
1f4ff3687c
Rails3: controller: repositories: use to_s for revision parameter
...
On Rails 3.0 and Ruby 1.8.7, following error raises.
Error:
test_revision(RepositoriesControllerTest):
NoMethodError: undefined method `strip' for 1:Fixnum
app/controllers/repositories_controller.rb:252:in `find_repository'
test/functional/repositories_controller_test.rb:44:in `test_revision'
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-09 23:34:53 +00:00
Toshi MARUYAMA
54d553b27f
Rails3: model: replace deprecated errors.add_to_base at validate_issue_relation of IssueRelation
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 23:53:49 +00:00
Toshi MARUYAMA
d986a35a9b
Rails3: model: replace deprecated errors.add_to_base at validate_on_create of User
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:25:20 +00:00
Toshi MARUYAMA
7183530e7a
Rails3: model: replace deprecated errors.add_to_base at cannot_reply_to_locked_topic of Message
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:53 +00:00
Toshi MARUYAMA
a17fcac822
Rails3: model: query: parse dates using UTC (ruby 1.9 inside) ( #4796 )
...
On Rails 3.0 and Ruby 1.8.7 in Japan (UTC+9), tests fails with following messages.
test_operator_date_equals(QueryTest) [test/unit/query_test.rb:206]:
<"(issues.due_date > '2011-07-09 14:59:59.999999' AND issues.due_date <= '2011-07-10 14:59:59.999999')
AND (issue_statuses.is_closed='f')"> expected to be =~
</issues\.due_date > '2011-07-09 23:59:59(\.9+)?' AND issues\.due_date <= '2011-07-10 23:59:59(\.9+)?/>.
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 00:23:05 +00:00
Toshi MARUYAMA
41a6c8be65
Rails3: model: replace deprecated errors.add_to_base at validate_issue of Issue
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 22:49:26 +00:00
Toshi MARUYAMA
caa2ce3417
Rails3: model: replace deprecated errors.add_to_base at save_issue_with_child_records of Issue
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 22:49:02 +00:00
Toshi MARUYAMA
a09da046ec
Rails3: view: use html_safe for subprojects at projects/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 15:02:56 +00:00
Toshi MARUYAMA
c273282362
Rails3: helper: use html_safe at page_header_title of ApplicationHelper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 15:02:14 +00:00
Toshi MARUYAMA
1e773f4e6f
code layout clean up of app/helpers/application_helper.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:04:32 +00:00
Toshi MARUYAMA
55f10b90f4
Rails3: helper: use html_safe at simple_format_without_paragraph of ApplicationHelper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:03:58 +00:00
Toshi MARUYAMA
942cd9bac2
Rails3: helper: use html_safe at render_page_hierarchy of ApplicationHelper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:03:29 +00:00
Toshi MARUYAMA
eadbf2107f
Rails3: helper: replace » of page_header_title at ApplicationHelper to hexadecimal UTF-8 strings
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:03:03 +00:00
Toshi MARUYAMA
e76d89219b
Rails3: helper: replace … of page_header_title at ApplicationHelper to hexadecimal UTF-8 strings
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:02:24 +00:00
Toshi MARUYAMA
1a23663176
Rails3: rename app/views/journals/index.rxml to app/views/journals/index.builder ( #6317 )
...
: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@7577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 13:41:05 +00:00
Toshi MARUYAMA
85699042a6
Rails3: rename app/views/common/feed.atom.rxml to app/views/common/feed.atom.builder ( #6317 )
...
: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@7575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:09:06 +00:00
Toshi MARUYAMA
2a27cc41f0
remove hard-coded '.rxml' from ApplicationController 'render_feed' ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:07:47 +00:00
Toshi MARUYAMA
986f0acb00
fix typo of fix_issue() at Changeset model
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 09:05:54 +00:00
Etienne Massip
0aa63a13bc
Qualify searchable @text@ column to prevent exception thrown when :content association is not eargerly fetched by AR ( #9308 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 20:17:01 +00:00
Toshi MARUYAMA
ac6aaf3f67
Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer/_issue.html.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 15:17:58 +00:00
Toshi MARUYAMA
ee5f712e89
Rails3: mail: rename app/views/mailer/_issue_text_plain.rhtml to app/views/mailer/_issue.text.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 15:17:07 +00:00
Etienne Massip
4ecd65c465
Remove unecessary page title HTML escaping from views ( #9252 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 18:45:17 +00:00
Etienne Massip
65b533a8ec
Make sure that anchor names generated for headings fully match wiki links ( #7215 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 17:25:29 +00:00
Etienne Massip
8bb90f87fb
Prepend page title to anchor in single page wiki HTML export to make links more unique.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:57:17 +00:00
Etienne Massip
ac2dbde135
Fix generation of blank local link when no title is specified in wiki link.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:32:34 +00:00
Etienne Massip
1ee65e0469
Use local links in wiki pages when possible ( #3276 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 14:44:07 +00:00
Toshi MARUYAMA
4d787ce228
Rails3: view: use html_safe for Gantt
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:12:21 +00:00
Toshi MARUYAMA
049b35edb0
Rails3: model: replace deprecated 'validate_on_create' method at Message model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:11:39 +00:00
Toshi MARUYAMA
70a83bd47c
Rails3: helper: use html_safe for Subversion setting
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:17:30 +00:00
Toshi MARUYAMA
19ac57e71a
Rails3: helper: use html_safe for filesysytem scm setting
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:16:46 +00:00
Toshi MARUYAMA
9afd7b7df6
Rails3: helper: use html_safe for cvs setting
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:16:05 +00:00
Toshi MARUYAMA
2681578d53
Rails3: helper: use html_safe for git setting
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:15:09 +00:00
Toshi MARUYAMA
163588887f
Rails3: helper: use html_safe for Mercurial setting
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:14:30 +00:00
Toshi MARUYAMA
bafa472d7e
Rails3: helper: use html_safe at render_properties(properties) of RepositoriesHelper
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 02:19:38 +00:00
Toshi MARUYAMA
4167a5cb0d
Rails3: view: use html_safe for :text_project_identifier_info at projects/_form.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 00:57:18 +00:00
Toshi MARUYAMA
f9626e4066
Rails3: helper: use html_safe at render_changes_tree(tree) of RepositoriesHelper
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 00:56:17 +00:00
Toshi MARUYAMA
5d297091fe
Rails3: helper: use html_safe in SettingsHelper
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-29 22:55:18 +00:00
Etienne Massip
98e18b2141
Allow project column to be removed from the global issue list columns ( #8411 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 17:44:20 +00:00
Toshi MARUYAMA
ef962b84d7
Rails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:23:26 +00:00
Toshi MARUYAMA
a4c4edacfd
Rails3: mail: rename app/views/mailer/*.text.plain.rhtml to app/views/mailer/*.text.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:22:38 +00:00
Toshi MARUYAMA
4e488434f7
Rails3: mail: rename app/views/layouts/mailer.text.html.erb to app/views/layouts/mailer.html.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:21:56 +00:00
Toshi MARUYAMA
c534c9e984
Rails3: mail: rename app/views/layouts/mailer.text.plain.erb to app/views/layouts/mailer.text.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:20:57 +00:00
Toshi MARUYAMA
52011f1582
replace RAILS_DEFAULT_LOGGER of mylogger() to Rails.logger at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 02:01:36 +00:00
Toshi MARUYAMA
4c389d4100
code layout clean up of reminder() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 07:02:54 +00:00
Toshi MARUYAMA
cf7efe3f7d
code layout clean up of render_multipart() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:59:39 +00:00
Toshi MARUYAMA
b89bf7eaf1
code layout clean up of account_activation_request() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:56:24 +00:00
Toshi MARUYAMA
3505339007
code layout clean up of wiki_content_updated() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:54:29 +00:00
Toshi MARUYAMA
e2a48eaa75
code layout clean up of wiki_content_added() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:53:57 +00:00
Toshi MARUYAMA
4ac5a2c338
Rails3: model: replace deprecated 'after_destroy' method at Message model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 15:42:07 +00:00
Toshi MARUYAMA
c23052aa08
Rails3: model: replace deprecated 'after_update' method at Message model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 15:41:25 +00:00
Toshi MARUYAMA
4ffca69d84
Rails3: model: replace deprecated 'before_validation' method at TimeEntry model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 13:39:06 +00:00
Toshi MARUYAMA
e683bd7582
Rails3: model: replace deprecated 'validate' method at TimeEntry model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 12:06:33 +00:00
Toshi MARUYAMA
e16d20f1b4
Rails3: model: replace deprecated 'before_save' method at WikiPage model
...
unit wiki_redirect_test.rb has this test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 00:54:37 +00:00
Toshi MARUYAMA
ec1b9f38f3
Rails3: model: replace deprecated 'before_destroy' method at WikiPage model
...
test_redirects_removed_when_deleting_page at unit wiki_redirect_test.rb has this test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 00:53:53 +00:00
Toshi MARUYAMA
2d541a7e1b
Rails3: model: replace deprecated 'after_save' method at IssueStatus model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 23:50:52 +00:00