Commit Graph

1053 Commits

Author SHA1 Message Date
Toshi MARUYAMA ebb67a0646 remove trailing white-spaces from lib/redmine/activity.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:00:56 +00:00
Toshi MARUYAMA ac9d581970 remove trailing white-spaces from lib/redmine.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 16:05:48 +00:00
Toshi MARUYAMA b2bdfc8ff1 Ruby 1.9: fix typo of rake task name to check parsing yaml by psych library (#8847, #4050).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 00:18:17 +00:00
Toshi MARUYAMA 29fb2fd280 Ruby 1.9: add rake task to check parsing yaml by psych library (#8847, #4050).
Original code is written by Etienne Massip.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 00:11:08 +00:00
Toshi MARUYAMA ec377438b2 add description that locales:remove_key rake task does not work on Ruby 1.8.6.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-26 04:58:22 +00:00
Toshi MARUYAMA c0065e920d remove trailing white-spaces from lib/redmine/version.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 14:13:39 +00:00
Toshi MARUYAMA 89fd138503 Rails3: use String#html_safe for label_for_field() at lib/tabular_form_builder.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 06:54:00 +00:00
Toshi MARUYAMA a28aa2e83f Rails3: use String#html_safe at lib/redmine/helpers/diff.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 06:53:15 +00:00
Toshi MARUYAMA a970118755 Rails3: use String#html_safe for render_menu_node() at lib/redmine/menu_manager.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 06:52:25 +00:00
Toshi MARUYAMA af20566bf4 remove trailing white-spaces from lib/redmine/helpers/diff.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 06:51:36 +00:00
Toshi MARUYAMA aa35ef4be8 remove trailing white-spaces from lib/diff.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 06:50:57 +00:00
Toshi MARUYAMA 75ce76cd74 remove trailing white-spaces from lib/redmine/menu_manager.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 06:50:09 +00:00
Toshi MARUYAMA df47b73951 fix comment typo at lib/redmine/plugin.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-11 02:40:08 +00:00
Toshi MARUYAMA e10198f0d5 scm: bazaar: use self.class.sq_bin for command name at adpter scm_cmd_no_raise() (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:33:24 +00:00
Toshi MARUYAMA 4dea2870b7 scm: bazaar: use self.class.sq_bin for command name at adpter scm_cmd() (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:33:02 +00:00
Toshi MARUYAMA 9b66e09e7f scm: bazaar: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6282 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:32:38 +00:00
Toshi MARUYAMA 30476c90ee scm: git: use self.class.sq_bin for command name at adpter scm_cmd() (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:32:15 +00:00
Toshi MARUYAMA b8f96f6134 scm: git: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:31:51 +00:00
Toshi MARUYAMA eacffe0361 scm: mercurial: use self.class.sq_bin for command name at adpter scm_cmd() (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-15 16:31:27 +00:00
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
Toshi MARUYAMA 4a7243aa75 scm: bazaar: add -q option in "bzr annotate".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:13:43 +00:00
Toshi MARUYAMA 7c03f30cd1 scm: bazaar: refactor adapter annotate to use scm_cmd().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:11:25 +00:00
Toshi MARUYAMA 39a245e9ee scm: bazaar: refactor adapter info() to use scm_cmd().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:51:44 +00:00
Toshi MARUYAMA e23f319a4c scm: bazaar: add adapter "bzr_target()" method to common use.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:51:22 +00:00
Toshi MARUYAMA 793accb14a scm: switch to use shell quote with parameter in abstract adapter target().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:50:59 +00:00
Toshi MARUYAMA 747e3c82f6 scm: bazaar: add adapter scm_cmd() to run "bzr" command.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:50:35 +00:00
Toshi MARUYAMA d57910c39e scm: move ScmCommandAborted class from git and cvs adapter to abstract adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 16:14:15 +00:00
Toshi MARUYAMA e9deec685d scm: bazaar: use regexp %r{} instead of // in adapter branch_conf_path().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 16:13:34 +00:00
Toshi MARUYAMA 3d519e37ee scm: bazaar: check not nil in adapter append_revisions_only() (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 08:51:38 +00:00
Toshi MARUYAMA 57f3b6f592 scm: bazaar: use explicit return value in adapter branch_conf_path() (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 08:51:15 +00:00
Toshi MARUYAMA 8b032bccf1 scm: bazaar: add adapter method to get "append_revisions_only" value from .bzr/branch/branch.conf (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 08:05:58 +00:00
Toshi MARUYAMA 05b292030c scm: bazaar: add adapter method to get .bzr/branch/branch.conf path from specified path (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 07:46:03 +00:00
Jean-Philippe Lang 1b4a5e5aff Set version to 1.2.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 09:17:05 +00:00
Toshi MARUYAMA 61c5740a86 scm: git: override "path_encoding" method in adapter (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:39:42 +00:00
Toshi MARUYAMA a1e3cf8218 scm: mercurial: override "path_encoding" method in adapter (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:38:04 +00:00
Toshi MARUYAMA 0840ad69ea scm: cvs: override "path_encoding" method in adapter (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:18:53 +00:00
Toshi MARUYAMA cbd1715109 scm: filesystem: override "path_encoding" method in adapter (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:17:34 +00:00
Toshi MARUYAMA 3d4a3315f6 scm: add "path_encoding" method in abstract adapter (#2274, #3462, #2664, #5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:16:51 +00:00
Toshi MARUYAMA 38d5925d70 scm: git: back out r5673 (#7146).
recovery "block_given?" in adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:03:26 +00:00
Toshi MARUYAMA b8850ca9d6 scm: git: output log if revisions() catches an error (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:44:43 +00:00
Toshi MARUYAMA d778281881 scm: subversion: set svn:eol-style=native adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-10 17:52:56 +00:00
Toshi MARUYAMA 2714f6bcac remove trailing white-spaces from lib/tasks/locales.rake.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-10 11:41:30 +00:00
Toshi MARUYAMA 0418774f50 PDF: more strict Redmine TCPDF class initialize() (#8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-10 01:03:28 +00:00
Toshi MARUYAMA b97087bad5 PDF: remove unused Redmine FPDF class (#8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 11:12:48 +00:00
Toshi MARUYAMA 29f6dd2a9e PDF: import CJK patches and all languages use TCPDF (#8312).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 11:12:27 +00:00
Toshi MARUYAMA 3b50809423 PDF: code clean up lib/redmine/export/pdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 10:52:08 +00:00
Toshi MARUYAMA 5742f78bd1 PDF: switch encoding and font whether CJK and Thainland non UTF-8 or not in TCPDF Redmine class (#8312).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 10:41:02 +00:00
Toshi MARUYAMA 48a6fb45a7 PDF: replace invalid UTF-8 sequences in TCPDF (#61, #8312).
There is no guarantees that database strings are valid UTF-8 in Ruby 1.8 MySQL and SQLite3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:46:21 +00:00
Toshi MARUYAMA e25dd95389 PDF: replace invalid sequence in converting if encoding destination is UTF-8 (#61, #8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:45:40 +00:00
Toshi MARUYAMA 32a52a6540 PDF: move fix_text_encoding() logic to new method for common use in FPDF and TCPDF (#61, #8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:44:23 +00:00
Toshi MARUYAMA c4b58726e6 fix typo "heigth" to "height" in lib/redmine/helpers/gantt.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 09:50:39 +00:00
Toshi MARUYAMA f69572b956 scm: git: change local value "revisions" name to "revs" in adapter revisions().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 13:49:33 +00:00
Toshi MARUYAMA 1194235faa scm: git: remove unused "block_given?" from adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 13:49:10 +00:00
Toshi MARUYAMA e9e477426a scm: remove trailing white-spaces from abstract adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 13:48:36 +00:00
Toshi MARUYAMA 2db0475454 scm: subversion: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 13:48:07 +00:00
Toshi MARUYAMA 6d75ac6560 scm: filesystem: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 12:58:14 +00:00
Toshi MARUYAMA dafdcf3879 scm: darcs: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 12:57:54 +00:00
Toshi MARUYAMA a49339c646 scm: bazaar: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 12:57:32 +00:00
Toshi MARUYAMA 19098302ea scm: mercurial: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 12:57:10 +00:00
Toshi MARUYAMA e6fe554d43 scm: git: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 11:45:20 +00:00
Toshi MARUYAMA 479d9380a7 remove trailing white-spaces lib/redmine/export/pdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 10:40:12 +00:00
Toshi MARUYAMA 2711f4c745 remove trailing white-spaces lib/redmine/helpers/gantt.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 10:39:45 +00:00
Toshi MARUYAMA 114e3f3b82 scm: git: use the model value of whether reporting last commit in repository tree (#7047).
And remove entries_git() and the flag in adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 11:43:29 +00:00
Toshi MARUYAMA 919bf61cae PDF: wrap title fields properly (#8295).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 05:34:16 +00:00
Toshi MARUYAMA 19a9cba214 scm: git: call entries_git() in adapter entry() for browsing tree performance (#7047).
cat/diff/blame link calls adapter entry().
Abstract adapter entry() calls adapter entries().
Git adapter entries() is very slow.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 18:09:13 +00:00
Toshi MARUYAMA 193af67f99 scm: git: call entries_git() in adapter entriese() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 18:08:30 +00:00
Toshi MARUYAMA 18df827244 scm: git: override adapter entry() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 18:07:50 +00:00
Toshi MARUYAMA 97b4ee2fef scm: git: split adapter entries() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 18:07:15 +00:00
Toshi MARUYAMA 905a809774 scm: add "options" parameter in adapter entries().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 14:11:25 +00:00
Toshi MARUYAMA 8df05b9a6d scm remove trailing white-spaces in abstract adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 13:16:10 +00:00
Toshi MARUYAMA 741967ae68 scm: subversion: set available version above 1.3 (#4273, #1604).
"--xml" options are introduced in 1.3.
http://subversion.apache.org/docs/release-notes/1.3.html

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 08:26:38 +00:00
Toshi MARUYAMA bba6199e51 scm: subversion: fix newline 'LF' to 'CRLF' and remove trailing white-space.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 08:25:04 +00:00
Toshi MARUYAMA 956e8af591 scm: cvs: fix loss non ASCII paths if path_encoding is '' (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:02:44 +00:00
Toshi MARUYAMA d6a483684b scm: filesystem: fix loss non ASCII paths if path_encoding is '' (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:02:01 +00:00
Toshi MARUYAMA 7575989c78 scm: git: fix loss non ASCII paths if path_encoding is '' (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:01:28 +00:00
Toshi MARUYAMA ee7fe09b1e scm: mercurial: fix loss non ASCII paths if path_encoding is '' (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:00:57 +00:00
Toshi MARUYAMA 880e8e575a Wrap long text fields properly in PDF exports (#5629).
Contributed by Hugo Ferreira.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-30 00:29:22 +00:00
Toshi MARUYAMA c47144a14f PDF: use explicit return value in Redmine::Export::PDF.fix_text_encoding() (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 11:53:24 +00:00
Jean-Philippe Lang 4673f0cf31 Updates for 1.1.3 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 09:24:32 +00:00
Toshi MARUYAMA f62605c636 PDF: fix 0x5c(backslash) escape processing in FPDF (#61).
Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem.

Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:26 +00:00
Toshi MARUYAMA 828ce5d227 code clean up lib/tasks/extract_fixtures.rake.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-28 07:10:13 +00:00
Toshi MARUYAMA d1eb1fb07d change tabs to spaces in lib/redmine/version.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-25 23:21:06 +00:00
Toshi MARUYAMA 92023176b8 scm: bazaar: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-24 09:55:51 +00:00
Toshi MARUYAMA fb9fed39fe scm: git: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-24 09:55:26 +00:00
Toshi MARUYAMA 79b7e89cf9 scm: mercurial: change copied file from_revision from revision number to node id.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 09:33:07 +00:00
Toshi MARUYAMA a8e7936337 scm: mercurial: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 09:32:35 +00:00
Toshi MARUYAMA a78b12706a add Redmine::CodesetUtil and move replacing invalid utf8 logic to it.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:43:49 +00:00
Jean-Philippe Lang 6c8708f7e2 Makes set_own_issues_private permission not available to anonymous.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:30:25 +00:00
Jean-Philippe Lang f16cddd57a Private issues (#7414).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:23:13 +00:00
Toshi MARUYAMA da2c511cd1 scm: cvs: convert encoding paths in entries() of adapter (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:17:26 +00:00
Toshi MARUYAMA c84d2e6699 scm: cvs: convert encoding paths in revisions() of adapter (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:16:48 +00:00
Toshi MARUYAMA 991d39a9ac scm: cvs: convert encoding of command line arguments (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:16:04 +00:00
Toshi MARUYAMA eae0620e3a scm: cvs: set path encoding instance value (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:15:25 +00:00
Toshi MARUYAMA 50fe1ecc18 scm: cvs: strict string type and timezone in cvstime.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 04:23:42 +00:00
Toshi MARUYAMA 04a22fa757 scm: cvs: convert author encoding with log encoding setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 15:39:00 +00:00
Toshi MARUYAMA 7e5bc046d6 scm: cvs: add comment of author regexp fails in some non UTF-8 chars on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 15:01:10 +00:00
Toshi MARUYAMA 12c856124b scm: cvs: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-13 11:54:06 +00:00
Toshi MARUYAMA bc6b219fc9 scm: cvs: refactor adapter.
create new method path_with_proj() for calling cvs command.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 10:31:33 +00:00
Toshi MARUYAMA df04f56891 scm: cvs: remove adapter root_url() and url() methods which are implemented in abstract class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 08:04:12 +00:00
Toshi MARUYAMA d09e496a57 scm: cvs: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 06:53:08 +00:00
Toshi MARUYAMA 3bff6eb660 scm: subversion: use revision and identifier as string in blame.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:06:22 +00:00