]> source.dussan.org Git - redmine.git/log
redmine.git
12 years agogantt: use content_tag instead of html tag at days headers
Toshi MARUYAMA [Sat, 8 Sep 2012 02:47:27 +0000 (02:47 +0000)]
gantt: use content_tag instead of html tag at days headers

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10324 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: use content_tag instead of html tag at gantt header outline
Toshi MARUYAMA [Sat, 8 Sep 2012 02:00:32 +0000 (02:00 +0000)]
gantt: use content_tag instead of html tag at gantt header outline

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10323 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: code layout cleanup ruby code at head of show.html.erb
Toshi MARUYAMA [Sat, 8 Sep 2012 02:00:17 +0000 (02:00 +0000)]
gantt: code layout cleanup ruby code at head of show.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10322 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: code layout cleanup html months headers
Toshi MARUYAMA [Sat, 8 Sep 2012 00:59:42 +0000 (00:59 +0000)]
gantt: code layout cleanup html months headers

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10321 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: use content_tag instead of html tag at gantt subject
Toshi MARUYAMA [Sat, 8 Sep 2012 00:59:08 +0000 (00:59 +0000)]
gantt: use content_tag instead of html tag at gantt subject

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10320 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: code cleanup html today red line
Toshi MARUYAMA [Sat, 8 Sep 2012 00:58:41 +0000 (00:58 +0000)]
gantt: code cleanup html today red line

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10319 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: fix code indents of html today red line
Toshi MARUYAMA [Sat, 8 Sep 2012 00:57:57 +0000 (00:57 +0000)]
gantt: fix code indents of html today red line

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10318 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: use content_tag instead of html tag at gantt today red line
Toshi MARUYAMA [Fri, 7 Sep 2012 23:03:40 +0000 (23:03 +0000)]
gantt: use content_tag instead of html tag at gantt today red line

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10317 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: use content_tag instead of html tag at gantt weeks headers
Toshi MARUYAMA [Fri, 7 Sep 2012 23:03:16 +0000 (23:03 +0000)]
gantt: use content_tag instead of html tag at gantt weeks headers

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10316 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: use content_tag instead of html tag at gantt months headers
Toshi MARUYAMA [Fri, 7 Sep 2012 14:35:33 +0000 (14:35 +0000)]
gantt: use content_tag instead of html tag at gantt months headers

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10315 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agogantt: code layout cleanup html gantt days headers
Toshi MARUYAMA [Fri, 7 Sep 2012 14:35:20 +0000 (14:35 +0000)]
gantt: code layout cleanup html gantt days headers

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10314 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agocode layout cleanup app/views/gantts/show.html.erb
Toshi MARUYAMA [Fri, 7 Sep 2012 11:59:48 +0000 (11:59 +0000)]
code layout cleanup app/views/gantts/show.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10313 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agocode layout cleanup gantt weeks headers
Toshi MARUYAMA [Fri, 7 Sep 2012 11:59:34 +0000 (11:59 +0000)]
code layout cleanup gantt weeks headers

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10312 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agocode layout cleanup gantt months headers
Toshi MARUYAMA [Fri, 7 Sep 2012 11:59:19 +0000 (11:59 +0000)]
code layout cleanup gantt months headers

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10311 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agofix code indent of gantt days headers
Toshi MARUYAMA [Fri, 7 Sep 2012 11:59:05 +0000 (11:59 +0000)]
fix code indent of gantt days headers

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10310 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agocode layout cleanup app/views/gantts/show.html.erb
Toshi MARUYAMA [Fri, 7 Sep 2012 01:36:16 +0000 (01:36 +0000)]
code layout cleanup app/views/gantts/show.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10309 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoremove redundant empty lines from app/views/repositories/_revision_graph.html.erb
Toshi MARUYAMA [Fri, 7 Sep 2012 01:35:18 +0000 (01:35 +0000)]
remove redundant empty lines from app/views/repositories/_revision_graph.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10308 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoXML output broken with builder 3.0.1.
Jean-Philippe Lang [Thu, 6 Sep 2012 22:34:21 +0000 (22:34 +0000)]
XML output broken with builder 3.0.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10306 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoLet plugin override mailer views (#11776).
Jean-Philippe Lang [Thu, 6 Sep 2012 17:34:14 +0000 (17:34 +0000)]
Let plugin override mailer views (#11776).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10304 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoParse any heading level (#11789).
Jean-Philippe Lang [Thu, 6 Sep 2012 17:03:13 +0000 (17:03 +0000)]
Parse any heading level (#11789).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10294 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoremove redundant empty lines from revision_graph.js
Toshi MARUYAMA [Thu, 6 Sep 2012 06:46:28 +0000 (06:46 +0000)]
remove redundant empty lines from revision_graph.js

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10293 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoreplace tab to space at revision_graph.js
Toshi MARUYAMA [Thu, 6 Sep 2012 06:46:13 +0000 (06:46 +0000)]
replace tab to space at revision_graph.js

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10292 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoshow JQuery datepicker today button
Toshi MARUYAMA [Wed, 5 Sep 2012 17:22:08 +0000 (17:22 +0000)]
show JQuery datepicker today button

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10291 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoTraditional Chinese translation updated by ChunChang Lo (#11766)
Toshi MARUYAMA [Tue, 4 Sep 2012 09:48:44 +0000 (09:48 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#11766)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10290 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agofix redmine_plugin generator output in USAGE
Toshi MARUYAMA [Mon, 3 Sep 2012 17:14:42 +0000 (17:14 +0000)]
fix redmine_plugin generator output in USAGE

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10287 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agofix plugin generator script name of USAGE on Rails3
Toshi MARUYAMA [Mon, 3 Sep 2012 17:14:28 +0000 (17:14 +0000)]
fix plugin generator script name of USAGE on Rails3

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10286 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoCreate role by copy (#9258).
Jean-Philippe Lang [Mon, 3 Sep 2012 17:04:28 +0000 (17:04 +0000)]
Create role by copy (#9258).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10285 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoSet radio button when selecting a date with the date picker.
Jean-Philippe Lang [Sun, 2 Sep 2012 17:24:29 +0000 (17:24 +0000)]
Set radio button when selecting a date with the date picker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10284 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a view for editing all trackers fields.
Jean-Philippe Lang [Sun, 2 Sep 2012 16:55:16 +0000 (16:55 +0000)]
Adds a view for editing all trackers fields.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10283 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMoved link to the contextual menu.
Jean-Philippe Lang [Sun, 2 Sep 2012 15:13:40 +0000 (15:13 +0000)]
Moved link to the contextual menu.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10282 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRedmine.pm: Allow fallback to other Apache auth providers (#11475).
Jean-Philippe Lang [Sun, 2 Sep 2012 14:51:56 +0000 (14:51 +0000)]
Redmine.pm: Allow fallback to other Apache auth providers (#11475).

Contributed by Yasin Al Farhad.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10281 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoDoc update.
Jean-Philippe Lang [Sun, 2 Sep 2012 13:00:19 +0000 (13:00 +0000)]
Doc update.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10280 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRedmine.pm: HEAD is not considered as a read-only method (#11749).
Jean-Philippe Lang [Sun, 2 Sep 2012 12:59:27 +0000 (12:59 +0000)]
Redmine.pm: HEAD is not considered as a read-only method (#11749).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10279 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoremove redundant empty lines from test/test_helper.rb
Toshi MARUYAMA [Sun, 2 Sep 2012 11:09:56 +0000 (11:09 +0000)]
remove redundant empty lines from test/test_helper.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10278 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agofix typo "MACROS_SUB_RE" (#11736)
Toshi MARUYAMA [Sun, 2 Sep 2012 11:09:43 +0000 (11:09 +0000)]
fix typo "MACROS_SUB_RE" (#11736)

Contributed by Anton Argirov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10277 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed: New multi-line macros regexp is too eager (#11736).
Jean-Philippe Lang [Sun, 2 Sep 2012 10:24:56 +0000 (10:24 +0000)]
Fixed: New multi-line macros regexp is too eager (#11736).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10276 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUpgrade to Rails 3.2.8 (#11758).
Jean-Philippe Lang [Sun, 2 Sep 2012 10:08:51 +0000 (10:08 +0000)]
Upgrade to Rails 3.2.8 (#11758).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10275 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agobackout r10247
Toshi MARUYAMA [Sat, 1 Sep 2012 05:33:58 +0000 (05:33 +0000)]
backout r10247

Gemfile: pin i18n gem version 0.6.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10265 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agocode cleanup test_with_a_start_date_attribute_* of unit IssuesHelperTest
Toshi MARUYAMA [Sat, 1 Sep 2012 05:33:43 +0000 (05:33 +0000)]
code cleanup test_with_a_start_date_attribute_* of unit IssuesHelperTest

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10264 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoreplace shoulder "with a due_date attribute" context of unit IssuesHelperTest and...
Toshi MARUYAMA [Sat, 1 Sep 2012 05:33:28 +0000 (05:33 +0000)]
replace shoulder "with a due_date attribute" context of unit IssuesHelperTest and use with_settings

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10263 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agouse date_format setting at unit IssuesHelperTest test_with_a_start_date_attribute_*
Toshi MARUYAMA [Sat, 1 Sep 2012 04:10:33 +0000 (04:10 +0000)]
use date_format setting at unit IssuesHelperTest test_with_a_start_date_attribute_*

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10257 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd missing fixtures to test/unit/lib/redmine/hook_test.rb
Toshi MARUYAMA [Sat, 1 Sep 2012 03:47:20 +0000 (03:47 +0000)]
add missing fixtures to test/unit/lib/redmine/hook_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10256 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd missing fixture to test/unit/lib/redmine/safe_attributes_test.rb
Toshi MARUYAMA [Sat, 1 Sep 2012 02:55:13 +0000 (02:55 +0000)]
add missing fixture to test/unit/lib/redmine/safe_attributes_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10255 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd unit query test of French label
Toshi MARUYAMA [Sat, 1 Sep 2012 02:37:20 +0000 (02:37 +0000)]
add unit query test of French label

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10254 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoreplace shoulder "with a start_date attribute" context of test/unit/helpers/issues_he...
Toshi MARUYAMA [Sat, 1 Sep 2012 02:23:59 +0000 (02:23 +0000)]
replace shoulder "with a start_date attribute" context of test/unit/helpers/issues_helper_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10253 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: git: use with_settings at test_diff_truncated of functional test (#11752)
Toshi MARUYAMA [Sat, 1 Sep 2012 02:23:44 +0000 (02:23 +0000)]
scm: git: use with_settings at test_diff_truncated of functional test (#11752)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10252 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: git: use diff_max_lines_displayed setting at test_diff_with_rev_and_path of...
Toshi MARUYAMA [Sat, 1 Sep 2012 02:23:29 +0000 (02:23 +0000)]
scm: git: use diff_max_lines_displayed setting at test_diff_with_rev_and_path of functional test (#11752)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10251 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset language en to test_label_for at test/unit/query_test.rb
Toshi MARUYAMA [Sat, 1 Sep 2012 01:29:48 +0000 (01:29 +0000)]
set language en to test_label_for at test/unit/query_test.rb

Test on CI Server fails.

http://www.redmine.org/builds/logs/build_trunk_sqlite3_ruby-1.9.3-p194_581.html

<pre>
Failure:
  <"Assignee">("US-ASCII") expected but was
  <"Assigné Ã ">("UTF-8").
test_label_for(QueryTest)
test/unit/query_test.rb:860:in `test_label_for'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10249 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoGemfile: pin i18n gem version 0.6.0
Toshi MARUYAMA [Fri, 31 Aug 2012 23:44:35 +0000 (23:44 +0000)]
Gemfile: pin i18n gem version 0.6.0

Tests on CI server fails.
http://www.redmine.org/builds/logs/build_trunk_sqlite3_ruby-1.9.3-p194_580.html

<pre>
Failure:
  <"Due date changed from 01 01 2010 to 31 01 2010"> expected to be =~
  </01\/31\/2010/>.
test: IssuesHelper#show_detail with a due_date attribute should format the current date. (IssuesHelperTest)
test/unit/helpers/issues_helper_test.rb:127:in `block (3 levels) in <class:IssuesHelperTest>'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10247 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoremove trailing white-space from app/controllers/wiki_controller.rb
Toshi MARUYAMA [Fri, 31 Aug 2012 23:01:51 +0000 (23:01 +0000)]
remove trailing white-space from app/controllers/wiki_controller.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10246 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: git: add functional test of diff with revision and path (#11752)
Toshi MARUYAMA [Fri, 31 Aug 2012 22:22:26 +0000 (22:22 +0000)]
scm: git: add functional test of diff with revision and path (#11752)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10245 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUpdates test for r10243.
Jean-Philippe Lang [Mon, 27 Aug 2012 11:21:08 +0000 (11:21 +0000)]
Updates test for r10243.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10244 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoCode cleanup: removed the obsolete with_limit scope.
Jean-Philippe Lang [Mon, 27 Aug 2012 10:54:01 +0000 (10:54 +0000)]
Code cleanup: removed the obsolete with_limit scope.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10243 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoDo not build a projects_by_role Hash that gets updated when accessing a key that...
Jean-Philippe Lang [Mon, 27 Aug 2012 10:11:20 +0000 (10:11 +0000)]
Do not build a projects_by_role Hash that gets updated when accessing a key that is not present (#11662).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10242 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMake sure we don't build an empty IN () statement (#11662).
Jean-Philippe Lang [Mon, 27 Aug 2012 10:09:08 +0000 (10:09 +0000)]
Make sure we don't build an empty IN () statement (#11662).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10241 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed that destroying a user from the edit page returns a 404 response (#11691).
Jean-Philippe Lang [Sun, 26 Aug 2012 10:50:59 +0000 (10:50 +0000)]
Fixed that destroying a user from the edit page returns a 404 response (#11691).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10240 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoDo not use escaped back_url param (#11691).
Jean-Philippe Lang [Sun, 26 Aug 2012 10:40:09 +0000 (10:40 +0000)]
Do not use escaped back_url param (#11691).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10239 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoReverted r10234 and r10235 that broke redirect after login (#11691).
Jean-Philippe Lang [Sun, 26 Aug 2012 09:29:48 +0000 (09:29 +0000)]
Reverted r10234 and r10235 that broke redirect after login (#11691).

Tests in account_controller_test.rb should not have been changed.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10238 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoDon't use tag helper in layout (#11704).
Jean-Philippe Lang [Sun, 26 Aug 2012 09:25:25 +0000 (09:25 +0000)]
Don't use tag helper in layout (#11704).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10237 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMailHandler: Match assignee on the full display name (#11552).
Jean-Philippe Lang [Sun, 26 Aug 2012 09:03:17 +0000 (09:03 +0000)]
MailHandler: Match assignee on the full display name (#11552).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10236 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoReverted changes made to tests for r1893 (#11691).
Etienne Massip [Fri, 24 Aug 2012 21:41:52 +0000 (21:41 +0000)]
Reverted changes made to tests for r1893 (#11691).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10235 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse a back_url parameter instead of referrer to refresh the page after user deletion...
Etienne Massip [Fri, 24 Aug 2012 21:23:10 +0000 (21:23 +0000)]
Use a back_url parameter instead of referrer to refresh the page after user deletion (#11691).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10234 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoremove empty setup method from unit enumeration test
Toshi MARUYAMA [Wed, 22 Aug 2012 16:31:26 +0000 (16:31 +0000)]
remove empty setup method from unit enumeration test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10232 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd unit test that enumeration returns default in regardless of active or not
Toshi MARUYAMA [Wed, 22 Aug 2012 16:31:13 +0000 (16:31 +0000)]
add unit test that enumeration returns default in regardless of active or not

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10231 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd check default document category is not defined on database in tests (#11665)
Toshi MARUYAMA [Wed, 22 Aug 2012 16:18:01 +0000 (16:18 +0000)]
add check default document category is not defined on database in tests (#11665)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10230 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agouse Rails3 Active Record syntax in DocumentCategory model
Toshi MARUYAMA [Wed, 22 Aug 2012 00:13:31 +0000 (00:13 +0000)]
use Rails3 Active Record syntax in DocumentCategory model

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10228 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd position to DocumentCategory in enumerations fixture (#11665)
Toshi MARUYAMA [Tue, 21 Aug 2012 16:14:33 +0000 (16:14 +0000)]
add position to DocumentCategory in enumerations fixture (#11665)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10222 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoforce set default document category if it is not set on database (#11665)
Toshi MARUYAMA [Tue, 21 Aug 2012 13:45:53 +0000 (13:45 +0000)]
force set default document category if it is not set on database (#11665)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10221 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd unit test to get default document category defined on database (#11665)
Toshi MARUYAMA [Tue, 21 Aug 2012 13:45:40 +0000 (13:45 +0000)]
add unit test to get default document category defined on database (#11665)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10220 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd functional test to create non default document category (#11665)
Toshi MARUYAMA [Tue, 21 Aug 2012 06:15:29 +0000 (06:15 +0000)]
add functional test to create non default document category (#11665)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10219 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd missing fixtures to test/functional/documents_controller_test.rb
Toshi MARUYAMA [Tue, 21 Aug 2012 04:49:22 +0000 (04:49 +0000)]
add missing fixtures to test/functional/documents_controller_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10216 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoadd missing fixtures to test/unit/document_test.rb
Toshi MARUYAMA [Tue, 21 Aug 2012 02:15:04 +0000 (02:15 +0000)]
add missing fixtures to test/unit/document_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10213 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUpdated macro documentation.
Jean-Philippe Lang [Sat, 18 Aug 2012 12:55:00 +0000 (12:55 +0000)]
Updated macro documentation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10212 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoValidate macro name and options.
Jean-Philippe Lang [Sat, 18 Aug 2012 12:35:14 +0000 (12:35 +0000)]
Validate macro name and options.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10211 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoLet macros optionally accept a block of text (#3061).
Jean-Philippe Lang [Sat, 18 Aug 2012 08:25:22 +0000 (08:25 +0000)]
Let macros optionally accept a block of text (#3061).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10210 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMacros processing overhaul (#3061, #11633).
Jean-Philippe Lang [Fri, 17 Aug 2012 14:46:55 +0000 (14:46 +0000)]
Macros processing overhaul (#3061, #11633).

* macro arguments are no longer parsed by text formatters
* macro output is escaped unless it's html safe

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10209 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoPrevents "Overwriting existing method Issue.open" warning (#11545).
Jean-Philippe Lang [Fri, 17 Aug 2012 14:34:10 +0000 (14:34 +0000)]
Prevents "Overwriting existing method Issue.open" warning (#11545).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10208 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agofix unit test fails on JRuby 1.6.7.2 (#11577)
Toshi MARUYAMA [Tue, 14 Aug 2012 00:30:23 +0000 (00:30 +0000)]
fix unit test fails on JRuby 1.6.7.2 (#11577)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10207 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed: Can't use non-latin anchor in wiki (#11577).
Jean-Philippe Lang [Mon, 13 Aug 2012 19:36:00 +0000 (19:36 +0000)]
Fixed: Can't use non-latin anchor in wiki (#11577).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10206 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed that text email templates are escaped (#11355).
Jean-Philippe Lang [Mon, 13 Aug 2012 19:05:42 +0000 (19:05 +0000)]
Fixed that text email templates are escaped (#11355).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10205 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRespond with 404 on ActionView::MissingTemplate (#11503).
Jean-Philippe Lang [Mon, 13 Aug 2012 18:34:00 +0000 (18:34 +0000)]
Respond with 404 on ActionView::MissingTemplate (#11503).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10204 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds .settings to svn:ignore and removes svk property.
Jean-Philippe Lang [Mon, 13 Aug 2012 18:16:45 +0000 (18:16 +0000)]
Adds .settings to svn:ignore and removes svk property.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10203 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse abbr_day_name to get the first letter of the day name (#9839).
Jean-Philippe Lang [Mon, 13 Aug 2012 18:13:10 +0000 (18:13 +0000)]
Use abbr_day_name to get the first letter of the day name (#9839).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10202 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoEscape filter values using .text instead of .html.
Jean-Philippe Lang [Mon, 13 Aug 2012 14:59:59 +0000 (14:59 +0000)]
Escape filter values using .text instead of .html.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10201 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed that roadmap anchor links can be ambigous (#11540).
Jean-Philippe Lang [Mon, 13 Aug 2012 14:41:53 +0000 (14:41 +0000)]
Fixed that roadmap anchor links can be ambigous (#11540).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10200 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed that open scope on Project#issues raises an error (#11545).
Jean-Philippe Lang [Mon, 13 Aug 2012 14:23:33 +0000 (14:23 +0000)]
Fixed that open scope on Project#issues raises an error (#11545).

Patch by Petr Pospisil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10199 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a title to the issue link in the flash message.
Jean-Philippe Lang [Mon, 13 Aug 2012 14:04:00 +0000 (14:04 +0000)]
Adds a title to the issue link in the flash message.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10198 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoContext menu style.
Jean-Philippe Lang [Mon, 13 Aug 2012 13:48:20 +0000 (13:48 +0000)]
Context menu style.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10197 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoCustom JQueryUI theme.
Jean-Philippe Lang [Mon, 13 Aug 2012 13:39:21 +0000 (13:39 +0000)]
Custom JQueryUI theme.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10196 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoSet application/javascript as javascript mime tpye (#11621).
Jean-Philippe Lang [Mon, 13 Aug 2012 12:39:11 +0000 (12:39 +0000)]
Set application/javascript as javascript mime tpye (#11621).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10195 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agocherry-pick avatar test from reverted r10184
Toshi MARUYAMA [Sat, 11 Aug 2012 00:31:18 +0000 (00:31 +0000)]
cherry-pick avatar test from reverted r10184

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10194 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRaised the max-height.
Jean-Philippe Lang [Fri, 10 Aug 2012 18:49:30 +0000 (18:49 +0000)]
Raised the max-height.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10193 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a max-height to projects lists.
Jean-Philippe Lang [Fri, 10 Aug 2012 18:48:53 +0000 (18:48 +0000)]
Adds a max-height to projects lists.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10192 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved duplicated helper (#11539).
Jean-Philippe Lang [Fri, 10 Aug 2012 18:41:24 +0000 (18:41 +0000)]
Removed duplicated helper (#11539).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10191 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved p around ul.
Jean-Philippe Lang [Fri, 10 Aug 2012 18:39:49 +0000 (18:39 +0000)]
Removed p around ul.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10190 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoDisplay a projects tree instead of a flat list in notification preferences (#11539).
Jean-Philippe Lang [Fri, 10 Aug 2012 17:30:35 +0000 (17:30 +0000)]
Display a projects tree instead of a flat list in notification preferences (#11539).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10189 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoExtract code to render nested listed of projects in an helper (#11539).
Jean-Philippe Lang [Fri, 10 Aug 2012 17:09:48 +0000 (17:09 +0000)]
Extract code to render nested listed of projects in an helper (#11539).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10188 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed that projects are not ordered alphabetically after renaming project (#11508).
Jean-Philippe Lang [Fri, 10 Aug 2012 16:50:15 +0000 (16:50 +0000)]
Fixed that projects are not ordered alphabetically after renaming project (#11508).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10187 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoReverted r10184 (#9365).
Jean-Philippe Lang [Fri, 10 Aug 2012 16:35:58 +0000 (16:35 +0000)]
Reverted r10184 (#9365).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10186 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed that search results are escaped twice.
Jean-Philippe Lang [Fri, 10 Aug 2012 16:22:26 +0000 (16:22 +0000)]
Fixed that search results are escaped twice.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10185 e93f8b46-1217-0410-a6f0-8f06a7374b81