Commit Graph

170 Commits

Author SHA1 Message Date
Jean-Philippe Lang 967e6413e5 Fixed that tag[0] may be nil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 17:57:51 +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 83e7ee6729 Extracts custom field values validation from CustomValue so that they can be validated globally from the customized object (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-28 11:16:58 +00:00
Toshi MARUYAMA 09c305d29f Rails3.2: pdf: comment out ::ActionView::TemplateHandlers::ERB of rfpdf plugin (#4796)
ActionView::TemplateHandlers is deprecated on Rails3.2
and Redmine cannot boot on Rails3.2.
Redmine does not use this rfpdf plugin feature.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-26 05:15:40 +00:00
Jean-Philippe Lang ed1320f3c9 Use #scoped instead of .with_scope
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 18:23:45 +00:00
Jean-Philippe Lang e75549cc8e Removed useless after_initialize callback.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 14:58:27 +00:00
Jean-Philippe Lang bb0cd34f4e Additional tests for SearchController and handle my_projects scope without memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 18:23:53 +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 a63027e175 Fixed that custom values get saved when assigning custom values after changing to a tracker with different custom fields (#9737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 22:20:49 +00:00
Jean-Philippe Lang 4485745dc6 Use scopes instead of ARCondition.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:42:49 +00:00
Toshi MARUYAMA e210c5613f pdf: fix textilized outputs of coderay line numbers (#9692)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 07:59:32 +00:00
Jean-Philippe Lang 9fa6b26350 before_validation_on_create callback removed in Rails 3.1.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 20:54:51 +00:00
Jean-Philippe Lang 36728d779d Adds an option to force nested set rebuild (#9577).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 19:58:43 +00:00
Jean-Philippe Lang 594074d91b Fixed: Deleting a subtasks doesn't update parent's rgt & lft values, introduced by r5286 (#9577).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 19:55:21 +00:00
Toshi MARUYAMA 6cd33a4815 improve rmagick feature of rfpdf plugin for PDF inline images (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 07:52:03 +00:00
Toshi MARUYAMA 105f30c93f pdf: add logger at vendor/plugins/rfpdf/lib/tcpdf.rb (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:17:06 +00:00
Toshi MARUYAMA 39d0e3abd2 add newline at end of vendor/plugins/rfpdf/lib/core/rmagick.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-07 00:12:26 +00:00
Etienne Massip 92fdc4240f Added missing gem spec to coderay vendored gem (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:42:02 +00:00
Etienne Massip 8c2ae427fa Update CodeRay version to 1.0 final (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:35:15 +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 ff058061c4 PDF: remove unused vendor/plugins/rfpdf/lib/barcode/* (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 07:44:07 +00:00
Toshi MARUYAMA aa1eba4432 PDF: remove unused sjis.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 07:15:37 +00:00
Toshi MARUYAMA 402a49e883 PDF: remove unused zapfdingbats.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 06:20:26 +00:00
Toshi MARUYAMA 9b50078638 PDF: remove unused symbol.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 06:20:01 +00:00
Toshi MARUYAMA b89a3d9483 PDF: remove unused courier.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 06:19:31 +00:00
Toshi MARUYAMA afdb811d0a PDF: remove unused times*.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 06:19:00 +00:00
Toshi MARUYAMA 9147ed10af PDF: remove unused vera*.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 05:47:40 +00:00
Toshi MARUYAMA aa834b4bf7 PDF: remove unused vera fonts (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 03:37:32 +00:00
Toshi MARUYAMA 54bbdab65e PDF: remove unused FreeMono fonts (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 03:36:49 +00:00
Toshi MARUYAMA cd166360af PDF: remove unused DejaVu fonts except DejaVuSans-BoldOblique (#8892, #8566).
FreeSans has freesansbi.rb. But there is no dejavusansbi.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-03 08:48:35 +00:00
Toshi MARUYAMA 74e29b6b32 PDF: remove unused DejaVuSans-ExtraLight font (#8892, #8566).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-03 08:16:52 +00:00
Jean-Philippe Lang 9957883c4d Fixed: Error deleting issue with grandchild (#8880).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 08:35:48 +00:00
Toshi MARUYAMA 79c9fdfa61 PDF: import rfpdf tcpdf patch for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 04:00:55 +00:00
Toshi MARUYAMA e9cdaf0d4b PDF: import Chinese rfpdf patch for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 03:48:37 +00:00
Toshi MARUYAMA 047ba7c879 PDF: import Korean rfpdf patch for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 03:47:56 +00:00
Toshi MARUYAMA dc4123cb9b PDF: import Japanese rfpdf patch for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 03:47:15 +00:00
Toshi MARUYAMA fa86ef3542 PDF: replace RAILS_ROOT to Rails.root at vendor/plugins/rfpdf/lib/tcpdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 23:41:54 +00:00
Toshi MARUYAMA 902a9773fe PDF: fix font name in vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb (#8566).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 23:18:20 +00:00
Toshi MARUYAMA 5beeda65a0 PDF: Import DejaVu fonts (#8566).
http://rfpdf.googlecode.com/files/DejaVu.zip
Sep. 2007
fils size 3,685,721
md5sum: 54274d105b74f817d649035fc1541d8a

rename files.
* DejaVuSans.rb  to dejavusans.rb
* DejaVuSansb.rb to dejavusansb.rb
* DejaVuSansi.rb to dejavusansi.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 23:13:14 +00:00
Jean-Philippe Lang ef00501c36 Fixed: validation error on issue creation when trying to add an invalid user as a watcher (#5373).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 10:30:26 +00:00
Jean-Philippe Lang 7e1f04bdfb Do not propose users that can't view an issue as watchers (#7412).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 09:14:36 +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 ba2fb5340e PDF: import tcpdf.rb patch (#8312).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 07:35:02 +00:00
Toshi MARUYAMA e6e0578d29 PDF: fix automatic line break problem with TCPDF (#8310).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 10:40:40 +00:00
Toshi MARUYAMA 46bd78aa21 PDF: fix automatic line break in Chinese PDF (#5629).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-30 05:58:15 +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
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
Jean-Philippe Lang 949b355ef2 Fixed: ambiguous lft column SQL error on Issue#descendants with a join on projects.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 16:31:00 +00:00
Toshi MARUYAMA 47dccc53b3 PDF: Ruby 1.9 compatibility for FPDF ANSI (#61).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 14:13:03 +00:00
Jean-Philippe Lang 2b8d32a30e Makes search providers use visible scopes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:55:19 +00:00