]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoscm: cvs: add entries test in invalid revision in model.
Toshi MARUYAMA [Tue, 12 Apr 2011 05:46:21 +0000 (05:46 +0000)]
scm: cvs: add entries test in invalid revision in model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5434 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: darcs: model entries returns nil if revision is not stored in database.
Toshi MARUYAMA [Tue, 12 Apr 2011 05:45:37 +0000 (05:45 +0000)]
scm: darcs: model entries returns nil if revision is not stored in database.

Prevent showing invalid revision in repository tab.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5433 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: darcs: code clean up model.
Toshi MARUYAMA [Tue, 12 Apr 2011 05:44:48 +0000 (05:44 +0000)]
scm: darcs: code clean up model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5432 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: model entries returns nil if revision is not stored in database.
Toshi MARUYAMA [Tue, 12 Apr 2011 05:44:10 +0000 (05:44 +0000)]
scm: cvs: model entries returns nil if revision is not stored in database.

Prevent showing invalid revision in repository tab.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5431 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: subversion: use revision and identifier as string in blame.
Toshi MARUYAMA [Tue, 12 Apr 2011 05:06:22 +0000 (05:06 +0000)]
scm: subversion: use revision and identifier as string in blame.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5430 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: subversion: code clean up model.
Toshi MARUYAMA [Tue, 12 Apr 2011 05:05:35 +0000 (05:05 +0000)]
scm: subversion: code clean up model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5429 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: additional test of replacing invalid utf-8 sequences instead of stripping in...
Toshi MARUYAMA [Tue, 12 Apr 2011 05:04:45 +0000 (05:04 +0000)]
scm: additional test of replacing invalid utf-8 sequences instead of stripping in displaying repository contents on Ruby 1.8.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5428 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: replace invalid utf-8 sequences instead of stripping in displaying repository...
Toshi MARUYAMA [Tue, 12 Apr 2011 05:03:59 +0000 (05:03 +0000)]
scm: replace invalid utf-8 sequences instead of stripping in displaying repository contents on Ruby 1.8.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5427 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRemoved invalid css line.
Jean-Philippe Lang [Mon, 11 Apr 2011 19:35:06 +0000 (19:35 +0000)]
Removed invalid css line.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5426 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoDo not select the row when clicking on an image.
Jean-Philippe Lang [Mon, 11 Apr 2011 19:30:54 +0000 (19:30 +0000)]
Do not select the row when clicking on an image.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5425 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds a specific icon for deleting a relation.
Jean-Philippe Lang [Mon, 11 Apr 2011 19:30:33 +0000 (19:30 +0000)]
Adds a specific icon for deleting a relation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5424 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoDo a redirect when accessing a renamed wiki page.
Jean-Philippe Lang [Mon, 11 Apr 2011 19:21:57 +0000 (19:21 +0000)]
Do a redirect when accessing a renamed wiki page.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5423 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoCode cleanup.
Jean-Philippe Lang [Mon, 11 Apr 2011 19:04:39 +0000 (19:04 +0000)]
Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5422 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes the issue subject field use full width.
Jean-Philippe Lang [Mon, 11 Apr 2011 18:48:28 +0000 (18:48 +0000)]
Makes the issue subject field use full width.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5421 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSet fixed width for select tags on the issue form.
Jean-Philippe Lang [Mon, 11 Apr 2011 18:46:53 +0000 (18:46 +0000)]
Set fixed width for select tags on the issue form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5420 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdded strings for r5416.
Jean-Philippe Lang [Mon, 11 Apr 2011 18:36:07 +0000 (18:36 +0000)]
Added strings for r5416.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5419 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMoved the parent issue field above start/due date fields.
Jean-Philippe Lang [Mon, 11 Apr 2011 18:01:25 +0000 (18:01 +0000)]
Moved the parent issue field above start/due date fields.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5418 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: #setup triggers a failure even if git tests should not run.
Jean-Philippe Lang [Mon, 11 Apr 2011 17:58:04 +0000 (17:58 +0000)]
Fixed: #setup triggers a failure even if git tests should not run.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5417 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds an issues visibility level on roles (#7412).
Jean-Philippe Lang [Mon, 11 Apr 2011 17:53:15 +0000 (17:53 +0000)]
Adds an issues visibility level on roles (#7412).

It can be set so that users only see their own issues (created or assigned).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes an error raised by cvs test with Postgresql (revision is varchar).
Jean-Philippe Lang [Mon, 11 Apr 2011 16:54:35 +0000 (16:54 +0000)]
Fixes an error raised by cvs test with Postgresql (revision is varchar).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5415 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add invalid revision annotate test in unit model test.
Toshi MARUYAMA [Mon, 11 Apr 2011 15:47:04 +0000 (15:47 +0000)]
scm: cvs: add invalid revision annotate test in unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5414 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add test annotate with revision in unit model test.
Toshi MARUYAMA [Mon, 11 Apr 2011 15:46:07 +0000 (15:46 +0000)]
scm: cvs: add test annotate with revision in unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5413 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: use scm_cmd() in annotate of adapter.
Toshi MARUYAMA [Mon, 11 Apr 2011 15:45:20 +0000 (15:45 +0000)]
scm: cvs: use scm_cmd() in annotate of adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5412 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add annotate test of HEAD revision in unit model test.
Toshi MARUYAMA [Mon, 11 Apr 2011 15:44:38 +0000 (15:44 +0000)]
scm: cvs: add annotate test of HEAD revision in unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5411 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: override annotate() in model.
Toshi MARUYAMA [Mon, 11 Apr 2011 15:43:50 +0000 (15:43 +0000)]
scm: cvs: override annotate() in model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5410 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add test that cat returns nil if revision does not exist at model.
Toshi MARUYAMA [Mon, 11 Apr 2011 13:13:42 +0000 (13:13 +0000)]
scm: cvs: add test that cat returns nil if revision does not exist at model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5409 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: cat returns nil if revision does not exist at model.
Toshi MARUYAMA [Mon, 11 Apr 2011 13:12:37 +0000 (13:12 +0000)]
scm: cvs: cat returns nil if revision does not exist at model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5408 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add cat test of removed file in unit model test.
Toshi MARUYAMA [Mon, 11 Apr 2011 12:19:05 +0000 (12:19 +0000)]
scm: cvs: add cat test of removed file in unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5407 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up model.
Toshi MARUYAMA [Mon, 11 Apr 2011 12:05:59 +0000 (12:05 +0000)]
scm: cvs: code clean up model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5406 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: use model instead of adapter in unit model cat test.
Toshi MARUYAMA [Mon, 11 Apr 2011 12:04:58 +0000 (12:04 +0000)]
scm: cvs: use model instead of adapter in unit model cat test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5405 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: code clean up abstract_adapter.rb.
Toshi MARUYAMA [Mon, 11 Apr 2011 10:25:38 +0000 (10:25 +0000)]
scm: code clean up abstract_adapter.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5404 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: move :identifier from to attr_accessor in AbstractAdapter::Revision class.
Toshi MARUYAMA [Mon, 11 Apr 2011 10:24:44 +0000 (10:24 +0000)]
scm: move :identifier from to attr_accessor in AbstractAdapter::Revision class.

All scms which support blame use identifier.
This commit remove the link of cvs blame revision.
Redmine can not handle cvs revision (e.g. 1.2) as changeset identifier.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5403 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: override Revision.format_identifier() for blame in adapter.
Toshi MARUYAMA [Mon, 11 Apr 2011 08:34:59 +0000 (08:34 +0000)]
scm: cvs: override Revision.format_identifier() for blame in adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5402 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: set identifier nil in blame.
Toshi MARUYAMA [Mon, 11 Apr 2011 08:34:18 +0000 (08:34 +0000)]
scm: cvs: set identifier nil in blame.

Redmine can not handle cvs revision (e.g. 1.2) as changeset identifier.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5401 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: bazaar: use revision and identifier as string.
Toshi MARUYAMA [Mon, 11 Apr 2011 08:33:32 +0000 (08:33 +0000)]
scm: bazaar: use revision and identifier as string.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5400 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add -q option at rls.
Toshi MARUYAMA [Mon, 11 Apr 2011 07:02:13 +0000 (07:02 +0000)]
scm: cvs: add -q option at rls.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5399 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add invalid path entries test at unit model test.
Toshi MARUYAMA [Mon, 11 Apr 2011 07:01:30 +0000 (07:01 +0000)]
scm: cvs: add invalid path entries test at unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5398 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add -q option at rlog.
Toshi MARUYAMA [Mon, 11 Apr 2011 06:51:41 +0000 (06:51 +0000)]
scm: cvs: add -q option at rlog.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5397 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add -q option at cat.
Toshi MARUYAMA [Mon, 11 Apr 2011 06:30:47 +0000 (06:30 +0000)]
scm: cvs: add -q option at cat.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5396 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: use scm_cmd() in cat.
Toshi MARUYAMA [Mon, 11 Apr 2011 06:30:07 +0000 (06:30 +0000)]
scm: cvs: use scm_cmd() in cat.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5395 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add cat test in unit model test.
Toshi MARUYAMA [Mon, 11 Apr 2011 06:29:24 +0000 (06:29 +0000)]
scm: cvs: add cat test in unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5394 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: use scm_cmd() for diff.
Toshi MARUYAMA [Mon, 11 Apr 2011 05:53:35 +0000 (05:53 +0000)]
scm: cvs: use scm_cmd() for diff.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5393 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: bazaar: use identifier in blame.
Toshi MARUYAMA [Mon, 11 Apr 2011 05:52:55 +0000 (05:52 +0000)]
scm: bazaar: use identifier in blame.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5392 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: use revision and scmid in blame.
Toshi MARUYAMA [Mon, 11 Apr 2011 05:52:34 +0000 (05:52 +0000)]
scm: git: use revision and scmid in blame.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5391 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: subversion: use revision in blame.
Toshi MARUYAMA [Mon, 11 Apr 2011 05:52:07 +0000 (05:52 +0000)]
scm: subversion: use revision in blame.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5390 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up adapter.
Toshi MARUYAMA [Mon, 11 Apr 2011 04:18:55 +0000 (04:18 +0000)]
scm: cvs: code clean up adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5389 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: code clean up RepositoriesHelper.
Toshi MARUYAMA [Mon, 11 Apr 2011 04:18:13 +0000 (04:18 +0000)]
scm: code clean up RepositoriesHelper.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5388 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: more strict to_utf8() test in repository helper on Ruby 1.9.
Toshi MARUYAMA [Mon, 11 Apr 2011 03:06:43 +0000 (03:06 +0000)]
scm: more strict to_utf8() test in repository helper on Ruby 1.9.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5387 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up adapter.
Toshi MARUYAMA [Sun, 10 Apr 2011 12:27:53 +0000 (12:27 +0000)]
scm: cvs: code clean up adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5386 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: switch FPDF ANSI or TCPDF UTF-8 with general_pdf_encoding value instead of langu...
Toshi MARUYAMA [Sun, 10 Apr 2011 08:34:52 +0000 (08:34 +0000)]
PDF: switch FPDF ANSI or TCPDF UTF-8 with general_pdf_encoding value instead of language value such as 'ja' (#61).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5385 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: code clean up lib/redmine/export/pdf.rb.
Toshi MARUYAMA [Sun, 10 Apr 2011 08:34:31 +0000 (08:34 +0000)]
PDF: code clean up lib/redmine/export/pdf.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5384 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: switch FPDF font with general_pdf_encoding value instead of language value such...
Toshi MARUYAMA [Sun, 10 Apr 2011 08:34:02 +0000 (08:34 +0000)]
PDF: switch FPDF font with general_pdf_encoding value instead of language value such as 'ja' (#61).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5383 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: set general_pdf_encoding UTF-8 on non CJK and Thailand locales (#61).
Toshi MARUYAMA [Sun, 10 Apr 2011 08:33:33 +0000 (08:33 +0000)]
PDF: set general_pdf_encoding UTF-8 on non CJK and Thailand locales (#61).

Current trunk uses TCPDF without general_pdf_encoding value on non CJK and Thailand locales.
This commit purpose is preparing switching TCPDF or FPDF with general_pdf_encoding value
instead of language value such as 'ja'.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5382 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: code clean up lib/redmine/scm/adapters/abstract_adapter.rb.
Toshi MARUYAMA [Sun, 10 Apr 2011 08:11:18 +0000 (08:11 +0000)]
scm: code clean up lib/redmine/scm/adapters/abstract_adapter.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5381 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up lib/redmine/scm/adapters/cvs_adapter.rb.
Toshi MARUYAMA [Sun, 10 Apr 2011 08:10:57 +0000 (08:10 +0000)]
scm: cvs: code clean up lib/redmine/scm/adapters/cvs_adapter.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5380 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agochange "utf8" of general_csv_encoding to "UTF-8" in bs.yml and hr.yml.
Toshi MARUYAMA [Sun, 10 Apr 2011 04:46:11 +0000 (04:46 +0000)]
change "utf8" of general_csv_encoding to "UTF-8" in bs.yml and hr.yml.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5379 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: change "utf8" of general_pdf_encoding to "UTF-8" in bs.yml and hr.yml (#61).
Toshi MARUYAMA [Sun, 10 Apr 2011 01:55:58 +0000 (01:55 +0000)]
PDF: change "utf8" of general_pdf_encoding to "UTF-8" in bs.yml and hr.yml (#61).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5378 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up lib/redmine/scm/adapters/cvs_adapter.rb.
Toshi MARUYAMA [Sat, 9 Apr 2011 23:23:10 +0000 (23:23 +0000)]
scm: cvs: code clean up lib/redmine/scm/adapters/cvs_adapter.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5377 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up app/models/repository/cvs.rb.
Toshi MARUYAMA [Sat, 9 Apr 2011 23:22:22 +0000 (23:22 +0000)]
scm: cvs: code clean up app/models/repository/cvs.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5376 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: use upcase to compare encoding name "UTF-8" in log converting.
Toshi MARUYAMA [Sat, 9 Apr 2011 23:21:41 +0000 (23:21 +0000)]
scm: use upcase to compare encoding name "UTF-8" in log converting.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5375 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: code clean up app/models/changeset.rb.
Toshi MARUYAMA [Sat, 9 Apr 2011 23:21:04 +0000 (23:21 +0000)]
scm: code clean up app/models/changeset.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5374 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: replace invalid utf-8 sequences in comments instead of stripping on Ruby 1.8.
Toshi MARUYAMA [Sat, 9 Apr 2011 09:31:14 +0000 (09:31 +0000)]
scm: replace invalid utf-8 sequences in comments instead of stripping on Ruby 1.8.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5373 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: code clean up app/models/changeset.rb.
Toshi MARUYAMA [Sat, 9 Apr 2011 09:30:50 +0000 (09:30 +0000)]
scm: code clean up app/models/changeset.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5372 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: code clean up app/models/changeset.rb.
Toshi MARUYAMA [Sat, 9 Apr 2011 08:19:55 +0000 (08:19 +0000)]
scm: code clean up app/models/changeset.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5371 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: fix log converting error in Ruby 1.9 and add more tests.
Toshi MARUYAMA [Sat, 9 Apr 2011 08:07:22 +0000 (08:07 +0000)]
scm: fix log converting error in Ruby 1.9 and add more tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5370 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: more strict log converting test in Ruby 1.9.
Toshi MARUYAMA [Sat, 9 Apr 2011 07:52:34 +0000 (07:52 +0000)]
scm: more strict log converting test in Ruby 1.9.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5369 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: set empty log encoding UTF-8 in Ruby 1.9 and add tests.
Toshi MARUYAMA [Sat, 9 Apr 2011 06:34:33 +0000 (06:34 +0000)]
scm: set empty log encoding UTF-8 in Ruby 1.9 and add tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5368 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: not use Iconv for log converting in Ruby 1.9 and fix tests fails in Ruby 1.9.
Toshi MARUYAMA [Sat, 9 Apr 2011 05:41:12 +0000 (05:41 +0000)]
scm: not use Iconv for log converting in Ruby 1.9 and fix tests fails in Ruby 1.9.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5367 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: code clean up test/unit/changeset_test.rb.
Toshi MARUYAMA [Sat, 9 Apr 2011 05:40:25 +0000 (05:40 +0000)]
scm: code clean up test/unit/changeset_test.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5366 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds visibility condition to Issue.by_* count methods.
Jean-Philippe Lang [Fri, 8 Apr 2011 12:21:06 +0000 (12:21 +0000)]
Adds visibility condition to Issue.by_* count methods.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5365 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: add filesystem available test at unit repository test (#4273).
Toshi MARUYAMA [Fri, 8 Apr 2011 05:44:06 +0000 (05:44 +0000)]
scm: add filesystem available test at unit repository test (#4273).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5364 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add scm command tests at unit model test (#4273).
Toshi MARUYAMA [Fri, 8 Apr 2011 05:43:24 +0000 (05:43 +0000)]
scm: mercurial: add scm command tests at unit model test (#4273).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5363 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add scm command tests at unit model test (#4273).
Toshi MARUYAMA [Fri, 8 Apr 2011 05:42:43 +0000 (05:42 +0000)]
scm: git: add scm command tests at unit model test (#4273).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5362 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add client command tests at unit adapter test (#4273).
Toshi MARUYAMA [Fri, 8 Apr 2011 04:53:11 +0000 (04:53 +0000)]
scm: mercurial: add client command tests at unit adapter test (#4273).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5361 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add client command tests at unit adapter test (#4273).
Toshi MARUYAMA [Fri, 8 Apr 2011 04:52:26 +0000 (04:52 +0000)]
scm: git: add client command tests at unit adapter test (#4273).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5360 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: code clean up unit adapter test.
Toshi MARUYAMA [Fri, 8 Apr 2011 04:40:48 +0000 (04:40 +0000)]
scm: mercurial: code clean up unit adapter test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5359 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: set client available if cvs version above 0.9.5.
Toshi MARUYAMA [Fri, 8 Apr 2011 04:39:55 +0000 (04:39 +0000)]
scm: mercurial: set client available if cvs version above 0.9.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5358 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds missing strings for notification settings (#8075).
Jean-Philippe Lang [Thu, 7 Apr 2011 20:53:46 +0000 (20:53 +0000)]
Adds missing strings for notification settings (#8075).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5357 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes test broken by r5354.
Jean-Philippe Lang [Thu, 7 Apr 2011 20:49:33 +0000 (20:49 +0000)]
Fixes test broken by r5354.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5356 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds functional test for project copy.
Jean-Philippe Lang [Thu, 7 Apr 2011 17:25:51 +0000 (17:25 +0000)]
Adds functional test for project copy.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5355 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: empty list for user/version custom fields on bulk edit form (#2096).
Jean-Philippe Lang [Thu, 7 Apr 2011 16:34:58 +0000 (16:34 +0000)]
Fixed: empty list for user/version custom fields on bulk edit form (#2096).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5354 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes #possible_values for version custom field.
Jean-Philippe Lang [Thu, 7 Apr 2011 16:11:29 +0000 (16:11 +0000)]
Fixes #possible_values for version custom field.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5353 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.8 ...
Toshi MARUYAMA [Wed, 6 Apr 2011 10:50:24 +0000 (10:50 +0000)]
PDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.8 (#61).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5352 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: replace converting error characters instead of returning UTF-8 in FPDF ANSI...
Toshi MARUYAMA [Wed, 6 Apr 2011 10:50:01 +0000 (10:50 +0000)]
PDF: replace converting error characters instead of returning UTF-8 in FPDF ANSI on Ruby 1.8 (#61).

In Japan, UTF-8 characters in Shift_JIS(CP932) becomes garbling(MOJI-BAKE).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5351 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.9 ...
Toshi MARUYAMA [Wed, 6 Apr 2011 10:16:29 +0000 (10:16 +0000)]
PDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.9 (#61).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5350 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: use "-c log.decorate=no" option instead of "--no-decorate" of "git log...
Toshi MARUYAMA [Wed, 6 Apr 2011 07:16:25 +0000 (07:16 +0000)]
scm: git: use "-c log.decorate=no" option instead of "--no-decorate" of "git log" above Git 1.7.2 (#8081, #8083).

Git on Redmine CI Server does not support "--no-decorate" option of "git log".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5349 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: change "decorate = short" to "decorate = no" in config log section of test...
Toshi MARUYAMA [Wed, 6 Apr 2011 07:15:35 +0000 (07:15 +0000)]
scm: git: change "decorate = short" to "decorate = no" in config log section of test repository (#8081, #8083).

Git on Redmine CI Server does not support "--no-decorate" option of "git log".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5348 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: nil safe at fix_text_encoding(txt) of lib/redmine/export/pdf.rb.
Toshi MARUYAMA [Wed, 6 Apr 2011 05:52:07 +0000 (05:52 +0000)]
PDF: nil safe at fix_text_encoding(txt) of lib/redmine/export/pdf.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5345 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: add test of Ruby 1.9 compatibility of '0x5c'(backslash) handling in FPDF ANSI...
Toshi MARUYAMA [Wed, 6 Apr 2011 05:39:26 +0000 (05:39 +0000)]
PDF: add test of Ruby 1.9 compatibility of '0x5c'(backslash) handling in FPDF ANSI (#61, #117).

Japanese Shift_JIS and Traditional Chinese Big5 have '0x5c'(backslash) problem.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5344 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: Ruby 1.9 compatibility of '0x5c'(backslash) handling in FPDF ANSI (#61, #117).
Toshi MARUYAMA [Wed, 6 Apr 2011 05:38:31 +0000 (05:38 +0000)]
PDF: Ruby 1.9 compatibility of '0x5c'(backslash) handling in FPDF ANSI (#61, #117).

Japanese Shift_JIS and Traditional Chinese Big5 have '0x5c'(backslash) problem.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5343 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: add \\(double backslashes) handling of FPDF ANSI test in unit lib test (#61...
Toshi MARUYAMA [Wed, 6 Apr 2011 04:28:19 +0000 (04:28 +0000)]
PDF: add \\(double backslashes) handling of FPDF ANSI test in unit lib test (#61, #117).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5342 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: fix \\(double backslashes) handling of FPDF ANSI (#61, #117).
Toshi MARUYAMA [Wed, 6 Apr 2011 04:27:38 +0000 (04:27 +0000)]
PDF: fix \\(double backslashes) handling of FPDF ANSI (#61, #117).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5341 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: set language 'ja' in '0x5c'(backslash) handling unit lib test (#61, #117).
Toshi MARUYAMA [Wed, 6 Apr 2011 02:41:48 +0000 (02:41 +0000)]
PDF: set language 'ja' in '0x5c'(backslash) handling unit lib test (#61, #117).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5339 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add "decorate = short" in config log section of test repository (#8081).
Toshi MARUYAMA [Wed, 6 Apr 2011 02:41:27 +0000 (02:41 +0000)]
scm: git: add "decorate = short" in config log section of test repository (#8081).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5338 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: create new unit lib pdf test and add '0x5c'(backslash) handling test (#61, ...
Toshi MARUYAMA [Wed, 6 Apr 2011 00:40:51 +0000 (00:40 +0000)]
PDF: create new unit lib pdf test and add '0x5c'(backslash) handling test (#61, #117).

Japanese Shift_JIS and Traditional Chinese Big5 have '0x5c'(backslash) problem.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5337 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode clean up lib/redmine/export/pdf.rb.
Toshi MARUYAMA [Tue, 5 Apr 2011 23:04:32 +0000 (23:04 +0000)]
code clean up lib/redmine/export/pdf.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5335 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add "--no-decorate" option in "git log".
Toshi MARUYAMA [Tue, 5 Apr 2011 23:03:49 +0000 (23:03 +0000)]
scm: git: add "--no-decorate" option in "git log".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5334 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoLocalize anonymous and non member roles names (#8072).
Jean-Philippe Lang [Tue, 5 Apr 2011 22:37:45 +0000 (22:37 +0000)]
Localize anonymous and non member roles names (#8072).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5333 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoWrap text custom fields in the issue list (#8064).
Jean-Philippe Lang [Tue, 5 Apr 2011 22:18:49 +0000 (22:18 +0000)]
Wrap text custom fields in the issue list (#8064).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5332 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPDF: Ruby 1.9 compatibility for FPDF ANSI (#61).
Toshi MARUYAMA [Tue, 5 Apr 2011 14:13:03 +0000 (14:13 +0000)]
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