Toshi MARUYAMA
a913bc6a9d
remove trailing white-spaces from unit default data test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:54:25 +00:00
Toshi MARUYAMA
b2670f4650
remove trailing white-spaces from unit attachment test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:53:50 +00:00
Toshi MARUYAMA
441985fb24
remove trailing white-spaces from functional documents controller test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:53:16 +00:00
Toshi MARUYAMA
944829861d
remove trailing white-spaces excluding here-documents from unit application helper test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:46:50 +00:00
Toshi MARUYAMA
1f0ddc3199
scm: mercurial: code clean up unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:18:25 +00:00
Toshi MARUYAMA
fdea829952
remove trailing white-spaces from unit search test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:39:40 +00:00
Toshi MARUYAMA
4e8fab3206
remove trailing white-spaces from unit wiki content test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:38:55 +00:00
Toshi MARUYAMA
817f185e57
remove trailing white-spaces from unit wiki test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:38:09 +00:00
Toshi MARUYAMA
274bd27c54
remove trailing white-spaces from unit wiki page test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:37:04 +00:00
Toshi MARUYAMA
2d7ce91e80
remove trailing white-spaces from unit mail handler test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:13:19 +00:00
Toshi MARUYAMA
07fe60b639
remove trailing white-spaces from unit journal test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:16:31 +00:00
Toshi MARUYAMA
435e9b326c
remove trailing white-spaces and an empty line from unit journal observer test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:16:04 +00:00
Toshi MARUYAMA
de13c0007b
remove trailing white-spaces and empty lines from unit issue test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:15:35 +00:00
Toshi MARUYAMA
1122fd0e6a
remove trailing white-spaces from unit issue nested set test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:15:01 +00:00
Toshi MARUYAMA
a955a5140b
remove trailing white-spaces from unit issues helper test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:46 +00:00
Toshi MARUYAMA
5e1576b8b4
remove trailing white-spaces from functional search controller test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:25 +00:00
Toshi MARUYAMA
dfa509b69e
remove trailing white-spaces from functional wiki controller test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:04 +00:00
Toshi MARUYAMA
3ec87dd73f
remove trailing white-spaces from functional projects controller test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:55:41 +00:00
Toshi MARUYAMA
d3a953450e
remove trailing white-spaces from functional journals controller test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:55:14 +00:00
Toshi MARUYAMA
0aaa2b1b87
remove trailing white-spaces from unit activity test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 03:48:44 +00:00
Toshi MARUYAMA
6a5c9ed3c7
remove trailing white-spaces from functional IssuesController test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 03:48:18 +00:00
Toshi MARUYAMA
596670d615
remove trailing white-spaces from functional activities controller test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 00:09:58 +00:00
Toshi MARUYAMA
4c963cc9dc
scm: git: add test of fetching invalid revision in unit model test ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 10:39:07 +00:00
Toshi MARUYAMA
7ca5a4939e
scm: git: fix fetching 7 days problem ( #7146 , #6013 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 10:38:45 +00:00
Toshi MARUYAMA
b0f5d3cd88
scm: git: use block to call revisions() in unit adapter test_revisions_invalid_rev() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:51 +00:00
Toshi MARUYAMA
39930c3f4d
scm: git: use block to call revisions() in unit adapter test_revisions_branch_latin_1_path_encoding_with_rev() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:30 +00:00
Toshi MARUYAMA
763931d584
scm: git: use block to call revisions() in unit adapter test_revisions_branch_latin_1_path_encoding_all() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:03 +00:00
Toshi MARUYAMA
d3d9830936
scm: git: use block to call revisions() in unit adapter test_revisions_master_merged_rev() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:27:35 +00:00
Toshi MARUYAMA
5d8bb7904c
scm: git: use block to call revisions() in unit adapter test_revisions_master_all() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:27:04 +00:00
Toshi MARUYAMA
2cab592b20
scm: subversion: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:18:18 +00:00
Toshi MARUYAMA
e5606c8d32
scm: mercurial: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:17:34 +00:00
Toshi MARUYAMA
be7cfb949d
scm: filesystem: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:16:39 +00:00
Toshi MARUYAMA
06bd7e35c6
scm: darcs: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:15:57 +00:00
Toshi MARUYAMA
bfe1993758
scm: cvs: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:15:21 +00:00
Toshi MARUYAMA
5ca257181f
scm: add a test of a repository model method "merge_extra_info()" in unit test ( #7146 , #7047 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:58:58 +00:00
Toshi MARUYAMA
ee3cf64d52
scm: git: add test of revisions() with invalid revision in unit adapter test ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:45:04 +00:00
Toshi MARUYAMA
3e2a67be4f
scm: git: add another revision in merged revisions test in unit adapter test ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 13:01:10 +00:00
Toshi MARUYAMA
12565cc1ee
scm: git: add test of revisions() in merged revisions in unit adapter test ( #7146 ).
...
Git branch is a reference of specific revision.
Git branch is equivalent with Mercurial *heads*.
http://mercurial.selenic.com/wiki/GitConcepts?action=recall&rev=53#Branch_model
32ae898b7 in git test repository is a merged revision with two heads.
713f49446 and 4a07fe31b *were* in different branches before merged.
713f49446 and 4a07fe31b are descendants of 61b685fbe5.
4a07fe31b is a child of 61b685fbe5.
To get revisions from 713f4944648826f5 to master,
"git log" needs to return 4a07fe31b.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 13:00:43 +00:00
Toshi MARUYAMA
03ce61bb99
scm: git: add test of "latin_1_path_encoding" branch revisions with from revision in adapter test ( #7146 ).
...
"latin_1_path_encoding" branch is straight line.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:11:44 +00:00
Toshi MARUYAMA
ac3845daaf
scm: git: add test of "branch_latin_1_path_encoding" branch all revisions in adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:09:42 +00:00
Toshi MARUYAMA
bc06f85cb3
scm: git: rename "test_revisions_master()" to "test_revisions_master_all()" in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:09:17 +00:00
Toshi MARUYAMA
f3a069281e
scm: git: fix incorrect comment in unit model test and code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 15:26:50 +00:00
Toshi MARUYAMA
e25dd95389
PDF: replace invalid sequence in converting if encoding destination is UTF-8 ( #61 , #8312 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:45:40 +00:00
Toshi MARUYAMA
a5d528c6c2
PDF: call Redmine::Export::PDF::RDMPdfEncoding::rdm_pdf_iconv() directly in unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:44:59 +00:00
Toshi MARUYAMA
0681d086e2
PDF: check Japanese general_pdf_encoding is CP932 in unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:43:23 +00:00
Toshi MARUYAMA
23a27bd6e4
scm: fix indents of test/unit/changeset_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 04:54:37 +00:00
Toshi MARUYAMA
a05a2e0c4d
scm: code clean up unit repository test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 14:08:46 +00:00
Toshi MARUYAMA
e68206852e
remove trailing white-spaces and code clean up init i18n test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 07:12:34 +00:00
Toshi MARUYAMA
ab768cecdd
scm: cvs: remove trailing white-spaces from functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:11:22 +00:00
Toshi MARUYAMA
c29bc896cc
scm: subversion: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:10:45 +00:00
Toshi MARUYAMA
f289d4e354
scm: mercurial: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:10:05 +00:00
Toshi MARUYAMA
1952439ea0
scm: filesystem: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:09:25 +00:00
Toshi MARUYAMA
12bad10573
scm: cvs: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:08:44 +00:00
Toshi MARUYAMA
9cb76de334
scm: subversion: remove trailing white-spaces from functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:08:05 +00:00
Toshi MARUYAMA
3a5cf54128
scm: git: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 02:49:41 +00:00
Toshi MARUYAMA
541a56d6e8
scm: git: add test of annotate non ASCII content of non ASCII path in functional test.
...
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@5699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 02:39:36 +00:00
Toshi MARUYAMA
099c8a6608
scm: git: add test of diff non ASCII path and non ASCII content in functional test.
...
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@5698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 02:38:36 +00:00
Toshi MARUYAMA
6eb8b5fb4a
scm: git: add test of showing non ASCII contents of non ASCII path in functional test.
...
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@5697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 02:04:11 +00:00
Toshi MARUYAMA
02b43944e3
scm: git: use constant value for project id in functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 01:48:53 +00:00
Toshi MARUYAMA
673fe7f372
PDF: set lang 'ja' in unit test test_fix_text_encoding_cannot_convert_ja_cp932().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 00:26:13 +00:00
Toshi MARUYAMA
99693d644c
scm: git: fix functional annotate test.
...
Test committer is "jsmith". If committer is not "jsmith", test passes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 23:10:27 +00:00
Toshi MARUYAMA
4fe71148f6
scm: git: remove trailing white-spaces from functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 23:09:42 +00:00
Toshi MARUYAMA
cccbee024e
scm: mercurial: add test of annotate non ASCII contents in functional test.
...
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@5692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 14:22:42 +00:00
Toshi MARUYAMA
fa1fe47191
scm: mercurial: fix indent test_annotate_latin_1_path() in functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 14:10:43 +00:00
Toshi MARUYAMA
5c2c85a68a
scm: mercurial: add test of showing non ASCII contents in functional test.
...
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@5690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 13:36:07 +00:00
Toshi MARUYAMA
ff6a86364e
scm: mercurial: add test of diff non ASCII path name in functional test.
...
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@5689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 13:35:31 +00:00
Toshi MARUYAMA
c5257f6e0d
scm: add test of showing *real* non ASCII contents in functional filesystem repository test.
...
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@5688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 11:28:21 +00:00
Toshi MARUYAMA
ab6b848304
scm: mercurial: code clean up functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 07:25:53 +00:00
Toshi MARUYAMA
f157ecb91a
scm: mercurial: change Latin-1 path test methods name.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 07:25:09 +00:00
Toshi MARUYAMA
e78bc574c2
remove trailing white-spaces from functional functional attachments controller test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 06:47:05 +00:00
Toshi MARUYAMA
2c08b71e8f
scm: mercurial: remove trailing white-spaces and a empty line from functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 06:38:45 +00:00
Toshi MARUYAMA
20f5b6b45d
scm: filesystem: remove trailing white-spaces from functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 06:38:04 +00:00
Toshi MARUYAMA
59d82995fe
scm: git: add unit adapter test of master branch revisions().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 11:45:58 +00:00
Toshi MARUYAMA
1ea1606007
scm: git: split unit adapter revisions test to with time or not ( #7146 , #6013 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 02:06:29 +00:00
Toshi MARUYAMA
0d942beb49
scm: git: remove trailing white-spaces and an empty line in unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 02:06:08 +00:00
Toshi MARUYAMA
c33be450e7
scm: code clean up unit repository test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 01:11:50 +00:00
Toshi MARUYAMA
931fd58de6
scm: git: use report_last_commit option in unit adapter test ( #7047 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 11:42:24 +00:00
Toshi MARUYAMA
973f3eb50e
scm: remove trailing white-spaces in unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:23:23 +00:00
Toshi MARUYAMA
c17a78c771
scm: mercurial: fix unit model test fails if hg command is unavailable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:23:07 +00:00
Toshi MARUYAMA
6f4461830c
scm: fix invalid UTF-8 tests fail on Windows Ruby 1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:22:49 +00:00
Toshi MARUYAMA
18d0618007
scm: space cleanup in unit repository test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-02 23:07:38 +00:00
Toshi MARUYAMA
8632efcce2
Add missing fixture when running tests from scratch in functional RolesControllerTest.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-01 23:14:28 +00:00
Jean-Philippe Lang
93fabf23ae
Fixes an assertion for postgresql ( #7097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 13:33:15 +00:00
Jean-Philippe Lang
fdb0151869
Fixed: notes are lost when copying issue(s) ( #6901 , #8239 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 13:27:50 +00:00
Jean-Philippe Lang
88a93d7e10
Fixed: copying an issue keeps the author of the original issue ( #6901 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 12:41:07 +00:00
Jean-Philippe Lang
57f63d513c
Makes 'This week' filter work with any starting day of week ( #7097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 11:28:27 +00:00
Jean-Philippe Lang
fab9aca747
Fixed: selected modules are not activated when copying a project ( #8244 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 07:26:45 +00:00
Toshi MARUYAMA
02c5577a26
PDF: add test of ensuring 'ASCII-8BIT' encoding in Ruby 1.9 ( #61 ).
...
Japanese CP932(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@5566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:51 +00:00
Toshi MARUYAMA
f62605c636
PDF: fix 0x5c(backslash) escape processing in FPDF ( #61 ).
...
Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem.
Contributed Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:26 +00:00
Toshi MARUYAMA
363d9de8bb
scm: subversion: code clean up functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-28 11:24:02 +00:00
Toshi MARUYAMA
d5b97d49c6
code clean up MailHandlerTest unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-28 07:09:52 +00:00
Toshi MARUYAMA
f4745d4960
scm: bazaar: code clean up unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-25 02:02:44 +00:00
Toshi MARUYAMA
97677748ba
scm: add missing fixtures when running tests from scratch in unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-22 07:13:56 +00:00
Jean-Philippe Lang
f0dfff4866
Fixes potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 20:34:43 +00:00
Jean-Philippe Lang
f89d04074e
Warn about subtasks before deleting a parent issue ( #6562 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 15:17:18 +00:00
Toshi MARUYAMA
94f71773b6
scm: mercurial: add test of copied file from_revision node id at unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 09:33:34 +00:00
Toshi MARUYAMA
eb4ca1ac29
fix functional projects controller test fails in Ruby 1.8.6.
...
Array#count is introduced in Ruby 1.8.7.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:46:11 +00:00
Toshi MARUYAMA
a7c510fd0a
scm: add unit test of preventing PostgreSQL or Ruby 1.9 errors if paths is invalid UTF-8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:45:26 +00:00
Toshi MARUYAMA
2507bcd8e7
scm: code clean up unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 01:01:58 +00:00
Toshi MARUYAMA
d7fccb0d8e
scm: add test of empty committer at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:22:51 +00:00
Toshi MARUYAMA
dab753ba28
scm: add test of committer nil at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:22:04 +00:00
Toshi MARUYAMA
5f8c4e0703
scm: add test of invalid utf8 sequences in committer at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:21:11 +00:00
Jean-Philippe Lang
f16cddd57a
Private issues ( #7414 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:23:13 +00:00
Toshi MARUYAMA
04a22fa757
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
2011-04-14 15:39:00 +00:00
Toshi MARUYAMA
19d524cdad
scm: git: more strict functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 10:18:16 +00:00
Toshi MARUYAMA
a20f140734
scm: cvs: code clean up functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 07:20:57 +00:00
Toshi MARUYAMA
d43bc98a49
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
2011-04-14 05:03:36 +00:00
Jean-Philippe Lang
1cd4f5b353
Adds a helper for issue heading ( #7647 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:53:14 +00:00
Jean-Philippe Lang
1242e448f3
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
2011-04-12 16:53:39 +00:00
Jean-Philippe Lang
949b355ef2
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
2011-04-12 16:31:00 +00:00
Toshi MARUYAMA
f0d32f6567
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
2011-04-12 12:24:43 +00:00
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
Toshi MARUYAMA
b59becdfbc
scm: git: add more tests in fetch changesets incremental unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-02 05:12:39 +00:00
Toshi MARUYAMA
ee0d7d9bf0
scm: code clean up test/unit/changeset_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 15:35:27 +00:00
Toshi MARUYAMA
5f5dec16f2
scm: add feature of per project repository log encoding setting ( #1735 ).
...
Subversion, Mercurial and Git supports UTF-8 log.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 10:27:30 +00:00
Toshi MARUYAMA
f2c750c3e9
scm: darcs: refactor functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 07:38:05 +00:00
Toshi MARUYAMA
984283dde9
scm: darcs: change project id of unit app test from 1 to 3.
...
Project id 1 has Subversion fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 07:12:56 +00:00
Toshi MARUYAMA
089c23f228
scm: bazaar: change project id of unit app test from 1 to 3.
...
Project id 1 has Subversion fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 07:03:21 +00:00
Toshi MARUYAMA
e7cc1f4b4b
scm: code clean up at test/unit/changeset_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 05:49:14 +00:00
Toshi MARUYAMA
eb1271bb44
scm: git: use --encoding=UTF-8 in "git log" ( #3396 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-28 14:12:47 +00:00
Toshi MARUYAMA
06f078a813
scm: ignore log encoding setting in Subversion and Mercurial ( #7597 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-28 12:09:32 +00:00
Toshi MARUYAMA
7664892b5d
scm: refactor scm log encoding test ( #1735 , #3396 , #7597 ).
...
Bazaar log depends on locale.
On Japanese Windows, standard out is CP932.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-28 10:03:09 +00:00
Jean-Philippe Lang
c781cbb2f7
Fixes a failing test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-27 15:51:10 +00:00
Toshi MARUYAMA
5d0869bcde
scm: mercurial: change project id of unit app test from 1 to 3.
...
Project id 1 has Subversion fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-27 13:50:00 +00:00
Toshi MARUYAMA
186a64c557
scm: git: add utf-8 log test in app unit test ( #3396 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-27 13:49:37 +00:00
Jean-Philippe Lang
2627419131
Keep track of issue description changes ( #746 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-27 13:34:41 +00:00
Jean-Philippe Lang
2d115bbe70
Fixes syntax for time logging in commit messages ( #7630 , #7718 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-26 14:46:19 +00:00
Jean-Philippe Lang
a78d565959
Adds support for SCM/LDAP passwords encryption in the database ( #7411 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-26 13:09:25 +00:00
Jean-Philippe Lang
e1ad561cf6
Adds a method to temporarily override configuration settings.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-25 14:30:05 +00:00
Toshi MARUYAMA
a2e47f9fba
scm: cvs: fix CVS diffs do not handle new files properly ( #7615 ).
...
Contributed by Jim Naslund.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 04:03:43 +00:00
Jean-Philippe Lang
ce84bb1a01
Adds random salt to user passwords ( #7410 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-23 17:27:31 +00:00
Toshi MARUYAMA
a93d6a1621
scm: add unit RepositoryHelper test for Ruby 1.9 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-23 07:04:52 +00:00
Toshi MARUYAMA
35f075d8ad
scm: fix diffs do not handle one line new files properly ( #7618 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-23 07:03:45 +00:00
Toshi MARUYAMA
87a6d79b5b
scm: for log in Ruby 1.9, replace invalid UTF-8 to '?' instead of removing.
...
Refer r3466 #4773 .
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-22 13:39:37 +00:00
Toshi MARUYAMA
9f50e63583
scm: Ruby 1.9 compatibility for log.
...
Remove assuming UTF-8 is valid.
"\xC2\x80" of latin-1(iso-8859-1) is valid sequence of UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-22 13:39:12 +00:00
Toshi MARUYAMA
4257b1d9ad
scm: fix unit changeset_test.rb test methods calls randomly.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-22 12:16:08 +00:00
Toshi MARUYAMA
069d057143
scm: git: Ruby 1.9 compatibility of adapter test ( #3396 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-22 00:40:02 +00:00
Jean-Philippe Lang
17591a3ea5
Warning on leaving a page with unsaved content in textarea ( #2910 ).
...
The warning can be turned off in the user's preference.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 09:53:29 +00:00
Toshi MARUYAMA
3e463c4e69
scm: subversion: change some functional tests project id from 1 to 3.
...
TODO: remaining tests read fixture. All tests need to read test repository.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 03:59:30 +00:00
Jean-Philippe Lang
4b096e9a56
Allow additional workflow transitions for issue author and assignee ( #2732 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-20 15:38:07 +00:00
Jean-Philippe Lang
7ddb1c694a
Fixed: date part of the time default format doesn't respect the date format ( #7639 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-20 14:56:37 +00:00
Jean-Philippe Lang
f357912d21
Fixed: SQL error when filtering issues with an empty group or role ( #7656 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-20 13:03:32 +00:00
Toshi MARUYAMA
0833abd9e5
scm: mercurial: unit test for named branches at adapter ( #7246 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 07:15:58 +00:00
Toshi MARUYAMA
8c9be39350
scm: mercurial: unit test for tags at adapter ( #1981 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 07:15:13 +00:00
Toshi MARUYAMA
0b19757303
scm: mercurial: unit app test for latest_changesets SQL "like" special character '%' and '_'.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 05:55:45 +00:00
Toshi MARUYAMA
0e0a8c01ea
scm: mercurial: unit app test for latest_changeset.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 05:55:25 +00:00
Toshi MARUYAMA
d393306a0c
scm: mercurial: entries unit lib test for named branch ( #7246 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 05:00:07 +00:00
Toshi MARUYAMA
b6f12e28d7
scm: mercurial: entries unit lib test for tag ( #1981 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 04:59:45 +00:00
Toshi MARUYAMA
55fdc23981
scm: mercurial: remove "TODO" comment and fix indent of unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 04:20:40 +00:00
Toshi MARUYAMA
628130ef5c
scm: mercurial: unit lib test for entries ( #3421 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 04:13:40 +00:00
Toshi MARUYAMA
a3a9661da6
scm: mercurial: move entries unit test from app to lib.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-18 04:13:17 +00:00