Commit Graph

950 Commits

Author SHA1 Message Date
Jean-Philippe Lang e7b9a9c6ff Replace RAILS_DEFAULT_LOGGER with ::Rails.logger (#11013).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 16:54:23 +00:00
Toshi MARUYAMA 0ba0a7bcc9 remove commented out Rails2 including from lib/redmine/hook.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-09 10:50:10 +00:00
Jean-Philippe Lang e876d1bfc0 Changes RedMine to Redmine in copyright notices.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 13:02:45 +00:00
Jean-Philippe Lang ba5a052c8c Copyright update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Toshi MARUYAMA ad8193dcde fix label_for_field of LabelledFormBuilder always has class="error" in label tag
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-04 14:33:35 +00:00
Jean-Philippe Lang 5b680625c1 Adds a simple script/about.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 11:41:15 +00:00
Jean-Philippe Lang b097a1753e Let redmine:plugins:assets mirror a single plugin assets with name=.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 10:25:22 +00:00
Jean-Philippe Lang 45093230a9 Adds deprecated tasks for plugins migration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 09:02:34 +00:00
Jean-Philippe Lang 49b28fca68 Clean up custom field format definition.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 16:19:32 +00:00
Jean-Philippe Lang 5985713335 Restores plugin assets mirroring on startup, but it can now be disabled in configuration.yml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 11:07:59 +00:00
Jean-Philippe Lang 68f8470d4a Makes image_tag pick the image from the current theme if it exists.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 09:47:09 +00:00
Jean-Philippe Lang 03335d014c Restores support for :plugin support to stylesheet_link_tag and javascript_include_tag helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 09:10:46 +00:00
Jean-Philippe Lang cb16661d36 Removes the XML declaration that breaks the parser with JRuby.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-26 17:57:49 +00:00
Jean-Philippe Lang 6d41de61a5 Do not sanitize escaped text in NullFormatter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 19:49:26 +00:00
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang 306af1d017 Updates for 1.4.1 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-20 09:59:51 +00:00
Etienne Massip dd8d8e0560 Updated CodeRay to 1.0.6.
Fixed multiline comments highlighting issue in file view (#7495).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-12 17:54:55 +00:00
Jean-Philippe Lang de0689d4f4 Makes time syntax case insensitive (#10635).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-11 17:37:13 +00:00
Jean-Philippe Lang 04e7b18869 Fixed that export links include page parameter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-11 17:02:21 +00:00
Jean-Philippe Lang 6a9e16deda Set version to 1.4.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 09:40:38 +00:00
Toshi MARUYAMA 3e11f9abfe scm: git: use stdin instead of command line in "git log" (#10470)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9282 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-28 15:40:37 +00:00
Toshi MARUYAMA fbe959b2a8 scm: git: rename "scm_cmd" to "git_cmd" and not use variable argument (#10470)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-28 11:21:26 +00:00
Toshi MARUYAMA 2145b650a6 Ruby1.9: scm: use :set_encoding instead of "RUBY_VERSION < '1.9'" for IO.popen (#10470)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-28 10:54:38 +00:00
Toshi MARUYAMA e55c8f6b67 pdf: enhanced issues list (#10464)
* Automatic calculation of the size of table columns depending on their content
* Output table header on each page

Contributed by Yuri Makarov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-20 07:09:15 +00:00
Toshi MARUYAMA b17b673039 remove trailing white-spaces from lib/redmine/export/pdf.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-19 23:22:04 +00:00
Jean-Philippe Lang 16fbb3664c Updates for 1.3.2 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 08:20:41 +00:00
Toshi MARUYAMA fe6d37812d set svn:eol-style native lib/redmine/core_ext/date/calculations.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 04:55:57 +00:00
Toshi MARUYAMA d131cf88c1 set svn:eol-style native lib/redmine/core_ext/date.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 04:54:16 +00:00
Jean-Philippe Lang af75583b23 Adds Redmine::Utils.random_hex for generating a random hex string.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 11:05:02 +00:00
Jean-Philippe Lang c7b1a42d19 Adds Redmine::Plugin.public_directory to be used instead of Engines.public_directory.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 10:29:47 +00:00
Jean-Philippe Lang 739820141a Extracted auto_link and auto_mailto to a module.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 10:04:46 +00:00
Jean-Philippe Lang 4eb7ac1107 Fixed DarcsAdapter for ruby 1.9.3.
Unlike 1.8 and 1.9.2, Entries#compact returns an Array with 1.9.3, instead of an Entries object, resulting in a "undefined method `sort_by_name'" error.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 08:40:41 +00:00
Jean-Philippe Lang 6aae25209a Fixed that partial diffs are done against html instead of original code (#9143).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:39:47 +00:00
Jean-Philippe Lang 0ede069d2c Allows custom styles in textile formatting using a white list of styles (#2416).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:00:43 +00:00
Toshi MARUYAMA 58996e891e scm: git: explicitly return string as default branch (#10207)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 08:26:31 +00:00
Toshi MARUYAMA 2fa19441a7 scm: git: use default branch from HEAD (#10207)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 06:22:59 +00:00
Jean-Philippe Lang 004968caf3 Removed extra argument from SubversionAdapter#diff.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 11:33:17 +00:00
Jean-Philippe Lang 1e66a0c069 POP3 task only recognizes Message-ID header, not Message-Id (#10198).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 10:06:14 +00:00
Toshi MARUYAMA d90cdb1b10 scm: git: raise exception if "git log" is error and block is given in lib revision method (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-10 22:56:54 +00:00
Toshi MARUYAMA 34b3a9851f scm: git: add includes and excludes options to lib revisions method (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 23:38:35 +00:00
Toshi MARUYAMA f319409abc scm: git: remove unused "--all" option of "git log" in lib revisions method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:18:20 +00:00
Jean-Philippe Lang fd4071fadb Updates for 1.3.1 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 11:14:52 +00:00
Jean-Philippe Lang 1d4ef8964d Adds a "Manage related isses" permission to add/remove commits/issues relations manually from the changeset view (#2009).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 10:56:27 +00:00
Jean-Philippe Lang be9f1c592e Removed border around wiki pages in PDF.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 23:11:26 +00:00
Jean-Philippe Lang 7abaa570c6 Fix for ruby1.9.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 22:53:53 +00:00
Jean-Philippe Lang 7409963c9a Fix for ruby1.9.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 20:11:08 +00:00
Jean-Philippe Lang 3d27bf5318 Adds export of all wiki pages to a PDF file (#3463).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:42:14 +00:00
Jean-Philippe Lang a749e788ab Adds bookmarks to PDF when exporting a grouped issue list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:01:47 +00:00
Jean-Philippe Lang 79b12c73d9 Display of multi custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:01:40 +00:00
Jean-Philippe Lang cd6db6a3cb Adds support for multiselect custom fields (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Jean-Philippe Lang 0c5af16e14 Support for nested array in API builder.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 18:29:09 +00:00
Jean-Philippe Lang a6a627f445 Adds "Status" to the time report criteria (#9985).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 09:51:56 +00:00
Jean-Philippe Lang f56949af8b Do not add invalid label attribute to input tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:30:34 +00:00
Etienne Massip 59789c7997 Moved Date months/weeks calculations used in Graph to lib.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 19:02:10 +00:00
Jean-Philippe Lang 86a52eaedf Makes .find_ids return integers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 21:35:00 +00:00
Jean-Philippe Lang b1504ceb43 Adds previous/next links to issue (#2850).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 20:09:44 +00:00
Jean-Philippe Lang 38843eb7aa Missing html_safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 22:26:27 +00:00
Jean-Philippe Lang eb931d4998 Missing html_safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 16:58:17 +00:00
Jean-Philippe Lang cf5dba2beb Check that controller and request methods are available.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:40:04 +00:00
Etienne Massip 5a33d7292f Backout 8239.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 22:15:47 +00:00
Etienne Massip b49f83a22a Log return code if error.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 21:59:49 +00:00
Jean-Philippe Lang f6dd3c5484 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:57:59 +00:00
Jean-Philippe Lang 77e8a76af3 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:43:31 +00:00
Jean-Philippe Lang 6c91e1420a Removed dependency with monkey-patched rubytree.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 22:51:18 +00:00
Jean-Philippe Lang 7d501eaf81 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 20:40:03 +00:00
Jean-Philippe Lang 805c65f55d Extracted new_subclass_instance method to a module.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 19:18:06 +00:00
Jean-Philippe Lang b1bb26b1e0 ruby1.9: macro must accept 2 arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:55:47 +00:00
Toshi MARUYAMA eb789b147a scm: git: remove unused --since option (#4547, #4716, #7146, #6013)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 11:55:02 +00:00
Jean-Philippe Lang 877fbc15da Renamed TabularFormBuilder to Redmine::Views::LabelledFormBuilder.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:45:38 +00:00
Etienne Massip f385a3e3da Handle spaces in development scm stderr log file path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 19:22:00 +00:00
Jean-Philippe Lang 24317f617e Adds an explicit error message for invalid YAML configuration file (#9748).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 18:54:41 +00:00
Toshi MARUYAMA 62fb6e0f4b pdf: move note number to the head of line for single issue's PDF (#9720)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 03:44:25 +00:00
Jean-Philippe Lang 6a1830e9e3 Replace raw SQL with a .count call.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 18:27:10 +00:00
Jean-Philippe Lang 81afd9d0c7 Fixed time report broken by r8085.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 17:58:01 +00:00
Toshi MARUYAMA 3f79a914d9 pdf: add note number for single issue's PDF (#9720)
Contributed by Akiko T.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 07:34:52 +00:00
Jean-Philippe Lang 7362cd2e10 Removed unused method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 21:12:33 +00:00
Jean-Philippe Lang caf898d7d1 Extracted time report logic from the controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 18:46:43 +00:00
Jean-Philippe Lang 6372688edd Set version to 1.3.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 21:04:58 +00:00
Jean-Philippe Lang fd24250be0 Fixed: crypting blank passwords raises an error (#9137).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:47:51 +00:00
Jean-Philippe Lang d66c8faa9b Fixed: Wiki section edit escapes pre tags inside pre blocks (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 22:08:15 +00:00
Jean-Philippe Lang c5cabfe106 Fixed: Wiki section edit escapes code tags inside pre blocks (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 21:45:02 +00:00
Jean-Philippe Lang 9f15517095 Fixed: Angle brackets within 'pre' blocks are silently replaced by HTML entities during wiki section-edit (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 17:56:50 +00:00
Toshi MARUYAMA 9dfaa562fc pdf: expand relational issues status column width of issue pdf (#5634)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 05:58:32 +00:00
Toshi MARUYAMA b200fcfdae pdf: add the new feature to include attachment images (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:12:00 +00:00
Toshi MARUYAMA 81bbb8f9b8 pdf: lib: prepare to use rfpdf plug-in rmagick feature (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:36 +00:00
Toshi MARUYAMA 1b4fc4aee8 pdf: lib: add "attachments" parameter at RDMwriteHTMLCell method (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:01 +00:00
Toshi MARUYAMA f936b7b5a4 pdf: lib: add the method to return attachment from filename and encoding (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 09:43:01 +00:00
Jean-Philippe Lang a756103b10 Use controller instead of instance variable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 18:28:11 +00:00
Jean-Philippe Lang 4f907d5c9e Initialize @childrenHash.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 18:25:30 +00:00
Toshi MARUYAMA 1a576be384 pdf: lib: remove unused "include Redmine::I18n" from RDMPdfEncoding class
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 16:38:27 +00:00
Jean-Philippe Lang 886310055b Omit subtasks/related issues sections when empty on PDF export (#5634).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 13:36:30 +00:00
Jean-Philippe Lang 1e8a9da131 Handle the case of a text formatter that doesn't support section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:41:54 +00:00
Jean-Philippe Lang 6fc245327c Wiki: allows single section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA c8bbcfbe47 pdf: lib: set image scale at issue_to_pdf method (#3261)
wiki_to_pdf method has already done.

Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 14:57:20 +00:00
Toshi MARUYAMA 88f8daf8b7 move repositories helper to_utf8 logic to lib/redmine/codeset_util.rb for common use (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 11:53:15 +00:00
Toshi MARUYAMA 8433bbab69 move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for common use (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 05:07:16 +00:00
Toshi MARUYAMA b58d029294 code layout clean up lib/redmine/export/pdf.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:02 +00:00
Toshi MARUYAMA 9a93bd1484 move Changeset#to_utf8 logic to lib/redmine/codeset_util.rb for common use (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 23:04:45 +00:00
Toshi MARUYAMA 19fc985daa pdf: add subtasks and related issues at issue pdf (#5634)
Contributed by Bernhard Furtmueller and Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:18:02 +00:00
Toshi MARUYAMA c57a0842d6 pdf: add ancestor issues at head of issue pdf (#5634)
Contributed by Bernhard Furtmueller and Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:17:35 +00:00
Toshi MARUYAMA c4d9c29de9 pdf: remove unused "require 'rfpdf/fpdf'" (#8312)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:16:26 +00:00
Toshi MARUYAMA c63ab52201 Rails3: replace deprecated RAILS_DEFAULT_LOGGER at lib/redmine/ciphering.rb (#9552)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:40:49 +00:00
Jean-Philippe Lang e9f9927534 Fixed: Error when reading ciphered text from the database without cipher key configured (#9552).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:04:33 +00:00
Jean-Philippe Lang 55b2ca8170 Updates for 1.2.2 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:52:55 +00:00
Toshi MARUYAMA 9334d29520 pdf: indent subject of subtask ticket in exported issues PDF (#8617)
Contributed by Hayato Ito.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 10:10:24 +00:00
Toshi MARUYAMA 1713432ab0 pdf: lib: add a method to export wiki (#401)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:48:28 +00:00
Toshi MARUYAMA c71208d18d scm: mercurial: lib: return array of Branch class instead of array of strings at branches method (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:19:13 +00:00
Toshi MARUYAMA cec6f5c3b0 scm: git: lib: return array of Branch class instead of array of strings at branches method (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:17:46 +00:00
Toshi MARUYAMA 033214578f scm: lib: add Branch class to abstract adapter (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:17:13 +00:00
Toshi MARUYAMA 36f51878a3 scm: git: lib: add parents to Revision class (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:58:26 +00:00
Toshi MARUYAMA 031b5bf4eb scm: mercurial: lib: add parents to Revision class (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:56:41 +00:00
Toshi MARUYAMA 0ff17efb4d scm: lib: add parents attribute to Revision class of abstract adapter (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:55:54 +00:00
Toshi MARUYAMA 887893601e scm: mercurial: remove unused "tags" from xml log templete
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 03:38:02 +00:00
Toshi MARUYAMA 918eac2cbd scm: mercurial: add parents to xml log template (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 02:46:38 +00:00
Toshi MARUYAMA 81ef038587 scm: mercurial: drop supporting below Mercurial 1.1 (#9465)
On November 1st 2011, Mercurial 2.0 will be released.

On Mercurial 1.1.2, unit lib test fails with following error.

<pre>
Traceback (most recent call last):
  File "/WEB-DOWN/hg-repo/hg-crew/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 367, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 416, in _runcommand
    return checkargs()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 376, in checkargs
    return cmdfunc()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 361, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/util.py", line 715, in check
    return func(*args, **kwargs)
  File "/REDMINE-1/hg-workdir/redmine-bb-all/lib/redmine/scm/adapters/mercurial/redminehelper.py", line 149, in rhlog
    if hg.util.version() >= '1.6':
AttributeError: 'module' object has no attribute 'version'

  1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
    lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
    lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 06:10:12 +00:00
Toshi MARUYAMA ed87fc4e66 scm: mercurial: switch rev parameter of extension rhlog() if above Mercurial 1.6 or not (#9465)
On Mercurial 1.5, following error raises.

<pre>
hg --config extensions.redminehelper=lib/redmine/scm/adapters/mercurial/redminehelper.py \
  --rhbranch default --from default --to 0

abort: unknown revision '"default"'!
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 09:32:06 +00:00
Toshi MARUYAMA a6d3409a5a scm: mercurial: fix extension cmdtable on Mercurial 1.5 (#9465)
Before Mercurial revision "40c06bbf58be":http://www.selenic.com/repo/hg-stable/rev/40c06bbf58be ,
following error raises.

<pre>
Traceback (most recent call last):
  File "/WEB-DOWN/hg-repo/hg-crew/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 30, in dispatch
    return _runcatch(u, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 47, in _runcatch
    return _dispatch(ui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 398, in _dispatch
    cmd, func, args, options, cmdoptions = _parse(lui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 277, in _parse
    args = fancyopts.fancyopts(args, c, cmdoptions, True)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/fancyopts.py", line 62, in fancyopts
    for short, name, default, comment in options:
ValueError: too many values to unpack

  1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
    lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
    lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 09:31:36 +00:00
Etienne Massip d1efb4f148 Update CodeRay version to 1.0 final (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:34:30 +00:00
Toshi MARUYAMA e2f57b5874 Rails3: lib: helper: use html_safe for Gantt
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:13:03 +00:00
Toshi MARUYAMA 8e7b0a7bac fix typos in lib/redmine/hook.rb (#9291)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 09:47:31 +00:00
Toshi MARUYAMA 569e768cdb remove trailing white-spaces from lib/redmine/search.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:48:40 +00:00
Toshi MARUYAMA ffe523c79e remove trailing white-spaces from lib/redmine/themes.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:48:17 +00:00
Toshi MARUYAMA 55eef24dce remove trailing white-spaces from lib/redmine/notifiable.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:47:52 +00:00
Toshi MARUYAMA c1548381ba remove trailing white-spaces from lib/redmine/platform.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:47:28 +00:00
Toshi MARUYAMA 1efbd3ddbf remove trailing white-spaces from lib/redmine/pop3.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:47:03 +00:00
Toshi MARUYAMA c3a23f9d21 remove trailing white-spaces from lib/redmine/utils.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:46:36 +00:00
Toshi MARUYAMA 94c9f79385 remove trailing white-spaces from lib/redmine/access_control.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:45:43 +00:00
Toshi MARUYAMA f299f39f51 remove trailing white-spaces from lib/redmine/custom_field_format.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:45:15 +00:00
Toshi MARUYAMA f0f6dc4888 remove trailing white-spaces from lib/redmine/safe_attributes.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:44:44 +00:00
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 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 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 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 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 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
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 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 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