OSDN Git Service
Toshi MARUYAMA [Fri, 15 Apr 2011 07:15:25 +0000 (07:15 +0000)]
scm: cvs: set path encoding instance value (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5461
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 15 Apr 2011 04:23:42 +0000 (04:23 +0000)]
scm: cvs: strict string type and timezone in cvstime.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5460
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 14 Apr 2011 17:49:20 +0000 (17:49 +0000)]
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5459
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 14 Apr 2011 16:32:03 +0000 (16:32 +0000)]
Skip memberships query for anonymous user.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5458
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 14 Apr 2011 16:29:51 +0000 (16:29 +0000)]
Skip a count query.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5457
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 14 Apr 2011 15:39:00 +0000 (15:39 +0000)]
scm: cvs: convert author encoding with log encoding setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5456
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 14 Apr 2011 15:01:55 +0000 (15:01 +0000)]
scm: cvs: fix parsing revisions if author is not ASCII.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5455
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 14 Apr 2011 15:01:10 +0000 (15:01 +0000)]
scm: cvs: add comment of author regexp fails in some non UTF-8 chars on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5454
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 14 Apr 2011 10:18:16 +0000 (10:18 +0000)]
scm: git: more strict functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5453
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 14 Apr 2011 07:20:57 +0000 (07:20 +0000)]
scm: cvs: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5452
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 14 Apr 2011 05:03:36 +0000 (05:03 +0000)]
scm: cvs: update test repository.
add "tag00" tag and "branch00" branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5451
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 13 Apr 2011 11:54:42 +0000 (11:54 +0000)]
scm: cvs: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5450
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 13 Apr 2011 11:54:06 +0000 (11:54 +0000)]
scm: cvs: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5449
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 13 Apr 2011 11:53:33 +0000 (11:53 +0000)]
scm: darcs: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5448
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 12 Apr 2011 19:53:14 +0000 (19:53 +0000)]
Adds a helper for issue heading (#7647).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5447
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 12 Apr 2011 19:50:48 +0000 (19:50 +0000)]
Fixed no method error due to typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5446
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 12 Apr 2011 19:45:47 +0000 (19:45 +0000)]
No need to query changesets if user is not allowed to view them.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5445
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 12 Apr 2011 19:37:56 +0000 (19:37 +0000)]
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5444
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 12 Apr 2011 19:22:44 +0000 (19:22 +0000)]
Adds noindex,noarchive robots meta tag on form pages (#7582).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5443
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 12 Apr 2011 16:53:39 +0000 (16:53 +0000)]
Extract visibility condition from project statement and use visible scopes instead.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5442
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 12 Apr 2011 16:31:00 +0000 (16:31 +0000)]
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
Toshi MARUYAMA [Tue, 12 Apr 2011 12:24:43 +0000 (12:24 +0000)]
scm: cvs: fix unit model cat test fails on Windows.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5440
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 12 Apr 2011 12:24:25 +0000 (12:24 +0000)]
scm: cvs: code clean up unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5439
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 12 Apr 2011 10:31:33 +0000 (10:31 +0000)]
scm: cvs: refactor adapter.
create new method path_with_proj() for calling cvs command.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5438
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 12 Apr 2011 08:04:12 +0000 (08:04 +0000)]
scm: cvs: remove adapter root_url() and url() methods which are implemented in abstract class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5437
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 12 Apr 2011 06:53:08 +0000 (06:53 +0000)]
scm: cvs: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5436
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 12 Apr 2011 05:47:05 +0000 (05:47 +0000)]
scm: darcs: add entries test in invalid revision in model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5435
e93f8b46-1217-0410-a6f0-
8f06a7374b81
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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