]> source.dussan.org Git - redmine.git/log
redmine.git
10 years agoRails4: replace deprecated Relation#update_all at Group model
Toshi MARUYAMA [Wed, 8 Jan 2014 12:19:59 +0000 (12:19 +0000)]
Rails4: replace deprecated Relation#update_all at Group model

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

10 years agoRails4: replace deprecated Relation#update_all at Issue model
Toshi MARUYAMA [Wed, 8 Jan 2014 10:27:37 +0000 (10:27 +0000)]
Rails4: replace deprecated Relation#update_all at Issue model

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

10 years agoRails4: replace deprecated Relation#update_all at IssueTest
Toshi MARUYAMA [Wed, 8 Jan 2014 10:11:32 +0000 (10:11 +0000)]
Rails4: replace deprecated Relation#update_all at IssueTest

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

10 years agoRails4: replace deprecated Relation#update_all at acts_as_list
Toshi MARUYAMA [Wed, 8 Jan 2014 10:11:16 +0000 (10:11 +0000)]
Rails4: replace deprecated Relation#update_all at acts_as_list

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

10 years agoRails4: replace deprecated Relation#first with finder options at IssueCategoryTest
Toshi MARUYAMA [Wed, 8 Jan 2014 10:11:00 +0000 (10:11 +0000)]
Rails4: replace deprecated Relation#first with finder options at IssueCategoryTest

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

10 years agoRails4: replace deprecated Relation#update_all at User model
Toshi MARUYAMA [Wed, 8 Jan 2014 06:58:33 +0000 (06:58 +0000)]
Rails4: replace deprecated Relation#update_all at User model

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

10 years agoRails4: replace deprecated find_all_by_* at ProjectEnumerationsControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 06:42:52 +0000 (06:42 +0000)]
Rails4: replace deprecated find_all_by_* at ProjectEnumerationsControllerTest

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

10 years agoRails4: replace deprecated Relation#first with finder options at NewsControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 06:26:25 +0000 (06:26 +0000)]
Rails4: replace deprecated Relation#first with finder options at NewsControllerTest

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

10 years agoRails4: replace deprecated Relation#first with finder options at NewsControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 06:23:43 +0000 (06:23 +0000)]
Rails4: replace deprecated Relation#first with finder options at NewsControllerTest

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

10 years agoRails4: replace deprecated passing options to find at MessagesController
Toshi MARUYAMA [Wed, 8 Jan 2014 06:11:46 +0000 (06:11 +0000)]
Rails4: replace deprecated passing options to find at MessagesController

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

10 years agoRails4: replace deprecated Relation#update_all at IssuesControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 06:03:54 +0000 (06:03 +0000)]
Rails4: replace deprecated Relation#update_all at IssuesControllerTest

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

10 years agoRails4: replace deprecated find_all_by_* at GroupsController
Toshi MARUYAMA [Wed, 8 Jan 2014 05:55:52 +0000 (05:55 +0000)]
Rails4: replace deprecated find_all_by_* at GroupsController

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

10 years agoremove unneeded Relation#all from app/views/custom_fields/_form.html.erb
Toshi MARUYAMA [Wed, 8 Jan 2014 05:36:34 +0000 (05:36 +0000)]
remove unneeded Relation#all from app/views/custom_fields/_form.html.erb

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

10 years agoRails4: replace deprecated Relation#first with finder options at WikiPageTest
Toshi MARUYAMA [Wed, 8 Jan 2014 05:14:18 +0000 (05:14 +0000)]
Rails4: replace deprecated Relation#first with finder options at WikiPageTest

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

10 years agoRails4: replace deprecated find_all_by_* at WikiPage model
Toshi MARUYAMA [Wed, 8 Jan 2014 05:09:05 +0000 (05:09 +0000)]
Rails4: replace deprecated find_all_by_* at WikiPage model

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

10 years agoRails4: replace deprecated Relation#first with finder options at ChangesetTest
Toshi MARUYAMA [Wed, 8 Jan 2014 05:02:14 +0000 (05:02 +0000)]
Rails4: replace deprecated Relation#first with finder options at ChangesetTest

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

10 years agoRails4: replace deprecated Relation#update_all at BoardsControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 04:58:29 +0000 (04:58 +0000)]
Rails4: replace deprecated Relation#update_all at BoardsControllerTest

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

10 years agoRails4: replace deprecated Relation#update_all at Member model
Toshi MARUYAMA [Wed, 8 Jan 2014 04:58:13 +0000 (04:58 +0000)]
Rails4: replace deprecated Relation#update_all at Member model

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

10 years agoRails4: replace deprecated Relation#update_all at IssueStatus model
Toshi MARUYAMA [Wed, 8 Jan 2014 04:57:56 +0000 (04:57 +0000)]
Rails4: replace deprecated Relation#update_all at IssueStatus model

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

10 years agoRails4: replace deprecated Relation#update_all at Enumeration model
Toshi MARUYAMA [Wed, 8 Jan 2014 04:57:38 +0000 (04:57 +0000)]
Rails4: replace deprecated Relation#update_all at Enumeration model

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

10 years agoRails4: replace deprecated Relation#first with finder options at IssueCategoriesContr...
Toshi MARUYAMA [Wed, 8 Jan 2014 04:32:31 +0000 (04:32 +0000)]
Rails4: replace deprecated Relation#first with finder options at IssueCategoriesControllerTest

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

10 years agoRails4: replace deprecated Relation#first with finder options at GroupsControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 04:32:16 +0000 (04:32 +0000)]
Rails4: replace deprecated Relation#first with finder options at GroupsControllerTest

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

10 years agoRails4: replace deprecated Relation#first with finder options at DocumentsControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 04:32:00 +0000 (04:32 +0000)]
Rails4: replace deprecated Relation#first with finder options at DocumentsControllerTest

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

10 years agoRails4: replace deprecated Relation#first with finder options at BoardsControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 04:31:45 +0000 (04:31 +0000)]
Rails4: replace deprecated Relation#first with finder options at BoardsControllerTest

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

10 years agoRails4: replace deprecated Relation#first with finder options at AccountControllerTest
Toshi MARUYAMA [Wed, 8 Jan 2014 04:31:29 +0000 (04:31 +0000)]
Rails4: replace deprecated Relation#first with finder options at AccountControllerTest

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

10 years agoRails4: replace deprecated Relation#update_all at acts_as_list
Toshi MARUYAMA [Wed, 8 Jan 2014 04:13:18 +0000 (04:13 +0000)]
Rails4: replace deprecated Relation#update_all at acts_as_list

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

10 years agoRails4: replace deprecated Relation#update_all at Board model
Toshi MARUYAMA [Wed, 8 Jan 2014 04:03:11 +0000 (04:03 +0000)]
Rails4: replace deprecated Relation#update_all at Board model

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

10 years agoRails4: replace deprecated Relation#update_all at Message model
Toshi MARUYAMA [Wed, 8 Jan 2014 03:51:50 +0000 (03:51 +0000)]
Rails4: replace deprecated Relation#update_all at Message model

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

10 years agoRails4: replace deprecated Relation#first with finder options at AccountControllerOpe...
Toshi MARUYAMA [Wed, 8 Jan 2014 03:31:04 +0000 (03:31 +0000)]
Rails4: replace deprecated Relation#first with finder options at AccountControllerOpenidTest

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

10 years agoRails4: replace deprecated Relation#first with finder options at AttachmentTest
Toshi MARUYAMA [Wed, 8 Jan 2014 02:49:09 +0000 (02:49 +0000)]
Rails4: replace deprecated Relation#first with finder options at AttachmentTest

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

10 years agoRails4: replace deprecated find_all_by_* at Journal model
Toshi MARUYAMA [Tue, 7 Jan 2014 15:55:03 +0000 (15:55 +0000)]
Rails4: replace deprecated find_all_by_* at Journal model

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

10 years agoRails4: replace deprecated find_all_by_* at IssueQuery model
Toshi MARUYAMA [Tue, 7 Jan 2014 15:54:47 +0000 (15:54 +0000)]
Rails4: replace deprecated find_all_by_* at IssueQuery model

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

10 years agoRails4: replace deprecated find_all_by_* at ProjectTest
Toshi MARUYAMA [Tue, 7 Jan 2014 15:43:21 +0000 (15:43 +0000)]
Rails4: replace deprecated find_all_by_* at ProjectTest

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

10 years agoRails4: replace deprecated find_all_by_* at MessageTest
Toshi MARUYAMA [Tue, 7 Jan 2014 15:43:05 +0000 (15:43 +0000)]
Rails4: replace deprecated find_all_by_* at MessageTest

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

10 years agoRails4: replace deprecated find_all_by_* at IssueTest
Toshi MARUYAMA [Tue, 7 Jan 2014 15:42:49 +0000 (15:42 +0000)]
Rails4: replace deprecated find_all_by_* at IssueTest

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

10 years agoRails4: replace deprecated Relation#update_all at SetDefaultRepositories db migration
Toshi MARUYAMA [Tue, 7 Jan 2014 14:54:20 +0000 (14:54 +0000)]
Rails4: replace deprecated Relation#update_all at SetDefaultRepositories db migration

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

10 years agoRails4: replace deprecated Relation#update_all at Repository model
Toshi MARUYAMA [Tue, 7 Jan 2014 14:54:05 +0000 (14:54 +0000)]
Rails4: replace deprecated Relation#update_all at Repository model

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

10 years agoadd unit test to have one default repository
Toshi MARUYAMA [Tue, 7 Jan 2014 14:53:49 +0000 (14:53 +0000)]
add unit test to have one default repository

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

10 years agoRails4: deprecated find_by methods with options at ApplicationHelper
Toshi MARUYAMA [Tue, 7 Jan 2014 14:11:03 +0000 (14:11 +0000)]
Rails4: deprecated find_by methods with options at ApplicationHelper

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

10 years agoRails4: replace deprecated Relation#update_all at application helper test
Toshi MARUYAMA [Tue, 7 Jan 2014 13:26:13 +0000 (13:26 +0000)]
Rails4: replace deprecated Relation#update_all at application helper test

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

10 years agoRails4: replace deprecated Relation#update_all at IssuePriority model
Toshi MARUYAMA [Tue, 7 Jan 2014 12:33:43 +0000 (12:33 +0000)]
Rails4: replace deprecated Relation#update_all at IssuePriority model

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

10 years agoRails4: replace deprecated Relation#update_all at db migrations
Toshi MARUYAMA [Tue, 7 Jan 2014 10:03:11 +0000 (10:03 +0000)]
Rails4: replace deprecated Relation#update_all at db migrations

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

10 years agouse lambda form in acts_as_tree scope (#12499)
Toshi MARUYAMA [Tue, 7 Jan 2014 10:02:50 +0000 (10:02 +0000)]
use lambda form in acts_as_tree scope (#12499)

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

10 years agouse lambda form in Version model scope (#12499)
Toshi MARUYAMA [Tue, 7 Jan 2014 07:51:15 +0000 (07:51 +0000)]
use lambda form in Version model scope (#12499)

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

10 years agoRails4: replace deprecated Relation#update_all at CreateCustomFieldsRoles db migration
Toshi MARUYAMA [Tue, 7 Jan 2014 07:50:59 +0000 (07:50 +0000)]
Rails4: replace deprecated Relation#update_all at CreateCustomFieldsRoles db migration

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

10 years agoStore mime type lookups in a hash.
Jean-Philippe Lang [Sun, 5 Jan 2014 17:56:21 +0000 (17:56 +0000)]
Store mime type lookups in a hash.

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

10 years agoUse the mime-types gem for getting mime types from filenames (#15790).
Jean-Philippe Lang [Sun, 5 Jan 2014 16:35:59 +0000 (16:35 +0000)]
Use the mime-types gem for getting mime types from filenames (#15790).

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

10 years agoUse Rails.application.config.i18n.load_path for adding plugin locales (#12753).
Jean-Philippe Lang [Sun, 5 Jan 2014 14:46:22 +0000 (14:46 +0000)]
Use Rails.application.config.i18n.load_path for adding plugin locales (#12753).

Patch by Takeshi Yaegashi.

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

10 years agoReduces the number of subqueries when searching with many custom fields set as search...
Jean-Philippe Lang [Sun, 5 Jan 2014 14:23:36 +0000 (14:23 +0000)]
Reduces the number of subqueries when searching with many custom fields set as searchable (#15781).

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

10 years agoFixed assertion for postgresql and sqlite (#8842).
Jean-Philippe Lang [Sat, 4 Jan 2014 08:22:50 +0000 (08:22 +0000)]
Fixed assertion for postgresql and sqlite (#8842).

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

10 years agoFixed test failure with ruby1.8 (#8842).
Jean-Philippe Lang [Fri, 3 Jan 2014 19:42:43 +0000 (19:42 +0000)]
Fixed test failure with ruby1.8 (#8842).

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

10 years agoFixed test failure with sqlite (#8842).
Jean-Philippe Lang [Fri, 3 Jan 2014 16:36:04 +0000 (16:36 +0000)]
Fixed test failure with sqlite (#8842).

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

10 years agoAllow filtering with timestamp (#8842).
Jean-Philippe Lang [Fri, 3 Jan 2014 15:54:49 +0000 (15:54 +0000)]
Allow filtering with timestamp (#8842).

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

10 years agoFixed that magic links to existing attachments are not converted when previewing...
Jean-Philippe Lang [Fri, 3 Jan 2014 14:42:15 +0000 (14:42 +0000)]
Fixed that magic links to existing attachments are not converted when previewing issue notes.

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

10 years agosvn propset svn:eol-style native test fixture (#15785)
Toshi MARUYAMA [Wed, 1 Jan 2014 05:57:50 +0000 (05:57 +0000)]
svn propset svn:eol-style native test fixture (#15785)

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

10 years agosupport more character encoding in incoming emails (#15785)
Toshi MARUYAMA [Wed, 1 Jan 2014 05:54:28 +0000 (05:54 +0000)]
support more character encoding in incoming emails (#15785)

Supporting encodings of iconv on Ruby 1.8 depend on iconv implementation.
glibc-common-2.12-1.132 on CentOS6 does not support ks_c_5601-1987.

Contributed by Felix Schäfer.

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

10 years agoRails4: replace deprecated find_by_id at Changeset class
Toshi MARUYAMA [Sun, 29 Dec 2013 13:49:09 +0000 (13:49 +0000)]
Rails4: replace deprecated find_by_id at Changeset class

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

10 years agoRails4: scm: reload repository after destroying changesets in incremental fetch test
Toshi MARUYAMA [Sun, 29 Dec 2013 13:48:52 +0000 (13:48 +0000)]
Rails4: scm: reload repository after destroying changesets in incremental fetch test

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

10 years agoexplicitly define fix has_and_belongs_to_many join_table at Group and User
Toshi MARUYAMA [Fri, 27 Dec 2013 23:33:15 +0000 (23:33 +0000)]
explicitly define fix has_and_belongs_to_many join_table at Group and User

Rails4 cannot resolve automatically.

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

10 years agoRails4 compatibility of RepositoryTest
Toshi MARUYAMA [Fri, 27 Dec 2013 03:40:30 +0000 (03:40 +0000)]
Rails4 compatibility of RepositoryTest

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

10 years agofix find_all_by_id(n1, n2) parameter at test_member_of_scope_should_return_the_union_...
Toshi MARUYAMA [Fri, 27 Dec 2013 03:26:05 +0000 (03:26 +0000)]
fix find_all_by_id(n1, n2) parameter at test_member_of_scope_should_return_the_union_of_all_members of PrincipalTest

find_all_by_id(n1, n2) returns only n1 result.

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

10 years agofix find_all_by_id(n1, n2) parameter at test_not_member_of_scope_should_return_users_...
Toshi MARUYAMA [Fri, 27 Dec 2013 03:25:49 +0000 (03:25 +0000)]
fix find_all_by_id(n1, n2) parameter at test_not_member_of_scope_should_return_users_that_have_no_memberships of PrincipalTest

find_all_by_id(n1, n2) returns only n1 result.

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

10 years agofix find_all_by_id(n1, n2) parameter at test_show_export_to_pdf_with_changesets of...
Toshi MARUYAMA [Fri, 27 Dec 2013 03:25:32 +0000 (03:25 +0000)]
fix find_all_by_id(n1, n2) parameter at test_show_export_to_pdf_with_changesets of IssuesControllerTest

find_all_by_id(n1, n2) returns only n1 result.

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

10 years agoRails4 compatibility of ProjectTest
Toshi MARUYAMA [Thu, 26 Dec 2013 10:45:13 +0000 (10:45 +0000)]
Rails4 compatibility of ProjectTest

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

10 years agoRails4 compatibility of version group count
Toshi MARUYAMA [Thu, 26 Dec 2013 10:33:18 +0000 (10:33 +0000)]
Rails4 compatibility of version group count

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

10 years agocode format cleanup Principal class
Toshi MARUYAMA [Thu, 26 Dec 2013 09:19:56 +0000 (09:19 +0000)]
code format cleanup Principal class

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

10 years agoremove unneeded including ApplicationHelper from helper tests
Toshi MARUYAMA [Thu, 26 Dec 2013 04:27:21 +0000 (04:27 +0000)]
remove unneeded including ApplicationHelper from helper tests

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

10 years agoremove unneeded 'redmine/field_format' requirement from FieldFormatTest
Toshi MARUYAMA [Thu, 26 Dec 2013 04:11:16 +0000 (04:11 +0000)]
remove unneeded 'redmine/field_format' requirement from FieldFormatTest

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

10 years agofix typo redcarpet requirement in lib/redmine.rb (#15520)
Toshi MARUYAMA [Thu, 26 Dec 2013 03:52:25 +0000 (03:52 +0000)]
fix typo redcarpet requirement in lib/redmine.rb (#15520)

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

10 years agofix Pagination helper test class name
Toshi MARUYAMA [Thu, 26 Dec 2013 03:18:57 +0000 (03:18 +0000)]
fix Pagination helper test class name

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

10 years agoTraditional Chinese translation updated by ChunChang Lo (#15764)
Toshi MARUYAMA [Tue, 24 Dec 2013 05:47:48 +0000 (05:47 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#15764)

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

10 years agochange requirement in bazaar lib as same with other scm libs (#15756)
Toshi MARUYAMA [Tue, 24 Dec 2013 05:06:36 +0000 (05:06 +0000)]
change requirement in bazaar lib as same with other scm libs (#15756)

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

10 years agoDon't load redcarpet with JRuby.
Jean-Philippe Lang [Mon, 23 Dec 2013 17:07:51 +0000 (17:07 +0000)]
Don't load redcarpet with JRuby.

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

10 years agoAdds experimental support for Markdown formatting with redcarpet (#15520).
Jean-Philippe Lang [Mon, 23 Dec 2013 13:05:10 +0000 (13:05 +0000)]
Adds experimental support for Markdown formatting with redcarpet (#15520).

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

10 years agoRescue syntax highlighter exceptions.
Jean-Philippe Lang [Mon, 23 Dec 2013 12:39:18 +0000 (12:39 +0000)]
Rescue syntax highlighter exceptions.

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

10 years agoAdds an option for formatter display name.
Jean-Philippe Lang [Mon, 23 Dec 2013 12:33:42 +0000 (12:33 +0000)]
Adds an option for formatter display name.

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

10 years agoUpdates for 2.4.2 release.
Jean-Philippe Lang [Mon, 23 Dec 2013 08:46:47 +0000 (08:46 +0000)]
Updates for 2.4.2 release.

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

10 years agoBulgarian translation updated by Ivan Cenov (#15755)
Toshi MARUYAMA [Mon, 23 Dec 2013 02:20:21 +0000 (02:20 +0000)]
Bulgarian translation updated by Ivan Cenov (#15755)

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

10 years agoFixed slow SELECT ... FOR UPDATE query when deleting an issue.
Jean-Philippe Lang [Sun, 22 Dec 2013 15:49:53 +0000 (15:49 +0000)]
Fixed slow SELECT ... FOR UPDATE query when deleting an issue.

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

10 years agoback out r12441
Toshi MARUYAMA [Sun, 22 Dec 2013 14:41:44 +0000 (14:41 +0000)]
back out r12441

It is not compatible with Ruby 1.8.7.

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

10 years agoAdds support for links on values for various custom field formats (#1358).
Jean-Philippe Lang [Sun, 22 Dec 2013 14:09:33 +0000 (14:09 +0000)]
Adds support for links on values for various custom field formats (#1358).

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

10 years agoRails4 compatibility of stylesheet_link_tag and javascript_include_tag at Application...
Toshi MARUYAMA [Sun, 22 Dec 2013 12:58:04 +0000 (12:58 +0000)]
Rails4 compatibility of stylesheet_link_tag and javascript_include_tag at ApplicationHelper

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

10 years agoadd stderr to config.active_support.deprecation in test and dev env
Toshi MARUYAMA [Sun, 22 Dec 2013 12:39:56 +0000 (12:39 +0000)]
add stderr to config.active_support.deprecation in test and dev env

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

10 years agoreplace deprecated Version#completed_pourcent at lib/redmine/helpers/gantt.rb (#12724)
Toshi MARUYAMA [Sun, 22 Dec 2013 12:39:38 +0000 (12:39 +0000)]
replace deprecated Version#completed_pourcent at lib/redmine/helpers/gantt.rb (#12724)

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

10 years agoFixed that OpenID authentication fails with 422 error due to token verification ...
Jean-Philippe Lang [Sat, 21 Dec 2013 12:04:38 +0000 (12:04 +0000)]
Fixed that OpenID authentication fails with 422 error due to token verification (#15735).

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

10 years agouse environment variable for running independent tests (units etc.) in ci.rake
Toshi MARUYAMA [Sat, 21 Dec 2013 12:00:08 +0000 (12:00 +0000)]
use environment variable for running independent tests (units etc.) in ci.rake

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

10 years agoFixed multiple scrollbars in project tree (#15741).
Jean-Philippe Lang [Sat, 21 Dec 2013 11:34:28 +0000 (11:34 +0000)]
Fixed multiple scrollbars in project tree (#15741).

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

10 years agomake WatchersHelperTest passes when config.threadsafe! is enabled (#12097)
Toshi MARUYAMA [Sat, 21 Dec 2013 11:13:39 +0000 (11:13 +0000)]
make WatchersHelperTest passes when config.threadsafe! is enabled (#12097)

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

10 years agomake IssuesHelperTest passes when config.threadsafe! is enabled (#12097)
Toshi MARUYAMA [Sat, 21 Dec 2013 11:08:51 +0000 (11:08 +0000)]
make IssuesHelperTest passes when config.threadsafe! is enabled (#12097)

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

10 years agouse environment variable for extacting SCM repositories in ci.rake
Toshi MARUYAMA [Sat, 21 Dec 2013 09:30:53 +0000 (09:30 +0000)]
use environment variable for extacting SCM repositories in ci.rake

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

10 years agofix svn raw diff failure on svn version 1.6.17 (revision 1128011)
Toshi MARUYAMA [Fri, 20 Dec 2013 17:17:08 +0000 (17:17 +0000)]
fix svn raw diff failure on svn version 1.6.17 (revision 1128011)

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

10 years agoRails4 compatibility of Setting model
Toshi MARUYAMA [Fri, 20 Dec 2013 11:54:23 +0000 (11:54 +0000)]
Rails4 compatibility of Setting model

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

10 years agoRails4: db migrate: replace "Permission.find_by_controller_and_action"
Toshi MARUYAMA [Fri, 20 Dec 2013 07:10:46 +0000 (07:10 +0000)]
Rails4: db migrate: replace "Permission.find_by_controller_and_action"

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

10 years agoFixed that time entries custom values are not deleted when deleting a project or...
Jean-Philippe Lang [Wed, 18 Dec 2013 18:39:09 +0000 (18:39 +0000)]
Fixed that time entries custom values are not deleted when deleting a project or an issue (#15709).

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

10 years agoFixed that text/plain attachments are added to issue description (#15684).
Jean-Philippe Lang [Wed, 18 Dec 2013 18:13:13 +0000 (18:13 +0000)]
Fixed that text/plain attachments are added to issue description (#15684).

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

10 years agoFixed that previous assignee is not notified on issue update (#15714).
Jean-Philippe Lang [Tue, 17 Dec 2013 20:48:18 +0000 (20:48 +0000)]
Fixed that previous assignee is not notified on issue update (#15714).

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

10 years agoTraditional Chinese translation updated by ChunChang Lo (#15710)
Toshi MARUYAMA [Mon, 16 Dec 2013 07:48:06 +0000 (07:48 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#15710)

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

10 years agoRemoved unused variable.
Jean-Philippe Lang [Sun, 15 Dec 2013 11:03:48 +0000 (11:03 +0000)]
Removed unused variable.

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

10 years agoStore relation type instead of i18n key in journals (#15704).
Jean-Philippe Lang [Sun, 15 Dec 2013 11:02:24 +0000 (11:02 +0000)]
Store relation type instead of i18n key in journals (#15704).

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

10 years agoFixed that links for relations in notifications do not include hostname (#15677).
Jean-Philippe Lang [Sun, 15 Dec 2013 10:32:03 +0000 (10:32 +0000)]
Fixed that links for relations in notifications do not include hostname (#15677).

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