]> source.dussan.org Git - redmine.git/log
redmine.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agoCode cleanup.
Jean-Philippe Lang [Thu, 6 Nov 2014 20:45:13 +0000 (20:45 +0000)]
Code cleanup.

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

10 years agoUse em.info tags.
Jean-Philippe Lang [Thu, 6 Nov 2014 20:35:22 +0000 (20:35 +0000)]
Use em.info tags.

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

10 years agoPreload users and projects for latest news on welcome page.
Jean-Philippe Lang [Thu, 6 Nov 2014 18:54:23 +0000 (18:54 +0000)]
Preload users and projects for latest news on welcome page.

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

10 years agoUse IssueRelation#to_s.
Jean-Philippe Lang [Wed, 5 Nov 2014 16:33:45 +0000 (16:33 +0000)]
Use IssueRelation#to_s.

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

10 years agoUse IssueRelation#to_s in PDF export.
Jean-Philippe Lang [Wed, 5 Nov 2014 16:27:47 +0000 (16:27 +0000)]
Use IssueRelation#to_s in PDF export.

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

10 years agoOverrides IssueRelation#to_s.
Jean-Philippe Lang [Wed, 5 Nov 2014 16:14:20 +0000 (16:14 +0000)]
Overrides IssueRelation#to_s.

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

10 years agoTime entries CSV export should include the tracker and subject of the issue (#18269).
Jean-Philippe Lang [Wed, 5 Nov 2014 15:23:22 +0000 (15:23 +0000)]
Time entries CSV export should include the tracker and subject of the issue (#18269).

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

10 years agoTypo.
Jean-Philippe Lang [Wed, 5 Nov 2014 15:17:21 +0000 (15:17 +0000)]
Typo.

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

10 years agoFixed that setting a status as closed should update issue closed_on attribute (#18280).
Jean-Philippe Lang [Wed, 5 Nov 2014 14:51:04 +0000 (14:51 +0000)]
Fixed that setting a status as closed should update issue closed_on attribute (#18280).

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

10 years agouse English in test (#18276)
Toshi MARUYAMA [Tue, 4 Nov 2014 23:43:17 +0000 (23:43 +0000)]
use English in test (#18276)

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

10 years agoLet QueryColumn accept a Proc as caption (#18276).
Jean-Philippe Lang [Tue, 4 Nov 2014 21:00:59 +0000 (21:00 +0000)]
Let QueryColumn accept a Proc as caption (#18276).

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

10 years agoFixed that a disabled field which is required by workflow rules blocks issue creation...
Jean-Philippe Lang [Tue, 4 Nov 2014 20:49:46 +0000 (20:49 +0000)]
Fixed that a disabled field which is required by workflow rules blocks issue creation/update (#17744).

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

10 years agoFixed that parent column should not include issue subject (#13673).
Jean-Philippe Lang [Tue, 4 Nov 2014 20:17:44 +0000 (20:17 +0000)]
Fixed that parent column should not include issue subject (#13673).

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

10 years agoFixed CSV content for parent issue column (#13608).
Jean-Philippe Lang [Tue, 4 Nov 2014 20:02:27 +0000 (20:02 +0000)]
Fixed CSV content for parent issue column (#13608).

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

10 years agoFixed that there's no space after lists in project description (#2573).
Jean-Philippe Lang [Tue, 4 Nov 2014 18:21:08 +0000 (18:21 +0000)]
Fixed that there's no space after lists in project description (#2573).

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

10 years agoTraditional Chinese translation updated by ChunChang Lo (#18264)
Toshi MARUYAMA [Mon, 3 Nov 2014 23:09:08 +0000 (23:09 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#18264)

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

10 years agofix wrong csv separator in Croatian (#18265)
Toshi MARUYAMA [Mon, 3 Nov 2014 23:09:00 +0000 (23:09 +0000)]
fix wrong csv separator in Croatian (#18265)

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

10 years agoadd missing fixture to test/unit/query_test.rb
Toshi MARUYAMA [Mon, 3 Nov 2014 08:25:12 +0000 (08:25 +0000)]
add missing fixture to test/unit/query_test.rb

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

10 years agoadd missing fixtures to test/functional/custom_fields_controller_test.rb
Toshi MARUYAMA [Mon, 3 Nov 2014 08:13:08 +0000 (08:13 +0000)]
add missing fixtures to test/functional/custom_fields_controller_test.rb

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

10 years agoadd missing fixture to test/functional/issue_statuses_controller_test.rb
Toshi MARUYAMA [Mon, 3 Nov 2014 07:37:15 +0000 (07:37 +0000)]
add missing fixture to test/functional/issue_statuses_controller_test.rb

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

10 years agoadd missing fixture to test/unit/project_test.rb
Toshi MARUYAMA [Mon, 3 Nov 2014 07:19:47 +0000 (07:19 +0000)]
add missing fixture to test/unit/project_test.rb

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

10 years agoJapanese translation changed (fix terms mismatch "default") by Go MAEDA (#18261)
Toshi MARUYAMA [Mon, 3 Nov 2014 00:45:13 +0000 (00:45 +0000)]
Japanese translation changed (fix terms mismatch "default") by Go MAEDA (#18261)

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

10 years agoJapanese translation updated by Go MAEDA (#18260)
Toshi MARUYAMA [Mon, 3 Nov 2014 00:45:04 +0000 (00:45 +0000)]
Japanese translation updated by Go MAEDA (#18260)

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

10 years agoPrevents one query per group.
Jean-Philippe Lang [Sun, 2 Nov 2014 21:30:20 +0000 (21:30 +0000)]
Prevents one query per group.

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

10 years agoMake sure that invalid cache from older versions is not used for languages_options...
Jean-Philippe Lang [Sun, 2 Nov 2014 21:25:59 +0000 (21:25 +0000)]
Make sure that invalid cache from older versions is not used for languages_options (#14534).

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

10 years agoPrevents one query per tracker.
Jean-Philippe Lang [Sun, 2 Nov 2014 21:16:12 +0000 (21:16 +0000)]
Prevents one query per tracker.

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

10 years agoMoved controller code to new method Project#add_default_member.
Jean-Philippe Lang [Sun, 2 Nov 2014 20:55:02 +0000 (20:55 +0000)]
Moved controller code to new method Project#add_default_member.

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

10 years agoAdds a 'sorted' scope to Project.
Jean-Philippe Lang [Sun, 2 Nov 2014 20:44:11 +0000 (20:44 +0000)]
Adds a 'sorted' scope to Project.

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

10 years agoCode cleanup, #roadmap no longer exists.
Jean-Philippe Lang [Sun, 2 Nov 2014 20:36:16 +0000 (20:36 +0000)]
Code cleanup, #roadmap no longer exists.

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

10 years agoRemoved unused helpers.
Jean-Philippe Lang [Sun, 2 Nov 2014 20:35:49 +0000 (20:35 +0000)]
Removed unused helpers.

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

10 years agoCode cleanup, removed conditions on request method.
Jean-Philippe Lang [Sun, 2 Nov 2014 20:32:11 +0000 (20:32 +0000)]
Code cleanup, removed conditions on request method.

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

10 years agoAdds (un)check all buttons to select all projects (#11702).
Jean-Philippe Lang [Sun, 2 Nov 2014 20:16:59 +0000 (20:16 +0000)]
Adds (un)check all buttons to select all projects (#11702).

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

10 years agoAdds :field_default_status to locales (#5991).
Jean-Philippe Lang [Sun, 2 Nov 2014 19:46:15 +0000 (19:46 +0000)]
Adds :field_default_status to locales (#5991).

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

10 years agoDefault status per tracker (#5991).
Jean-Philippe Lang [Sun, 2 Nov 2014 19:45:14 +0000 (19:45 +0000)]
Default status per tracker (#5991).

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

10 years agoFixed that IssueRelation should not be responsible for calling Issue#init_journal...
Jean-Philippe Lang [Sun, 2 Nov 2014 15:38:11 +0000 (15:38 +0000)]
Fixed that IssueRelation should not be responsible for calling Issue#init_journal (#18237).

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

10 years agoJapanese translation updated by Go MAEDA (#18254)
Toshi MARUYAMA [Sun, 2 Nov 2014 03:50:44 +0000 (03:50 +0000)]
Japanese translation updated by Go MAEDA (#18254)

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

10 years agoJapanese wiki_syntax_detailed.html translation updated by Go MAEDA (#18252)
Toshi MARUYAMA [Sat, 1 Nov 2014 07:36:20 +0000 (07:36 +0000)]
Japanese wiki_syntax_detailed.html translation updated by Go MAEDA (#18252)

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

10 years agoGemfile: update Rails to 4.1.7
Toshi MARUYAMA [Fri, 31 Oct 2014 04:01:59 +0000 (04:01 +0000)]
Gemfile: update Rails to 4.1.7

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

10 years agoRemoved ORDER option on acts_as_tree that duplicates default_scope.
Jean-Philippe Lang [Thu, 30 Oct 2014 08:01:19 +0000 (08:01 +0000)]
Removed ORDER option on acts_as_tree that duplicates default_scope.

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

10 years agoFixed SQL errors with SQLServer (column specified more than once in the order by...
Jean-Philippe Lang [Wed, 29 Oct 2014 22:30:25 +0000 (22:30 +0000)]
Fixed SQL errors with SQLServer (column specified more than once in the order by list) after r13526.

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

10 years agoOrder scopes cleanup.
Jean-Philippe Lang [Wed, 29 Oct 2014 21:49:33 +0000 (21:49 +0000)]
Order scopes cleanup.

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

10 years agoCode cleanup.
Jean-Philippe Lang [Tue, 28 Oct 2014 19:36:11 +0000 (19:36 +0000)]
Code cleanup.

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

10 years agoRemoved unused instance variable.
Jean-Philippe Lang [Tue, 28 Oct 2014 18:50:25 +0000 (18:50 +0000)]
Removed unused instance variable.

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

10 years agoCode cleanup.
Jean-Philippe Lang [Tue, 28 Oct 2014 18:48:07 +0000 (18:48 +0000)]
Code cleanup.

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

10 years agoCode cleanup, removed raw SQL.
Jean-Philippe Lang [Tue, 28 Oct 2014 18:43:11 +0000 (18:43 +0000)]
Code cleanup, removed raw SQL.

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

10 years agoNeed to require net/ldap in tests (#18192).
Jean-Philippe Lang [Tue, 28 Oct 2014 18:29:44 +0000 (18:29 +0000)]
Need to require net/ldap in tests (#18192).

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

10 years agoLatvian translation updated by Jānis Elmeris (#18182)
Toshi MARUYAMA [Mon, 27 Oct 2014 07:40:29 +0000 (07:40 +0000)]
Latvian translation updated by Jānis Elmeris (#18182)

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

10 years agoLatvian translation changed by Jānis Elmeris (#18182)
Toshi MARUYAMA [Mon, 27 Oct 2014 07:40:20 +0000 (07:40 +0000)]
Latvian translation changed by Jānis Elmeris (#18182)

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

10 years agoTraditional Chinese translation updated by ChunChang Lo (#18200)
Toshi MARUYAMA [Mon, 27 Oct 2014 07:40:09 +0000 (07:40 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#18200)

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

10 years agoBulgarian translation updated by Ivan Cenov (#18190)
Toshi MARUYAMA [Mon, 27 Oct 2014 07:40:00 +0000 (07:40 +0000)]
Bulgarian translation updated by Ivan Cenov (#18190)

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

10 years agoQuery IssueStatus model to prevent workflows instanciation.
Jean-Philippe Lang [Sun, 26 Oct 2014 22:35:04 +0000 (22:35 +0000)]
Query IssueStatus model to prevent workflows instanciation.

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

10 years agoCode cleanup.
Jean-Philippe Lang [Sun, 26 Oct 2014 22:33:33 +0000 (22:33 +0000)]
Code cleanup.

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

10 years agoPrevents useless COUNT queries.
Jean-Philippe Lang [Sun, 26 Oct 2014 22:20:10 +0000 (22:20 +0000)]
Prevents useless COUNT queries.

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

10 years agoCode cleanup.
Jean-Philippe Lang [Sun, 26 Oct 2014 14:44:11 +0000 (14:44 +0000)]
Code cleanup.

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

10 years agoDon't rely on users fixtures.
Jean-Philippe Lang [Sun, 26 Oct 2014 14:43:14 +0000 (14:43 +0000)]
Don't rely on users fixtures.

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

10 years agoAdd ci:about task to display ruby version in build output.
Jean-Philippe Lang [Sun, 26 Oct 2014 14:11:08 +0000 (14:11 +0000)]
Add ci:about task to display ruby version in build output.

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

10 years agoClear @assignable_users on reload.
Jean-Philippe Lang [Sat, 25 Oct 2014 11:14:57 +0000 (11:14 +0000)]
Clear @assignable_users on reload.

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

10 years agoMakes Project#assignable_users return a scope that prevents 2*n queries.
Jean-Philippe Lang [Sat, 25 Oct 2014 11:14:16 +0000 (11:14 +0000)]
Makes Project#assignable_users return a scope that prevents 2*n queries.

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

10 years agoCode cleanup.
Jean-Philippe Lang [Sat, 25 Oct 2014 09:35:17 +0000 (09:35 +0000)]
Code cleanup.

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

10 years agoGemfile: update rbpdf to version 1.18.2 (#18176)
Toshi MARUYAMA [Sat, 25 Oct 2014 07:09:20 +0000 (07:09 +0000)]
Gemfile: update rbpdf to version 1.18.2 (#18176)

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

10 years agoCode cleanup, use safer #closed?
Jean-Philippe Lang [Fri, 24 Oct 2014 21:40:26 +0000 (21:40 +0000)]
Code cleanup, use safer #closed?

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

10 years agoRestores commits reverted when rails-4.1 branch was merged (#18174).
Jean-Philippe Lang [Fri, 24 Oct 2014 18:41:35 +0000 (18:41 +0000)]
Restores commits reverted when rails-4.1 branch was merged (#18174).

Patch by Mischa The Evil.

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

10 years agoadd missing fixtures to CalendarsControllerTest
Toshi MARUYAMA [Fri, 24 Oct 2014 04:13:17 +0000 (04:13 +0000)]
add missing fixtures to CalendarsControllerTest

Tests fail randomly.

<pre>
  1) Error:
CalendarsControllerTest#test_cross_project_calendar:
ActionView::Template::Error: undefined method `name' for nil:NilClass
    app/helpers/issues_helper.rb:57:in `render_issue_tooltip'
    app/views/common/_calendar.html.erb:17:in `block in _app_views_common__calendar_html_erb__4084073314711523042_57686480'
    app/views/common/_calendar.html.erb:12:in `each'
    app/views/common/_calendar.html.erb:12:in `_app_views_common__calendar_html_erb__4084073314711523042_57686480'
    app/views/calendars/show.html.erb:30:in `_app_views_calendars_show_html_erb___1639405444546230501_53808060'
    test/functional/calendars_controller_test.rb:44:in `test_cross_project_calendar'
</pre>

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

10 years agofix ja.yml and zh-TW.yml merge mistake of r13482 (#14534)
Toshi MARUYAMA [Fri, 24 Oct 2014 02:48:29 +0000 (02:48 +0000)]
fix ja.yml and zh-TW.yml merge mistake of r13482 (#14534)

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

10 years agoremove unneeded "references" of joins
Toshi MARUYAMA [Fri, 24 Oct 2014 02:18:45 +0000 (02:18 +0000)]
remove unneeded "references" of joins

"references" is needed for includes, but not needed for joins.

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

10 years agouse includes instead of joins at Issue#visible
Toshi MARUYAMA [Fri, 24 Oct 2014 02:18:28 +0000 (02:18 +0000)]
use includes instead of joins at Issue#visible

"rake test" passes all test, but following test fails on command line.

<pre>
$ ruby test/unit/issue_test.rb -n test_visible_scope_for_member_with_groups_should_return_assigned_issues

  1) Failure:
IssueTest#test_visible_scope_for_member_with_groups_should_return_assigned_issues [test/unit/issue_test.rb:321]:
Failed assertion, no message given.
</pre>

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

10 years agoAdds translation strings (#11702).
Jean-Philippe Lang [Thu, 23 Oct 2014 21:47:13 +0000 (21:47 +0000)]
Adds translation strings (#11702).

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

10 years agoAdds a single controller for users and groups memberships and support for adding...
Jean-Philippe Lang [Thu, 23 Oct 2014 21:46:40 +0000 (21:46 +0000)]
Adds a single controller for users and groups memberships and support for adding multiple projects at once (#11702).

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

10 years agoCode cleanup: use #project_condition.
Jean-Philippe Lang [Thu, 23 Oct 2014 17:23:02 +0000 (17:23 +0000)]
Code cleanup: use #project_condition.

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

10 years agoUse regular AR query instead of raw SQL.
Jean-Philippe Lang [Thu, 23 Oct 2014 17:22:32 +0000 (17:22 +0000)]
Use regular AR query instead of raw SQL.

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

10 years agoadd missing fixtures to test/unit/helpers/routes_helper_test.rb
Toshi MARUYAMA [Thu, 23 Oct 2014 04:55:37 +0000 (04:55 +0000)]
add missing fixtures to test/unit/helpers/routes_helper_test.rb

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

10 years agoSpanish wiki_syntax.html translation updated by Jesus Gutierrez de la Vega (#18156)
Toshi MARUYAMA [Thu, 23 Oct 2014 01:48:20 +0000 (01:48 +0000)]
Spanish wiki_syntax.html translation updated by Jesus Gutierrez de la Vega (#18156)

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

10 years agoreflect r13487 and r13488 svn:ignore changes to .hgignore and .gitignore (#8817)
Toshi MARUYAMA [Wed, 22 Oct 2014 23:56:12 +0000 (23:56 +0000)]
reflect r13487 and r13488 svn:ignore changes to .hgignore and .gitignore (#8817)

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

10 years agoReplaced Board#topics with a regular method.
Jean-Philippe Lang [Wed, 22 Oct 2014 19:40:55 +0000 (19:40 +0000)]
Replaced Board#topics with a regular method.

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

10 years agoFixed an SQL error with SQLServer (#14534).
Jean-Philippe Lang [Wed, 22 Oct 2014 19:34:00 +0000 (19:34 +0000)]
Fixed an SQL error with SQLServer (#14534).

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