]> source.dussan.org Git - redmine.git/log
redmine.git
11 years agoUse named route with attachment filename for inline images.
Jean-Philippe Lang [Mon, 14 Jan 2013 21:03:53 +0000 (21:03 +0000)]
Use named route with attachment filename for inline images.

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

11 years agoAdds a named route for thumbnails and use route helper in #thumbnail_tag.
Jean-Philippe Lang [Mon, 14 Jan 2013 20:51:49 +0000 (20:51 +0000)]
Adds a named route for thumbnails and use route helper in #thumbnail_tag.

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

11 years agoAdd named routes for attachments and use route helpers in #link_to_attachment.
Jean-Philippe Lang [Mon, 14 Jan 2013 20:44:48 +0000 (20:44 +0000)]
Add named routes for attachments and use route helpers in #link_to_attachment.

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

11 years agoUse route helper in #link_to_message.
Jean-Philippe Lang [Mon, 14 Jan 2013 19:22:09 +0000 (19:22 +0000)]
Use route helper in #link_to_message.

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

11 years agoRemoved deprecated call from examples.
Jean-Philippe Lang [Mon, 14 Jan 2013 19:18:52 +0000 (19:18 +0000)]
Removed deprecated call from examples.

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

11 years agoUse route helper in #link_to_project.
Jean-Philippe Lang [Mon, 14 Jan 2013 19:16:29 +0000 (19:16 +0000)]
Use route helper in #link_to_project.

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

11 years agoAdd links to projects in Group projects list (#12843).
Jean-Philippe Lang [Mon, 14 Jan 2013 17:40:51 +0000 (17:40 +0000)]
Add links to projects in Group projects list (#12843).

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

11 years agoTraditional Chinese translation updated by ChunChang Lo (#12831)
Toshi MARUYAMA [Sun, 13 Jan 2013 16:10:41 +0000 (16:10 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#12831)

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

11 years agouse "UTF-16LE" instead of "UTF-16" on Ruby 1.9.2 due to test failure (#12787)
Toshi MARUYAMA [Sun, 13 Jan 2013 01:50:14 +0000 (01:50 +0000)]
use "UTF-16LE" instead of "UTF-16" on Ruby 1.9.2 due to test failure (#12787)

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

11 years agofix typo of attachments controller test names
Toshi MARUYAMA [Sun, 13 Jan 2013 00:43:36 +0000 (00:43 +0000)]
fix typo of attachments controller test names

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

11 years agofix test failures (#12787)
Toshi MARUYAMA [Sun, 13 Jan 2013 00:43:24 +0000 (00:43 +0000)]
fix test failures (#12787)

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

11 years agoEncoding::InvalidByteSequenceError may be raised even if encoding is valid (#12787).
Jean-Philippe Lang [Sat, 12 Jan 2013 22:34:00 +0000 (22:34 +0000)]
Encoding::InvalidByteSequenceError may be raised even if encoding is valid (#12787).

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

11 years agoDon't use Iconv with ruby1.9 (#12787).
Jean-Philippe Lang [Sat, 12 Jan 2013 21:27:36 +0000 (21:27 +0000)]
Don't use Iconv with ruby1.9 (#12787).

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

11 years agoRemoved useless require 'iconv' (#12787).
Jean-Philippe Lang [Sat, 12 Jan 2013 20:36:22 +0000 (20:36 +0000)]
Removed useless require 'iconv' (#12787).

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

11 years agoGerman translation updated by Daniel Felix (#12819)
Toshi MARUYAMA [Sat, 12 Jan 2013 13:26:28 +0000 (13:26 +0000)]
German translation updated by Daniel Felix (#12819)

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

11 years agoMakes issue custom fields available as timelog columns (#1766).
Jean-Philippe Lang [Sat, 12 Jan 2013 13:09:06 +0000 (13:09 +0000)]
Makes issue custom fields available as timelog columns (#1766).

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

11 years agoFilling locales (#10191).
Jean-Philippe Lang [Sat, 12 Jan 2013 12:45:37 +0000 (12:45 +0000)]
Filling locales (#10191).

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

11 years agoAdds issue custom fields to time entries filters (#10191).
Jean-Philippe Lang [Sat, 12 Jan 2013 12:38:45 +0000 (12:38 +0000)]
Adds issue custom fields to time entries filters (#10191).

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

11 years agoSwedish translation updated by Nicklas Holm (#12818)
Toshi MARUYAMA [Sat, 12 Jan 2013 11:30:58 +0000 (11:30 +0000)]
Swedish translation updated by Nicklas Holm (#12818)

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

11 years agoCopyright for 2013 (#12788).
Jean-Philippe Lang [Sat, 12 Jan 2013 09:29:31 +0000 (09:29 +0000)]
Copyright for 2013 (#12788).

Patch by Daniel Felix.

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

11 years agoAdds a message about disabling multiple values on custom field form (#12251).
Jean-Philippe Lang [Sat, 12 Jan 2013 09:27:03 +0000 (09:27 +0000)]
Adds a message about disabling multiple values on custom field form (#12251).

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

11 years agoAbility to uncheck "Multiple values" for existing custom fields (#12251).
Jean-Philippe Lang [Sat, 12 Jan 2013 09:12:09 +0000 (09:12 +0000)]
Ability to uncheck "Multiple values" for existing custom fields (#12251).

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

11 years agoPlugins cannot route wiki page sub-path (#12749).
Jean-Philippe Lang [Fri, 11 Jan 2013 17:42:31 +0000 (17:42 +0000)]
Plugins cannot route wiki page sub-path (#12749).

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

11 years agoSwedish translation changed by Nicklas Holm (#12810, #12809)
Toshi MARUYAMA [Fri, 11 Jan 2013 12:12:06 +0000 (12:12 +0000)]
Swedish translation changed by Nicklas Holm (#12810, #12809)

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

11 years agoSwedish translation updated by Nicklas Holm (#12809)
Toshi MARUYAMA [Fri, 11 Jan 2013 12:11:41 +0000 (12:11 +0000)]
Swedish translation updated by Nicklas Holm (#12809)

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

11 years agoSerbian translation changed by Miodrag Milic (#12806, #12800)
Toshi MARUYAMA [Fri, 11 Jan 2013 07:02:49 +0000 (07:02 +0000)]
Serbian translation changed by Miodrag Milic (#12806, #12800)

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

11 years agoSerbian translation updated by Miodrag Milic (#12800)
Toshi MARUYAMA [Fri, 11 Jan 2013 07:02:36 +0000 (07:02 +0000)]
Serbian translation updated by Miodrag Milic (#12800)

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

11 years agoFixed: Cannot edit a wiki section which title starts with a tab (#12799).
Jean-Philippe Lang [Thu, 10 Jan 2013 22:05:22 +0000 (22:05 +0000)]
Fixed: Cannot edit a wiki section which title starts with a tab (#12799).

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

11 years agoCode cleanup (#12801).
Jean-Philippe Lang [Thu, 10 Jan 2013 21:40:04 +0000 (21:40 +0000)]
Code cleanup (#12801).

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

11 years agoFixed that viewing the history of a wiki page with attachments raises an error (...
Jean-Philippe Lang [Thu, 10 Jan 2013 21:38:11 +0000 (21:38 +0000)]
Fixed that viewing the history of a wiki page with attachments raises an error (#12801).

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

11 years agoChanges for 2.2.1 release.
Jean-Philippe Lang [Wed, 9 Jan 2013 13:32:39 +0000 (13:32 +0000)]
Changes for 2.2.1 release.

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

11 years agoUpgrade to Rails 3.2.11
Toshi MARUYAMA [Tue, 8 Jan 2013 22:52:00 +0000 (22:52 +0000)]
Upgrade to Rails 3.2.11

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

11 years agoDeprecation warnings (#12774).
Jean-Philippe Lang [Tue, 8 Jan 2013 20:18:12 +0000 (20:18 +0000)]
Deprecation warnings (#12774).

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

11 years agoWorkaround for #12750.
Jean-Philippe Lang [Tue, 8 Jan 2013 20:02:53 +0000 (20:02 +0000)]
Workaround for #12750.

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

11 years agoCheck if index exists before removing it (#12713).
Jean-Philippe Lang [Sun, 6 Jan 2013 14:46:51 +0000 (14:46 +0000)]
Check if index exists before removing it (#12713).

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

11 years agoDon't compute version start date if due_date is nil.
Jean-Philippe Lang [Sun, 6 Jan 2013 14:05:55 +0000 (14:05 +0000)]
Don't compute version start date if due_date is nil.

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

11 years agoGantt perf: fixed that Project#start_date and #due_date run way too much queries.
Jean-Philippe Lang [Sun, 6 Jan 2013 14:03:49 +0000 (14:03 +0000)]
Gantt perf: fixed that Project#start_date and #due_date run way too much queries.

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

11 years agoRemoved debug messages.
Jean-Philippe Lang [Sun, 6 Jan 2013 13:29:25 +0000 (13:29 +0000)]
Removed debug messages.

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

11 years agoFixed that previews are broken by r10957 (#12642).
Jean-Philippe Lang [Sun, 6 Jan 2013 13:26:25 +0000 (13:26 +0000)]
Fixed that previews are broken by r10957 (#12642).

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

11 years agoMore specific message for project identifier in Japanese (#9225)
Toshi MARUYAMA [Sun, 6 Jan 2013 12:18:01 +0000 (12:18 +0000)]
More specific message for project identifier in Japanese (#9225)

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

11 years agoJapanese "notice_account_register_done" translation updated by Takeshi Yaegashi ...
Toshi MARUYAMA [Sun, 6 Jan 2013 12:04:14 +0000 (12:04 +0000)]
Japanese "notice_account_register_done" translation updated by Takeshi Yaegashi (#12754)

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

11 years agoMore specific message for project identifier (#9225).
Jean-Philippe Lang [Sun, 6 Jan 2013 11:46:51 +0000 (11:46 +0000)]
More specific message for project identifier (#9225).

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

11 years agoGenerate project identifier automatically with JavaScript (#9225).
Jean-Philippe Lang [Sun, 6 Jan 2013 11:41:37 +0000 (11:41 +0000)]
Generate project identifier automatically with JavaScript (#9225).

Based on Jan Schulz-Hofen's patch.

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

11 years agoTest fails when run at the beginning of the day.
Jean-Philippe Lang [Sun, 6 Jan 2013 09:54:24 +0000 (09:54 +0000)]
Test fails when run at the beginning of the day.

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

11 years agoremove trailing white-spaces from app/models/mail_handler.rb
Toshi MARUYAMA [Sun, 6 Jan 2013 09:32:42 +0000 (09:32 +0000)]
remove trailing white-spaces from app/models/mail_handler.rb

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

11 years agoFixed that macros with uppercase letters can not be called (#12744).
Jean-Philippe Lang [Sat, 5 Jan 2013 23:11:35 +0000 (23:11 +0000)]
Fixed that macros with uppercase letters can not be called (#12744).

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

11 years agoNegative estimated hours should not be valid (#12735).
Jean-Philippe Lang [Sat, 5 Jan 2013 16:34:41 +0000 (16:34 +0000)]
Negative estimated hours should not be valid (#12735).

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

11 years agoAdds a custom validator for dates (#12736).
Jean-Philippe Lang [Sat, 5 Jan 2013 16:09:15 +0000 (16:09 +0000)]
Adds a custom validator for dates (#12736).

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

11 years agoAdjust test for r11120 (#3436).
Jean-Philippe Lang [Sat, 5 Jan 2013 16:04:21 +0000 (16:04 +0000)]
Adjust test for r11120 (#3436).

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

11 years agoLogin link unexpected logs you out (#12611).
Jean-Philippe Lang [Sat, 5 Jan 2013 13:53:18 +0000 (13:53 +0000)]
Login link unexpected logs you out (#12611).

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

11 years agoStore the other issue in a variable (#10916).
Jean-Philippe Lang [Sat, 5 Jan 2013 13:23:33 +0000 (13:23 +0000)]
Store the other issue in a variable (#10916).

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

11 years agoOnly process issues that have relations.
Jean-Philippe Lang [Sat, 5 Jan 2013 12:41:24 +0000 (12:41 +0000)]
Only process issues that have relations.

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

11 years agoUse JSON so we don't have to parse data-rels manually (#3436).
Jean-Philippe Lang [Sat, 5 Jan 2013 12:34:20 +0000 (12:34 +0000)]
Use JSON so we don't have to parse data-rels manually (#3436).

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

11 years agoShow precedes/follows and blocks/blocked relations on the Gantt diagram (#3436).
Jean-Philippe Lang [Sat, 5 Jan 2013 12:28:34 +0000 (12:28 +0000)]
Show precedes/follows and blocks/blocked relations on the Gantt diagram (#3436).

Based on Toshi MARUYAMA's patch.

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

11 years agoMake sure that dates are stored as YYYY-MM-DD in journal details (#12713).
Jean-Philippe Lang [Fri, 4 Jan 2013 15:38:52 +0000 (15:38 +0000)]
Make sure that dates are stored as YYYY-MM-DD in journal details (#12713).

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

11 years agoPrevent sqlserver adapter from breaking the sub-query (#12713).
Jean-Philippe Lang [Fri, 4 Jan 2013 10:08:29 +0000 (10:08 +0000)]
Prevent sqlserver adapter from breaking the sub-query (#12713).

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

11 years agoPass the order option as an array to satisfy sqlserver adapter (#12713).
Jean-Philippe Lang [Fri, 4 Jan 2013 10:04:25 +0000 (10:04 +0000)]
Pass the order option as an array to satisfy sqlserver adapter (#12713).

Unlike other adapters, the sqlserver adapter processes the order option and wipes it when using functions.
Here we can see a "ASC" inserted in the COALESCE call:

irb(main):001:0> Issue.order("coalesce(estimated_hours, 0), id").to_sql
=> "SELECT [issues].* FROM [issues] ORDER BY coalesce(estimated_hours ASC, 0) ASC, id ASC"

This does not happen when passing the order SQL fragments separately.

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

11 years agoUse activerecord-jdbc-adapter 1.2.5.
Jean-Philippe Lang [Fri, 4 Jan 2013 09:00:55 +0000 (09:00 +0000)]
Use activerecord-jdbc-adapter 1.2.5.

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

11 years agoDeprecates Version#*_pourcent in favour of #*_percent (#12724).
Jean-Philippe Lang [Fri, 4 Jan 2013 08:30:25 +0000 (08:30 +0000)]
Deprecates Version#*_pourcent in favour of #*_percent (#12724).

Patch by Daniel Felix.

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

11 years agoCheck permissions before the extra condition for displaying a menu item (#12721).
Jean-Philippe Lang [Fri, 4 Jan 2013 08:21:33 +0000 (08:21 +0000)]
Check permissions before the extra condition for displaying a menu item (#12721).

Patch by Daniel Ritz.

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

11 years agoremove trailing white-space from app/controllers/wiki_controller.rb
Toshi MARUYAMA [Fri, 4 Jan 2013 01:11:33 +0000 (01:11 +0000)]
remove trailing white-space from app/controllers/wiki_controller.rb

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

11 years agoUpgrade to Rails 3.2.10.
Jean-Philippe Lang [Thu, 3 Jan 2013 22:54:33 +0000 (22:54 +0000)]
Upgrade to Rails 3.2.10.

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

11 years agoCode cleanup.
Jean-Philippe Lang [Thu, 3 Jan 2013 13:59:15 +0000 (13:59 +0000)]
Code cleanup.

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

11 years agoUse joins instead of sub-queries (#12713).
Jean-Philippe Lang [Thu, 3 Jan 2013 13:57:27 +0000 (13:57 +0000)]
Use joins instead of sub-queries (#12713).

Sub-queries in group by are not supported by SQLServer.

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

11 years agoA column has been specified more than once in the order by list (#12713).
Jean-Philippe Lang [Thu, 3 Jan 2013 13:40:50 +0000 (13:40 +0000)]
A column has been specified more than once in the order by list (#12713).

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

11 years agoDon't do any query if id is not present.
Jean-Philippe Lang [Thu, 3 Jan 2013 13:39:04 +0000 (13:39 +0000)]
Don't do any query if id is not present.

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

11 years agoFixed fixtures.
Jean-Philippe Lang [Thu, 3 Jan 2013 13:38:22 +0000 (13:38 +0000)]
Fixed fixtures.

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

11 years agoMake sure we don't cast an empty string to numeric (#12713).
Jean-Philippe Lang [Thu, 3 Jan 2013 13:33:16 +0000 (13:33 +0000)]
Make sure we don't cast an empty string to numeric (#12713).

SQLServer evaluates the CAST condition even if the <> '' condition is false.

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

11 years agoUse joins instead of sub-queries in group by/sort by when using custom fields (#12713).
Jean-Philippe Lang [Thu, 3 Jan 2013 12:28:50 +0000 (12:28 +0000)]
Use joins instead of sub-queries in group by/sort by when using custom fields (#12713).

Sub-queries in group by are not supported by SQLServer.

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

11 years agoRepository changesets are already sorted by committed_on DESC (#12713).
Jean-Philippe Lang [Thu, 3 Jan 2013 11:40:39 +0000 (11:40 +0000)]
Repository changesets are already sorted by committed_on DESC (#12713).

SQLServer raises an error because committed_on is specified twice in the order by list.

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

11 years agoPrevents position to be specified more than once in the order by list which is not...
Jean-Philippe Lang [Thu, 3 Jan 2013 11:37:07 +0000 (11:37 +0000)]
Prevents position to be specified more than once in the order by list which is not supported by SQLServer (#12713).

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

11 years agoSQLServer: rule is a reserved keyword (#12713).
Jean-Philippe Lang [Thu, 3 Jan 2013 11:21:45 +0000 (11:21 +0000)]
SQLServer: rule is a reserved keyword (#12713).

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

11 years agoSQLServer: The size (60) given to the type 'decimal' exceeds the maximum allowed...
Jean-Philippe Lang [Thu, 3 Jan 2013 11:21:03 +0000 (11:21 +0000)]
SQLServer: The size (60) given to the type 'decimal' exceeds the maximum allowed (#12713).

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

11 years agoSQLServer does not support changing the type of an indexed column (#12713).
Jean-Philippe Lang [Thu, 3 Jan 2013 11:19:08 +0000 (11:19 +0000)]
SQLServer does not support changing the type of an indexed column (#12713).

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

11 years agoCheck that locale is well formed.
Jean-Philippe Lang [Thu, 3 Jan 2013 11:12:41 +0000 (11:12 +0000)]
Check that locale is well formed.

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

11 years agoYAML.load_file returns a Hash with 3 keys with ruby 1.9.3p194 (2012-04-20) [i386...
Jean-Philippe Lang [Thu, 3 Jan 2013 11:02:11 +0000 (11:02 +0000)]
YAML.load_file returns a Hash with 3 keys with ruby 1.9.3p194 (2012-04-20) [i386-mingw32].

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

11 years agoYAML.load_file fails with ruby 1.9.3p194 (2012-04-20) [i386-mingw32].
Jean-Philippe Lang [Thu, 3 Jan 2013 11:01:42 +0000 (11:01 +0000)]
YAML.load_file fails with ruby 1.9.3p194 (2012-04-20) [i386-mingw32].

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

11 years agoGerman translation restructured by Daniel Felix (#12708)
Toshi MARUYAMA [Wed, 2 Jan 2013 16:30:58 +0000 (16:30 +0000)]
German translation restructured by Daniel Felix (#12708)

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

11 years agofix incorrect min_x_value of lib/SVG/Graph/TimeSeries.rb by r10439 (#12711, #11290)
Toshi MARUYAMA [Wed, 2 Jan 2013 15:53:52 +0000 (15:53 +0000)]
fix incorrect min_x_value of lib/SVG/Graph/TimeSeries.rb by r10439 (#12711, #11290)

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

11 years agoTypo in app/models/tracker.rb (#12707).
Jean-Philippe Lang [Wed, 2 Jan 2013 13:02:20 +0000 (13:02 +0000)]
Typo in app/models/tracker.rb (#12707).

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

11 years agocannot load Java class com.mysql.jdbc.Driver error with jdbc-mysql 5.1.22.
Jean-Philippe Lang [Wed, 2 Jan 2013 11:59:25 +0000 (11:59 +0000)]
cannot load Java class com.mysql.jdbc.Driver error with jdbc-mysql 5.1.22.

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

11 years agoLink to Wikipedia (#12691).
Jean-Philippe Lang [Wed, 2 Jan 2013 07:50:38 +0000 (07:50 +0000)]
Link to Wikipedia (#12691).

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

11 years agoIcon for the textile help link.
Jean-Philippe Lang [Wed, 2 Jan 2013 07:47:12 +0000 (07:47 +0000)]
Icon for the textile help link.

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

11 years agoreplace tabs to spaces at app/views/timelog/_form.html.erb
Toshi MARUYAMA [Thu, 27 Dec 2012 03:09:56 +0000 (03:09 +0000)]
replace tabs to spaces at app/views/timelog/_form.html.erb

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

11 years agoTests broken with activerecord-jdbc-adapter 1.2.3.
Jean-Philippe Lang [Wed, 26 Dec 2012 14:16:42 +0000 (14:16 +0000)]
Tests broken with activerecord-jdbc-adapter 1.2.3.

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

11 years agoLog an error when trying to send an attachment that cannot be read.
Jean-Philippe Lang [Wed, 26 Dec 2012 14:00:10 +0000 (14:00 +0000)]
Log an error when trying to send an attachment that cannot be read.

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

11 years agoUpdate the issue subject when choosing an issue from the drop down menu.
Jean-Philippe Lang [Wed, 26 Dec 2012 13:12:38 +0000 (13:12 +0000)]
Update the issue subject when choosing an issue from the drop down menu.

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

11 years agoAdds an indicator to all autocomplete/search fields.
Jean-Philippe Lang [Wed, 26 Dec 2012 12:01:11 +0000 (12:01 +0000)]
Adds an indicator to all autocomplete/search fields.

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

11 years agoUpgraded JQuery to 1.8.3 and JQuery UI to 1.9.2.
Jean-Philippe Lang [Wed, 26 Dec 2012 11:47:51 +0000 (11:47 +0000)]
Upgraded JQuery to 1.8.3 and JQuery UI to 1.9.2.

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

11 years agoAuto-populate fields while creating a new user with LDAP (#10286).
Jean-Philippe Lang [Wed, 26 Dec 2012 11:23:53 +0000 (11:23 +0000)]
Auto-populate fields while creating a new user with LDAP (#10286).

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

11 years agoMissing labels on auth_source edit form.
Jean-Philippe Lang [Mon, 24 Dec 2012 10:42:37 +0000 (10:42 +0000)]
Missing labels on auth_source edit form.

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

11 years agoCode cleanup, use named routes.
Jean-Philippe Lang [Sun, 23 Dec 2012 16:10:07 +0000 (16:10 +0000)]
Code cleanup, use named routes.

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

11 years agoCode cleanup, use named routes.
Jean-Philippe Lang [Sun, 23 Dec 2012 15:55:57 +0000 (15:55 +0000)]
Code cleanup, use named routes.

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

11 years agoRenamed #_issues_path to #_project_issues_path.
Jean-Philippe Lang [Sun, 23 Dec 2012 15:19:57 +0000 (15:19 +0000)]
Renamed #_issues_path to #_project_issues_path.

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

11 years agoMoved routes helper methods to an helper.
Jean-Philippe Lang [Sun, 23 Dec 2012 15:18:39 +0000 (15:18 +0000)]
Moved routes helper methods to an helper.

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

11 years agoCode cleanup, use named routes.
Jean-Philippe Lang [Sun, 23 Dec 2012 15:12:57 +0000 (15:12 +0000)]
Code cleanup, use named routes.

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

11 years agoAdds route names for r11072.
Jean-Philippe Lang [Sat, 22 Dec 2012 15:57:27 +0000 (15:57 +0000)]
Adds route names for r11072.

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

11 years agoCode cleanup, use named routes.
Jean-Philippe Lang [Sat, 22 Dec 2012 15:57:07 +0000 (15:57 +0000)]
Code cleanup, use named routes.

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

11 years agoCode cleanup, use named routes.
Jean-Philippe Lang [Sat, 22 Dec 2012 12:24:43 +0000 (12:24 +0000)]
Code cleanup, use named routes.

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

11 years agoCode cleanup.
Jean-Philippe Lang [Sat, 22 Dec 2012 10:57:01 +0000 (10:57 +0000)]
Code cleanup.

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