]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoscm: git: change core.quotepath to false in test repository config (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 23:18:27 +0000 (23:18 +0000)]
scm: git: change core.quotepath to false in test repository config (#5251).

The -c option was introduced in git version (1.7.2)
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.txt

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

13 years agoscm: git: add reverse log test in unit adapter test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 15:05:41 +0000 (15:05 +0000)]
scm: git: add reverse log test in unit adapter test (#5357).

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

13 years agoscm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 13:22:53 +0000 (13:22 +0000)]
scm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale (#5251).

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

13 years agoscm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 12:45:32 +0000 (12:45 +0000)]
scm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale (#5251).

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

13 years agoscm: git: add path encoding select box at setting (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 12:08:56 +0000 (12:08 +0000)]
scm: git: add path encoding select box at setting (#5251).

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

13 years agoscm: git: add latin-1 encoding directory test in unit model test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 12:08:35 +0000 (12:08 +0000)]
scm: git: add latin-1 encoding directory test in unit model test (#5251).

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

13 years agoscm: git: add latin-1 encoding directory test in unit adapter test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 12:08:14 +0000 (12:08 +0000)]
scm: git: add latin-1 encoding directory test in unit adapter test (#5251).

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

13 years agoscm: git: fix latin-1 directory entries() in adapter (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 11:13:18 +0000 (11:13 +0000)]
scm: git: fix latin-1 directory entries() in adapter (#5251).

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

13 years agoscm: git: add latin-1 encoding directory to test repository (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 11:01:51 +0000 (11:01 +0000)]
scm: git: add latin-1 encoding directory to test repository (#5251).

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

13 years agoscm: mercurial: add latin-1 encoding directory to test repository (#2664).
Toshi MARUYAMA [Tue, 8 Mar 2011 10:35:48 +0000 (10:35 +0000)]
scm: mercurial: add latin-1 encoding directory to test repository (#2664).

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

13 years agoscm: git: add latest changesets path encoding test in unit model test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:41:25 +0000 (07:41 +0000)]
scm: git: add latest changesets path encoding test in unit model test (#5251).

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

13 years agoscm: git: prepare path encoding test in unit model test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:41:04 +0000 (07:41 +0000)]
scm: git: prepare path encoding test in unit model test (#5251).

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

13 years agoscm: git: add latest changesets branch test in unit model test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:06:46 +0000 (07:06 +0000)]
scm: git: add latest changesets branch test in unit model test (#5357).

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

13 years agoscm: git: add latest changesets tag test in unit model test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:06:25 +0000 (07:06 +0000)]
scm: git: add latest changesets tag test in unit model test (#5357).

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

13 years agoscm: git: add latest changesets limit test in unit model test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:06:04 +0000 (07:06 +0000)]
scm: git: add latest changesets limit test in unit model test (#5357).

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

13 years agoscm: git: remove Setting.commit_logs_encoding from unit model test.
Toshi MARUYAMA [Tue, 8 Mar 2011 06:50:29 +0000 (06:50 +0000)]
scm: git: remove Setting.commit_logs_encoding from unit model test.

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

13 years agoscm: git: add latest changesets test in unit model test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 06:50:05 +0000 (06:50 +0000)]
scm: git: add latest changesets test in unit model test (#5357).

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

13 years agoscm: git: prepare path encoding test in unit model test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 06:49:44 +0000 (06:49 +0000)]
scm: git: prepare path encoding test in unit model test (#5251).

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

13 years agoscm: git: add tests for path encoding entries() in unit adapter test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 06:38:23 +0000 (06:38 +0000)]
scm: git: add tests for path encoding entries() in unit adapter test (#5251).

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

13 years agoscm: git: add core.quotepath = false to run git command (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 06:38:00 +0000 (06:38 +0000)]
scm: git: add core.quotepath = false to run git command (#5251).

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

13 years agoscm: git: add tests for branch entries() in unit adapter test.
Toshi MARUYAMA [Tue, 8 Mar 2011 06:37:39 +0000 (06:37 +0000)]
scm: git: add tests for branch entries() in unit adapter test.

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

13 years agoscm: git: add tests for tag entries() in unit adapter test.
Toshi MARUYAMA [Tue, 8 Mar 2011 06:37:18 +0000 (06:37 +0000)]
scm: git: add tests for tag entries() in unit adapter test.

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

13 years agoscm: git: use scm_cmd() in adapter tags().
Toshi MARUYAMA [Tue, 8 Mar 2011 06:10:53 +0000 (06:10 +0000)]
scm: git: use scm_cmd() in adapter tags().

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

13 years agoscm: git: add tags test in unit adapter test.
Toshi MARUYAMA [Tue, 8 Mar 2011 06:10:30 +0000 (06:10 +0000)]
scm: git: add tags test in unit adapter test.

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

13 years agoscm: git: add tests for path encoding cat, diff and blame in unit adapter test (...
Toshi MARUYAMA [Tue, 8 Mar 2011 06:10:07 +0000 (06:10 +0000)]
scm: git: add tests for path encoding cat, diff and blame in unit adapter test (#5251).

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

13 years agoscm: git: use scm_cmd() in adapter branches().
Toshi MARUYAMA [Tue, 8 Mar 2011 05:18:04 +0000 (05:18 +0000)]
scm: git: use scm_cmd() in adapter branches().

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

13 years agoscm: git: support path encoding in adapter cat (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 05:17:43 +0000 (05:17 +0000)]
scm: git: support path encoding in adapter cat (#5251).

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

13 years agoscm: git: support path encoding in adapter blame (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 05:17:22 +0000 (05:17 +0000)]
scm: git: support path encoding in adapter blame (#5251).

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

13 years agoscm: git: support path encoding in adapter entries() (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 04:50:48 +0000 (04:50 +0000)]
scm: git: support path encoding in adapter entries() (#5251).

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

13 years agoscm: git: support path encoding in adapter diff (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 04:50:28 +0000 (04:50 +0000)]
scm: git: support path encoding in adapter diff (#5251).

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

13 years agoscm: git: support path encoding in adapter revisions() (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 04:50:06 +0000 (04:50 +0000)]
scm: git: support path encoding in adapter revisions() (#5251).

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

13 years agoscm: git: add two tags to test repository.
Toshi MARUYAMA [Tue, 8 Mar 2011 03:52:33 +0000 (03:52 +0000)]
scm: git: add two tags to test repository.

One is lightweight, another is annotated.

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

13 years agoscm: git: convert path encoding in "git log" (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 03:29:58 +0000 (03:29 +0000)]
scm: git: convert path encoding in "git log" (#5251).

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

13 years agoscm: git: add instance variable for path encoding in adapter (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 03:29:36 +0000 (03:29 +0000)]
scm: git: add instance variable for path encoding in adapter (#5251).

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

13 years agoscm: git: code clean up adapter.
Toshi MARUYAMA [Tue, 8 Mar 2011 03:29:11 +0000 (03:29 +0000)]
scm: git: code clean up adapter.

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

13 years agoscm: git: update test repository for path encoding (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 23:47:25 +0000 (23:47 +0000)]
scm: git: update test repository for path encoding (#5251).

Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

Please see r4996 comment.

I removed a revision including "copied file" from r5026 test repository.
Mercurial supports "copy", but Git does not support.

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

13 years agoCHANGELOG updated.
Jean-Philippe Lang [Mon, 7 Mar 2011 19:26:24 +0000 (19:26 +0000)]
CHANGELOG updated.

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

13 years agoscm: git: remove "core.quotepath = true" to run git command (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 14:09:29 +0000 (14:09 +0000)]
scm: git: remove "core.quotepath = true" to run git command (#5251).

If path encoding is UTF-8, git adapter may run on Linux.

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

13 years agoscm: git: use core.quotepath = true to run git command for database safety (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 13:46:42 +0000 (13:46 +0000)]
scm: git: use core.quotepath = true to run git command for database safety (#5251).

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

13 years agoscm: git: backout r5026 (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 13:46:21 +0000 (13:46 +0000)]
scm: git: backout r5026 (#5251).

In case git repository contains latin-1 path,
although Redmine uses "git log -C core.quotepath=false --encoding=UTF-8",
log encoding is latin-1.

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

13 years agoscm: git: update test repository for path encoding (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 13:15:04 +0000 (13:15 +0000)]
scm: git: update test repository for path encoding (#5251).

Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

Please see r4996 comment.

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

13 years agoscm: git: change core.quotepath = true temporarily to run git command (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 13:14:44 +0000 (13:14 +0000)]
scm: git: change core.quotepath = true temporarily to run git command  (#5251).

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

13 years agoscm: git: add core.quotepath = false to run git command (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 12:42:14 +0000 (12:42 +0000)]
scm: git: add core.quotepath = false to run git command (#5251).

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

13 years agoscm: git: add core.quotepath = true in test repository config (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 12:41:52 +0000 (12:41 +0000)]
scm: git: add core.quotepath = true in test repository config (#5251).

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

13 years agoFixed: error on JournalsController#index when custom fields are present (#7795).
Jean-Philippe Lang [Sun, 6 Mar 2011 16:04:35 +0000 (16:04 +0000)]
Fixed: error on JournalsController#index when custom fields are present (#7795).

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

13 years agoUpdates for 1.1.2 release.
Jean-Philippe Lang [Sun, 6 Mar 2011 13:18:33 +0000 (13:18 +0000)]
Updates for 1.1.2 release.

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

13 years agoTranslations updates.
Jean-Philippe Lang [Sun, 6 Mar 2011 13:01:46 +0000 (13:01 +0000)]
Translations updates.

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

13 years agoAdds new string to locales.
Jean-Philippe Lang [Fri, 4 Mar 2011 15:34:03 +0000 (15:34 +0000)]
Adds new string to locales.

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

13 years agoVersion list style updated.
Jean-Philippe Lang [Fri, 4 Mar 2011 15:25:51 +0000 (15:25 +0000)]
Version list style updated.

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

13 years agoFixed: Login page should not show projects link and search box if authentication...
Jean-Philippe Lang [Fri, 4 Mar 2011 15:14:24 +0000 (15:14 +0000)]
Fixed: Login page should not show projects link and search box if authentication is required (#3715).

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

13 years agoRemoves duplicate DOM id in custom field form.
Jean-Philippe Lang [Fri, 4 Mar 2011 14:55:33 +0000 (14:55 +0000)]
Removes duplicate DOM id in custom field form.

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

13 years agoExtends custom field possible values textarea.
Jean-Philippe Lang [Fri, 4 Mar 2011 14:52:47 +0000 (14:52 +0000)]
Extends custom field possible values textarea.

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

13 years agoFixed: Email notifications are sent to watchers even if 'No events' setting is chosen...
Jean-Philippe Lang [Fri, 4 Mar 2011 14:43:53 +0000 (14:43 +0000)]
Fixed: Email notifications are sent to watchers even if 'No events' setting is chosen (#7763).

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

13 years agoAdds email notifications support for news comments (#2074).
Jean-Philippe Lang [Fri, 4 Mar 2011 14:32:58 +0000 (14:32 +0000)]
Adds email notifications support for news comments (#2074).

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

13 years agoscm: mercurial: add changesets order test in unit model test (#5357).
Toshi MARUYAMA [Fri, 4 Mar 2011 14:03:19 +0000 (14:03 +0000)]
scm: mercurial: add changesets order test in unit model test (#5357).

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

13 years agoscm: mercurial: add path encoding select box at setting (#2664).
Toshi MARUYAMA [Fri, 4 Mar 2011 13:39:00 +0000 (13:39 +0000)]
scm: mercurial: add path encoding select box at setting (#2664).

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

13 years agoscm: mercurial: add path encoding tests in functional test (#2664, #4050).
Toshi MARUYAMA [Fri, 4 Mar 2011 11:07:58 +0000 (11:07 +0000)]
scm: mercurial: add path encoding tests in functional test (#2664, #4050).

TODO: This test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.

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

13 years agoscm: mercurial: additional unit model tests for path encoding (#2664).
Toshi MARUYAMA [Fri, 4 Mar 2011 08:08:32 +0000 (08:08 +0000)]
scm: mercurial: additional unit model tests for path encoding (#2664).

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

13 years agoscm: mercurial: add unit adapter test repository for path contains space (#2664,...
Toshi MARUYAMA [Fri, 4 Mar 2011 08:08:13 +0000 (08:08 +0000)]
scm: mercurial: add unit adapter test repository for path contains space (#2664, #4455).

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

13 years agoscm: mercurial: update test repository for path contains space (#2664, #4455).
Toshi MARUYAMA [Fri, 4 Mar 2011 08:07:53 +0000 (08:07 +0000)]
scm: mercurial: update test repository for path contains space (#2664, #4455).

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

13 years agoscm: mercurial: update test repository for path encoding (#2664).
Toshi MARUYAMA [Fri, 4 Mar 2011 04:25:48 +0000 (04:25 +0000)]
scm: mercurial: update test repository for path encoding (#2664).

Mercurial (and also Git) treats file names as byte string.
This mercurial test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

If your Windows is not Latin-1 Windows,
in order to checkout(update) Latin-1 path,
You need to use cygwin 1.7 and set LANG=en_US.ISO-8859-1.

Please refer.
http://mercurial.selenic.com/wiki/EncodingStrategy?action=recall&rev=6

Redmine mercurial adapter do not need to checkout(update) repository.
Mercurial does not have "bare" repository such as Git.
You can use "hg update null" for equivalent "bare" repository.

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

13 years agoscm: mercurial: convert copied file path encoding (#2664).
Toshi MARUYAMA [Thu, 3 Mar 2011 12:44:14 +0000 (12:44 +0000)]
scm: mercurial: convert copied file path encoding (#2664).

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

13 years agoscm: mercurial: remove localtime from adapter (#4455).
Toshi MARUYAMA [Thu, 3 Mar 2011 12:11:23 +0000 (12:11 +0000)]
scm: mercurial: remove localtime from adapter (#4455).

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

13 years agoscm: Ruby 1.9 compatibility for XML UTF-8 parsing.
Toshi MARUYAMA [Thu, 3 Mar 2011 05:51:46 +0000 (05:51 +0000)]
scm: Ruby 1.9 compatibility for XML UTF-8 parsing.

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

13 years agoscm: fix unit tests fails in Ruby 1.9.
Toshi MARUYAMA [Thu, 3 Mar 2011 05:32:33 +0000 (05:32 +0000)]
scm: fix unit tests fails in Ruby 1.9.

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

13 years agoscm: mercurial: code clean up unit model test.
Toshi MARUYAMA [Thu, 3 Mar 2011 03:35:13 +0000 (03:35 +0000)]
scm: mercurial: code clean up unit model test.

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

13 years agoscm: code clean up repositories_helper.rb.
Toshi MARUYAMA [Thu, 3 Mar 2011 03:30:10 +0000 (03:30 +0000)]
scm: code clean up repositories_helper.rb.

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

13 years agoscm: mercurial: wrap revison, tag and branch with URL encoding for entries (#4455...
Toshi MARUYAMA [Wed, 2 Mar 2011 10:17:36 +0000 (10:17 +0000)]
scm: mercurial: wrap revison, tag and branch with URL encoding for entries (#4455, #1981, #7246).

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

13 years agoscm: filesystem: add note "Default: UTF-8" in path encoding setting (#2274).
Toshi MARUYAMA [Wed, 2 Mar 2011 07:11:00 +0000 (07:11 +0000)]
scm: filesystem: add note "Default: UTF-8" in path encoding setting (#2274).

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

13 years agoscm: subversion: add changesets order test in unit model test (#5357).
Toshi MARUYAMA [Wed, 2 Mar 2011 07:10:39 +0000 (07:10 +0000)]
scm: subversion: add changesets order test in unit model test (#5357).

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

13 years agoscm: git: add more tests in fetch changesets incremental unit model test (#5357).
Toshi MARUYAMA [Wed, 2 Mar 2011 05:12:39 +0000 (05:12 +0000)]
scm: git: add more tests in fetch changesets incremental unit model test (#5357).

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

13 years agoscm: code clean up repositories_helper.rb.
Toshi MARUYAMA [Wed, 2 Mar 2011 05:12:15 +0000 (05:12 +0000)]
scm: code clean up repositories_helper.rb.

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

13 years agoscm: code clean up test/unit/changeset_test.rb.
Toshi MARUYAMA [Tue, 1 Mar 2011 15:35:27 +0000 (15:35 +0000)]
scm: code clean up test/unit/changeset_test.rb.

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

13 years agoscm: remove global repository log encoding setting from view (#1735).
Toshi MARUYAMA [Tue, 1 Mar 2011 10:27:51 +0000 (10:27 +0000)]
scm: remove global repository log encoding setting from view (#1735).

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

13 years agoscm: add feature of per project repository log encoding setting (#1735).
Toshi MARUYAMA [Tue, 1 Mar 2011 10:27:30 +0000 (10:27 +0000)]
scm: add feature of per project repository log encoding setting (#1735).

Subversion, Mercurial and Git supports UTF-8 log.

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

13 years agoscm: copy global log encoding setting to repository (#1735).
Toshi MARUYAMA [Tue, 1 Mar 2011 10:14:47 +0000 (10:14 +0000)]
scm: copy global log encoding setting to repository (#1735).

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

13 years agoscm: add log_encoding column to repositories table (#1735).
Toshi MARUYAMA [Tue, 1 Mar 2011 09:47:06 +0000 (09:47 +0000)]
scm: add log_encoding column to repositories table (#1735).

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

13 years agoscm: darcs: refactor functional test.
Toshi MARUYAMA [Tue, 1 Mar 2011 07:38:05 +0000 (07:38 +0000)]
scm: darcs: refactor functional test.

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

13 years agoscm: darcs: change project id of unit app test from 1 to 3.
Toshi MARUYAMA [Tue, 1 Mar 2011 07:12:56 +0000 (07:12 +0000)]
scm: darcs: change project id of unit app test from 1 to 3.

Project id 1 has Subversion fixtures.

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

13 years agoscm: bazaar: change project id of unit app test from 1 to 3.
Toshi MARUYAMA [Tue, 1 Mar 2011 07:03:21 +0000 (07:03 +0000)]
scm: bazaar: change project id of unit app test from 1 to 3.

Project id 1 has Subversion fixtures.

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

13 years agoscm: code clean up at test/unit/changeset_test.rb.
Toshi MARUYAMA [Tue, 1 Mar 2011 05:49:14 +0000 (05:49 +0000)]
scm: code clean up at test/unit/changeset_test.rb.

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

13 years agoscm: add scm specific human_attribute_name for input validation.
Toshi MARUYAMA [Tue, 1 Mar 2011 05:14:03 +0000 (05:14 +0000)]
scm: add scm specific human_attribute_name for input validation.

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

13 years agoscm: add notes "local repository" in Git and Mercurial setting.
Toshi MARUYAMA [Tue, 1 Mar 2011 04:43:30 +0000 (04:43 +0000)]
scm: add notes "local repository" in Git and Mercurial setting.

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

13 years agoStringify avatar to prevent "can't convert nil into String" errors on gantt (#7317).
Jean-Philippe Lang [Mon, 28 Feb 2011 20:23:28 +0000 (20:23 +0000)]
Stringify avatar to prevent "can't convert nil into String" errors on gantt (#7317).

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

13 years agoEscapes body css classes.
Jean-Philippe Lang [Mon, 28 Feb 2011 16:44:02 +0000 (16:44 +0000)]
Escapes body css classes.

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

13 years agoscm: git: use --encoding=UTF-8 in "git log" (#3396).
Toshi MARUYAMA [Mon, 28 Feb 2011 14:12:47 +0000 (14:12 +0000)]
scm: git: use --encoding=UTF-8 in "git log" (#3396).

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

13 years agoscm: git: refactor lastrev() in adapter.
Toshi MARUYAMA [Mon, 28 Feb 2011 14:12:24 +0000 (14:12 +0000)]
scm: git: refactor lastrev() in adapter.

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

13 years agoscm: ignore log encoding setting in Subversion and Mercurial (#7597).
Toshi MARUYAMA [Mon, 28 Feb 2011 12:09:32 +0000 (12:09 +0000)]
scm: ignore log encoding setting in Subversion and Mercurial (#7597).

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

13 years agoscm: refactor scm log encoding test (#1735, #3396, #7597).
Toshi MARUYAMA [Mon, 28 Feb 2011 10:03:09 +0000 (10:03 +0000)]
scm: refactor scm log encoding test (#1735, #3396, #7597).

Bazaar log depends on locale.
On Japanese Windows, standard out is CP932.

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

13 years agoscm: return if str.blank? in to_utf8(str).
Toshi MARUYAMA [Mon, 28 Feb 2011 08:03:43 +0000 (08:03 +0000)]
scm: return if str.blank? in to_utf8(str).

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

13 years agoscm: git: move saving changesets from adapter to model (#3396).
Toshi MARUYAMA [Mon, 28 Feb 2011 04:46:42 +0000 (04:46 +0000)]
scm: git: move saving changesets from adapter to model (#3396).

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

13 years agoFixes a failing test.
Jean-Philippe Lang [Sun, 27 Feb 2011 15:51:10 +0000 (15:51 +0000)]
Fixes a failing test.

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

13 years agoscm: mercurial: change project id of unit app test from 1 to 3.
Toshi MARUYAMA [Sun, 27 Feb 2011 13:50:00 +0000 (13:50 +0000)]
scm: mercurial: change project id of unit app test from 1 to 3.

Project id 1 has Subversion fixtures.

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

13 years agoscm: git: add utf-8 log test in app unit test (#3396).
Toshi MARUYAMA [Sun, 27 Feb 2011 13:49:37 +0000 (13:49 +0000)]
scm: git: add utf-8 log test in app unit test (#3396).

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

13 years agoAdds new string to locales.
Jean-Philippe Lang [Sun, 27 Feb 2011 13:43:18 +0000 (13:43 +0000)]
Adds new string to locales.

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

13 years agoKeep track of issue description changes (#746).
Jean-Philippe Lang [Sun, 27 Feb 2011 13:34:41 +0000 (13:34 +0000)]
Keep track of issue description changes (#746).

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

13 years agoFixes wiki diff rendering.
Jean-Philippe Lang [Sun, 27 Feb 2011 12:50:47 +0000 (12:50 +0000)]
Fixes wiki diff rendering.

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

13 years agoExtracts a diff helper from the WikiDiff class.
Jean-Philippe Lang [Sun, 27 Feb 2011 12:35:31 +0000 (12:35 +0000)]
Extracts a diff helper from the WikiDiff class.

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

13 years agoFixes syntax for time logging in commit messages (#7630, #7718).
Jean-Philippe Lang [Sat, 26 Feb 2011 14:46:19 +0000 (14:46 +0000)]
Fixes syntax for time logging in commit messages (#7630, #7718).

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

13 years agoAdds support for SCM/LDAP passwords encryption in the database (#7411).
Jean-Philippe Lang [Sat, 26 Feb 2011 13:09:25 +0000 (13:09 +0000)]
Adds support for SCM/LDAP passwords encryption in the database (#7411).

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