]>
source.dussan.org Git - redmine.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Toshi MARUYAMA [Sun, 20 Feb 2011 14:49:09 +0000 (14:49 +0000)]
scm: git: move "--no-color" option from scm_cmd() to revision().
Ruby 1.9.2 test fails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4893
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 20 Feb 2011 14:27:34 +0000 (14:27 +0000)]
Use #custom_field_values to display issue custom fields in email, just like on regular views (#7604).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4892
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 20 Feb 2011 14:26:23 +0000 (14:26 +0000)]
Do not keep illegitimate custom_values when setting custom_field_values (#7604).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4891
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 20 Feb 2011 13:13:10 +0000 (13:13 +0000)]
Fixed: Workflow summary shows X icon for workflow with exactly 1 status transition (#7611).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4890
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 20 Feb 2011 13:11:10 +0000 (13:11 +0000)]
Fixed: Syntax highlighting unavailable from board new topic or topic edit preview (#7625).
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4889
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 20 Feb 2011 13:03:32 +0000 (13:03 +0000)]
Fixed: SQL error when filtering issues with an empty group or role (#7656).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4888
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 20 Feb 2011 01:33:50 +0000 (01:33 +0000)]
scm: git: fix wrong commit range in git log command on Windows (#7657).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4887
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 20 Feb 2011 01:33:30 +0000 (01:33 +0000)]
scm: git: add new method 'scm_cmd' to wrap shellout.
Refer Mercurial adapter r4830.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4886
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 20 Feb 2011 01:33:09 +0000 (01:33 +0000)]
scm: git: add --no-color option to run "git --version".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4885
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 19 Feb 2011 10:34:37 +0000 (10:34 +0000)]
scm: mercurial: code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4884
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 19 Feb 2011 06:42:50 +0000 (06:42 +0000)]
scm: git: change select label to 'Path to repository'.
Redmine requires bare repository. '.git' is confusing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4883
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 19 Feb 2011 01:11:48 +0000 (01:11 +0000)]
scm: catch exception of getting command and version in model (#4273).
If command does not exist, Windows raises exception in shellout().
Linux does not raise exception.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4882
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 19 Feb 2011 01:11:30 +0000 (01:11 +0000)]
scm: darcs: override client_available method (#4273).
I forgot it.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4881
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 19 Feb 2011 00:56:13 +0000 (00:56 +0000)]
scm: darcs: space cleanup in adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4880
e93f8b46-1217-0410-a6f0-
8f06a7374b81
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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