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