Commit Graph

1084 Commits

Author SHA1 Message Date
Toshi MARUYAMA 125ffb33d3 remove trailing white-spaces from lib/redmine/syntax_highlighting.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:44:16 +00:00
Toshi MARUYAMA 3d1d57d04c remove trailing white-spaces from lib/redmine/plugin.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:43:47 +00:00
Toshi MARUYAMA e9cbfa032f remove trailing white-spaces from lib/redmine/hook.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:12:17 +00:00
Toshi MARUYAMA 58563b4bcb remove trailing white-spaces from lib/redmine/mime_type.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:11:54 +00:00
Toshi MARUYAMA 03c6fb1b9d remove trailing white-spaces from lib/tabular_form_builder.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:11:30 +00:00
Toshi MARUYAMA 3587d3d105 remove trailing white-spaces from lib/redmine/imap.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 01:14:35 +00:00
Toshi MARUYAMA 22ca26abc0 remove trailing white-spaces from lib/redmine/access_keys.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 08:27:45 +00:00
Toshi MARUYAMA b0bba4884e remove trailing white-spaces from lib/tasks/initializers.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 08:18:52 +00:00
Toshi MARUYAMA d32982ed4c remove trailing white-spaces from lib/tasks/load_default_data.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 08:18:23 +00:00
Toshi MARUYAMA a8f89fa088 remove trailing white-spaces from lib/tasks/locales.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 08:17:58 +00:00
Toshi MARUYAMA 8474b08456 remove trailing white-spaces from lib/tasks/migrate_from_trac.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 08:17:29 +00:00
Toshi MARUYAMA 83133302f4 fix typo in imap examples at lib/tasks/email.rake (#9198)
Contributed by Nathan L Smith.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 01:00:19 +00:00
Toshi MARUYAMA b19e5c5c01 remove trailing white-spaces from lib/redmine/views/api_template_handler.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:12:42 +00:00
Toshi MARUYAMA 593f5f6fa4 remove trailing white-spaces from lib/redmine/views/builders.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:11:54 +00:00
Toshi MARUYAMA 6f4decc237 remove trailing white-spaces from lib/redmine/views/builders/json.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:11:09 +00:00
Toshi MARUYAMA 804a4e3794 remove trailing white-spaces from lib/redmine/views/builders/structure.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:10:25 +00:00
Toshi MARUYAMA 65396dbd35 remove trailing white-spaces from lib/redmine/views/builders/xml.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:09:41 +00:00
Toshi MARUYAMA 11f1a6846b remove trailing white-spaces from lib/redmine/views/other_formats_builder.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:08:54 +00:00
Toshi MARUYAMA 44be7d1a46 remove trailing white-spaces from lib/redmine/activity/fetcher.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:08:09 +00:00
Toshi MARUYAMA 28c4e0494e remove trailing white-spaces from lib/redmine/core_ext/string/conversions.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:07:24 +00:00
Toshi MARUYAMA 2531cec6db remove trailing white-spaces from lib/redmine/core_ext/string/inflections.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:06:39 +00:00
Toshi MARUYAMA 3d5eedffb2 remove trailing white-spaces from lib/redmine/default_data/loader.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:05:57 +00:00
Toshi MARUYAMA 325f6a721a remove trailing white-spaces from lib/redmine/helpers/calendar.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:05:11 +00:00
Toshi MARUYAMA 09d4503eb5 remove trailing white-spaces from lib/redmine/wiki_formatting/macros.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:04:41 +00:00
Toshi MARUYAMA 1556481ab1 remove trailing white-spaces from lib/redmine/wiki_formatting/textile/formatter.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:04:13 +00:00
Toshi MARUYAMA 9be5f2aad6 remove trailing white-spaces from lib/redmine/wiki_formatting/textile/helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:03:23 +00:00
Toshi MARUYAMA a57feec16c remove trailing white-spaces from lib/redmine/wiki_formatting.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:51:38 +00:00
Toshi MARUYAMA 54ae8de42b remove trailing white-spaces from lib/redmine/ciphering.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:48:43 +00:00
Toshi MARUYAMA 7d26d8167b remove trailing white-spaces from lib/redmine/configuration.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:48:02 +00:00
Toshi MARUYAMA 87faf96f6a remove trailing white-spaces from lib/redmine/i18n.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:45:09 +00:00
Toshi MARUYAMA 9957c3c98a remove trailing white-spaces from lib/redmine/unified_diff.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:44:26 +00:00
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