]> source.dussan.org Git - redmine.git/log
redmine.git
9 years agoCode cleanup.
Jean-Philippe Lang [Sun, 30 Nov 2014 16:39:20 +0000 (16:39 +0000)]
Code cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13682 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unneeded patch in tests.
Jean-Philippe Lang [Sun, 30 Nov 2014 16:16:12 +0000 (16:16 +0000)]
Removed unneeded patch in tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13681 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved helpers for integration tests in a specific class.
Jean-Philippe Lang [Sun, 30 Nov 2014 15:16:43 +0000 (15:16 +0000)]
Moved helpers for integration tests in a specific class.

git-svn-id: http://svn.redmine.org/redmine/trunk@13680 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoPull up #setup and #teardown in API tests.
Jean-Philippe Lang [Sun, 30 Nov 2014 15:10:56 +0000 (15:10 +0000)]
Pull up #setup and #teardown in API tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13679 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTest cleanup.
Jean-Philippe Lang [Sun, 30 Nov 2014 15:02:47 +0000 (15:02 +0000)]
Test cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13678 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTextile: ignore invalid lang attribute values (#18501).
Jean-Philippe Lang [Sun, 30 Nov 2014 14:55:03 +0000 (14:55 +0000)]
Textile: ignore invalid lang attribute values (#18501).

git-svn-id: http://svn.redmine.org/redmine/trunk@13677 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDrop shoulda.
Jean-Philippe Lang [Sun, 30 Nov 2014 14:31:53 +0000 (14:31 +0000)]
Drop shoulda.

git-svn-id: http://svn.redmine.org/redmine/trunk@13676 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTest API authentification once.
Jean-Philippe Lang [Sun, 30 Nov 2014 14:11:56 +0000 (14:11 +0000)]
Test API authentification once.

git-svn-id: http://svn.redmine.org/redmine/trunk@13675 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemove contexts in QueryTest.
Jean-Philippe Lang [Sun, 30 Nov 2014 13:41:34 +0000 (13:41 +0000)]
Remove contexts in QueryTest.

git-svn-id: http://svn.redmine.org/redmine/trunk@13674 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGantt unit tests cleanup.
Jean-Philippe Lang [Sun, 30 Nov 2014 13:28:53 +0000 (13:28 +0000)]
Gantt unit tests cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13673 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMakes object argument optional and typo.
Jean-Philippe Lang [Sun, 30 Nov 2014 13:18:22 +0000 (13:18 +0000)]
Makes object argument optional and typo.

git-svn-id: http://svn.redmine.org/redmine/trunk@13672 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixtures to test/functional/projects_controller_test.rb
Toshi MARUYAMA [Sun, 30 Nov 2014 00:17:20 +0000 (00:17 +0000)]
add missing fixtures to test/functional/projects_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@13671 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoLocalisation not set correctly on authenticity token errors (#18499).
Jean-Philippe Lang [Sat, 29 Nov 2014 15:16:59 +0000 (15:16 +0000)]
Localisation not set correctly on authenticity token errors (#18499).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13670 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds translation strings (#18500).
Jean-Philippe Lang [Sat, 29 Nov 2014 15:11:30 +0000 (15:11 +0000)]
Adds translation strings (#18500).

git-svn-id: http://svn.redmine.org/redmine/trunk@13669 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoConfigurable behavour for linking issues on copy (#18500).
Jean-Philippe Lang [Sat, 29 Nov 2014 15:10:59 +0000 (15:10 +0000)]
Configurable behavour for linking issues on copy (#18500).

git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a more specific title for the attachments edit link (#1326).
Jean-Philippe Lang [Sat, 29 Nov 2014 13:55:41 +0000 (13:55 +0000)]
Adds a more specific title for the attachments edit link (#1326).

git-svn-id: http://svn.redmine.org/redmine/trunk@13667 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds :inverse_of option.
Jean-Philippe Lang [Sat, 29 Nov 2014 13:52:29 +0000 (13:52 +0000)]
Adds :inverse_of option.

git-svn-id: http://svn.redmine.org/redmine/trunk@13666 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoEdit attachments after upload (#1326).
Jean-Philippe Lang [Sat, 29 Nov 2014 13:41:53 +0000 (13:41 +0000)]
Edit attachments after upload (#1326).

git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTypo.
Jean-Philippe Lang [Fri, 28 Nov 2014 14:02:57 +0000 (14:02 +0000)]
Typo.

git-svn-id: http://svn.redmine.org/redmine/trunk@13664 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved format specific stuff on format specific methods.
Jean-Philippe Lang [Fri, 28 Nov 2014 13:42:47 +0000 (13:42 +0000)]
Moved format specific stuff on format specific methods.

git-svn-id: http://svn.redmine.org/redmine/trunk@13663 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGroup filters in the filter select list (#13849).
Jean-Philippe Lang [Fri, 28 Nov 2014 09:31:56 +0000 (09:31 +0000)]
Group filters in the filter select list (#13849).

git-svn-id: http://svn.redmine.org/redmine/trunk@13662 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed "First argument in form cannot contain nil or be empty" error (#18275).
Jean-Philippe Lang [Fri, 28 Nov 2014 07:59:54 +0000 (07:59 +0000)]
Fixed "First argument in form cannot contain nil or be empty" error (#18275).

git-svn-id: http://svn.redmine.org/redmine/trunk@13661 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoError raised on project settings after project wiki is deleted (#18429).
Jean-Philippe Lang [Fri, 28 Nov 2014 07:43:22 +0000 (07:43 +0000)]
Error raised on project settings after project wiki is deleted (#18429).

git-svn-id: http://svn.redmine.org/redmine/trunk@13660 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse of PRE tag in issue description results in wrapped text (#18464).
Jean-Philippe Lang [Fri, 28 Nov 2014 07:32:04 +0000 (07:32 +0000)]
Use of PRE tag in issue description results in wrapped text (#18464).

git-svn-id: http://svn.redmine.org/redmine/trunk@13659 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved useless local variable.
Jean-Philippe Lang [Wed, 26 Nov 2014 21:10:48 +0000 (21:10 +0000)]
Removed useless local variable.

git-svn-id: http://svn.redmine.org/redmine/trunk@13658 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved duplicated code.
Jean-Philippe Lang [Wed, 26 Nov 2014 21:06:47 +0000 (21:06 +0000)]
Removed duplicated code.

git-svn-id: http://svn.redmine.org/redmine/trunk@13657 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse named routes or helpers.
Jean-Philippe Lang [Wed, 26 Nov 2014 19:34:33 +0000 (19:34 +0000)]
Use named routes or helpers.

git-svn-id: http://svn.redmine.org/redmine/trunk@13656 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGerman translation updated by Daniel Felix (#18438)
Toshi MARUYAMA [Wed, 26 Nov 2014 07:58:02 +0000 (07:58 +0000)]
German translation updated by Daniel Felix (#18438)

git-svn-id: http://svn.redmine.org/redmine/trunk@13655 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGemfile: add :x64_mingw platform missing in r13651
Toshi MARUYAMA [Wed, 26 Nov 2014 04:39:20 +0000 (04:39 +0000)]
Gemfile: add :x64_mingw platform missing in r13651

git-svn-id: http://svn.redmine.org/redmine/trunk@13654 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agouse English at integration IssuesTest#test_issue_with_user_custom_field
Toshi MARUYAMA [Tue, 25 Nov 2014 11:22:23 +0000 (11:22 +0000)]
use English at integration IssuesTest#test_issue_with_user_custom_field

git-svn-id: http://svn.redmine.org/redmine/trunk@13653 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoreplace ruby.exe to ruby at bin/ files
Toshi MARUYAMA [Tue, 25 Nov 2014 10:05:36 +0000 (10:05 +0000)]
replace ruby.exe to ruby at bin/ files

git-svn-id: http://svn.redmine.org/redmine/trunk@13652 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGemfile: add :x64_mingw platform (aka RubyInstaller x64)
Toshi MARUYAMA [Tue, 25 Nov 2014 09:53:42 +0000 (09:53 +0000)]
Gemfile: add :x64_mingw platform (aka RubyInstaller x64)

git-svn-id: http://svn.redmine.org/redmine/trunk@13651 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdded missing tests for notify_about?
Jean-Philippe Lang [Mon, 24 Nov 2014 21:08:03 +0000 (21:08 +0000)]
Added missing tests for notify_about?

git-svn-id: http://svn.redmine.org/redmine/trunk@13650 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved some test contexts.
Jean-Philippe Lang [Mon, 24 Nov 2014 20:56:59 +0000 (20:56 +0000)]
Removed some test contexts.

git-svn-id: http://svn.redmine.org/redmine/trunk@13649 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed tests broken by r13646.
Jean-Philippe Lang [Sun, 23 Nov 2014 21:07:44 +0000 (21:07 +0000)]
Fixed tests broken by r13646.

git-svn-id: http://svn.redmine.org/redmine/trunk@13648 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved some test contexts.
Jean-Philippe Lang [Sun, 23 Nov 2014 20:39:16 +0000 (20:39 +0000)]
Removed some test contexts.

git-svn-id: http://svn.redmine.org/redmine/trunk@13647 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved some test contexts.
Jean-Philippe Lang [Sun, 23 Nov 2014 20:25:46 +0000 (20:25 +0000)]
Removed some test contexts.

git-svn-id: http://svn.redmine.org/redmine/trunk@13646 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFirst db:migrate fails with SQLServer (undefined method type for nil class in sqlserv...
Jean-Philippe Lang [Sun, 23 Nov 2014 17:38:38 +0000 (17:38 +0000)]
First db:migrate fails with SQLServer (undefined method type for nil class in sqlserver adapter).

git-svn-id: http://svn.redmine.org/redmine/trunk@13645 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved duplicate element ids.
Jean-Philippe Lang [Sun, 23 Nov 2014 13:45:24 +0000 (13:45 +0000)]
Removed duplicate element ids.

git-svn-id: http://svn.redmine.org/redmine/trunk@13644 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMove wiki page to other project (#5450).
Jean-Philippe Lang [Sun, 23 Nov 2014 13:36:01 +0000 (13:36 +0000)]
Move wiki page to other project (#5450).

git-svn-id: http://svn.redmine.org/redmine/trunk@13643 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMerged r13640 from 2.6-stable to trunk (#18280)
Toshi MARUYAMA [Sat, 22 Nov 2014 13:52:32 +0000 (13:52 +0000)]
Merged r13640 from 2.6-stable to trunk (#18280)

git-svn-id: http://svn.redmine.org/redmine/trunk@13641 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoreplace tab to space at app/models/issue.rb
Toshi MARUYAMA [Sat, 22 Nov 2014 11:59:33 +0000 (11:59 +0000)]
replace tab to space at app/models/issue.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@13639 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSelected projects in email notifications on "my account" are lost when the page is...
Jean-Philippe Lang [Sat, 22 Nov 2014 10:56:59 +0000 (10:56 +0000)]
Selected projects in email notifications on "my account" are lost when the page is redisplayed after a validation error (#18060).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13638 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCode cleanup.
Jean-Philippe Lang [Sat, 22 Nov 2014 09:42:09 +0000 (09:42 +0000)]
Code cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13626 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoClear @spent_hours on reload (#18410).
Jean-Philippe Lang [Sat, 22 Nov 2014 09:39:10 +0000 (09:39 +0000)]
Clear @spent_hours on reload (#18410).

Patch by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@13625 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoReplaced remaining #assert_tag with #assert_select.
Jean-Philippe Lang [Sat, 22 Nov 2014 09:38:21 +0000 (09:38 +0000)]
Replaced remaining #assert_tag with #assert_select.

git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRTL css improvement (#18390)
Toshi MARUYAMA [Fri, 21 Nov 2014 04:56:50 +0000 (04:56 +0000)]
RTL css improvement (#18390)

git-svn-id: http://svn.redmine.org/redmine/trunk@13623 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGerman Self-registration translation changed by Filou Centrinov (#18392)
Toshi MARUYAMA [Fri, 21 Nov 2014 04:22:46 +0000 (04:22 +0000)]
German Self-registration translation changed by Filou Centrinov (#18392)

git-svn-id: http://svn.redmine.org/redmine/trunk@13622 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agofix typo and use "GitHub" instead of "github" at CONTRIBUTING.md
Toshi MARUYAMA [Fri, 21 Nov 2014 04:11:02 +0000 (04:11 +0000)]
fix typo and use "GitHub" instead of "github" at CONTRIBUTING.md

git-svn-id: http://svn.redmine.org/redmine/trunk@13621 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoReplaced some #assert_tag with #assert_select.
Jean-Philippe Lang [Thu, 20 Nov 2014 19:57:06 +0000 (19:57 +0000)]
Replaced some #assert_tag with #assert_select.

git-svn-id: http://svn.redmine.org/redmine/trunk@13620 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoQuote values in DOM selectors for Nokogiri compatibility.
Jean-Philippe Lang [Thu, 20 Nov 2014 19:38:40 +0000 (19:38 +0000)]
Quote values in DOM selectors for Nokogiri compatibility.

git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved select_list_move.js content to application.js.
Jean-Philippe Lang [Tue, 18 Nov 2014 22:14:34 +0000 (22:14 +0000)]
Moved select_list_move.js content to application.js.

git-svn-id: http://svn.redmine.org/redmine/trunk@13618 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved submit_query_form function.
Jean-Philippe Lang [Tue, 18 Nov 2014 22:02:23 +0000 (22:02 +0000)]
Removed submit_query_form function.

git-svn-id: http://svn.redmine.org/redmine/trunk@13617 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse an handler instead of onsubmit attribute.
Jean-Philippe Lang [Tue, 18 Nov 2014 21:53:25 +0000 (21:53 +0000)]
Use an handler instead of onsubmit attribute.

git-svn-id: http://svn.redmine.org/redmine/trunk@13616 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRewritten select_list_move.js functions with JQuery.
Jean-Philippe Lang [Tue, 18 Nov 2014 21:44:45 +0000 (21:44 +0000)]
Rewritten select_list_move.js functions with JQuery.

git-svn-id: http://svn.redmine.org/redmine/trunk@13615 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agofix English syntax of skipping test comment of Bazaar non ASCII environment
Toshi MARUYAMA [Tue, 18 Nov 2014 11:23:16 +0000 (11:23 +0000)]
fix English syntax of skipping test comment of Bazaar non ASCII environment

git-svn-id: http://svn.redmine.org/redmine/trunk@13614 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agofix "test:routing" rake task comment changed by r13604
Toshi MARUYAMA [Tue, 18 Nov 2014 11:23:07 +0000 (11:23 +0000)]
fix "test:routing" rake task comment changed by r13604

git-svn-id: http://svn.redmine.org/redmine/trunk@13613 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGemfile: update Rails to 4.1.8
Toshi MARUYAMA [Tue, 18 Nov 2014 10:59:43 +0000 (10:59 +0000)]
Gemfile: update Rails to 4.1.8

git-svn-id: http://svn.redmine.org/redmine/trunk@13611 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAllows to move multiple columns in selection list (#18357).
Jean-Philippe Lang [Mon, 17 Nov 2014 22:57:40 +0000 (22:57 +0000)]
Allows to move multiple columns in selection list (#18357).

Patch by Filou Centrinov.

git-svn-id: http://svn.redmine.org/redmine/trunk@13610 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved deep nested time entries routes.
Jean-Philippe Lang [Sun, 16 Nov 2014 21:28:03 +0000 (21:28 +0000)]
Removed deep nested time entries routes.

git-svn-id: http://svn.redmine.org/redmine/trunk@13609 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse should_route in routing tests.
Jean-Philippe Lang [Sun, 16 Nov 2014 14:23:32 +0000 (14:23 +0000)]
Use should_route in routing tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13608 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRenamed #test_watchers to #test_issue_watchers.
Jean-Philippe Lang [Sun, 16 Nov 2014 11:02:04 +0000 (11:02 +0000)]
Renamed #test_watchers to #test_issue_watchers.

git-svn-id: http://svn.redmine.org/redmine/trunk@13607 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds API routing tests for time entries.
Jean-Philippe Lang [Sun, 16 Nov 2014 11:00:29 +0000 (11:00 +0000)]
Adds API routing tests for time entries.

git-svn-id: http://svn.redmine.org/redmine/trunk@13606 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved API tests for routes that are not implemented.
Jean-Philippe Lang [Sun, 16 Nov 2014 10:58:15 +0000 (10:58 +0000)]
Removed API tests for routes that are not implemented.

git-svn-id: http://svn.redmine.org/redmine/trunk@13605 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoIsolates all API routing tests to a specific test case.
Jean-Philippe Lang [Sun, 16 Nov 2014 10:54:33 +0000 (10:54 +0000)]
Isolates all API routing tests to a specific test case.

git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds tests for new routes.
Jean-Philippe Lang [Sun, 16 Nov 2014 09:01:44 +0000 (09:01 +0000)]
Adds tests for new routes.

git-svn-id: http://svn.redmine.org/redmine/trunk@13603 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved new group user to its own action GroupsController#new_users.
Jean-Philippe Lang [Sun, 16 Nov 2014 08:53:39 +0000 (08:53 +0000)]
Moved new group user to its own action GroupsController#new_users.

git-svn-id: http://svn.redmine.org/redmine/trunk@13602 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a hook at the bottom of the calender (#6586).
Jean-Philippe Lang [Sat, 15 Nov 2014 20:46:11 +0000 (20:46 +0000)]
Adds a hook at the bottom of the calender (#6586).

git-svn-id: http://svn.redmine.org/redmine/trunk@13601 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved new project member to its own action MemberController#new.
Jean-Philippe Lang [Sat, 15 Nov 2014 11:20:47 +0000 (11:20 +0000)]
Moved new project member to its own action MemberController#new.

git-svn-id: http://svn.redmine.org/redmine/trunk@13600 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved debug messages (#18349).
Jean-Philippe Lang [Fri, 14 Nov 2014 21:58:44 +0000 (21:58 +0000)]
Removed debug messages (#18349).

git-svn-id: http://svn.redmine.org/redmine/trunk@13599 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse named routes.
Jean-Philippe Lang [Fri, 14 Nov 2014 21:51:32 +0000 (21:51 +0000)]
Use named routes.

git-svn-id: http://svn.redmine.org/redmine/trunk@13598 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCode cleanup.
Jean-Philippe Lang [Fri, 14 Nov 2014 21:39:34 +0000 (21:39 +0000)]
Code cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13597 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed that Redmine links should not be parsed inside links (#18301).
Jean-Philippe Lang [Fri, 14 Nov 2014 21:31:27 +0000 (21:31 +0000)]
Fixed that Redmine links should not be parsed inside links (#18301).

git-svn-id: http://svn.redmine.org/redmine/trunk@13596 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed 500 error when displaying a news with comments in reverse order (#18332).
Jean-Philippe Lang [Fri, 14 Nov 2014 20:53:14 +0000 (20:53 +0000)]
Fixed 500 error when displaying a news with comments in reverse order (#18332).

git-svn-id: http://svn.redmine.org/redmine/trunk@13595 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved debug messages (#18349).
Jean-Philippe Lang [Fri, 14 Nov 2014 20:49:05 +0000 (20:49 +0000)]
Removed debug messages (#18349).

git-svn-id: http://svn.redmine.org/redmine/trunk@13594 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoIgnore bogus issue strings like [some-string#1234] in email subjects (#17705).
Jean-Philippe Lang [Fri, 14 Nov 2014 20:43:15 +0000 (20:43 +0000)]
Ignore bogus issue strings like [some-string#1234] in email subjects (#17705).

git-svn-id: http://svn.redmine.org/redmine/trunk@13593 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed that URLs separated by line break are not rendered as links (#18349).
Jean-Philippe Lang [Fri, 14 Nov 2014 20:18:09 +0000 (20:18 +0000)]
Fixed that URLs separated by line break are not rendered as links (#18349).

git-svn-id: http://svn.redmine.org/redmine/trunk@13592 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoBulgarian translation updated by Ivan Cenov (#18324)
Toshi MARUYAMA [Wed, 12 Nov 2014 03:55:27 +0000 (03:55 +0000)]
Bulgarian translation updated by Ivan Cenov (#18324)

git-svn-id: http://svn.redmine.org/redmine/trunk@13591 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixtures to test/functional/wiki_controller_test.rb
Toshi MARUYAMA [Wed, 12 Nov 2014 03:44:47 +0000 (03:44 +0000)]
add missing fixtures to test/functional/wiki_controller_test.rb

Tests fail randomly.

<pre>
  1) Error:
WikiControllerTest#test_show_with_sidebar:
ActionView::Template::Error: undefined method `name' for nil:NilClass
    app/helpers/application_helper.rb:797:in `block in parse_redmine_links'
    app/helpers/application_helper.rb:757:in `gsub!'
    app/helpers/application_helper.rb:757:in `parse_redmine_links'
    app/helpers/application_helper.rb:601:in `block (2 levels) in textilizable'
    app/helpers/application_helper.rb:600:in `each'
    app/helpers/application_helper.rb:600:in `block in textilizable'
    app/helpers/application_helper.rb:621:in `parse_non_pre_blocks'
    app/helpers/application_helper.rb:599:in `textilizable'
    app/views/wiki/_content.html.erb:2:in `_app_views_wiki__content_html_erb___3773333740575742579_33736820'
    app/views/wiki/show.html.erb:44:in `_app_views_wiki_show_html_erb__965327089377623997_33504680'
    app/controllers/wiki_controller.rb:97:in `show'
    test/functional/wiki_controller_test.rb:119:in `test_show_with_sidebar'
</pre>

It can be reproduced by following change.

<pre>
 class WikiControllerTest < ActionController::TestCase
   fixtures :projects, :users, :roles, :members, :member_roles,
            :enabled_modules, :wikis, :wiki_pages, :wiki_contents,
-           :wiki_content_versions, :attachments
+           :wiki_content_versions, :attachments,
+           :issues #, :issue_statuses
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13590 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse bundle exec.
Jean-Philippe Lang [Tue, 11 Nov 2014 21:13:18 +0000 (21:13 +0000)]
Use bundle exec.

git-svn-id: http://svn.redmine.org/redmine/trunk@13589 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCode cleanup, removed duplicate project activity route.
Jean-Philippe Lang [Tue, 11 Nov 2014 18:07:50 +0000 (18:07 +0000)]
Code cleanup, removed duplicate project activity route.

git-svn-id: http://svn.redmine.org/redmine/trunk@13588 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDon't load user activity for API responses (#18128).
Jean-Philippe Lang [Tue, 11 Nov 2014 13:28:41 +0000 (13:28 +0000)]
Don't load user activity for API responses (#18128).

git-svn-id: http://svn.redmine.org/redmine/trunk@13587 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDisplay visible users only for when adding project members (#11724).
Jean-Philippe Lang [Tue, 11 Nov 2014 13:18:01 +0000 (13:18 +0000)]
Display visible users only for when adding project members (#11724).

git-svn-id: http://svn.redmine.org/redmine/trunk@13586 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds strings to locales (#11724).
Jean-Philippe Lang [Tue, 11 Nov 2014 13:10:11 +0000 (13:10 +0000)]
Adds strings to locales (#11724).

git-svn-id: http://svn.redmine.org/redmine/trunk@13585 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a role setting for controlling visibility of users: all or members of visible...
Jean-Philippe Lang [Tue, 11 Nov 2014 13:08:52 +0000 (13:08 +0000)]
Adds a role setting for controlling visibility of users: all or members of visible projects (#11724).

git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a test for default issue columns order (#18310).
Jean-Philippe Lang [Tue, 11 Nov 2014 12:33:06 +0000 (12:33 +0000)]
Adds a test for default issue columns order (#18310).

git-svn-id: http://svn.redmine.org/redmine/trunk@13583 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGerman "button_update" translation changed by Alexander Loechel (#18314)
Toshi MARUYAMA [Mon, 10 Nov 2014 23:14:47 +0000 (23:14 +0000)]
German "button_update" translation changed by Alexander Loechel (#18314)

git-svn-id: http://svn.redmine.org/redmine/trunk@13582 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGerman "label_roadmap_overdue" and "setting_autologin" translation changed by Jan...
Toshi MARUYAMA [Mon, 10 Nov 2014 23:14:38 +0000 (23:14 +0000)]
German "label_roadmap_overdue" and "setting_autologin" translation changed by Jan from Planio www.plan.io (#14151)

git-svn-id: http://svn.redmine.org/redmine/trunk@13581 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoBulgarian translation updated by Ivan Cenov (#18309)
Toshi MARUYAMA [Mon, 10 Nov 2014 23:14:30 +0000 (23:14 +0000)]
Bulgarian translation updated by Ivan Cenov (#18309)

git-svn-id: http://svn.redmine.org/redmine/trunk@13580 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoJapanese translation updated by Go MAEDA (#18308)
Toshi MARUYAMA [Sun, 9 Nov 2014 04:04:11 +0000 (04:04 +0000)]
Japanese translation updated by Go MAEDA (#18308)

git-svn-id: http://svn.redmine.org/redmine/trunk@13579 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCode cleanup.
Jean-Philippe Lang [Sat, 8 Nov 2014 19:06:48 +0000 (19:06 +0000)]
Code cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13578 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoPrevents a status load in #status_was when status is not changed (#18290).
Jean-Philippe Lang [Sat, 8 Nov 2014 11:17:45 +0000 (11:17 +0000)]
Prevents a status load in #status_was when status is not changed (#18290).

git-svn-id: http://svn.redmine.org/redmine/trunk@13577 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoPrevents author load (#18290).
Jean-Philippe Lang [Sat, 8 Nov 2014 11:09:42 +0000 (11:09 +0000)]
Prevents author load (#18290).

Patch by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@13576 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed duplicate test names (#18306).
Jean-Philippe Lang [Sat, 8 Nov 2014 11:02:44 +0000 (11:02 +0000)]
Fixed duplicate test names (#18306).

git-svn-id: http://svn.redmine.org/redmine/trunk@13575 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds text_subversion_repository_note string to locales (#1415).
Jean-Philippe Lang [Sat, 8 Nov 2014 10:53:54 +0000 (10:53 +0000)]
Adds text_subversion_repository_note string to locales (#1415).

git-svn-id: http://svn.redmine.org/redmine/trunk@13574 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds configuration settings to limit valid repository path (#1415).
Jean-Philippe Lang [Sat, 8 Nov 2014 10:52:59 +0000 (10:52 +0000)]
Adds configuration settings to limit valid repository path (#1415).

git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoprevent test failures with "trackers is invalid"
Toshi MARUYAMA [Sat, 8 Nov 2014 07:22:44 +0000 (07:22 +0000)]
prevent test failures with "trackers is invalid"

See r13571 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@13572 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixture to test/unit/enabled_module_test.rb
Toshi MARUYAMA [Sat, 8 Nov 2014 06:40:38 +0000 (06:40 +0000)]
add missing fixture to test/unit/enabled_module_test.rb

Test fails randomly.

<pre>
  1) Error:
EnabledModuleTest#test_enabling_wiki_should_create_a_wiki:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
    test/unit/enabled_module_test.rb:25:in `test_enabling_wiki_should_create_a_wiki'
</pre>

It can be reproduced on clean db and following change.

<pre>
-  fixtures :projects, :wikis
+  fixtures :projects, :trackers, :wikis
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13571 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoremove duplicated IssuesControllerTest#test_new_should_select_default_status (#5991...
Toshi MARUYAMA [Sat, 8 Nov 2014 04:46:44 +0000 (04:46 +0000)]
remove duplicated IssuesControllerTest#test_new_should_select_default_status (#5991, #18305)

git-svn-id: http://svn.redmine.org/redmine/trunk@13570 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixtures to test/unit/issue_status_test.rb
Toshi MARUYAMA [Fri, 7 Nov 2014 00:38:21 +0000 (00:38 +0000)]
add missing fixtures to test/unit/issue_status_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@13569 e93f8b46-1217-0410-a6f0-8f06a7374b81