Commit Graph

1502 Commits

Author SHA1 Message Date
Toshi MARUYAMA 0ceeecc854 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
2011-04-12 12:24:25 +00:00
Toshi MARUYAMA 20b33942ba 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
2011-04-12 05:47:05 +00:00
Toshi MARUYAMA cad14abea7 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
2011-04-12 05:46:21 +00:00
Toshi MARUYAMA 5bb06ae42d 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
2011-04-12 05:04:45 +00:00
Toshi MARUYAMA bb48d96d30 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
2011-04-12 05:03:59 +00:00
Jean-Philippe Lang 3cc7353093 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
2011-04-11 19:21:57 +00:00
Jean-Philippe Lang c52f928f35 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
2011-04-11 17:58:04 +00:00
Jean-Philippe Lang aa0d01b3d9 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
2011-04-11 17:53:15 +00:00
Jean-Philippe Lang 5fd891aa72 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
2011-04-11 16:54:35 +00:00
Toshi MARUYAMA 5b9655ab8e 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
2011-04-11 15:47:04 +00:00
Toshi MARUYAMA 0b68a74fc7 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
2011-04-11 15:46:07 +00:00
Toshi MARUYAMA 9df194ff16 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
2011-04-11 15:44:38 +00:00
Toshi MARUYAMA 28a8d62fe4 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
2011-04-11 13:13:42 +00:00
Toshi MARUYAMA 9287f3cf73 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
2011-04-11 12:19:05 +00:00
Toshi MARUYAMA 7b72dc874d 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
2011-04-11 12:04:58 +00:00
Toshi MARUYAMA d595bed7ef 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
2011-04-11 07:01:30 +00:00
Toshi MARUYAMA 51242b967d 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
2011-04-11 06:29:24 +00:00
Toshi MARUYAMA bf68788867 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
2011-04-11 03:06:43 +00:00
Toshi MARUYAMA 6536c53e09 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
2011-04-09 09:31:14 +00:00
Toshi MARUYAMA 1104c3900c 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
2011-04-09 08:07:22 +00:00
Toshi MARUYAMA c711ead46c 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
2011-04-09 07:52:34 +00:00
Toshi MARUYAMA 1b0473c38e 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
2011-04-09 06:34:33 +00:00
Toshi MARUYAMA e297c1c244 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
2011-04-09 05:41:12 +00:00
Toshi MARUYAMA 1ef54041da 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
2011-04-09 05:40:25 +00:00
Jean-Philippe Lang fee9d605a3 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
2011-04-08 12:21:06 +00:00
Toshi MARUYAMA 3bc9972d5e 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
2011-04-08 05:44:06 +00:00
Toshi MARUYAMA b30ece064b 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
2011-04-08 05:43:24 +00:00
Toshi MARUYAMA d21f7fe1bf 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
2011-04-08 05:42:43 +00:00
Toshi MARUYAMA 46d970a552 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
2011-04-08 04:53:11 +00:00
Toshi MARUYAMA ce3a03f4e8 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
2011-04-08 04:52:26 +00:00
Toshi MARUYAMA bb2aec653d 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
2011-04-08 04:40:48 +00:00
Jean-Philippe Lang c2d2761caa Adds functional test for project copy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-07 17:25:51 +00:00
Jean-Philippe Lang d0ea5fae62 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
2011-04-07 16:34:58 +00:00
Toshi MARUYAMA 5eea9ec61a 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
2011-04-06 10:50:24 +00:00
Toshi MARUYAMA 561f6bb6d1 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
2011-04-06 10:16:29 +00:00
Toshi MARUYAMA 2e0fdb39ef 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
2011-04-06 07:15:35 +00:00
Toshi MARUYAMA d6e2e81f0c 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
2011-04-06 05:52:07 +00:00
Toshi MARUYAMA 411c7100cb 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
2011-04-06 05:39:26 +00:00
Toshi MARUYAMA 470ff0c6e5 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
2011-04-06 04:28:19 +00:00
Toshi MARUYAMA 7f923cdc66 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
2011-04-06 02:41:48 +00:00
Toshi MARUYAMA 7ca82846fc 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
2011-04-06 02:41:27 +00:00
Toshi MARUYAMA d20bc57be0 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
2011-04-06 00:40:51 +00:00
Jean-Philippe Lang 44214ed1aa 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
2011-04-05 22:37:45 +00:00
Jean-Philippe Lang 5823481d6e 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
2011-04-05 22:18:49 +00:00
Jean-Philippe Lang c9a3700cfc Removed a duplicate test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 13:04:59 +00:00
Jean-Philippe Lang 5f7f69e214 Removed calls to deprecated Project.visible_by method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:57:18 +00:00
Jean-Philippe Lang 405fc07e90 Makes visible scopes accept projects option and deprecate Project.visible_by.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:50:19 +00:00
Jean-Philippe Lang e3dae9ddbf Cleaner way to handle the replacement of watch links (#8071).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:09:15 +00:00
Jean-Philippe Lang 1af6527e42 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 11:40:31 +00:00
Toshi MARUYAMA c2baf187ac add functional tests for bulk edit time entries (#7996).
Contributed by Adam Soltys.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 11:54:22 +00:00
Toshi MARUYAMA 6d13ed58db i18n: add test of utf-8 strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 02:39:43 +00:00
Toshi MARUYAMA 846ac262ec Remove empty lines from test/unit/mailer_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 01:10:10 +00:00
Jean-Philippe Lang 3c06f66d71 Shorten query[column_names] param name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 14:31:32 +00:00
Jean-Philippe Lang b0ade644d6 Changed timelogs filters to use non-AJAX requests (#1965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 11:55:24 +00:00
Toshi MARUYAMA bc5be82683 Fix typo "attachements" in test/integration/issues_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-02 08:01:06 +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
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 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 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
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 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 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 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
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 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 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
Jean-Philippe Lang c17ff5f024 Fixed: unknown custom field format causes error when editing/bulk editing (#7985).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 18:24:30 +00:00
Toshi MARUYAMA 26a82965f0 scm: filesystem: increase non ascii contents ratio of test repository (#6256).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 23:49:48 +00:00
Toshi MARUYAMA f15b12556f scm: set mime type in downloading file.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 16:56:52 +00:00
Toshi MARUYAMA cb297048df scm: filesystem: add test for no extension file mime type in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 16:56:07 +00:00
Toshi MARUYAMA 7ba5b27d09 scm: filesystem: fix todo comment of MIME_TYPES of big-file.txt in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 15:56:28 +00:00
Toshi MARUYAMA d43493fc79 scm: filesystem: add test for displaying file over max size limit (#6256).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 15:33:33 +00:00
Toshi MARUYAMA fb0d24d37e scm: filesystem: add test for UTF-16 file displaying (#6256).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 15:32:47 +00:00
Toshi MARUYAMA 53b41950d1 scm: filesystem: add test for non ascii text file displaying (#6256).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 15:32:03 +00:00
Toshi MARUYAMA 0597adfe53 scm: filesystem: update test repository for non ascii text files displaying (#6256).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 15:30:19 +00:00
Toshi MARUYAMA 9000cdbf2f scm: mercurial: add test of binary file should be force download in functional test (#6256).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 11:26:57 +00:00
Toshi MARUYAMA d5ee82cea9 scm: mercurial: use constant for project id in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 11:26:15 +00:00
Toshi MARUYAMA 9e191adcae scm: mercurial: remove duplicate test from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 10:46:23 +00:00
Toshi MARUYAMA bf251a586b scm: darcs: remove duplicate test from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 10:46:02 +00:00
Toshi MARUYAMA ec2fd81f7b scm: filesystem: add test of no extension file whose content is only ASCII can be showing (#6256).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 10:45:39 +00:00
Toshi MARUYAMA 002ff62e33 scm: git: remove duplicate test from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 09:54:11 +00:00
Toshi MARUYAMA b9bfb0f117 scm: filesystem: add functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 09:53:49 +00:00
Toshi MARUYAMA d590a5583b scm: code clean up test/unit/repository_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 08:42:29 +00:00
Toshi MARUYAMA e580dbc6a3 scm: code clean up test/functional/repositories_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 07:48:04 +00:00
Toshi MARUYAMA e6cbb1cd6b scm: filesystem: change project id of unit model test from 1 to 3.
Project id 1 has Subversion fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 05:48:06 +00:00
Toshi MARUYAMA 3f3b6c8fd2 scm: filesystem: code clean up unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 05:47:24 +00:00
Toshi MARUYAMA f161d1833c scm: filesystem: code clean up unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 05:46:43 +00:00
Toshi MARUYAMA dc63efa535 scm: cvs: check assign changesets in root directory showing of functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 04:17:58 +00:00
Toshi MARUYAMA bda4f7b6ee scm: cvs: remove duplicate test in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 04:17:18 +00:00
Jean-Philippe Lang 53ad42e1d8 Fixed: atom links on wiki index broken by r4266.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-21 18:10:04 +00:00
Jean-Philippe Lang 3d551f97e1 Fixed: Simultaneous wiki updates cause internal error (#7939).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-21 16:55:28 +00:00
Toshi MARUYAMA 679e40dfb4 Fix typo in test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 23:10:11 +00:00
Jean-Philippe Lang e1ae0e9777 Adds an option to view issues count by status on the version page (#7921).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 21:06:30 +00:00
Jean-Philippe Lang 0b3f2bc650 Fixed: news comments not deleted when deleting a project (#7904).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 20:26:59 +00:00
Jean-Philippe Lang f279b48288 Fixes subversion tests not running on win32.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 18:25:38 +00:00
Jean-Philippe Lang 50cb77cfbb Fixed: children projects are deleted instead of being destroyed when destroying parent project (#7904).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 11:46:01 +00:00
Toshi MARUYAMA 09996c3524 scm: add unit test of invalid utf8 sequences should be stripped in repository_helper to_utf8().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 05:46:47 +00:00
Toshi MARUYAMA e6e4256ee4 scm: to_utf8() in repositories_helper always returns UTF-8 in Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 05:46:25 +00:00
Toshi MARUYAMA a9d089dbcb scm: git: strict Ruby 1.9 string test in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:54:22 +00:00
Toshi MARUYAMA 899d1d8acb scm: git: strict Ruby 1.9 string test in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:54:00 +00:00
Toshi MARUYAMA f065c6f461 scm: subversion: code clean up unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:53:34 +00:00
Toshi MARUYAMA 8d0d1d50cc scm: code clean up unit model changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:53:08 +00:00
Toshi MARUYAMA c051572070 scm: strict Ruby 1.9 string test in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:52:45 +00:00
Toshi MARUYAMA b404ba776f scm: subversion: simplify Ruby 1.9 string test in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:52:18 +00:00
Toshi MARUYAMA 4923ff76fa scm: fix repository helper unit test fails in Ruby 1.9 and non UTF-8 locale.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:51:46 +00:00
Jean-Philippe Lang 0502df816d Do not actually try to fetch changesets from the subversion repository.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 20:31:01 +00:00
Jean-Philippe Lang e904a5aae6 Adds a test for AuthSourcesController#destroy with users.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 19:52:16 +00:00
Jean-Philippe Lang a8ccddc289 Removes a space before argument parentheses.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 18:30:37 +00:00
Jean-Philippe Lang 899d410e0b Adds a Group filter on the admin users list (#7893).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 18:20:08 +00:00
Toshi MARUYAMA 7ffdd961e9 scm: bazaar: add changesets order test in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 05:50:06 +00:00
Jean-Philippe Lang 83df013f47 Adds a visible scope to the Journal model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 17:16:45 +00:00
Jean-Philippe Lang 5f889932b6 Changed the way the visibility SQL statement is built.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 15:39:59 +00:00
Jean-Philippe Lang 3328a1fc37 Use names instead of ids for wiki anchors (#6905).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 22:01:43 +00:00
Jean-Philippe Lang 6f5ffce799 Fixed: line breaks are ignored in quoted text (#6148).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 20:35:36 +00:00
Jean-Philippe Lang 208d2d4090 Moved text formatting tests from application_helper tests to formatter tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 20:29:06 +00:00
Toshi MARUYAMA d317aec3ef scm: mercurial: add tag test in functional test (#1981).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 13:42:37 +00:00
Toshi MARUYAMA 3285a721b1 scm: mercurial: add named branch test in functional test (#7246).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 13:42:16 +00:00
Toshi MARUYAMA 6702b26515 scm: mercurial: add test of latest changesets support named branch in unit model test (#7246).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 13:41:28 +00:00
Toshi MARUYAMA 59c791b2e1 scm: mercurial: add latest changesets supporting tag test in unit model test (#1981).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 11:15:23 +00:00
Toshi MARUYAMA 081a90701a scm: mercurial: add latest changesets improvement test in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 11:03:55 +00:00
Toshi MARUYAMA 29c1aadbb5 scm: mercurial: add latest changesets improvement test in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 11:03:34 +00:00
Toshi MARUYAMA c8ce22c275 scm: mercurial: latest changesets improvement and supporting tag (#1981).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 10:36:34 +00:00
Toshi MARUYAMA a5e55a9053 scm: mercurial: check changesets size is greater than 0 in browse test in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 10:23:51 +00:00
Toshi MARUYAMA cb2dc02a67 scm: git: add browsing tag test in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 08:16:23 +00:00
Toshi MARUYAMA 3c3e16e022 scm: git: check entries and changesets size are greater than 0 in browse test in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 08:16:03 +00:00
Toshi MARUYAMA 953e8e0f72 scm: git: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 08:15:42 +00:00
Toshi MARUYAMA f3822e18bd scm: mercurial: prepare tests of named branch and tag in functional test (#1981, #7246).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 08:15:22 +00:00
Toshi MARUYAMA 7e96ea617c scm: mercurial: prepare tests of named branch and tag in unit model test (#1981, #7246).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 08:15:00 +00:00
Toshi MARUYAMA 620e428e95 scm: mercurial: code clean up unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 08:14:38 +00:00
Toshi MARUYAMA cbe59c5990 scm: mercurial: add test of non ASCII named branch in unit adapter test (#7246).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 04:55:20 +00:00
Toshi MARUYAMA 5abec74de3 scm: mercurial: add test of non ASCII tag in unit adapter test (#1981).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 04:55:03 +00:00
Toshi MARUYAMA 5edc631791 scm: mercurial: prepare test of wrapping revision of cat and annotate with URL encoding (#1981, #7246).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 04:54:45 +00:00
Jean-Philippe Lang 7927bc2d89 Check for a valid time entry if comments have been entered when updating an issue (#7581).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 16:38:01 +00:00
Toshi MARUYAMA d48a7e148e scm: mercurial: remove unused parameters from "nodes_in_branch()" method in adapter (#7246, #4455).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 15:03:05 +00:00
Jean-Philippe Lang 59bf5cea6e Fixed: mail handler keywords are not removed when updating issues (#7785).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 13:24:56 +00:00
Jean-Philippe Lang 9375f1c3a4 Prevent SystemStackError on Issue#all_dependent_issues with mutiple circular dependencies (#7320).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5104 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 13:00:55 +00:00
Toshi MARUYAMA 72d6b2c8df scm: mercurial: add tests for "nodes_in_branch()" method in adapter (#7246, #4455).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 10:52:03 +00:00
Jean-Philippe Lang 7db930f1b4 Fixed: Wiki headings containing backslash followed by a digit are not displayed correctly (#7846).
Contributed by Etienne Massip.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 18:28:30 +00:00
Jean-Philippe Lang b8b35ab05f Moved wiki page updated_on eager load to a scope and fixed timestamp titles on wiki page index (#7818).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 18:09:46 +00:00
Jean-Philippe Lang f7127e9466 Fixed: wiki page with backslash in title can not be found (#7589).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 13:42:29 +00:00
Jean-Philippe Lang fcf0162c8d Fixes diff test regarding r5094.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5096 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 12:14:14 +00:00
Jean-Philippe Lang d96fd25e64 Fixes diff test regarding r5094.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 12:06:58 +00:00
Jean-Philippe Lang 21c79827ff Highlight changes inside diff lines (#7139).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 20:23:29 +00:00
Toshi MARUYAMA 099ba68836 scm: cvs: fix missing author, revision and comment in tree view (#4270).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 12:06:05 +00:00
Toshi MARUYAMA cb8c2d59bf scm: mercurial: remove duplicates tests in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 07:33:53 +00:00
Toshi MARUYAMA 542e0cb88d scm: mercurial: fix unit model test fails on MySQL and remove duplicates tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 04:38:26 +00:00
Toshi MARUYAMA 732ee35b2f scm: cvs: fix age column on repository view is off by timezone delta (#7827).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 04:19:33 +00:00
Toshi MARUYAMA f41848fda4 scm: cvs: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 00:42:21 +00:00
Jean-Philippe Lang ec8d9a7911 Gantt: do not ignore project filter (#7000, #7352), do not display empty projects/versions, and display shared versions used in other projects (#5817, #6476, #6604).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 18:07:09 +00:00
Toshi MARUYAMA 2ebaf1372d scm: git: fix newlines of test/unit/repository_git_test.rb.
svn cat fails.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 08:43:23 +00:00
Toshi MARUYAMA c072d3b62f scm: git: add tests for previous and next versions in unit model test (#7821, #5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 04:31:10 +00:00
Toshi MARUYAMA b235e36946 scm: git: unit model latin-1 path encoding test passes on Japanese Windows (#5251).
Ruby uses ANSI api to fork a process on Windows.
Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem
and these are incompatible with ASCII.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-09 04:14:17 +00:00
Toshi MARUYAMA 74f44a5b6a scm: git: unit adapter latin-1 path encoding test passes on Japanese Windows (#5251).
Ruby uses ANSI api to fork a process on Windows.
Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem
and these are incompatible with ASCII.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-09 04:13:58 +00:00
Toshi MARUYAMA f9717c0bda scm: git: fix PortgreSQL functional test fails (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-09 01:25:40 +00:00
Toshi MARUYAMA 779cab05f8 scm: git: change core.quotepath to false in test repository config (#5251).
The -c option was introduced in git version (1.7.2)
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.txt

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 23:18:27 +00:00
Toshi MARUYAMA 45239fcb0a scm: git: add reverse log test in unit adapter test (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 15:05:41 +00:00
Toshi MARUYAMA 084bdd7559 scm: git: add latin-1 encoding directory test in unit model test (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:08:35 +00:00
Toshi MARUYAMA 4e0031a8f0 scm: git: add latin-1 encoding directory test in unit adapter test (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:08:14 +00:00
Toshi MARUYAMA 266e33b5f1 scm: git: add latin-1 encoding directory to test repository (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 11:01:51 +00:00
Toshi MARUYAMA d5b268129c scm: mercurial: add latin-1 encoding directory to test repository (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 10:35:48 +00:00
Toshi MARUYAMA e2adda86c2 scm: git: add latest changesets path encoding test in unit model test (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:41:25 +00:00
Toshi MARUYAMA 7d47bf8a7f scm: git: prepare path encoding test in unit model test (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:41:04 +00:00
Toshi MARUYAMA 7c7bbf6d18 scm: git: add latest changesets branch test in unit model test (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:46 +00:00
Toshi MARUYAMA 71ac6a29f0 scm: git: add latest changesets tag test in unit model test (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:25 +00:00
Toshi MARUYAMA cc6931f58d scm: git: add latest changesets limit test in unit model test (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:04 +00:00
Toshi MARUYAMA d0324858c1 scm: git: remove Setting.commit_logs_encoding from unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:50:29 +00:00
Toshi MARUYAMA c95e4fbea9 scm: git: add latest changesets test in unit model test (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:50:05 +00:00
Toshi MARUYAMA c381ce10e4 scm: git: prepare path encoding test in unit model test (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:49:44 +00:00
Toshi MARUYAMA 3abdd84a49 scm: git: add tests for path encoding entries() in unit adapter test (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:38:23 +00:00
Toshi MARUYAMA d03dd88717 scm: git: add tests for branch entries() in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:37:39 +00:00
Toshi MARUYAMA 6d763215a9 scm: git: add tests for tag entries() in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:37:18 +00:00
Toshi MARUYAMA 0e32fcf93e scm: git: add tags test in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:10:30 +00:00
Toshi MARUYAMA 04aca2fcb9 scm: git: add tests for path encoding cat, diff and blame in unit adapter test (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:10:07 +00:00
Toshi MARUYAMA 10830d4dd3 scm: git: add two tags to test repository.
One is lightweight, another is annotated.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 03:52:33 +00:00
Toshi MARUYAMA daac76f1b6 scm: git: update test repository for path encoding (#5251).
Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

Please see r4996 comment.

I removed a revision including "copied file" from r5026 test repository.
Mercurial supports "copy", but Git does not support.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 23:47:25 +00:00
Toshi MARUYAMA 5d9962751c scm: git: backout r5026 (#5251).
In case git repository contains latin-1 path,
although Redmine uses "git log -C core.quotepath=false --encoding=UTF-8",
log encoding is latin-1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:46:21 +00:00
Toshi MARUYAMA 3a56e1eeab scm: git: update test repository for path encoding (#5251).
Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

Please see r4996 comment.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:15:04 +00:00
Toshi MARUYAMA 827efee243 scm: git: add core.quotepath = true in test repository config (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 12:41:52 +00:00
Jean-Philippe Lang 334132289c Fixed: error on JournalsController#index when custom fields are present (#7795).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-06 16:04:35 +00:00
Jean-Philippe Lang e41b76b459 Fixed: Login page should not show projects link and search box if authentication is required (#3715).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 15:14:24 +00:00
Jean-Philippe Lang 8fb446e87f Fixed: Email notifications are sent to watchers even if 'No events' setting is chosen (#7763).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 14:43:53 +00:00
Jean-Philippe Lang 36009de154 Adds email notifications support for news comments (#2074).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 14:32:58 +00:00
Toshi MARUYAMA 8d3773e0e1 scm: mercurial: add changesets order test in unit model test (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 14:03:19 +00:00
Toshi MARUYAMA 82c670ba03 scm: mercurial: add path encoding tests in functional test (#2664, #4050).
TODO: This test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 11:07:58 +00:00
Toshi MARUYAMA 17219baa62 scm: mercurial: additional unit model tests for path encoding (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 08:08:32 +00:00
Toshi MARUYAMA d8e1af6156 scm: mercurial: add unit adapter test repository for path contains space (#2664, #4455).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 08:08:13 +00:00
Toshi MARUYAMA 53249469a0 scm: mercurial: update test repository for path contains space (#2664, #4455).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 08:07:53 +00:00
Toshi MARUYAMA b7dffa44c9 scm: mercurial: update test repository for path encoding (#2664).
Mercurial (and also Git) treats file names as byte string.
This mercurial test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

If your Windows is not Latin-1 Windows,
in order to checkout(update) Latin-1 path,
You need to use cygwin 1.7 and set LANG=en_US.ISO-8859-1.

Please refer.
http://mercurial.selenic.com/wiki/EncodingStrategy?action=recall&rev=6

Redmine mercurial adapter do not need to checkout(update) repository.
Mercurial does not have "bare" repository such as Git.
You can use "hg update null" for equivalent "bare" repository.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 04:25:48 +00:00
Toshi MARUYAMA cc210c58a4 scm: mercurial: code clean up unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-03 03:35:13 +00:00
Toshi MARUYAMA 0220e7db3b scm: subversion: add changesets order test in unit model test (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-02 07:10:39 +00:00