summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Stringify avatar to prevent "can't convert nil into String" errors on gantt ↵Jean-Philippe Lang2011-02-281-1/+1
| | | | | | (#7317). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4968 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: use --encoding=UTF-8 in "git log" (#3396).Toshi MARUYAMA2011-02-281-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: refactor lastrev() in adapter.Toshi MARUYAMA2011-02-281-8/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: move saving changesets from adapter to model (#3396).Toshi MARUYAMA2011-02-281-21/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4959 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Keep track of issue description changes (#746).Jean-Philippe Lang2011-02-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes wiki diff rendering.Jean-Philippe Lang2011-02-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4953 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extracts a diff helper from the WikiDiff class.Jean-Philippe Lang2011-02-271-0/+72
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4952 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for SCM/LDAP passwords encryption in the database (#7411).Jean-Philippe Lang2011-02-262-0/+130
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a method to temporarily override configuration settings.Jean-Philippe Lang2011-02-251-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add flag of disable showing last commit in repository tree (#7047).Toshi MARUYAMA2011-02-241-1/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4945 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: update adapter initialize() to use path encoding (#2664, #2274).Toshi MARUYAMA2011-02-245-13/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4941 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: cvs: fix CVS diffs do not handle new files properly (#7615).Toshi MARUYAMA2011-02-241-1/+5
| | | | | | Contributed by Jim Naslund. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: use "ASCII-8BIT" in IO.popen() in Ruby 1.9.Toshi MARUYAMA2011-02-241-1/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4938 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tasks for locales maintenance.Jean-Philippe Lang2011-02-231-0/+27
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4937 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: replace urllib.unquote to urllib.unquote_plus in helper (#4455).Toshi MARUYAMA2011-02-231-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4934 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: remove unused rhannotate command options in helper.Toshi MARUYAMA2011-02-231-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: annotate path encoding support in adapter (#2664).Toshi MARUYAMA2011-02-231-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: annotate path encoding support in helper (#2664).Toshi MARUYAMA2011-02-231-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4930 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: fix diffs do not handle one line new files properly (#7618).Toshi MARUYAMA2011-02-231-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: path encoding support for "cat" in adapter (#2664).Toshi MARUYAMA2011-02-231-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: change some newlines in mercurial_adapter.rb CRLF to LF.Toshi MARUYAMA2011-02-221-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: log and entries path encoding support in adapter (#2664).Toshi MARUYAMA2011-02-221-5/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: Ruby 1.9 compatibility in getting scm version (#4273).Toshi MARUYAMA2011-02-226-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: override initialize() for path encoding (#2664).Toshi MARUYAMA2011-02-221-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extracts gantt subjects styles to css (#7280).Jean-Philippe Lang2011-02-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds full subject as gantt subject title (#7280).Jean-Philippe Lang2011-02-211-4/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent text wrap in gantt subjects (#7280).Jean-Philippe Lang2011-02-211-1/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: filesystem: refactor for path encoding (#2274).Toshi MARUYAMA2011-02-211-23/+36
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add "scm_iconv" method for repository path encoding in ↵Toshi MARUYAMA2011-02-211-1/+12
| | | | | | abstract_adapter.rb (#2664, #2274). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4906 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add 'rhcat' function using URL encoding in mercurial helper ↵Toshi MARUYAMA2011-02-211-0/+6
| | | | | | extension (#2664). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 1.9 compatibility of unified_diff.rb.Toshi MARUYAMA2011-02-211-2/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4897 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: date part of the time default format doesn't respect the date format ↵Jean-Philippe Lang2011-02-201-2/+2
| | | | | | (#7639). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4894 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: move "--no-color" option from scm_cmd() to revision().Toshi MARUYAMA2011-02-201-2/+1
| | | | | | Ruby 1.9.2 test fails. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4893 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix wrong commit range in git log command on Windows (#7657).Toshi MARUYAMA2011-02-201-12/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add new method 'scm_cmd' to wrap shellout.Toshi MARUYAMA2011-02-201-3/+19
| | | | | | Refer Mercurial adapter r4830. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add --no-color option to run "git --version".Toshi MARUYAMA2011-02-201-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4885 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: code cleanup.Toshi MARUYAMA2011-02-191-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4884 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: darcs: override client_available method (#4273).Toshi MARUYAMA2011-02-191-0/+4
| | | | | | I forgot it. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: darcs: space cleanup in adapter.Toshi MARUYAMA2011-02-191-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4880 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: fix exception operation in adapter all methods using xml and ↵Toshi MARUYAMA2011-02-181-3/+9
| | | | | | io.read (#4455). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4879 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: simplify fixing exception operation in adapter "summary" ↵Toshi MARUYAMA2011-02-181-3/+1
| | | | | | method (#4455). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4878 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: fix exception operation in adapter "summary" method (#4455).Toshi MARUYAMA2011-02-181-2/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: support named branches at adapter (#7246).Toshi MARUYAMA2011-02-181-0/+12
| | | | | | Contributed by Yuya Nishihara. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4874 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: support tags at adapter (#1981).Toshi MARUYAMA2011-02-181-0/+12
| | | | | | Contributed by Yuya Nishihara. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: space cleanup of lib/redmine/scm/adapters/abstract_adapter.rb.Toshi MARUYAMA2011-02-181-8/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4861 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: fix Ruby 1.9 "hg diff" test fails (#7518).Toshi MARUYAMA2011-02-161-2/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add identifier to entry.lastrev (#3724, #3421).Toshi MARUYAMA2011-02-161-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: rewrite MercurialAdapter#entries to show per-file change log ↵Toshi MARUYAMA2011-02-161-20/+23
| | | | | | | | 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
* scm: mercurial: rewrite MercurialAdapter#diff by using helper extension ↵Toshi MARUYAMA2011-02-161-17/+9
| | | | | | | | | | (#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
* scm: mercurial: rewrite MercurialAdapter#revisions as an iterator (#4455).Toshi MARUYAMA2011-02-161-45/+43
| | | | | | | | 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