]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoscm: mercurial: fix revision at functional diff test.
Toshi MARUYAMA [Sat, 15 Jan 2011 10:15:41 +0000 (10:15 +0000)]
scm: mercurial: fix revision at functional diff test.

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

13 years agoscm: mercurial: fix id at functional test_empty_revision test(#7307).
Toshi MARUYAMA [Fri, 14 Jan 2011 23:10:49 +0000 (23:10 +0000)]
scm: mercurial: fix id at functional test_empty_revision test(#7307).

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

13 years agoscm: git: fix id at functional test_empty_revision test(#7307).
Toshi MARUYAMA [Fri, 14 Jan 2011 23:10:13 +0000 (23:10 +0000)]
scm: git: fix id at functional test_empty_revision test(#7307).

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

13 years agoscm: use #blank? instead of #nil? || #empty? at Repository#find_changeset_by_name...
Toshi MARUYAMA [Fri, 14 Jan 2011 22:51:12 +0000 (22:51 +0000)]
scm: use #blank? instead of #nil? || #empty? at Repository#find_changeset_by_name(name) (#7307).

Referring r4711.

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

13 years agoUse #blank? instead of #nil? || #empty?.
Jean-Philippe Lang [Fri, 14 Jan 2011 20:24:03 +0000 (20:24 +0000)]
Use #blank? instead of #nil? || #empty?.

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

13 years agoRespond with 404 instead of 500 when revision/entry is not found in the repository...
Jean-Philippe Lang [Fri, 14 Jan 2011 20:22:36 +0000 (20:22 +0000)]
Respond with 404 instead of 500 when revision/entry is not found in the repository (#7307).

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

13 years agoAdds a test for TimeEntry#spent_on= with invalid string.
Jean-Philippe Lang [Fri, 14 Jan 2011 18:45:28 +0000 (18:45 +0000)]
Adds a test for TimeEntry#spent_on= with invalid string.

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

13 years agoFixes TimeEntry#spent_on= so that datetimes don't get stored in SQLite3 (#7258).
Jean-Philippe Lang [Fri, 14 Jan 2011 18:04:16 +0000 (18:04 +0000)]
Fixes TimeEntry#spent_on= so that datetimes don't get stored in SQLite3 (#7258).

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

13 years agoscm: mercurial: unit lib test for entries accept both of revision number and changese...
Toshi MARUYAMA [Thu, 13 Jan 2011 12:05:11 +0000 (12:05 +0000)]
scm: mercurial: unit lib test for entries accept both of revision number and changeset id (#3724, #3421)

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

13 years agoscm: mercurial: fix error on revision page for empty revision (#7307).
Toshi MARUYAMA [Thu, 13 Jan 2011 12:04:51 +0000 (12:04 +0000)]
scm: mercurial: fix error on revision page for empty revision (#7307).

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

13 years agoscm: fix error on revision page for empty revision (#7307).
Toshi MARUYAMA [Thu, 13 Jan 2011 12:04:30 +0000 (12:04 +0000)]
scm: fix error on revision page for empty revision (#7307).

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

13 years agoRemoved obsolete css class (#7279).
Jean-Philippe Lang [Tue, 11 Jan 2011 20:37:31 +0000 (20:37 +0000)]
Removed obsolete css class (#7279).

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

13 years agoSet csv separator to ; for nl locale (#7274).
Jean-Philippe Lang [Tue, 11 Jan 2011 20:35:50 +0000 (20:35 +0000)]
Set csv separator to ; for nl locale (#7274).

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

13 years agoFixed: Enabling gravatas causes usernames to overlap first name field in user list...
Jean-Philippe Lang [Tue, 11 Jan 2011 20:27:26 +0000 (20:27 +0000)]
Fixed: Enabling gravatas causes usernames to overlap first name field in user list (#7277).

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

13 years agoscm: mercurial: change two revision diff text of mercurial (#3724).
Toshi MARUYAMA [Tue, 11 Jan 2011 16:04:28 +0000 (16:04 +0000)]
scm: mercurial: change two revision diff text of mercurial (#3724).

For example, "4:def6d2f1254a 2:400bb8672109".

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

13 years agoscm: changing two revision diff text at SCM adapter level (#3724).
Toshi MARUYAMA [Tue, 11 Jan 2011 16:04:07 +0000 (16:04 +0000)]
scm: changing two revision diff text at SCM adapter level (#3724).

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

13 years agoscm: mercurial: use revision text mercurial style "2:400bb8672109" (#3724).
Toshi MARUYAMA [Tue, 11 Jan 2011 16:03:45 +0000 (16:03 +0000)]
scm: mercurial: use revision text mercurial style "2:400bb8672109" (#3724).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: add "commit:xxx" and "rNN" link test for mercurial (#3724).
Toshi MARUYAMA [Tue, 11 Jan 2011 16:03:24 +0000 (16:03 +0000)]
scm: mercurial: add "commit:xxx" and "rNN" link test for mercurial (#3724).

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

13 years agoscm: mercurial: use scmid as identifier (#3724).
Toshi MARUYAMA [Tue, 11 Jan 2011 16:03:01 +0000 (16:03 +0000)]
scm: mercurial: use scmid as identifier (#3724).

Contributed by Yuya Nishihara.

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

13 years agoscm: use scmid for "commit:xxx" link if available (#3724).
Toshi MARUYAMA [Tue, 11 Jan 2011 16:02:36 +0000 (16:02 +0000)]
scm: use scmid for "commit:xxx" link if available (#3724).

scmid is more solid than revision number.

Contributed by Yuya Nishihara.

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

13 years agoscm: fix indents in "commit:xxx" unit test.
Toshi MARUYAMA [Tue, 11 Jan 2011 15:23:42 +0000 (15:23 +0000)]
scm: fix indents in "commit:xxx" unit test.

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

13 years agoscm: fix assert_equal parameter order in subversion and git unit test.
Toshi MARUYAMA [Tue, 11 Jan 2011 15:23:22 +0000 (15:23 +0000)]
scm: fix assert_equal parameter order in subversion and git unit test.

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

13 years agoscm: add compatible "commit:xxx" link test for git and darcs.
Toshi MARUYAMA [Tue, 11 Jan 2011 11:06:56 +0000 (11:06 +0000)]
scm: add compatible "commit:xxx" link test for git and darcs.

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

13 years agoscm: mercurial: change diff option from --git to --config diff.git=false (#7253).
Toshi MARUYAMA [Tue, 11 Jan 2011 08:41:35 +0000 (08:41 +0000)]
scm: mercurial: change diff option from --git to --config diff.git=false (#7253).

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

13 years agoscm: mercurial: fix r4686 setup mercurial test repository (#7272).
Toshi MARUYAMA [Tue, 11 Jan 2011 08:41:11 +0000 (08:41 +0000)]
scm: mercurial: fix r4686 setup mercurial test repository (#7272).

If redmine top directory has .hg, "hg clone" synchronizes all revisions to test repository.

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

13 years agoscm: mercurial: diff '-c' option supports above Mercurial 1.2 (#3724, #7253).
Toshi MARUYAMA [Tue, 11 Jan 2011 05:15:56 +0000 (05:15 +0000)]
scm: mercurial: diff '-c' option supports above Mercurial 1.2 (#3724, #7253).

r4662 fails in old Mercurial.

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

13 years agoscm: mercurial: test:scm:setup:mercurial task can be simpler (#7272).
Toshi MARUYAMA [Tue, 11 Jan 2011 04:18:08 +0000 (04:18 +0000)]
scm: mercurial: test:scm:setup:mercurial task can be simpler (#7272).

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

13 years agoFixed MailHandler broken by I18n fallback added in r4679.
Jean-Philippe Lang [Mon, 10 Jan 2011 19:57:41 +0000 (19:57 +0000)]
Fixed MailHandler broken by I18n fallback added in r4679.

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

13 years agoFixes fixture added in r4680.
Jean-Philippe Lang [Mon, 10 Jan 2011 19:45:20 +0000 (19:45 +0000)]
Fixes fixture added in r4680.

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

13 years agoFixed: wiki pages with cyrillic characters not found with postgresql (#7245).
Jean-Philippe Lang [Mon, 10 Jan 2011 18:32:04 +0000 (18:32 +0000)]
Fixed: wiki pages with cyrillic characters not found with postgresql (#7245).

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

13 years agoAdds fallback to 'en' locale for untranslated strings (#5518).
Jean-Philippe Lang [Mon, 10 Jan 2011 18:25:12 +0000 (18:25 +0000)]
Adds fallback to 'en' locale for untranslated strings (#5518).

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

13 years agoMake sure en is the current locale when running the test (#7266).
Jean-Philippe Lang [Mon, 10 Jan 2011 17:55:57 +0000 (17:55 +0000)]
Make sure en is the current locale when running the test (#7266).

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

13 years agoStore the mercurial test repository as a bundle to make it compatible with older...
Jean-Philippe Lang [Mon, 10 Jan 2011 17:43:01 +0000 (17:43 +0000)]
Store the mercurial test repository as a bundle to make it compatible with older hg versions.

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

13 years agoFixes random failure (database may not return changes in the order expected in the...
Jean-Philippe Lang [Sun, 9 Jan 2011 21:12:20 +0000 (21:12 +0000)]
Fixes random failure (database may not return changes in the order expected in the test).

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

13 years agoTrying to fix random failures with postgresql due to different ids order in urls.
Jean-Philippe Lang [Sun, 9 Jan 2011 21:01:40 +0000 (21:01 +0000)]
Trying to fix random failures with postgresql due to different ids order in urls.

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

13 years agoUpdated CHANGELOG for 1.1.0 release.
Jean-Philippe Lang [Sun, 9 Jan 2011 15:57:44 +0000 (15:57 +0000)]
Updated CHANGELOG for 1.1.0 release.

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

13 years agoscm: mercurial: remove new line in diff unit test(#7253).
Toshi MARUYAMA [Sun, 9 Jan 2011 14:19:39 +0000 (14:19 +0000)]
scm: mercurial: remove new line in diff unit test(#7253).

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

13 years agoscm: mercurial: add --git option in 'hg diff' (#7253).
Toshi MARUYAMA [Sun, 9 Jan 2011 13:53:47 +0000 (13:53 +0000)]
scm: mercurial: add --git option in 'hg diff' (#7253).

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

13 years agoscm: mercurial: replace identifier to hgrev(identifier).
Toshi MARUYAMA [Sun, 9 Jan 2011 09:54:30 +0000 (09:54 +0000)]
scm: mercurial: replace identifier to hgrev(identifier).

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

13 years agoscm: mercurial: wrap identifier with shell_quote at hgrev(identifier).
Toshi MARUYAMA [Sun, 9 Jan 2011 09:54:10 +0000 (09:54 +0000)]
scm: mercurial: wrap identifier with shell_quote at hgrev(identifier).

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

13 years agoscm: add compatible functional test fof changing diff revisions label at SCM adapter...
Toshi MARUYAMA [Sun, 9 Jan 2011 09:53:50 +0000 (09:53 +0000)]
scm: add compatible functional test fof changing diff revisions label at SCM adapter level.

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

13 years agoscm: mercurial: functional test for accept both of revision number and changeset...
Toshi MARUYAMA [Sun, 9 Jan 2011 02:13:54 +0000 (02:13 +0000)]
scm: mercurial: functional test for accept both of revision number and changeset id (#3724).

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

13 years agoscm: mercurial: annotate accepts both of revision number and changeset id (#3724).
Toshi MARUYAMA [Sun, 9 Jan 2011 01:30:18 +0000 (01:30 +0000)]
scm: mercurial: annotate accepts both of revision number and changeset id (#3724).

Change annotate revision label to Mercurial style '4:def6d2f1254a'
and use identifier.

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

13 years agoscm: mercurial: fix diff and test for accept both of revision number and changeset...
Toshi MARUYAMA [Sat, 8 Jan 2011 13:51:43 +0000 (13:51 +0000)]
scm: mercurial: fix diff and test for accept both of revision number and changeset id (#3724).

Diff of changeset can be wrong if the previous changeset isn't the parent.

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

13 years agoscm: mercurial: cat test for accept both of revision number and changeset id (#3724).
Toshi MARUYAMA [Sat, 8 Jan 2011 12:51:36 +0000 (12:51 +0000)]
scm: mercurial: cat test for accept both of revision number and changeset id (#3724).

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

13 years agoItalian translation update by Emidio Stani (#7227).
Jean-Philippe Lang [Sat, 8 Jan 2011 10:03:34 +0000 (10:03 +0000)]
Italian translation update by Emidio Stani (#7227).

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

13 years agoBulgarian translation update by Ivan Cenov (#7203).
Jean-Philippe Lang [Sat, 8 Jan 2011 10:01:09 +0000 (10:01 +0000)]
Bulgarian translation update by Ivan Cenov (#7203).

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

13 years agoscm: mercurial: fix assert_equal parameter order at app unit test_find_changeset_by_n...
Toshi MARUYAMA [Sat, 8 Jan 2011 08:45:40 +0000 (08:45 +0000)]
scm: mercurial: fix assert_equal parameter order at app unit test_find_changeset_by_name().

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

13 years agoscm: mercurial: accept both of revision and nodeid as changeset id (#3724).
Toshi MARUYAMA [Sat, 8 Jan 2011 06:24:27 +0000 (06:24 +0000)]
scm: mercurial: accept both of revision and nodeid as changeset id (#3724).

Contributed by Yuya Nishihara.

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

13 years agoFix associated revisions label on issue page.
Toshi MARUYAMA [Sat, 8 Jan 2011 00:19:51 +0000 (00:19 +0000)]
Fix associated revisions label on issue page.

r4613 shows git long hash value.

Contributed by Yuya Nishihara.

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

13 years agoRemoved hard-coded style on wiki history view.
Jean-Philippe Lang [Thu, 6 Jan 2011 21:24:32 +0000 (21:24 +0000)]
Removed hard-coded style on wiki history view.

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

13 years agoAdditional unit tests for project tree.
Jean-Philippe Lang [Thu, 6 Jan 2011 21:17:08 +0000 (21:17 +0000)]
Additional unit tests for project tree.

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

13 years agoDo not show trackers and issue custom fields on project form when issue tracking...
Jean-Philippe Lang [Thu, 6 Jan 2011 21:02:19 +0000 (21:02 +0000)]
Do not show trackers and issue custom fields on project form when issue tracking is disabled (#7225).

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

13 years agoChanges ProjectsController#modules param name and add tests.
Jean-Philippe Lang [Thu, 6 Jan 2011 20:57:17 +0000 (20:57 +0000)]
Changes ProjectsController#modules param name and add tests.

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

13 years agoVerify HTTP method on ProjectsController#create.
Jean-Philippe Lang [Thu, 6 Jan 2011 20:46:22 +0000 (20:46 +0000)]
Verify HTTP method on ProjectsController#create.

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

13 years agoMoves enabled_module_names param to project attribute so that it can be set through...
Jean-Philippe Lang [Thu, 6 Jan 2011 20:36:31 +0000 (20:36 +0000)]
Moves enabled_module_names param to project attribute so that it can be set through the Project API.

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

13 years agoAdds assertion to prevent error in test.
Jean-Philippe Lang [Thu, 6 Jan 2011 19:50:41 +0000 (19:50 +0000)]
Adds assertion to prevent error in test.

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

13 years agoAdds a rake task test:scm:update to update test repositories if needed.
Jean-Philippe Lang [Thu, 6 Jan 2011 18:52:37 +0000 (18:52 +0000)]
Adds a rake task test:scm:update to update test repositories if needed.

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

13 years agoscm: mercurial: add unit test for copied file (#7064).
Toshi MARUYAMA [Wed, 5 Jan 2011 15:03:35 +0000 (15:03 +0000)]
scm: mercurial: add unit test for copied file (#7064).

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

13 years agoscm: mercurial: add some tests at unit and functional test.
Toshi MARUYAMA [Wed, 5 Jan 2011 15:03:16 +0000 (15:03 +0000)]
scm: mercurial: add some tests at unit and functional test.

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

13 years agoscm: mercurial: update test repository for following issues and fix tests.
Toshi MARUYAMA [Wed, 5 Jan 2011 15:02:47 +0000 (15:02 +0000)]
scm: mercurial: update test repository for following issues and fix tests.

* copied file (#7064)
* branch, tag (#1981)

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

13 years agoscm: mercurial: escape any filenames by urlescape (#2664, #7064).
Toshi MARUYAMA [Wed, 5 Jan 2011 15:02:24 +0000 (15:02 +0000)]
scm: mercurial: escape any filenames by urlescape (#2664, #7064).

In Mercurial, filename is not UTF-8 but byte-string.
So it should be escaped to UTF-8-safe string before parsing as XML document.

NOTE: Mercurial's {|obfuscate} filter cannot be used here, because it treats
filename as encoded by HGENCODING.

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: cleanup indent and trailing white-space of unit lib test.
Toshi MARUYAMA [Wed, 5 Jan 2011 15:02:03 +0000 (15:02 +0000)]
scm: mercurial: cleanup indent and trailing white-space of unit lib test.

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

13 years agoscm: mercurial: fix comment and change // to '' some strings of functional test.
Toshi MARUYAMA [Wed, 5 Jan 2011 15:01:39 +0000 (15:01 +0000)]
scm: mercurial: fix comment and change // to '' some strings of functional test.

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

13 years agoscm: mercurial: refactor mercurial unit test.
Toshi MARUYAMA [Tue, 4 Jan 2011 16:34:40 +0000 (16:34 +0000)]
scm: mercurial: refactor mercurial unit test.

* lib unit test switches if repository exists.
* move cat test from app to lib.
* no need to run "hg update" in unit test (#3421).

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

13 years agorepository: mercurial: fix functional annotate test.
Toshi MARUYAMA [Mon, 3 Jan 2011 10:45:44 +0000 (10:45 +0000)]
repository: mercurial: fix functional annotate test.

Mercurial test repository author is 'jsmith'.
If author is 'foo', functional annotate test passes.

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

13 years agorepository: git: change io.gets to io.readlines (#5404, #5096).
Toshi MARUYAMA [Mon, 3 Jan 2011 10:45:00 +0000 (10:45 +0000)]
repository: git: change io.gets to io.readlines (#5404, #5096).

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

13 years agoFix subversion and git activities test reffering r4621.
Toshi MARUYAMA [Mon, 3 Jan 2011 10:44:23 +0000 (10:44 +0000)]
Fix subversion and git activities test reffering r4621.

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

13 years agoFixed failing subversion test.
Jean-Philippe Lang [Sun, 2 Jan 2011 14:36:12 +0000 (14:36 +0000)]
Fixed failing subversion test.

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

13 years agoSet version to 1.1.0.
Jean-Philippe Lang [Sun, 2 Jan 2011 12:16:40 +0000 (12:16 +0000)]
Set version to 1.1.0.

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

13 years agoUpdated footer to 2011.
Jean-Philippe Lang [Sun, 2 Jan 2011 12:16:06 +0000 (12:16 +0000)]
Updated footer to 2011.

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

13 years agoFixed: should redirect to the new project when copying a project.
Jean-Philippe Lang [Sun, 2 Jan 2011 11:42:37 +0000 (11:42 +0000)]
Fixed: should redirect to the new project when copying a project.

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

13 years agoAdditional roles of a user who belongs to a group are not always copied when copying...
Jean-Philippe Lang [Sun, 2 Jan 2011 11:38:35 +0000 (11:38 +0000)]
Additional roles of a user who belongs to a group are not always copied when copying the project (#7213).

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

13 years agoChanging revision label and identifier at SCM adapter level (#3724, #6092)
Toshi MARUYAMA [Sun, 2 Jan 2011 09:45:05 +0000 (09:45 +0000)]
Changing revision label and identifier at SCM adapter level (#3724, #6092)

Contributed by Yuya Nishihara.

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

13 years agoFixed: repository: mercurial: sort changesets by revision (#3449, #3567).
Toshi MARUYAMA [Sun, 2 Jan 2011 06:05:54 +0000 (06:05 +0000)]
Fixed: repository: mercurial: sort changesets by revision (#3449, #3567).

In DVCS, changesets are not in date order.
Because Mercurial backend inserts changesets from eariest, 'ORDER BY id'
means 'order by revision number'.

Contributed by Yuya Nishihara.

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

13 years agoAdded missing remove_index in AddUniqueIndexOnMembers down migration. #7212
Jean-Baptiste Barth [Sat, 1 Jan 2011 23:08:49 +0000 (23:08 +0000)]
Added missing remove_index in AddUniqueIndexOnMembers down migration. #7212

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

13 years agorepository: switch darcs cat test if cat supports.
Toshi MARUYAMA [Sat, 1 Jan 2011 22:01:28 +0000 (22:01 +0000)]
repository: switch darcs cat test if cat supports.

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

13 years agoAdding .hgignore based on the .gitignore.
Toshi MARUYAMA [Sat, 1 Jan 2011 21:07:43 +0000 (21:07 +0000)]
Adding .hgignore based on the .gitignore.

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

13 years agoFixes utf8 conversions with ruby1.9.
Jean-Philippe Lang [Sat, 1 Jan 2011 19:12:35 +0000 (19:12 +0000)]
Fixes utf8 conversions with ruby1.9.

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

13 years agoStrip non utf8 content when displaying diff (ruby1.9 compatibility).
Jean-Philippe Lang [Sat, 1 Jan 2011 13:40:36 +0000 (13:40 +0000)]
Strip non utf8 content when displaying diff (ruby1.9 compatibility).

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

13 years agoRead attachment fixtures in binary mode.
Jean-Philippe Lang [Sat, 1 Jan 2011 12:24:18 +0000 (12:24 +0000)]
Read attachment fixtures in binary mode.

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

13 years agoruby1.9 compatibility
Jean-Philippe Lang [Sat, 1 Jan 2011 11:45:12 +0000 (11:45 +0000)]
ruby1.9 compatibility

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

13 years agoruby1.9 compatibility
Jean-Philippe Lang [Sat, 1 Jan 2011 11:13:33 +0000 (11:13 +0000)]
ruby1.9 compatibility

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

13 years agoFixes wrong assertion.
Jean-Philippe Lang [Fri, 31 Dec 2010 15:45:35 +0000 (15:45 +0000)]
Fixes wrong assertion.

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

13 years agoRemove the limitation on characters that can be used in custom_field, issue_status...
Jean-Philippe Lang [Fri, 31 Dec 2010 15:30:50 +0000 (15:30 +0000)]
Remove the limitation on characters that can be used in custom_field, issue_status, role, tracker, user names (#5152).

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

13 years agoSafer assertion.
Jean-Philippe Lang [Fri, 31 Dec 2010 15:24:42 +0000 (15:24 +0000)]
Safer assertion.

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

13 years agoruby1.9 compatibility
Jean-Philippe Lang [Fri, 31 Dec 2010 11:16:03 +0000 (11:16 +0000)]
ruby1.9 compatibility

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

13 years agoFixes wrong Polish translation of "blocks" and "duplicates" (#6895).
Jean-Philippe Lang [Thu, 30 Dec 2010 15:49:08 +0000 (15:49 +0000)]
Fixes wrong Polish translation of "blocks" and "duplicates" (#6895).

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

13 years agoJapanese Translation updated (#7133).
Jean-Philippe Lang [Thu, 30 Dec 2010 15:44:02 +0000 (15:44 +0000)]
Japanese Translation updated (#7133).

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

13 years agoTraditional Chinese language updated (#7123).
Jean-Philippe Lang [Thu, 30 Dec 2010 15:43:02 +0000 (15:43 +0000)]
Traditional Chinese language updated (#7123).

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

13 years agoGerman translation updated (#7161).
Jean-Philippe Lang [Thu, 30 Dec 2010 15:38:41 +0000 (15:38 +0000)]
German translation updated (#7161).

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

13 years agoMakes the png looks more like the html gantt.
Jean-Philippe Lang [Thu, 30 Dec 2010 15:04:08 +0000 (15:04 +0000)]
Makes the png looks more like the html gantt.

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

13 years agoMakes issue move form similar to bulk edit form.
Jean-Philippe Lang [Wed, 29 Dec 2010 20:48:51 +0000 (20:48 +0000)]
Makes issue move form similar to bulk edit form.

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

13 years agoDisable project completion display on the gantt (#7127).
Jean-Philippe Lang [Wed, 29 Dec 2010 20:29:42 +0000 (20:29 +0000)]
Disable project completion display on the gantt (#7127).

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

13 years agoSimple issue sort method to make sure subtasks appear under their parent on the gantt...
Jean-Philippe Lang [Wed, 29 Dec 2010 20:21:39 +0000 (20:21 +0000)]
Simple issue sort method to make sure subtasks appear under their parent on the gantt (#7128).

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

13 years agoFind visible issues only in ContextMenusController#issues.
Jean-Philippe Lang [Wed, 29 Dec 2010 19:55:52 +0000 (19:55 +0000)]
Find visible issues only in ContextMenusController#issues.

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

13 years agoTakes more parameters into account to determine activity freshness (#7188).
Jean-Philippe Lang [Wed, 29 Dec 2010 19:37:42 +0000 (19:37 +0000)]
Takes more parameters into account to determine activity freshness (#7188).

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

13 years agoFixed: partial toc when text contains pre tags (#7172).
Jean-Philippe Lang [Wed, 29 Dec 2010 18:21:22 +0000 (18:21 +0000)]
Fixed: partial toc when text contains pre tags (#7172).

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

13 years agoFixed: cvs diff broken by r4539 (#7176).
Jean-Philippe Lang [Wed, 29 Dec 2010 17:46:47 +0000 (17:46 +0000)]
Fixed: cvs diff broken by r4539 (#7176).

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

13 years agoFixed: CLI-supplied defaults should not be applied when replying to an issue (#7195).
Jean-Philippe Lang [Wed, 29 Dec 2010 17:38:57 +0000 (17:38 +0000)]
Fixed: CLI-supplied defaults should not be applied when replying to an issue (#7195).

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