]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoscm: mercurial: fix exception operation in adapter all methods using xml and io.read...
Toshi MARUYAMA [Fri, 18 Feb 2011 14:49:31 +0000 (14:49 +0000)]
scm: mercurial: fix exception operation in adapter all methods using xml and io.read (#4455).

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

13 years agoscm: mercurial: simplify fixing exception operation in adapter "summary" method ...
Toshi MARUYAMA [Fri, 18 Feb 2011 14:49:09 +0000 (14:49 +0000)]
scm: mercurial: simplify fixing exception operation in adapter "summary" method (#4455).

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

13 years agoscm: mercurial: fix exception operation in adapter "summary" method (#4455).
Toshi MARUYAMA [Fri, 18 Feb 2011 12:44:43 +0000 (12:44 +0000)]
scm: mercurial: fix exception operation in adapter "summary" method (#4455).

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

13 years agoscm: mercurial: unit test for named branches at adapter (#7246).
Toshi MARUYAMA [Fri, 18 Feb 2011 07:15:58 +0000 (07:15 +0000)]
scm: mercurial: unit test for named branches at adapter (#7246).

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

13 years agoscm: mercurial: support named branches at adapter (#7246).
Toshi MARUYAMA [Fri, 18 Feb 2011 07:15:37 +0000 (07:15 +0000)]
scm: mercurial: support named branches at adapter (#7246).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: unit test for tags at adapter (#1981).
Toshi MARUYAMA [Fri, 18 Feb 2011 07:15:13 +0000 (07:15 +0000)]
scm: mercurial: unit test for tags at adapter (#1981).

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

13 years agoscm: mercurial: support tags at adapter (#1981).
Toshi MARUYAMA [Fri, 18 Feb 2011 07:14:51 +0000 (07:14 +0000)]
scm: mercurial: support tags at adapter (#1981).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: temporary disable tags and branches at model (#1981, #7246, #4455).
Toshi MARUYAMA [Fri, 18 Feb 2011 07:14:32 +0000 (07:14 +0000)]
scm: mercurial: temporary disable tags and branches at model (#1981, #7246, #4455).

Until latest_changesets supports tags and branches.

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

13 years agoscm: mercurial: unit app test for latest_changesets SQL "like" special character...
Toshi MARUYAMA [Fri, 18 Feb 2011 05:55:45 +0000 (05:55 +0000)]
scm: mercurial: unit app test for latest_changesets SQL "like" special character '%' and '_'.

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

13 years agoscm: mercurial: unit app test for latest_changeset.
Toshi MARUYAMA [Fri, 18 Feb 2011 05:55:25 +0000 (05:55 +0000)]
scm: mercurial: unit app test for latest_changeset.

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

13 years agoscm: mercurial: improvement latest_changesets without supporting tags and named branc...
Toshi MARUYAMA [Fri, 18 Feb 2011 05:55:02 +0000 (05:55 +0000)]
scm: mercurial: improvement latest_changesets without supporting tags and named branches (#4455).

Based on latest-changesets-improvements-2.diff of #6159.
http://www.redmine.org/attachments/4332/latest-changesets-improvements-2.diff

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: entries unit lib test for named branch (#7246).
Toshi MARUYAMA [Fri, 18 Feb 2011 05:00:07 +0000 (05:00 +0000)]
scm: mercurial: entries unit lib test for named branch (#7246).

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

13 years agoscm: mercurial: entries unit lib test for tag (#1981).
Toshi MARUYAMA [Fri, 18 Feb 2011 04:59:45 +0000 (04:59 +0000)]
scm: mercurial: entries unit lib test for tag (#1981).

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

13 years agoscm: mercurial: remove "TODO" comment and fix indent of unit lib test.
Toshi MARUYAMA [Fri, 18 Feb 2011 04:20:40 +0000 (04:20 +0000)]
scm: mercurial: remove "TODO" comment and fix indent of unit lib test.

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

13 years agoscm: mercurial: unit lib test for entries (#3421).
Toshi MARUYAMA [Fri, 18 Feb 2011 04:13:40 +0000 (04:13 +0000)]
scm: mercurial: unit lib test for entries (#3421).

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

13 years agoscm: mercurial: move entries unit test from app to lib.
Toshi MARUYAMA [Fri, 18 Feb 2011 04:13:17 +0000 (04:13 +0000)]
scm: mercurial: move entries unit test from app to lib.

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

13 years agoscm: mercurial: fix unit lib test_info test fails on Windows.
Toshi MARUYAMA [Fri, 18 Feb 2011 00:58:08 +0000 (00:58 +0000)]
scm: mercurial: fix unit lib test_info test fails on Windows.

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

13 years agoscm: space cleanup of lib/redmine/scm/adapters/abstract_adapter.rb.
Toshi MARUYAMA [Fri, 18 Feb 2011 00:57:43 +0000 (00:57 +0000)]
scm: space cleanup of lib/redmine/scm/adapters/abstract_adapter.rb.

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

13 years agoscm: fix diff revision param validation.
Toshi MARUYAMA [Thu, 17 Feb 2011 14:17:04 +0000 (14:17 +0000)]
scm: fix diff revision param validation.

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

13 years agoscm: mercurial: fix Ruby 1.9 "hg diff" test fails (#7518).
Toshi MARUYAMA [Wed, 16 Feb 2011 16:06:24 +0000 (16:06 +0000)]
scm: mercurial: fix Ruby 1.9 "hg diff" test fails (#7518).

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

13 years agoscm: in repository tree, use find_changeset_by_name instead of changesets.find_by_rev...
Toshi MARUYAMA [Wed, 16 Feb 2011 15:43:36 +0000 (15:43 +0000)]
scm: in repository tree, use find_changeset_by_name instead of changesets.find_by_revision (#3724, #3421).

Mercurial revision numbers are far too brittle.
Please see #6681 description.

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

13 years agoscm: mercurial: add identifier to entry.lastrev (#3724, #3421).
Toshi MARUYAMA [Wed, 16 Feb 2011 15:43:15 +0000 (15:43 +0000)]
scm: mercurial: add identifier to entry.lastrev (#3724, #3421).

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

13 years agoscm: mercurial: rewrite MercurialAdapter#entries to show per-file change log and...
Toshi MARUYAMA [Wed, 16 Feb 2011 13:35:52 +0000 (13:35 +0000)]
scm: mercurial: rewrite MercurialAdapter#entries to show per-file change log and size (#3421, #4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: set instance value flag of whether "hg diff -c" supports true at...
Toshi MARUYAMA [Wed, 16 Feb 2011 11:18:18 +0000 (11:18 +0000)]
scm: mercurial: set instance value flag of whether "hg diff -c" supports true at tests (#7518).

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

13 years agoscm: mercurial: rewrite MercurialAdapter#diff by using helper extension (#4455, ...
Toshi MARUYAMA [Wed, 16 Feb 2011 11:17:58 +0000 (11:17 +0000)]
scm: mercurial: rewrite MercurialAdapter#diff by using helper extension (#4455, #7518).

fix incompatibility of diff with Mercurial < 1.1.

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: add instance value flag of whether "hg diff -c" supports at tests...
Toshi MARUYAMA [Wed, 16 Feb 2011 11:17:37 +0000 (11:17 +0000)]
scm: mercurial: add instance value flag of whether "hg diff -c" supports at tests (#7518).

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

13 years agoscm: mercurial: code clean up unit app test.
Toshi MARUYAMA [Wed, 16 Feb 2011 11:17:15 +0000 (11:17 +0000)]
scm: mercurial: code clean up unit app test.

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

13 years agoscm: git: implement find_changeset_by_name (#7047).
Toshi MARUYAMA [Wed, 16 Feb 2011 11:16:53 +0000 (11:16 +0000)]
scm: git: implement find_changeset_by_name (#7047).

SQL "like" is slow.

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

13 years agoscm: git: change project id of unit app test from 1 to 3.
Toshi MARUYAMA [Wed, 16 Feb 2011 11:16:29 +0000 (11:16 +0000)]
scm: git: 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@4850 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: refactor Repository::Mercurial#fetch_changesets (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 07:32:35 +0000 (07:32 +0000)]
scm: mercurial: refactor Repository::Mercurial#fetch_changesets (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: rewrite MercurialAdapter#revisions as an iterator (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 07:32:13 +0000 (07:32 +0000)]
scm: mercurial: rewrite MercurialAdapter#revisions as an iterator (#4455).

Now it uses XmlMini.parse() in place of slow REXML.

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: change identifier to revision in fetching revisions.
Toshi MARUYAMA [Wed, 16 Feb 2011 07:31:52 +0000 (07:31 +0000)]
scm: mercurial: change identifier to revision in fetching revisions.

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

13 years agoscm: mercurial: rewrite MercurialAdapter#info by using helper extention (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 04:41:30 +0000 (04:41 +0000)]
scm: mercurial: rewrite MercurialAdapter#info by using helper extention (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: add "summary" method in adapter (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 04:41:10 +0000 (04:41 +0000)]
scm: mercurial: add "summary" method in adapter (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: switch root_url or url in "hg" method (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 04:40:42 +0000 (04:40 +0000)]
scm: mercurial: switch root_url or url in "hg" method (#4455).

"info" sets root_url from url.

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

13 years agoscm: mercurial: add compatible test for "revisions" method.
Toshi MARUYAMA [Wed, 16 Feb 2011 03:47:27 +0000 (03:47 +0000)]
scm: mercurial: add compatible test for "revisions" method.

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

13 years agoscm: mercurial: refactor "cat" by using hg helper method (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 03:47:05 +0000 (03:47 +0000)]
scm: mercurial: refactor "cat" by using hg helper method (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: refactor "annotate" by using hg helper method (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 01:14:54 +0000 (01:14 +0000)]
scm: mercurial: refactor "annotate" by using hg helper method (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: mercurial: add "hgtarget" method (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 01:14:34 +0000 (01:14 +0000)]
scm: mercurial: add "hgtarget" method (#4455).

Abstract adapter shell quotes paths.

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

13 years agoscm: mercurial: change "--cwd" option to "-R" for running "hg" (#4455).
Toshi MARUYAMA [Wed, 16 Feb 2011 01:14:10 +0000 (01:14 +0000)]
scm: mercurial: change "--cwd" option to "-R" for running "hg" (#4455).

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

13 years agoscm: mercurial: add compatible test for "info" method.
Toshi MARUYAMA [Wed, 16 Feb 2011 01:13:49 +0000 (01:13 +0000)]
scm: mercurial: add compatible test for "info" method.

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

13 years agoscm: mercurial: ignore redminehelper.pyc and redminehelper.pyo for Subversion (#4455).
Toshi MARUYAMA [Tue, 15 Feb 2011 11:10:46 +0000 (11:10 +0000)]
scm: mercurial: ignore redminehelper.pyc and redminehelper.pyo for Subversion (#4455).

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

13 years agoscm: bazaar: move cat and annotate test from unit app test to unit lib test.
Toshi MARUYAMA [Tue, 15 Feb 2011 11:05:33 +0000 (11:05 +0000)]
scm: bazaar: move cat and annotate test from unit app test to unit lib test.

Bazaar supports revision number and do not need to read database.

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

13 years agoscm: cvs: set client available if cvs version above 1.12.
Toshi MARUYAMA [Tue, 15 Feb 2011 11:05:13 +0000 (11:05 +0000)]
scm: cvs: set client available if cvs version above 1.12.

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

13 years agoscm: mercurial: ignore redminehelper.pyc and redminehelper.pyo for Git and Mercurial...
Toshi MARUYAMA [Tue, 15 Feb 2011 11:04:52 +0000 (11:04 +0000)]
scm: mercurial: ignore redminehelper.pyc and redminehelper.pyo for Git and Mercurial (#4455).

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

13 years agoscm: mercurial: add Mercurial helper extension (#4455).
Toshi MARUYAMA [Tue, 15 Feb 2011 11:04:30 +0000 (11:04 +0000)]
scm: mercurial: add Mercurial helper extension (#4455).

* 'rhsummary' and 'rhmanifest' for reducing the number of hg command calls.
* 'rhdiff' for compatibility with Mercurial < 1.1.

Also renamed TEMPLATES_DIR to HELPERS_DIR because the directory now contains
templates and a helper extension.

Original version was written by Alessio Franceschelli,
downloaded from http://www.redmine.org/attachments/3395/overhaul.py

Contributed by Alessio Franceschelli and Yuya Nishihara.

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

13 years agoscm: cvs: add methods of getting cvs version and add unit lib test (#4273).
Toshi MARUYAMA [Tue, 15 Feb 2011 08:04:11 +0000 (08:04 +0000)]
scm: cvs: add methods of getting cvs version and add unit lib test (#4273).

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

13 years agoscm: bazaar: add methods of getting bazaar version and add unit lib test (#4273).
Toshi MARUYAMA [Tue, 15 Feb 2011 07:04:49 +0000 (07:04 +0000)]
scm: bazaar: add methods of getting bazaar version and add unit lib test (#4273).

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

13 years agoscm: mercurial: add new method 'hg' to wrap shellout (#4455).
Toshi MARUYAMA [Tue, 15 Feb 2011 07:04:29 +0000 (07:04 +0000)]
scm: mercurial: add new method 'hg' to wrap shellout (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: git: add methods of getting git version and add unit lib test (#4273).
Toshi MARUYAMA [Tue, 15 Feb 2011 05:58:31 +0000 (05:58 +0000)]
scm: git: add methods of getting git version and add unit lib test (#4273).

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

13 years agoscm: mercurial: switch shell quote revision with argument.
Toshi MARUYAMA [Tue, 15 Feb 2011 05:58:11 +0000 (05:58 +0000)]
scm: mercurial: switch shell quote revision with argument.

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

13 years agoscm: subversion: change newlines LF to CRLF at lib/redmine/scm/adapters/subversion_ad...
Toshi MARUYAMA [Tue, 15 Feb 2011 05:33:25 +0000 (05:33 +0000)]
scm: subversion: change newlines LF to CRLF at lib/redmine/scm/adapters/subversion_adapter.rb.

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

13 years agoscm: subversion: change unit app test project id from 1 to 3.
Toshi MARUYAMA [Tue, 15 Feb 2011 02:29:47 +0000 (02:29 +0000)]
scm: subversion: change unit app test project id from 1 to 3.

Fixtures have project id 1 subversion changesets and changes.

Change file:/// to file://.

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

13 years agoscm: subversion: refactor getting svn version and add lib test (#4273).
Toshi MARUYAMA [Tue, 15 Feb 2011 02:12:39 +0000 (02:12 +0000)]
scm: subversion: refactor getting svn version and add lib test (#4273).

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

13 years agoscm: catch CommandFailed during bulk Repository.fetch_changesets (#4455).
Toshi MARUYAMA [Tue, 15 Feb 2011 02:12:19 +0000 (02:12 +0000)]
scm: catch CommandFailed during bulk Repository.fetch_changesets (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: git: remove localtime (#6346).
Toshi MARUYAMA [Mon, 14 Feb 2011 08:45:54 +0000 (08:45 +0000)]
scm: git: remove localtime (#6346).

No needs to use localtime.
If we use localtime, we should clone.

See r4794 and r4802.

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

13 years agoscm: add scm command and version methods at repository models (#4273).
Toshi MARUYAMA [Mon, 14 Feb 2011 08:45:34 +0000 (08:45 +0000)]
scm: add scm command and version methods at repository models (#4273).

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

13 years agoscm: use shell quote for scm command at adapter level (#7517, #4273).
Toshi MARUYAMA [Mon, 14 Feb 2011 06:14:34 +0000 (06:14 +0000)]
scm: use shell quote for scm command at adapter level (#7517, #4273).

"C:\Program Files\TortoiseHg\hg.exe" can be used in config/configuration.yml.

In Ruby 1.9 IO.popen, if cmd is an Array of String,
it will be used as the subprocess‘s argv bypassing a shell.

See http://www.ruby-doc.org/core/classes/IO.html

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

13 years agoIntroduced MailHandler#dispatch_to_default method to make MailHandler more extensible...
Jean-Baptiste Barth [Sat, 12 Feb 2011 10:08:11 +0000 (10:08 +0000)]
Introduced MailHandler#dispatch_to_default method to make MailHandler more extensible. #7598

Contributed by Yuki Sonoda

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

13 years agoscm: space and tab cleanup of app/controllers/repositories_controller.rb.
Toshi MARUYAMA [Sat, 12 Feb 2011 09:44:46 +0000 (09:44 +0000)]
scm: space and tab cleanup of app/controllers/repositories_controller.rb.

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

13 years agoscm: fix non ASCII filename downloaded from repo is broken on Internet Explorer ...
Toshi MARUYAMA [Sat, 12 Feb 2011 09:44:23 +0000 (09:44 +0000)]
scm: fix non ASCII filename downloaded from repo is broken on Internet Explorer (#7288).

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

13 years agoscm: cvs: fix most binary files become corrupted on Windows (#6090).
Toshi MARUYAMA [Sat, 12 Feb 2011 09:43:57 +0000 (09:43 +0000)]
scm: cvs: fix most binary files become corrupted on Windows (#6090).

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

13 years agoIgnore .project and .loadpath files for hg/git mirrors. #7497
Jean-Baptiste Barth [Sat, 12 Feb 2011 09:02:02 +0000 (09:02 +0000)]
Ignore .project and .loadpath files for hg/git mirrors. #7497

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

13 years agoAdded 'retro' style for gravatars. #7608
Jean-Baptiste Barth [Sat, 12 Feb 2011 08:16:37 +0000 (08:16 +0000)]
Added 'retro' style for gravatars. #7608

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

13 years agoscm: bazaar: fix typo and mistakes.
Toshi MARUYAMA [Fri, 11 Feb 2011 16:00:57 +0000 (16:00 +0000)]
scm: bazaar: fix typo and mistakes.

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

13 years agoscm: git: fix typo of unit lib test.
Toshi MARUYAMA [Fri, 11 Feb 2011 15:44:52 +0000 (15:44 +0000)]
scm: git: fix typo of unit lib test.

This file includes UTF-8 "literal".
We need to consider Ruby 1.9 compatibility.

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

13 years agoscm: cvs: fix unit lib test fails on Windows.
Toshi MARUYAMA [Fri, 11 Feb 2011 15:32:45 +0000 (15:32 +0000)]
scm: cvs: fix unit lib test fails on Windows.

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

13 years agoscm: bazaar: prepare version string unit lib test.
Toshi MARUYAMA [Fri, 11 Feb 2011 15:31:11 +0000 (15:31 +0000)]
scm: bazaar: prepare version string unit lib test.

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

13 years agoscm: change gunzip to tar -z option for scm repository setup in lib/tasks/testing...
Toshi MARUYAMA [Fri, 11 Feb 2011 15:30:45 +0000 (15:30 +0000)]
scm: change gunzip to tar -z option for scm repository setup in lib/tasks/testing.rake.

Pipe does not work on Mingw Ruby.

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

13 years agoscm: git: prepare version string unit lib test and git log encoding (#3396).
Toshi MARUYAMA [Fri, 11 Feb 2011 15:30:22 +0000 (15:30 +0000)]
scm: git: prepare version string unit lib test and git log encoding (#3396).

This file includes UTF-8 literal.
We need to consider Ruby 1.9 compatibity.

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

13 years agoscm: cvs: code clean up.
Toshi MARUYAMA [Fri, 11 Feb 2011 15:29:56 +0000 (15:29 +0000)]
scm: cvs: code clean up.

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

13 years agoscm: subversion: prepare version string unit lib test.
Toshi MARUYAMA [Thu, 10 Feb 2011 18:13:10 +0000 (18:13 +0000)]
scm: subversion: prepare version string unit lib test.

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

13 years agoscm: cvs: generate pseudo scmid for auto issue close text (#6706).
Toshi MARUYAMA [Mon, 7 Feb 2011 10:26:15 +0000 (10:26 +0000)]
scm: cvs: generate pseudo scmid for auto issue close text (#6706).

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

13 years agoscm: cvs: change temporary revision number from "_N" to "tmpN" (#996, #3761, #6706).
Toshi MARUYAMA [Mon, 7 Feb 2011 10:25:52 +0000 (10:25 +0000)]
scm: cvs: change temporary revision number from "_N" to "tmpN" (#996, #3761, #6706).

'_' is SQL "like" special character.

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

13 years agoFixed various typos in french locale
Jean-Baptiste Barth [Sun, 6 Feb 2011 00:31:15 +0000 (00:31 +0000)]
Fixed various typos in french locale

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

13 years agoscm: add scm_cvs_command at config/configuration.yml.example (#7517).
Toshi MARUYAMA [Sat, 5 Feb 2011 00:57:41 +0000 (00:57 +0000)]
scm: add scm_cvs_command at config/configuration.yml.example (#7517).

I forgot to add it.

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

13 years agoscm: change key name of configurable command name (#7517, #6159, #7047).
Toshi MARUYAMA [Fri, 4 Feb 2011 10:24:10 +0000 (10:24 +0000)]
scm: change key name of configurable command name (#7517, #6159, #7047).

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

13 years agoscm: use "e.g." for "for example" at config/configuration.yml.example (#7517).
Toshi MARUYAMA [Fri, 4 Feb 2011 05:30:14 +0000 (05:30 +0000)]
scm: use "e.g." for "for example" at config/configuration.yml.example (#7517).

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

13 years agoscm: add a feature of configurable path of executable for scm adapters (#7517).
Toshi MARUYAMA [Fri, 4 Feb 2011 04:28:39 +0000 (04:28 +0000)]
scm: add a feature of configurable path of executable for scm adapters (#7517).

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

13 years agoscm: cvs: use localtime at cvs rlog -d option (#996, #3761).
Toshi MARUYAMA [Wed, 2 Feb 2011 13:13:44 +0000 (13:13 +0000)]
scm: cvs: use localtime at cvs rlog -d option (#996, #3761).

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

13 years agoscm: cvs: add unit lib test.
Toshi MARUYAMA [Wed, 2 Feb 2011 13:13:20 +0000 (13:13 +0000)]
scm: cvs: add unit lib test.

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

13 years agoscm: mercurial: add unit lib test for the previous changeset isn't the parent (#7253...
Toshi MARUYAMA [Wed, 2 Feb 2011 10:01:22 +0000 (10:01 +0000)]
scm: mercurial: add unit lib test for the previous changeset isn't the parent (#7253, #7518).

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

13 years agoscm: cvs: add fetch_changesets at all unit app test methods.
Toshi MARUYAMA [Wed, 2 Feb 2011 10:00:20 +0000 (10:00 +0000)]
scm: cvs: add fetch_changesets at all unit app test methods.

Redmine generates pseudo revision number, so all tests need to read database.

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

13 years agoscm: cvs: code clean up.
Toshi MARUYAMA [Wed, 2 Feb 2011 04:01:27 +0000 (04:01 +0000)]
scm: cvs: code clean up.

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

13 years agoscm: cvs: change project id of functional test from 1 to 3.
Toshi MARUYAMA [Wed, 2 Feb 2011 04:00:59 +0000 (04:00 +0000)]
scm: cvs: change project id of functional test from 1 to 3.

Project id 1 has Subversion fixtures.

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

13 years agoscm: cvs: change project id of unit app test from 1 to 3.
Toshi MARUYAMA [Wed, 2 Feb 2011 04:00:36 +0000 (04:00 +0000)]
scm: cvs: 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@4788 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoIgnore config/configuration.yml (#7408).
Toshi MARUYAMA [Tue, 1 Feb 2011 13:48:56 +0000 (13:48 +0000)]
Ignore config/configuration.yml (#7408).

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

13 years agoUpdate for 1.1.1 release.
Jean-Philippe Lang [Sun, 30 Jan 2011 14:37:23 +0000 (14:37 +0000)]
Update for 1.1.1 release.

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

13 years agoReverted r4780 that broke gantt tests (#7280).
Jean-Philippe Lang [Sun, 30 Jan 2011 09:09:50 +0000 (09:09 +0000)]
Reverted r4780 that broke gantt tests (#7280).

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

13 years agoRemoved issue subjects wrapping in gantt (#7280).
Jean-Philippe Lang [Sun, 30 Jan 2011 06:54:00 +0000 (06:54 +0000)]
Removed issue subjects wrapping in gantt (#7280).

Contributed by Etienne Massip.

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

13 years agoTranslations updates.
Jean-Philippe Lang [Sun, 30 Jan 2011 06:37:01 +0000 (06:37 +0000)]
Translations updates.

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

13 years agoMoves .htaccess to htaccess.fcgi.example (#7256).
Jean-Philippe Lang [Sun, 30 Jan 2011 06:31:28 +0000 (06:31 +0000)]
Moves .htaccess to htaccess.fcgi.example (#7256).

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

13 years agoPrevent error when Mantis version.date_order is nil (#7476).
Jean-Philippe Lang [Fri, 28 Jan 2011 19:45:09 +0000 (19:45 +0000)]
Prevent error when Mantis version.date_order is nil (#7476).

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

13 years agoFixed: Relations are not displayed after adding/removing an issue relation (#7463).
Jean-Philippe Lang [Thu, 27 Jan 2011 21:38:47 +0000 (21:38 +0000)]
Fixed: Relations are not displayed after adding/removing an issue relation (#7463).

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

13 years agoFixed: no email sent with 'Notifiy for any event on the selected projects only' ...
Jean-Philippe Lang [Mon, 24 Jan 2011 17:28:59 +0000 (17:28 +0000)]
Fixed: no email sent with 'Notifiy for any event on the selected projects only' (#7421).

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

13 years agoMoves link_to_message to ApplicationHelper to make it available to redmine links.
Jean-Philippe Lang [Sun, 23 Jan 2011 17:02:10 +0000 (17:02 +0000)]
Moves link_to_message to ApplicationHelper to make it available to redmine links.

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

13 years agoAdds visible scope to redmine links queries.
Jean-Philippe Lang [Sun, 23 Jan 2011 16:47:59 +0000 (16:47 +0000)]
Adds visible scope to redmine links queries.

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

13 years agoAdds support for cross project Redmine links (#7409).
Jean-Philippe Lang [Sun, 23 Jan 2011 16:12:38 +0000 (16:12 +0000)]
Adds support for cross project Redmine links (#7409).

See public/help/wiki_syntax_detailed.html for the syntax.

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

13 years agoSet the httponly flag on the autologin cookie.
Jean-Philippe Lang [Sun, 23 Jan 2011 11:40:07 +0000 (11:40 +0000)]
Set the httponly flag on the autologin cookie.

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

13 years agoMakes the autologin cookie configurable (#1763).
Jean-Philippe Lang [Sun, 23 Jan 2011 11:20:46 +0000 (11:20 +0000)]
Makes the autologin cookie configurable (#1763).

The cookie attributes (name, path, secure) can now be set in config/configuration.yml.

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