Commit Graph

3892 Commits

Author SHA1 Message Date
Toshi MARUYAMA da071e5531 scm: mercurial: split test_parents to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 11:41:17 +00:00
Toshi MARUYAMA 4bde749d40 scm: mercurial: split test_copied_files to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 11:41:01 +00:00
Toshi MARUYAMA febd239d22 scm: mercurial: split test_entries_short_id to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 11:40:44 +00:00
Toshi MARUYAMA 1f2a520a46 scm: mercurial: split test_entry_short_id to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 11:40:28 +00:00
Toshi MARUYAMA b07c983740 scm: mercurial: split latest_changesets tag test to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 07:57:02 +00:00
Toshi MARUYAMA 074984688e scm: mercurial: split latest_changesets default branch test to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 07:56:46 +00:00
Toshi MARUYAMA 8c96db6e53 scm: mercurial: split latest_changesets tag test with path or not (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 07:56:31 +00:00
Toshi MARUYAMA 79e73095e5 scm: mercurial: add latest_changesets "default" branch test (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 06:34:31 +00:00
Toshi MARUYAMA 3698dd26cf scm: mercurial: split latest_changesets tag test with limit or not (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 06:34:15 +00:00
Toshi MARUYAMA 5872d079e6 scm: mercurial: use long id in adapter level (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 04:44:38 +00:00
Toshi MARUYAMA 07d7b47ddc scm: mercurial: add model entry test (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 04:43:48 +00:00
Toshi MARUYAMA 1662720d7b scm: mercurial: add model entries test (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 04:43:32 +00:00
Toshi MARUYAMA d26b4fc5b7 scm: mercurial: add adapter entry test (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 04:43:17 +00:00
Toshi MARUYAMA f2ec6f8d77 back out r12752 (#14361)
Revision, Author and Comment of repository browser are broken.

git-svn-id: http://svn.redmine.org/redmine/trunk@12753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 08:46:47 +00:00
Toshi MARUYAMA ae68ff1100 scm: mercurial: use long id in adapter level (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 07:47:04 +00:00
Toshi MARUYAMA 28fbc270fa scm: mercurial: add check scmid to RepositoryMercurialTest#test_fetch_changesets_from_scratch (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 06:08:22 +00:00
Toshi MARUYAMA 5dcecec1bd scm: mercurial: use 12 chars id for format_changeset_identifier (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 04:23:53 +00:00
Toshi MARUYAMA fdc0731cb5 scm: mercurial: split latest_changesets test to tag and branch
git-svn-id: http://svn.redmine.org/redmine/trunk@12748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 03:45:33 +00:00
Toshi MARUYAMA 31af31eef7 remove redundant empty line from RepositoryMercurialTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 02:39:51 +00:00
Jean-Philippe Lang d651b93eff Adds some test helpers to cleanup tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@12746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-31 18:13:42 +00:00
Jean-Philippe Lang 888823a449 Fixed calculation of done_ratio of parent task with child having estimated_time at 0 (#15870).
git-svn-id: http://svn.redmine.org/redmine/trunk@12745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-31 17:42:46 +00:00
Toshi MARUYAMA e699458b3c Rails4 compatibility of WatcherTest#test_watcher_users
Rails4 has_many returns ActiveRecord::Associations::CollectionProxy not array

git-svn-id: http://svn.redmine.org/redmine/trunk@12744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-31 15:35:48 +00:00
Jean-Philippe Lang 5fc8cfe9e3 Removed debug output.
git-svn-id: http://svn.redmine.org/redmine/trunk@12740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-30 22:27:08 +00:00
Jean-Philippe Lang d5a9af54fa Reverts r12669 and add a test for #15870.
git-svn-id: http://svn.redmine.org/redmine/trunk@12739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-30 22:18:07 +00:00
Toshi MARUYAMA 35cc911192 update copyright year (#15977)
Contributed by Daniel Felix.

git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Toshi MARUYAMA 28b1b1ea90 remove unneeded Relation#all from UserTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 00:09:19 +00:00
Toshi MARUYAMA e63029cee4 remove unneeded Relation#all from ProjectTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 00:09:02 +00:00
Toshi MARUYAMA e746e5dd83 remove unneeded Relation#all from PrincipalTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 00:08:47 +00:00
Toshi MARUYAMA 45289b9791 remove unneeded Relation#all from IssueStatusTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 00:08:32 +00:00
Toshi MARUYAMA c47940f4a5 remove unneeded Relation#all from IssueTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 00:08:15 +00:00
Toshi MARUYAMA 9941a987e9 add more comment about awesome_nested_set 2-1-stable branch regression
git-svn-id: http://svn.redmine.org/redmine/trunk@12709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-26 09:10:58 +00:00
Toshi MARUYAMA 38fa36d23b remove Rails4 deprecated Relation#all from IssueTest#test_visible_and_nested_set_scopes and add awesome_nested_set regression test
git-svn-id: http://svn.redmine.org/redmine/trunk@12708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-26 09:05:59 +00:00
Jean-Philippe Lang a2f869b43e Redirect to back_url or referer when clicking "Sign in" while already logged-in (#15926).
git-svn-id: http://svn.redmine.org/redmine/trunk@12705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-25 12:35:05 +00:00
Jean-Philippe Lang 5faa1a4e6e REST API: Integer custom field validation fails when using non-string values (#15929).
git-svn-id: http://svn.redmine.org/redmine/trunk@12704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-25 12:08:22 +00:00
Toshi MARUYAMA e917aa7ed8 fix comment of awesome_nested_set new node lft and rgt value behavior change
git-svn-id: http://svn.redmine.org/redmine/trunk@12694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-24 16:40:06 +00:00
Toshi MARUYAMA 17a5f26e50 adjust tests to awesome_nested_set new node lft and rgt value behavior change
git-svn-id: http://svn.redmine.org/redmine/trunk@12693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-24 16:26:50 +00:00
Jean-Philippe Lang e391be4086 Adds settings for disabling browser language detection and language preference (#2691).
git-svn-id: http://svn.redmine.org/redmine/trunk@12691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-24 10:28:12 +00:00
Jean-Philippe Lang 6e6c6fac5c Adds firstname initials+lastname user format.
git-svn-id: http://svn.redmine.org/redmine/trunk@12690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-24 09:23:11 +00:00
Toshi MARUYAMA 962ecabc47 call Project#set_or_update_position_under in Project.rebuild_tree! (#12431)
git-svn-id: http://svn.redmine.org/redmine/trunk@12683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-21 06:29:48 +00:00
Toshi MARUYAMA 94e3eb2b8b move awesome_nested_set leaf? modification to config/initializers/10-patches.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@12682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 17:54:47 +00:00
Jean-Philippe Lang f890c775f1 Show warning when exported issues exceed the limit (#13770).
git-svn-id: http://svn.redmine.org/redmine/trunk@12663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-12 10:39:42 +00:00
Jean-Philippe Lang 682f0231ff Adds favicon to ATOM feeds (#14309).
git-svn-id: http://svn.redmine.org/redmine/trunk@12662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-12 10:03:59 +00:00
Jean-Philippe Lang 1eda38be4c Adds #favicon_path and #favicon_url helpers.
git-svn-id: http://svn.redmine.org/redmine/trunk@12661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-12 09:58:07 +00:00
Jean-Philippe Lang 5df064ed85 Fixed Changeset#text_tag for changeset with hash and repository identifier (#13544).
git-svn-id: http://svn.redmine.org/redmine/trunk@12660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-12 09:19:47 +00:00
Jean-Philippe Lang 4e151a4722 Syntax error with ruby1.8.
git-svn-id: http://svn.redmine.org/redmine/trunk@12651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 11:50:47 +00:00
Jean-Philippe Lang 9ad2ca61da Fixed: cannot retrieve members for closed projects through the REST API (#15848).
git-svn-id: http://svn.redmine.org/redmine/trunk@12650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 11:47:26 +00:00
Jean-Philippe Lang de19424ea5 Adds project status to GET /projects/:id and GET /projects API response (#15815).
git-svn-id: http://svn.redmine.org/redmine/trunk@12649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 11:33:47 +00:00
Jean-Philippe Lang a89468ebc8 Adds rel=stylesheet condition for stylesheets assertions.
git-svn-id: http://svn.redmine.org/redmine/trunk@12648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 11:28:09 +00:00
Jean-Philippe Lang fa52c5d9fc Use #assert_select instead of #assert_tag.
git-svn-id: http://svn.redmine.org/redmine/trunk@12647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 11:26:53 +00:00
Jean-Philippe Lang 8b999962de Make favicon themeable (#15689).
Patch by Felix Schäfer modified by Jean-Philippe Lang.

git-svn-id: http://svn.redmine.org/redmine/trunk@12646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 11:22:46 +00:00
Toshi MARUYAMA 2a8ae016c5 Rails4: replace deprecated find_all_by_* at TimelogControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 10:14:24 +00:00
Toshi MARUYAMA 8f43b53077 Rails4: replace deprecated Relation#first with finder options at TrackersControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 10:14:08 +00:00
Toshi MARUYAMA eab8f307f9 Rails4: replace deprecated Relation#first with finder options at TimelogControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 10:13:53 +00:00
Toshi MARUYAMA abd6471270 Rails4: replace deprecated Relation#first with finder options at RepositoriesGitControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 10:13:37 +00:00
Toshi MARUYAMA 309e588440 Rails4: replace deprecated Relation#first with finder options at RepositoriesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 10:13:21 +00:00
Toshi MARUYAMA b47fc8f618 Rails4: replace deprecated Relation#first with finder options at MessagesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 10:13:05 +00:00
Toshi MARUYAMA 190bb9af30 Rails4: replace deprecated Relation#first with finder options at IssuesControllerTransactionTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 10:12:49 +00:00
Toshi MARUYAMA 1bb79568e5 Rails4: replace deprecated Relation#update_all at SearchControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 09:25:12 +00:00
Toshi MARUYAMA 45496b0eb2 Rails4: replace deprecated Relation#first with finder options at UsersControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 09:24:56 +00:00
Toshi MARUYAMA 378a3e684f Rails4: replace deprecated Relation#first with finder options at WikiControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 09:24:40 +00:00
Toshi MARUYAMA a313d540a6 code format cleanup WikiControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 09:24:24 +00:00
Toshi MARUYAMA 6097d6b1bf Rails4: replace deprecated find_all_by_* at TimelogCustomFieldsVisibilityTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 09:24:08 +00:00
Toshi MARUYAMA 6e8d8da1f3 Rails4: replace deprecated Relation#update_all at ProjectEnumerationsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 09:23:52 +00:00
Toshi MARUYAMA e11c68e417 Rails4: replace deprecated find_all_by_* at ProjectEnumerationsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 09:23:36 +00:00
Toshi MARUYAMA d401f86b0d fix find_all_by_id(n1, n2) parameter at TimelogCustomFieldsVisibilityTest
find_all_by_id(n1, n2) returns only n1 result.

git-svn-id: http://svn.redmine.org/redmine/trunk@12630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 08:50:21 +00:00
Toshi MARUYAMA 97a4211b03 code format cleanup TimelogCustomFieldsVisibilityTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 08:50:07 +00:00
Toshi MARUYAMA a516a1bdb2 Rails4: replace deprecated find_all_by_* at IssuesCustomFieldsVisibilityTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 08:32:28 +00:00
Toshi MARUYAMA 8c595df595 Rails4: replace deprecated find_all_by_* at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 08:32:12 +00:00
Toshi MARUYAMA 65ba233c62 Rails4: replace deprecated Relation#last with finder options at MessagesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 07:47:18 +00:00
Toshi MARUYAMA 7ac013fbe8 Rails4: replace deprecated Relation#last with finder options at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 07:47:02 +00:00
Toshi MARUYAMA 15031f6173 code format cleanup ProjectEnumerationsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 07:46:46 +00:00
Toshi MARUYAMA e30aa4b245 code format cleanup MessagesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 07:46:29 +00:00
Toshi MARUYAMA 20482fdee3 Rails4: replace deprecated find_all_by_* at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 07:22:39 +00:00
Toshi MARUYAMA ca4ea40888 fix find_all_by_id(n1, n2) parameter at IssuesCustomFieldsVisibilityTest#test_index_with_partial_custom_field_visibility
find_all_by_id(n1, n2) returns only n1 result.

git-svn-id: http://svn.redmine.org/redmine/trunk@12621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-11 07:05:48 +00:00
Toshi MARUYAMA 9420d7e345 Rails4: replace deprecated Relation#first with finder options at ApiTest::VersionsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 12:24:19 +00:00
Toshi MARUYAMA ea9b40ab4d Rails4: replace deprecated Relation#first with finder options at ApiTest::VersionsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 11:25:25 +00:00
Toshi MARUYAMA c538543583 Rails4: replace deprecated Relation#first with finder options at ApiTest::UsersTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 11:24:59 +00:00
Toshi MARUYAMA 7f93cc74b4 Rails4: replace deprecated Relation#first with finder options at ApiTest::TimeEntriesTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 11:24:34 +00:00
Toshi MARUYAMA 505483f224 Rails4: replace deprecated Relation#first with finder options at ApiTest::ProjectsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 11:24:00 +00:00
Toshi MARUYAMA d02bcbcee5 Rails4: replace deprecated Relation#first with finder options at integration IssuesTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 08:39:32 +00:00
Toshi MARUYAMA 1c938cd1d3 Rails4: replace deprecated Relation#first with finder options at ApiTest::IssuesTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 08:38:59 +00:00
Toshi MARUYAMA b6d6325198 Rails4: replace deprecated Relation#first with finder options at ApiTest::IssueRelationsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 08:38:36 +00:00
Toshi MARUYAMA 3480d46ff3 Rails4: replace deprecated Relation#first with finder options at ApiTest::IssueCategoriesTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 08:38:09 +00:00
Toshi MARUYAMA c020578820 Rails4: replace deprecated Relation#first with finder options at ApiTest::AttachmentsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 08:37:33 +00:00
Toshi MARUYAMA 6f4d3c1c64 Rails4: replace deprecated Relation#first with finder options at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 05:46:33 +00:00
Toshi MARUYAMA 57740505b0 remove unneeded Relation#all from IssuesControllerTest#test_bulk_copy_to_another_project
git-svn-id: http://svn.redmine.org/redmine/trunk@12589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 05:46:15 +00:00
Toshi MARUYAMA c1c1b548d0 remove unneeded Relation#all from IssuesControllerTest#test_bulk_copy_should_allow_not_changing_the_issue_attributes
git-svn-id: http://svn.redmine.org/redmine/trunk@12586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 04:45:28 +00:00
Toshi MARUYAMA c7723e9bc9 Rails4: replace deprecated Relation#first with finder options at IssueRelationsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 04:11:53 +00:00
Toshi MARUYAMA efb5d5769a Rails4: replace deprecated Relation#last with finder options at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 04:11:20 +00:00
Toshi MARUYAMA c0303bf47c remove unneeded Relation#all from WorkflowsControllerTest#status_transitions
git-svn-id: http://svn.redmine.org/redmine/trunk@12581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 03:54:23 +00:00
Toshi MARUYAMA 7c10f41ce3 Rails4: replace deprecated Relation#first with finder options at AttachmentsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 01:21:07 +00:00
Toshi MARUYAMA d852b8a4e6 remove unneeded Relation#all from RepositorySubversionTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 09:55:26 +00:00
Toshi MARUYAMA e41271f2bd remove unneeded Relation#all from RepositoryMercurialTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 09:55:10 +00:00
Toshi MARUYAMA 776bf76f46 remove unneeded Relation#all from RepositoryDarcsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 09:54:54 +00:00
Toshi MARUYAMA 4ab85ff0cb remove unneeded Relation#all from RepositoryCvsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 09:54:37 +00:00
Toshi MARUYAMA 890851eb85 remove unneeded Relation#all from RepositoryBazaarTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 09:54:21 +00:00
Toshi MARUYAMA 907663f83c Rails4: replace deprecated find_all_by_* at UserTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 08:14:21 +00:00
Toshi MARUYAMA a6da09026a Rails4: replace deprecated Relation#first with finder options at WikiContentTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 06:43:49 +00:00
Toshi MARUYAMA d305d15373 Rails4: replace deprecated Relation#first with finder options at UserTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 06:43:33 +00:00
Toshi MARUYAMA 5315943bb9 remove trailing white-spaces from RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 05:09:44 +00:00
Toshi MARUYAMA 01e22fc4b8 code format cleanup RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 05:09:28 +00:00
Toshi MARUYAMA 205e727565 Rails4: replace deprecated find_all_by_* at ProjectTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 05:09:10 +00:00
Toshi MARUYAMA 56a40b3579 Rails4: replace deprecated find_all_by_* at RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 05:08:54 +00:00
Toshi MARUYAMA 95bc7bf189 Rails4: replace deprecated Relation#update_all at RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 05:08:38 +00:00
Toshi MARUYAMA 7960f543a4 remove unneeded Relation#all from ProjectTest#test_destroy
git-svn-id: http://svn.redmine.org/redmine/trunk@12556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:30:17 +00:00
Toshi MARUYAMA ab46ef7c15 Rails4: replace deprecated Relation#update_all at QueryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:24:24 +00:00
Toshi MARUYAMA 494a13d004 Rails4: replace deprecated Relation#update_all at ProjectTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:24:07 +00:00
Toshi MARUYAMA d15183b2e7 Rails4: replace deprecated Relation#update_all at WatcherTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:23:51 +00:00
Toshi MARUYAMA d7f986b6a8 Rails4: replace deprecated Relation#update_all at ProjectNestedSetTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:23:36 +00:00
Toshi MARUYAMA 394628f205 Rails4: replace deprecated Relation#first with finder options at MailHandlerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:23:19 +00:00
Toshi MARUYAMA 132021f895 Rails4: replace deprecated Relation#first with finder options at CipheringTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:23:03 +00:00
Toshi MARUYAMA bb54f0b7c5 Rails4: replace deprecated Relation#first with finder options at IssueTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:22:47 +00:00
Toshi MARUYAMA 92a948855e Rails4: replace deprecated Relation#update_all at IssueTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 03:35:14 +00:00
Toshi MARUYAMA 4245a88542 Rails4: replace deprecated find_all_by_* at WikiPageTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 02:37:21 +00:00
Toshi MARUYAMA 09884154c9 code format cleanup ChangesetTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 00:06:06 +00:00
Toshi MARUYAMA d9624990e0 remove unneeded Relation#all from ChangesetTest#test_ref_keywords_closing_with_timelog
git-svn-id: http://svn.redmine.org/redmine/trunk@12539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 00:04:56 +00:00
Toshi MARUYAMA ac214f5480 Rails4: replace deprecated Relation#first with finder options at ChangesetTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 00:04:38 +00:00
Toshi MARUYAMA 1c2c4c484e Rails4: replace deprecated find_all_by_* at WikiPageTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 12:43:27 +00:00
Toshi MARUYAMA fb877ddcfb Rails4: replace deprecated Relation#update_all at GroupTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 12:20:16 +00:00
Toshi MARUYAMA e80d9bb69a Rails4: replace deprecated Relation#update_all at IssueTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 10:11:32 +00:00
Toshi MARUYAMA 74ccf34361 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
2014-01-08 10:11:00 +00:00
Toshi MARUYAMA ce2e9158a5 Rails4: replace deprecated find_all_by_* at ProjectEnumerationsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 06:42:52 +00:00
Toshi MARUYAMA 184ea832d6 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
2014-01-08 06:26:25 +00:00
Toshi MARUYAMA 4f28ed2fb4 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
2014-01-08 06:23:43 +00:00
Toshi MARUYAMA c92f425309 Rails4: replace deprecated Relation#update_all at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 06:03:54 +00:00
Toshi MARUYAMA 585d93e499 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
2014-01-08 05:14:18 +00:00
Toshi MARUYAMA 035c68f1a9 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
2014-01-08 05:02:14 +00:00
Toshi MARUYAMA 4ca6fb4226 Rails4: replace deprecated Relation#update_all at BoardsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 04:58:29 +00:00
Toshi MARUYAMA d9dc18011d 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
2014-01-08 04:32:31 +00:00
Toshi MARUYAMA 7d4420fe19 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
2014-01-08 04:32:16 +00:00
Toshi MARUYAMA 848edf35fa 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
2014-01-08 04:32:00 +00:00
Toshi MARUYAMA 6204bcb34e 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
2014-01-08 04:31:45 +00:00
Toshi MARUYAMA 375eca924c 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
2014-01-08 04:31:29 +00:00
Toshi MARUYAMA 0788000809 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
2014-01-08 03:31:04 +00:00
Toshi MARUYAMA 8a6f4c3880 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
2014-01-08 02:49:09 +00:00
Toshi MARUYAMA d020a06c5c Rails4: replace deprecated find_all_by_* at ProjectTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-07 15:43:21 +00:00
Toshi MARUYAMA d884d09cc2 Rails4: replace deprecated find_all_by_* at MessageTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-07 15:43:05 +00:00
Toshi MARUYAMA 8dc4992973 Rails4: replace deprecated find_all_by_* at IssueTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-07 15:42:49 +00:00
Toshi MARUYAMA 691e218a75 add unit test to have one default repository
git-svn-id: http://svn.redmine.org/redmine/trunk@12492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-07 14:53:49 +00:00
Toshi MARUYAMA a8c8266b9d 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
2014-01-07 13:26:13 +00:00
Jean-Philippe Lang e1189c5335 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
2014-01-05 16:35:59 +00:00
Jean-Philippe Lang 7087dbb5b4 Fixed assertion for postgresql and sqlite (#8842).
git-svn-id: http://svn.redmine.org/redmine/trunk@12480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-04 08:22:50 +00:00
Jean-Philippe Lang 3c540594dc Fixed test failure with ruby1.8 (#8842).
git-svn-id: http://svn.redmine.org/redmine/trunk@12479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-03 19:42:43 +00:00
Jean-Philippe Lang a4d3da988a Allow filtering with timestamp (#8842).
git-svn-id: http://svn.redmine.org/redmine/trunk@12477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-03 15:54:49 +00:00
Jean-Philippe Lang 58a63c49c4 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
2014-01-03 14:42:15 +00:00
Toshi MARUYAMA 803a0a030e 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
2014-01-01 05:54:28 +00:00
Toshi MARUYAMA 9cefc90b0b 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
2013-12-29 13:48:52 +00:00
Toshi MARUYAMA 24904b4a03 Rails4 compatibility of RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-27 03:40:30 +00:00
Toshi MARUYAMA 74dbb35b87 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
2013-12-27 03:26:05 +00:00
Toshi MARUYAMA 2959818688 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
2013-12-27 03:25:49 +00:00