Commit Graph

934 Commits

Author SHA1 Message Date
Toshi MARUYAMA 50f4087aa7 scm: mercurial: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:31:03 +00:00
Toshi MARUYAMA e748e37053 scm: cvs: use self.class.sq_bin for command name at adpter scm_cmd() (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:30:38 +00:00
Toshi MARUYAMA 7d15b2853a scm: cvs: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:30:07 +00:00
Toshi MARUYAMA 6cad86d962 scm: darcs: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:29:40 +00:00
Toshi MARUYAMA ce1c6209ca scm: subversion: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:29:12 +00:00
Toshi MARUYAMA ecc042dce1 scm: add new method "shell_quote_command" at abstract adapter (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 11:43:53 +00:00
Toshi MARUYAMA 98b29b445d remove trailing white-spaces from lib/tasks/testing.rake.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-14 07:59:31 +00:00
Toshi MARUYAMA cbcf2bdc79 replace newline LF to CRLF at lib/tasks/testing.rake.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-14 07:59:07 +00:00
Jean-Philippe Lang 3994886adc Updates for 1.2.1 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 11:43:50 +00:00
Toshi MARUYAMA 48f6472e0f scm: mercurial: catch exception and return nil during getting info (#8777).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:55:19 +00:00
Toshi MARUYAMA 34f838685b scm: catch all exceptions at adapter shellout() to fork scm command (#8510, #6713, #4725, #5404).
If scm command does not exist,
Linux JRuby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException in production environment.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 21:47:30 +00:00
Toshi MARUYAMA cab4698361 remove trailing white-spaces from fetch_changesets.rake.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 11:07:09 +00:00
Jean-Philippe Lang daa426167f Adds support for GET on /issues/:issue_id/relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:44:41 +00:00
Jean-Philippe Lang 21b3718744 Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:03:04 +00:00
Toshi MARUYAMA aede35d226 PDF: support textilized changeset comments (revision log) on issue (#69).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 13:54:27 +00:00
Toshi MARUYAMA ebdd9c6326 PDF: add revision number/id of associated revisions on issue PDF (#8738).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 07:37:19 +00:00
Toshi MARUYAMA 47ec67532b PDF: support textilized journal notes on issue (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 11:54:08 +00:00
Toshi MARUYAMA 139d401dc5 PDF: support textilized issue description on issue (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 11:53:36 +00:00
Toshi MARUYAMA aa973f0af6 PDF: code clean up lib/redmine/export/pdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 07:49:37 +00:00
Toshi MARUYAMA 3a79ab7401 PDF: add new "RDMwriteHTMLCell" method for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 07:49:07 +00:00
Toshi MARUYAMA 130c20c69d PDF: use RDMMultiCell for drawing lines of issue description (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 04:44:15 +00:00
Toshi MARUYAMA 2d011453aa PDF: add 'ln' parameter for drawing lines at RDMMultiCell() (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 11:47:55 +00:00
Toshi MARUYAMA f2629db043 scm: replace RAILS_DEFAULT_LOGGER to Rails.logger at abstract adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 23:42:37 +00:00
Toshi MARUYAMA aa2fd98890 replace RAILS_ROOT to Rails.root at lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 06:48:02 +00:00
Toshi MARUYAMA 37dc9aeac2 replace RAILS_ROOT to Rails.root at lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 06:47:40 +00:00
Toshi MARUYAMA 29b0a71eab replace RAILS_ROOT to Rails.root at lib/tasks/extract_fixtures.rake.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 01:20:55 +00:00
Toshi MARUYAMA 5f71daee26 replace RAILS_ROOT to Rails.root at lib/tasks/initializers.rake.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 01:20:34 +00:00
Toshi MARUYAMA fe06b28c11 replace RAILS_ROOT to Rails.root at lib/redmine/views/my_page/block.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 01:20:12 +00:00
Toshi MARUYAMA 53b7af73b1 scm: replace RAILS_ROOT to Rails.root at lib/redmine/scm/adapters/abstract_adapter.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 01:19:50 +00:00
Toshi MARUYAMA 8fbc24f62e replace RAILS_ROOT to Rails.root at lib/redmine/plugin.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 01:19:27 +00:00
Toshi MARUYAMA 26c3e6ceed replace RAILS_ROOT to Rails.root at lib/redmine/version.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 01:18:52 +00:00
Toshi MARUYAMA 67fcd6eea7 replace RAILS_ROOT to Rails.root at lib/redmine/i18n.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 00:56:48 +00:00
Toshi MARUYAMA 3b5db24269 scm: mercurial: fix unit adapter annotate test fails on Windows Mercurial 1.8.4+29-e597ef52a7c2.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 07:06:11 +00:00
Toshi MARUYAMA a6f1ae1f96 PDF: use DejaVuSans fonts in Vietnamese (#8566).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 00:31:35 +00:00
Toshi MARUYAMA b85092c702 PDF: replace all non ASCII characters to '?' if Iconv error raise in JRuby (#8569, #61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 03:41:26 +00:00
Toshi MARUYAMA a367732d4d scm: fix JRuby tests fail in unit changeset following test.
* test_invalid_utf8_sequences_in_paths_should_be_replaced

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 01:30:05 +00:00
Toshi MARUYAMA 6f6956e68c PDF: change Shift_JIS to SHIFT_JIS in lib/redmine/export/pdf.rb for Japanese ja.yml general_pdf_encoding (#8565, #61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 14:39:56 +00:00
Toshi MARUYAMA 521461f5b8 PDF: add *SJIS* and *Shift_JIS* in lib/redmine/export/pdf.rb for Japanese ja.yml general_pdf_encoding (#8565, #61).
JRuby 1.6.2 (ruby-1.8.7-p330) does not support CP932.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 13:44:06 +00:00
Toshi MARUYAMA 283db475e1 scm: add log message of config/configuration.yml if scm command raise Errno::ENOENT exception (#7517, #4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 11:19:57 +00:00
Toshi MARUYAMA b2d04df37e scm: code clean up abstract adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6006 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 11:19:13 +00:00
Toshi MARUYAMA 18229f2f30 code clean up lib/redmine/platform.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 01:21:06 +00:00
Toshi MARUYAMA 0d85f26976 remove trailing white-spaces from lib/redmine/platform.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 01:20:44 +00:00
Toshi MARUYAMA add719687a remove trailing white-spaces from rake redmine📧test task source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-28 01:43:58 +00:00
Toshi MARUYAMA eb8711a4ef handle a nil user in rake redmine📧test task.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-28 01:43:12 +00:00
Toshi MARUYAMA 60a3ebfa8a use rake task parameter style message if redmine📧test parameter is blank.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-28 01:42:35 +00:00
Toshi MARUYAMA dc9011467a scm: bazaar: refactor adapter revisions to use scm_cmd().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:15:05 +00:00
Toshi MARUYAMA 6b2a1085d1 scm: bazaar: refactor adapter entries to use scm_cmd().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:13:10 +00:00
Toshi MARUYAMA 4825bbd93b scm: bazaar: refactor adapter diff to use scm_cmd_no_raise().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 06:16:44 +00:00
Toshi MARUYAMA f4ba1a7082 scm: bazaar: add "scm_cmd_no_raise" method for "bzr diff".
"bzr diff" normal exit status is not 0 in Bazaar 2.0.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 06:15:37 +00:00
Toshi MARUYAMA 4be9734824 scm: bazaar: refactor adapter cat to use scm_cmd().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 05:07:55 +00:00