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

13 years agoAdds a method to temporarily override configuration settings.
Jean-Philippe Lang [Fri, 25 Feb 2011 14:30:05 +0000 (14:30 +0000)]
Adds a method to temporarily override configuration settings.

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

13 years agoBulgarian translation update by Ivan Cenov.
Jean-Philippe Lang [Thu, 24 Feb 2011 18:09:36 +0000 (18:09 +0000)]
Bulgarian translation update by Ivan Cenov.

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

13 years agoRemoves obsolete code from Opera pseudo right click (#7700).
Jean-Philippe Lang [Thu, 24 Feb 2011 17:56:17 +0000 (17:56 +0000)]
Removes obsolete code from Opera pseudo right click (#7700).

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

13 years agoDo not responde with javascript on regular requests.
Jean-Philippe Lang [Thu, 24 Feb 2011 17:52:38 +0000 (17:52 +0000)]
Do not responde with javascript on regular requests.

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

13 years agoscm: git: add flag of disable showing last commit in repository tree (#7047).
Toshi MARUYAMA [Thu, 24 Feb 2011 13:01:13 +0000 (13:01 +0000)]
scm: git: add flag of disable showing last commit in repository tree (#7047).

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

13 years agoscm: filesystem: fix mistake of respository select box on r4943 (#2274).
Toshi MARUYAMA [Thu, 24 Feb 2011 07:00:41 +0000 (07:00 +0000)]
scm: filesystem: fix mistake of respository select box on r4943 (#2274).

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

13 years agoscm: filesystem: add path encoding select item (#2274).
Toshi MARUYAMA [Thu, 24 Feb 2011 05:59:42 +0000 (05:59 +0000)]
scm: filesystem: add path encoding select item (#2274).

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

13 years agoscm: code clean up repositories_helper.rb.
Toshi MARUYAMA [Thu, 24 Feb 2011 05:59:21 +0000 (05:59 +0000)]
scm: code clean up repositories_helper.rb.

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

13 years agoscm: update adapter initialize() to use path encoding (#2664, #2274).
Toshi MARUYAMA [Thu, 24 Feb 2011 05:58:59 +0000 (05:58 +0000)]
scm: update adapter initialize() to use path encoding (#2664, #2274).

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

13 years agoscm: add "path_encoding" column in repositories table (#2664, #2274).
Toshi MARUYAMA [Thu, 24 Feb 2011 05:58:37 +0000 (05:58 +0000)]
scm: add "path_encoding" column in repositories table (#2664, #2274).

Contributed by Yuya Nishihara.

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

13 years agoscm: cvs: fix CVS diffs do not handle new files properly (#7615).
Toshi MARUYAMA [Thu, 24 Feb 2011 04:03:43 +0000 (04:03 +0000)]
scm: cvs: fix CVS diffs do not handle new files properly (#7615).

Contributed by Jim Naslund.

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

13 years agoscm: use "ASCII-8BIT" in IO.popen() in Ruby 1.9.
Toshi MARUYAMA [Thu, 24 Feb 2011 04:03:16 +0000 (04:03 +0000)]
scm: use "ASCII-8BIT" in IO.popen() in Ruby 1.9.

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

13 years agoAdds tasks for locales maintenance.
Jean-Philippe Lang [Wed, 23 Feb 2011 18:03:33 +0000 (18:03 +0000)]
Adds tasks for locales maintenance.

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

13 years agoAdds random salt to user passwords (#7410).
Jean-Philippe Lang [Wed, 23 Feb 2011 17:27:31 +0000 (17:27 +0000)]
Adds random salt to user passwords (#7410).

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

13 years agoFixed: Bulk editing menu non-functional in Opera browser (#3132).
Jean-Philippe Lang [Wed, 23 Feb 2011 16:55:32 +0000 (16:55 +0000)]
Fixed: Bulk editing menu non-functional in Opera browser (#3132).

Contributed by Claudio Acciaresi.

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

13 years agoscm: mercurial: replace urllib.unquote to urllib.unquote_plus in helper (#4455).
Toshi MARUYAMA [Wed, 23 Feb 2011 11:38:23 +0000 (11:38 +0000)]
scm: mercurial: replace urllib.unquote to urllib.unquote_plus in helper (#4455).

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

13 years agoscm: mercurial: remove unused rhannotate command options in helper.
Toshi MARUYAMA [Wed, 23 Feb 2011 07:57:33 +0000 (07:57 +0000)]
scm: mercurial: remove unused rhannotate command options in helper.

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

13 years agoscm: add unit RepositoryHelper test for Ruby 1.9 compatibility.
Toshi MARUYAMA [Wed, 23 Feb 2011 07:04:52 +0000 (07:04 +0000)]
scm: add unit RepositoryHelper test for Ruby 1.9 compatibility.

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

13 years agoscm: mercurial: annotate path encoding support in adapter (#2664).
Toshi MARUYAMA [Wed, 23 Feb 2011 07:04:32 +0000 (07:04 +0000)]
scm: mercurial: annotate path encoding support in adapter (#2664).

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

13 years agoscm: mercurial: annotate path encoding support in helper (#2664).
Toshi MARUYAMA [Wed, 23 Feb 2011 07:04:12 +0000 (07:04 +0000)]
scm: mercurial: annotate path encoding support in helper (#2664).

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

13 years agoscm: fix diffs do not handle one line new files properly (#7618).
Toshi MARUYAMA [Wed, 23 Feb 2011 07:03:45 +0000 (07:03 +0000)]
scm: fix diffs do not handle one line new files properly (#7618).

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

13 years agoscm: mercurial: path encoding support for "cat" in adapter (#2664).
Toshi MARUYAMA [Wed, 23 Feb 2011 00:34:27 +0000 (00:34 +0000)]
scm: mercurial: path encoding support for "cat" in adapter (#2664).

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

13 years agoscm: mercurial: change some newlines in mercurial_adapter.rb CRLF to LF.
Toshi MARUYAMA [Tue, 22 Feb 2011 14:29:09 +0000 (14:29 +0000)]
scm: mercurial: change some newlines in mercurial_adapter.rb CRLF to LF.

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

13 years agoscm: for log in Ruby 1.9, replace invalid UTF-8 to '?' instead of removing.
Toshi MARUYAMA [Tue, 22 Feb 2011 13:39:37 +0000 (13:39 +0000)]
scm: for log in Ruby 1.9, replace invalid UTF-8 to '?' instead of removing.

Refer r3466 #4773.

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

13 years agoscm: Ruby 1.9 compatibility for log.
Toshi MARUYAMA [Tue, 22 Feb 2011 13:39:12 +0000 (13:39 +0000)]
scm: Ruby 1.9 compatibility for log.

Remove assuming UTF-8 is valid.
"\xC2\x80" of latin-1(iso-8859-1) is valid sequence of UTF-8.

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

13 years agoscm: fix unit changeset_test.rb test methods calls randomly.
Toshi MARUYAMA [Tue, 22 Feb 2011 12:16:08 +0000 (12:16 +0000)]
scm: fix unit changeset_test.rb test methods calls randomly.

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

13 years agoscm: mercurial: log and entries path encoding support in adapter (#2664).
Toshi MARUYAMA [Tue, 22 Feb 2011 08:47:19 +0000 (08:47 +0000)]
scm: mercurial: log and entries path encoding support in adapter (#2664).

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

13 years agoscm: Ruby 1.9 compatibility for diff, cat and blame (#2664).
Toshi MARUYAMA [Tue, 22 Feb 2011 08:29:35 +0000 (08:29 +0000)]
scm: Ruby 1.9 compatibility for diff, cat and blame (#2664).

"\xC2\x80" of latin1(iso-8859-1) is valid sequence of UTF-8.
to_utf8() should not return string if it is UTF-8 valid_encoding.

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

13 years agoscm: Ruby 1.9 compatibility for browsing repository tree (#2664, #2274).
Toshi MARUYAMA [Tue, 22 Feb 2011 08:16:05 +0000 (08:16 +0000)]
scm: Ruby 1.9 compatibility for browsing repository tree (#2664, #2274).

If repository path is not UTF-8, Ruby 1.9 shows trace.

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

13 years agoscm: Ruby 1.9 compatibility in getting scm version (#4273).
Toshi MARUYAMA [Tue, 22 Feb 2011 08:05:51 +0000 (08:05 +0000)]
scm: Ruby 1.9 compatibility in getting scm version (#4273).

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

13 years agoscm: mercurial: override initialize() for path encoding (#2664).
Toshi MARUYAMA [Tue, 22 Feb 2011 08:05:29 +0000 (08:05 +0000)]
scm: mercurial: override initialize() for path encoding (#2664).

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

13 years agoscm: git: Ruby 1.9 compatibility of adapter test (#3396).
Toshi MARUYAMA [Tue, 22 Feb 2011 00:40:02 +0000 (00:40 +0000)]
scm: git: Ruby 1.9 compatibility of adapter test (#3396).

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

13 years agoMoves scm path configuration examples in comments.
Jean-Philippe Lang [Mon, 21 Feb 2011 17:40:54 +0000 (17:40 +0000)]
Moves scm path configuration examples in comments.

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

13 years agoExtracts gantt subjects styles to css (#7280).
Jean-Philippe Lang [Mon, 21 Feb 2011 17:10:15 +0000 (17:10 +0000)]
Extracts gantt subjects styles to css (#7280).

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

13 years agoRemoved .settings folder (#7676).
Jean-Philippe Lang [Mon, 21 Feb 2011 15:26:43 +0000 (15:26 +0000)]
Removed .settings folder (#7676).

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

13 years agoAdds full subject as gantt subject title (#7280).
Jean-Philippe Lang [Mon, 21 Feb 2011 15:17:52 +0000 (15:17 +0000)]
Adds full subject as gantt subject title (#7280).

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

13 years agoPrevent text wrap in gantt subjects (#7280).
Jean-Philippe Lang [Mon, 21 Feb 2011 15:06:11 +0000 (15:06 +0000)]
Prevent text wrap in gantt subjects (#7280).

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

13 years agoscm: prevent diff shows trace if UTF-8 is invalid in Ruby 1.9.
Toshi MARUYAMA [Mon, 21 Feb 2011 14:28:41 +0000 (14:28 +0000)]
scm: prevent diff shows trace if UTF-8 is invalid in Ruby 1.9.

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

13 years agoMakes filters behaviour consistent with the issue list.
Jean-Philippe Lang [Mon, 21 Feb 2011 14:02:22 +0000 (14:02 +0000)]
Makes filters behaviour consistent with the issue list.

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

13 years agoMakes title/filters consistent with the issue list.
Jean-Philippe Lang [Mon, 21 Feb 2011 13:58:08 +0000 (13:58 +0000)]
Makes title/filters consistent with the issue list.

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

13 years agoPreserve Issues/Gantt/Calendar tab when displaying a saved query (#7605).
Jean-Philippe Lang [Mon, 21 Feb 2011 13:52:19 +0000 (13:52 +0000)]
Preserve Issues/Gantt/Calendar tab when displaying a saved query (#7605).

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

13 years agoSplits private/public issue queries in the sidebar (#1067).
Jean-Philippe Lang [Mon, 21 Feb 2011 13:34:33 +0000 (13:34 +0000)]
Splits private/public issue queries in the sidebar (#1067).

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

13 years agoscm: filesystem: refactor for path encoding (#2274).
Toshi MARUYAMA [Mon, 21 Feb 2011 12:10:39 +0000 (12:10 +0000)]
scm: filesystem: refactor for path encoding (#2274).

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

13 years agoscm: add "scm_iconv" method for repository path encoding in abstract_adapter.rb ...
Toshi MARUYAMA [Mon, 21 Feb 2011 12:10:16 +0000 (12:10 +0000)]
scm: add "scm_iconv" method for repository path encoding in abstract_adapter.rb (#2664, #2274).

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

13 years agoUpdgraded Rails to 2.3.11 (#6887).
Jean-Philippe Lang [Mon, 21 Feb 2011 11:02:18 +0000 (11:02 +0000)]
Updgraded Rails to 2.3.11 (#6887).

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

13 years agoAdded Persian translation contributed by Behrang Noroozinia (#7418).
Jean-Philippe Lang [Mon, 21 Feb 2011 10:08:59 +0000 (10:08 +0000)]
Added Persian translation contributed by Behrang Noroozinia (#7418).

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

13 years agoFills locales with new strings.
Jean-Philippe Lang [Mon, 21 Feb 2011 10:02:47 +0000 (10:02 +0000)]
Fills locales with new strings.

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

13 years agoUpdated basque and czech translations. Contributed by Ales Zabala Alava and Michal...
Jean-Philippe Lang [Mon, 21 Feb 2011 10:01:47 +0000 (10:01 +0000)]
Updated basque and czech translations. Contributed by Ales Zabala Alava and Michal Gebauer.

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

13 years agoWarning on leaving a page with unsaved content in textarea (#2910).
Jean-Philippe Lang [Mon, 21 Feb 2011 09:53:29 +0000 (09:53 +0000)]
Warning on leaving a page with unsaved content in textarea (#2910).

The warning can be turned off in the user's preference.

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

13 years agoscm: add CP932 at Setting::ENCODINGS (#2664, #2274).
Toshi MARUYAMA [Mon, 21 Feb 2011 09:41:34 +0000 (09:41 +0000)]
scm: add CP932 at Setting::ENCODINGS (#2664, #2274).

CP932 is variant Japanese Shift_JIS on Windows.

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

13 years agoscm: mercurial: add 'rhcat' function using URL encoding in mercurial helper extension...
Toshi MARUYAMA [Mon, 21 Feb 2011 04:00:12 +0000 (04:00 +0000)]
scm: mercurial: add 'rhcat' function using URL encoding in mercurial helper extension (#2664).

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

13 years agoRuby 1.9 compatibility of unified_diff.rb.
Toshi MARUYAMA [Mon, 21 Feb 2011 03:59:50 +0000 (03:59 +0000)]
Ruby 1.9 compatibility of unified_diff.rb.

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

13 years agoscm: subversion: change some functional tests project id from 1 to 3.
Toshi MARUYAMA [Mon, 21 Feb 2011 03:59:30 +0000 (03:59 +0000)]
scm: subversion: change some functional tests project id from 1 to 3.

TODO: remaining tests read fixture. All tests need to read test repository.

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

13 years agoAllow additional workflow transitions for issue author and assignee (#2732).
Jean-Philippe Lang [Sun, 20 Feb 2011 15:38:07 +0000 (15:38 +0000)]
Allow additional workflow transitions for issue author and assignee (#2732).

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

13 years agoFixed: date part of the time default format doesn't respect the date format (#7639).
Jean-Philippe Lang [Sun, 20 Feb 2011 14:56:37 +0000 (14:56 +0000)]
Fixed: date part of the time default format doesn't respect the date format (#7639).

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