Commit Graph

161 Commits

Author SHA1 Message Date
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
Jean-Philippe Lang da6c149275 Makes activity providers use visible scopes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:52:20 +00:00
Toshi MARUYAMA dfe83ffa91 PDF: fix width calculation of multi byte character in Simplified and Traditional Chinese (#61).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 02:12:09 +00:00
Toshi MARUYAMA 2b899b73ad PDF: fix the problem that TCPDF built-in font breaks in the Windows (#61).
This problem occurs because the EOF character string is included in the built-in font.

Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-02 08:01:29 +00:00
Jean-Philippe Lang 2c4cc25433 Limits nested set overhead when destroying an issue without children.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 18:58:29 +00:00
Jean-Philippe Lang 6550ef9df5 Fixed: deleting a parent issue may lead to a stale object error (#7920).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 18:42:41 +00:00
Toshi MARUYAMA 516320e82b PDF: back out r5253 (#7794, #61).
r5256 fixed #7794 completely.
r5253 effects the width of the ASCII character of Japanese PDF.

Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:46:18 +00:00
Jean-Philippe Lang 1cd6a2aa84 Adds User and Version custom field format that can be used to reference a project member or version in custom fields (#2096).
These new field formats are available for project, issue, version and time entry custom fields.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 13:44:58 +00:00
Toshi MARUYAMA dbe71b4f3b PDF: fix syntax errors at vendor/plugins/rfpdf/lib/tcpdf.rb on Ruby 1.9 (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 23:44:20 +00:00
Toshi MARUYAMA 8db478808d PDF: comment out Mime pdf in vendor/plugins/rfpdf/init.rb (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 05:46:58 +00:00