Commit Graph

4285 Commits

Author SHA1 Message Date
Toshi MARUYAMA f96d7ce8e0 scm: git: fix annotate test due to changing en.yml (#8035, #7855).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-31 16:46:24 +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
Jean-Philippe Lang 3ec97f951e Possible values label not hidden on custom field form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 19:00:17 +00:00
Jean-Philippe Lang 8b39f62a4c Modules selection lost on project form after validation failure (#8012).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 17:16:25 +00:00
Jean-Philippe Lang b12994e12e Removed hard coded french strings (#8020).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 16:56:52 +00:00
Jean-Philippe Lang 64c026e34e Fixes en-GB translation for field_member_of_group and field_assigned_to_role (#7855).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 16:49:52 +00:00
Jean-Philippe Lang dafb0b1227 Set native eol on en-GB.yml (#7855).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 16:46:06 +00:00
Jean-Philippe Lang 706485aaec Translations updates by joergleis (#7855).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 16:44:45 +00:00
Jean-Philippe Lang 4d0cc94d91 Japanese translation update by Yuki Kita.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 16:37:55 +00:00
Toshi MARUYAMA 325af8d48c PDF: switch TCPDF UTF-8 or FPDF ANSI (#61).
If server is Windows or language is CJK or Thai, Redmine uses FPDF.
Else Redmine uses TCPDF.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 11:32:35 +00:00
Toshi MARUYAMA 988841d69a PDF: prepare switching TCPDF UTF-8 in non CJK or FPDF ANSI in CJK (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 07:32:08 +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
Toshi MARUYAMA 404ba921e2 PDF: import CJK patches (#61).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 05:05:11 +00:00
Toshi MARUYAMA 56a7ff0bc7 PDF: comment out memoizes (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 05:04:51 +00:00
Toshi MARUYAMA 2d97a7453b PDF: transplant r4602 (#61).
Ruby1.9 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:28:10 +00:00
Toshi MARUYAMA 8b0144248c PDF: transplant r5183 (#61).
Fix an internal server error on formatting an issue as a PDF in Japanese (#7794).

Contributed by Yuki Sonoda.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:27:50 +00:00
Toshi MARUYAMA b257ad1457 PDF: transplant r1497 (#61).
Fixes Chinese pdf export when the issue description is too long (#1170).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:27:29 +00:00
Toshi MARUYAMA 000cf8fa9e PDF: transplant r3389 (#61).
Korean support for PDF export (#4639).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:27:09 +00:00
Toshi MARUYAMA b9b2f24540 PDF: transplant r393 (#61).
Added chinese simplified translation (Andy Wu)
Fixed rfpdf chinese.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:26:47 +00:00
Toshi MARUYAMA aff157f0a0 PDF: transplant r287 (#61).
Fix for #9.
Export feature(to csv/pdf) doesn't work in Japanese
csv and pdf encoding are know defined for each language
(general_csv_encoding and general_pdf_encoding keys in lang files)
added SJIS font for japanese pdf exports.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:26:24 +00:00
Toshi MARUYAMA ad5dcaf179 PDF: add missing rfpdf requires (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:26:01 +00:00
Toshi MARUYAMA 22e8d9b949 PDF: update rfpdf (#61).
https://github.com/edwinmoss/rfpdf
revision a04724b4af95c15a99675b34e353c15534d20411

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:23:54 +00:00
Jean-Philippe Lang 13d6b3129b Adds support for preview when editing an issue note (#5520).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 21:45:30 +00:00
Jean-Philippe Lang af968bfb22 Save queries.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 20:56:28 +00:00
Jean-Philippe Lang ba0c9069ed Save 2 queries when displaying a root issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 20:32:35 +00:00
Jean-Philippe Lang 1c03b418e1 Save 1 query + 1 cache hit in #shared_versions for root projects.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 20:29:43 +00:00
Jean-Philippe Lang 2d3f69f8b1 Escapes wiki help link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 20:16:05 +00:00
Jean-Philippe Lang f7edfe7652 Prettier wiki syntax help link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 20:12:15 +00:00
Jean-Philippe Lang 9730ff2225 Adds wiki toolbar to notes editing form (#7899).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 20:04:48 +00:00
Jean-Philippe Lang bf58ad61e5 Load scripts and css for wiki formatter toolbar when needed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 19:59:35 +00:00
Jean-Philippe Lang 70d765e906 Moves jstoolbar script include tags to head.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 19:56:22 +00:00
Jean-Philippe Lang 393df388fc Context menu: keep parent item highlighted when hovering a submenu item.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 19:24:02 +00:00
Jean-Philippe Lang 86eed08fbf Fixes progress calculation on gantt (#7838).
Contributed by Etienne Massip.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 17:35:20 +00:00
Toshi MARUYAMA 927a6b045e add .svn/ and .git/ to .hgignore.
"hg addremove" adds .svn/ and .git/ if .hgignore does not have these.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 04:54:13 +00:00
Toshi MARUYAMA e6a425dd72 i18n: fix typo general_pdf_encoding "UFT-8" in sl.yml (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 01:09:53 +00:00
Jean-Philippe Lang d42ce927c7 Fixed windows detection in reposman.rb (#8003).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 16:58:21 +00:00
Jean-Philippe Lang 96ff8ef4bc Fixes wrong test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 16:49:35 +00:00
Jean-Philippe Lang 08f44b67f5 Fixed links in new file notification broken by r4051 (#6590).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 16:38:08 +00:00
Jean-Philippe Lang 100a53d240 French translation update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 16:25:24 +00:00
Jean-Philippe Lang 78af4f429f Adds support for saturday as the first week day (#7097).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:43:26 +00:00
Jean-Philippe Lang 3ef5daaf35 Restore settings even if a test failure occurs.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:41:05 +00:00
Jean-Philippe Lang 4f9d3f80c4 Moved calendar tests to unit/lib/redmine/helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:26:59 +00:00
Jean-Philippe Lang a2baf9f695 Do not send reminders to locked users (#5773).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:12:38 +00:00
Jean-Philippe Lang ca5951b4f6 Allow bulk editing of parent issue (#5831).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:00:02 +00:00
Toshi MARUYAMA 590cc111fc scm: remove "View all revisions" in sub directory (#7984).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-26 02:40:13 +00:00
Toshi MARUYAMA 7ec605fe04 scm: add rev param to "View revisions" (#7984).
There are two paths to show specific revision.
* http://www.redmine.org/projects/redmine/repository/revisions/5219/show
* http://www.redmine.org/projects/redmine/repository/show?rev=5219

First link is http://www.redmine.org/projects/redmine/repository/revisions/5219/changes .
But, Second link is http://www.redmine.org/projects/redmine/repository/changes .

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-26 02:39:31 +00:00
Jean-Philippe Lang 437c5658d7 Adds css classes to parent/child issues (#7986).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-25 18:31:32 +00:00
Jean-Philippe Lang f6ac158de9 Set style more specifically to avoid clashes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-25 18:15:16 +00:00
Toshi MARUYAMA 69311c9d2f scm: do not display 'View revision' links in subversion if path or revision are nil (#7984).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 23:43:33 +00:00
Toshi MARUYAMA 023a0efa10 scm: backout r5213. do not display both 'View all revisions' and 'View revision' links (#7984, #7246).
Git and Mercurial support *branch*.

Git in repository root shows *master branch*.
Git master branch does not have all revisions.

Mercurial default branch is *default branch*.
Mercurial shows *tip* in repository root.

Mercurial does not treat directory. "hg log DIR" costs high.
Getting correct limited changesets in sub directory and branch is very heavy.
So, if there is no recent revision in sub directory and branch,
no changeset shows.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 23:42:50 +00:00