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
Jean-Philippe Lang
b972b5a647
Fixed: list of users for adding to a group may be empty if 100 first users have been added ( #8029 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 16:47:30 +00:00
Jean-Philippe Lang
4e7835c68c
Fixed: bulk destroying parent and child issues raises a stale object error ( #7920 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 16:26:53 +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
063ae06b09
Gantt routes with format.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:30:32 +00:00
Jean-Philippe Lang
a669dfbd7f
Shortens filter param names.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:00:23 +00:00
Jean-Philippe Lang
25ea0f34a6
Keep filter params in 'Per page' links.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:50:18 +00:00
Jean-Philippe Lang
4641716771
Disable unused filter fields so they don't get submitted.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:48:06 +00:00
Jean-Philippe Lang
a80b909cc8
Converted issue filters to non-AJAX GET requests ( #1965 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:34:44 +00:00
Jean-Philippe Lang
cf8d195929
Set native EOL.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:02:05 +00:00
Jean-Philippe Lang
c6e34b0c11
Initialize TimeEntry with issue and project for the issue edit form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:00:31 +00:00
Jean-Philippe Lang
2be6f54f23
Fixes #possible_values_options when given an object with nil project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 13:56:25 +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
122ba564b9
Fix test/integration/api_test/users_test.rb fails due to changing en.yml ( #8035 , #7855 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 00:46:29 +00:00
Toshi MARUYAMA
10f66e425e
Fix annotate functional roles_controller_test.rb due fails to changing en.yml ( #8035 , #7855 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 00:11:02 +00:00
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