Jean-Philippe Lang
b455ac2a27
Adds a rake test that removes old unattached uploads ( #10253 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-16 21:18:01 +00:00
Jean-Philippe Lang
d4e6355eb3
Better handling of attachments when issue validation fails ( #10253 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-16 21:00:11 +00:00
Jean-Philippe Lang
3c75601976
Moved redmine links escaping assertions to their own test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:59:13 +00:00
Jean-Philippe Lang
5c3ac1a40e
Adds support for "Magic links" to notes ( #2715 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:49:31 +00:00
Jean-Philippe Lang
6aae25209a
Fixed that partial diffs are done against html instead of original code ( #9143 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:39:47 +00:00
Jean-Philippe Lang
008557581d
Makes user autocompleters work with firstname and lastname.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-14 16:29:48 +00:00
Jean-Philippe Lang
4ccb898360
Fixed: {{toc}} uses identical anchors for subsections with the same name ( #8194 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-14 08:09:23 +00:00
Jean-Philippe Lang
cccfed7006
Fixed: error when creating a project with a version format custom field ( #10218 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-13 18:57:12 +00:00
Jean-Philippe Lang
7fa18cad57
Prevent ActiveRecord::StaleObjectError in Issue#reschedule_after ( #7920 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 19:41:42 +00:00
Jean-Philippe Lang
d289619c75
Fixed potential error when sorting members without role ( #10053 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:54:30 +00:00
Jean-Philippe Lang
83458ee824
Updated test against r8860.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:18:32 +00:00
Jean-Philippe Lang
0ede069d2c
Allows custom styles in textile formatting using a white list of styles ( #2416 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:00:43 +00:00
Toshi MARUYAMA
2fa19441a7
scm: git: use default branch from HEAD ( #10207 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 06:22:59 +00:00
Toshi MARUYAMA
804482ef2b
scm: git: update test repository ( #10207 )
...
New "master-20120212" branch is added.
Git branch is the reference to the specific revision.
This branch points the same revision with "master" branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 06:22:33 +00:00
Jean-Philippe Lang
b5fabd052b
Adds a test for changeset/issue relations deletion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:19:16 +00:00
Jean-Philippe Lang
8f92121606
Fixed that changesets parents associations are not deleted when deleting a repository.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:17:47 +00:00
Jean-Philippe Lang
686430ee36
Fixed: wrong section edit links when a heading contains inline code ( #10199 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 10:02:24 +00:00
Toshi MARUYAMA
1e5f16722f
scm: git: call "git log" only once instead of per branch in fetching revisions ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 05:42:06 +00:00
Toshi MARUYAMA
d90cdb1b10
scm: git: raise exception if "git log" is error and block is given in lib revision method ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-10 22:56:54 +00:00
Toshi MARUYAMA
4d5d51e322
scm: git: clarify the purpose of the unit model test to fetch history editing revisions
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-10 07:25:27 +00:00
Toshi MARUYAMA
c94426d21e
scm: git: add explicit :excludes option to calling revision method in "test_revisions_includes_master_two_revs_from_origin" of unit lib test ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 15:07:11 +00:00
Toshi MARUYAMA
7f70d2faaa
scm: git: add test of get revisions from disjointed histories to unit lib test ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 08:34:24 +00:00
Toshi MARUYAMA
e34dab7443
scm: git: update test repository ( #8857 )
...
New disjointed history revisions are added.
This test repository has two origins.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 08:20:37 +00:00
Toshi MARUYAMA
a9ad2a4dcc
scm: git: remove redundant comma from test_revisions_includes_master_two_revs_from_origin of unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 07:39:27 +00:00
Toshi MARUYAMA
f4de82510a
scm: git: code cleanup "test_branches" of unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 06:43:42 +00:00
Toshi MARUYAMA
19909bc4c8
scm: git: add lib test to get master branch revisions from origin ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 06:05:10 +00:00
Toshi MARUYAMA
693191e8bf
scm: git: add model method to get heads from extra_info branches hash ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 00:11:03 +00:00
Toshi MARUYAMA
34b3a9851f
scm: git: add includes and excludes options to lib revisions method ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 23:38:35 +00:00
Toshi MARUYAMA
f319409abc
scm: git: remove unused "--all" option of "git log" in lib revisions method
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:18:20 +00:00
Toshi MARUYAMA
40a37b194d
scm: git: use explicit "master" instead of all for revisions method at unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:04:03 +00:00
Toshi MARUYAMA
186abba94b
code layout cleanup test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:03:39 +00:00
Toshi MARUYAMA
ed8f988a9b
scm: git: use explicit "master" for latest_changesets at unit app test
...
If revision is not set, controller sets default branch for latest_changesets.
"git log" returns HEAD on bare repository if revision is not set.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-07 23:27:51 +00:00
Toshi MARUYAMA
1489623584
scm: git: remove "test_getting_certain_revisions" from unit lib test
...
Redmine does not use '899a15d^' syntax.
This test is covered by "test_revisions_master_merged_rev".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-07 15:40:56 +00:00
Jean-Philippe Lang
dfbab5d61e
Fixed "can't convert Fixnum into String" error on projects with numerical identifier ( #10135 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 14:44:40 +00:00
Jean-Philippe Lang
6c27093a8b
Fixed an assertion for ruby1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 13:48:16 +00:00
Jean-Philippe Lang
967f42aa98
Adds a X-Redmine-Sender header to email notifications ( #5643 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:57:19 +00:00
Jean-Philippe Lang
a00f04886f
Increase username length limit from 30 to 60 ( #2719 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 11:50:53 +00:00
Jean-Philippe Lang
fb3b904b8f
Better handling of issue update conflicts ( #8691 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 17:36:15 +00:00
Jean-Philippe Lang
d02f6a8e32
Adds a setting that allows to reference/fix issues of all projects ( #3087 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 18:09:37 +00:00
Jean-Philippe Lang
2808adf99f
Adds members of subprojects in assignee and author filters ( #10126 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-01 20:07:01 +00:00
Jean-Philippe Lang
0154d7477b
Simplifies Principal.active scope (status defaults to 1 for groups).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-01 19:35:49 +00:00
Toshi MARUYAMA
65a1f54f71
code layout clean up test/unit/mail_handler_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 23:27:15 +00:00
Toshi MARUYAMA
682efe399d
code layout cleanup unit mail handler test fixtures
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 22:51:55 +00:00
Jean-Philippe Lang
24138187eb
Allows attachments on news ( #1972 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:39:06 +00:00
Jean-Philippe Lang
8d5f932660
Do not validate blank default custom field value.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 21:09:44 +00:00
Jean-Philippe Lang
cd6db6a3cb
Adds support for multiselect custom fields ( #1189 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Jean-Philippe Lang
0c5af16e14
Support for nested array in API builder.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 18:29:09 +00:00
Toshi MARUYAMA
64b59f1502
test: add attachment tests at unit mail handler test for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 11:24:48 +00:00
Jean-Philippe Lang
83e7ee6729
Extracts custom field values validation from CustomValue so that they can be validated globally from the customized object ( #1189 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-28 11:16:58 +00:00
Jean-Philippe Lang
9d372ce6f5
Allow underscores in project identifiers ( #1363 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-27 17:34:58 +00:00
Jean-Philippe Lang
ffbd3c0522
Makes all workflow transitions defined for all roles available to administrators ( #2323 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-26 20:30:47 +00:00
Jean-Philippe Lang
22317105f9
Notify previous assignee when assignee changes ( #2694 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-23 17:55:29 +00:00
Jean-Philippe Lang
f2e7aa596b
Adds support for multiple repositories to redmine links ( #779 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-22 14:23:10 +00:00
Jean-Philippe Lang
94b621a99f
Fixed that reminders are sent for closed issues ( #10006 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 12:28:39 +00:00
Jean-Philippe Lang
45e3dafa8f
Adds a <<me>> option at the top of the assignee drop-down ( #1102 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 11:06:59 +00:00
Jean-Philippe Lang
8a3623733f
Copy attachments on issue and project copy ( #3055 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 17:56:28 +00:00
Jean-Philippe Lang
1bd5e58c84
Adds support for multiple repositories per project ( #779 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:19:19 +00:00
Jean-Philippe Lang
08bb5e0c0a
Fixed wrong assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 09:36:51 +00:00
Jean-Philippe Lang
51030fbe25
Removed assertion that depends on the order of returned records.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-13 21:22:45 +00:00
Jean-Philippe Lang
980b6db5c0
Adds "me" to user custom fields filters ( #9923 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-13 19:38:06 +00:00
Jean-Philippe Lang
919d0a68c3
Adds "my projects" filter on the cross-project issue list.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-13 18:16:15 +00:00
Toshi MARUYAMA
1054237d82
add missing groups_users fixture to unit issue test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-11 14:03:29 +00:00
Jean-Philippe Lang
121bc44cc5
Use the regular issue form to copy a single issue.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 11:16:54 +00:00
Jean-Philippe Lang
1653735758
Deprecated Issue#move_to_project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 18:02:02 +00:00
Jean-Philippe Lang
b3c678da87
Extracted some code from #move_to_project to a callback.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 19:50:02 +00:00
Toshi MARUYAMA
d7856a4b74
remove trailing white-space from test/unit/mail_handler_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-05 14:47:11 +00:00
Toshi MARUYAMA
c3c1d4c7ec
replace hard-coded Japanese literal to utf-8 hexadecimal at test/unit/mail_handler_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-05 14:46:37 +00:00
Jean-Philippe Lang
86a52eaedf
Makes .find_ids return integers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 21:35:00 +00:00
Jean-Philippe Lang
b1504ceb43
Adds previous/next links to issue ( #2850 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 20:09:44 +00:00
Jean-Philippe Lang
610a92c4d1
Moved test from ApplicationControllerTest.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 17:48:18 +00:00
Toshi MARUYAMA
313bfa5408
test: replace should "include the emails_header" at unit mailer test to Rails standard test suite
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 11:38:29 +00:00
Toshi MARUYAMA
1b61fbf739
Rails3.1: test: include ERB::Util in unit/helpers/search_helper_test.rb
...
undefined method `h' error raises on Rails 3.1.3 and Ruby 1.8.7.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 09:07:57 +00:00
Jean-Philippe Lang
d84660c823
Use Errors#count instead of #length.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 17:23:12 +00:00
Jean-Philippe Lang
852dee37ec
Do not add errors on attributes on fake attributes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 13:34:50 +00:00
Jean-Philippe Lang
4f9f68046c
Makes assertion Rails3 compatible.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 12:42:36 +00:00
Jean-Philippe Lang
0c2e4a72ca
Do assertions on collection, not on association.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 12:37:24 +00:00
Jean-Philippe Lang
bd42536d31
Missing fixtures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 12:35:25 +00:00
Toshi MARUYAMA
3fbbd6bc50
fix filename of test/unit/lib/redmine/wiki_formatting.rb
...
"rake test:units" runs following command
<pre>
"rake test:units" runs '/usr/bin/ruby -I"lib:test"
-I"/usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib"
"/usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/rake_test_loader.rb"
"test/unit/**/*_test.rb"'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 03:53:35 +00:00
Toshi MARUYAMA
6c7ead508f
test: include ERB::Util at test/unit/lib/redmine/helpers/gantt_test.rb
...
On Rails 3.1, undefined method `h' error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 11:05:23 +00:00
Toshi MARUYAMA
4ee2193112
test: include ERB::Util at test/unit/helpers/issues_helper_test.rb
...
On Rails 3.1, undefined method `h' error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 11:04:25 +00:00
Jean-Philippe Lang
3ce595b806
Use fixtures generator.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 17:00:15 +00:00
Jean-Philippe Lang
aec1828fc7
Use fixtures generator.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 16:48:25 +00:00
Jean-Philippe Lang
2a0257e8af
Use open scope in version issues count methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:05:46 +00:00
Jean-Philippe Lang
76ad136b2a
#new is just fine.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 12:30:00 +00:00
Jean-Philippe Lang
8a563e8f57
#new is just fine.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8282 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:43:32 +00:00
Jean-Philippe Lang
a79357bc28
Make sure setting is not changed in test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:41:45 +00:00
Jean-Philippe Lang
b549523e4b
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:14:14 +00:00
Jean-Philippe Lang
914f9b603e
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 09:48:37 +00:00
Jean-Philippe Lang
aadf6da468
Get rid of HelperTestcase.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 09:40:19 +00:00
Jean-Philippe Lang
eed1a5dfbd
Makes tests inherit from ActionView::TestCase.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:41:17 +00:00
Jean-Philippe Lang
dcce70095b
Option to set parent automatically for new wiki pages ( #3108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:44:04 +00:00
Jean-Philippe Lang
c8066879db
Moved wiki links tests together.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:23:26 +00:00
Jean-Philippe Lang
ad25e3807d
Make sure that tests restore the attachments path to the tmp dir so that fixture files don't get deleted.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 17:52:47 +00:00
Toshi MARUYAMA
34087c4178
add unit test of group blank name in French ( #9795 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 13:06:42 +00:00
Toshi MARUYAMA
2e6b13a5e9
use set_language_if_valid instead of I18n.locale at unit group test ( #9795 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 13:06:00 +00:00
Jean-Philippe Lang
f27d426347
Asserts that objects are not nil before getting their ids (test still fails with ruby1.9.3).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 12:27:41 +00:00
Jean-Philippe Lang
a61c9d53eb
Set locale in test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 12:18:20 +00:00
Jean-Philippe Lang
4f5e7d678e
Fixed: Unrelated error message when creating a group with an invalid name ( #9795 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 11:13:36 +00:00
Jean-Philippe Lang
31f2e848b5
Do not change settings in tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:37:21 +00:00
Jean-Philippe Lang
a6f6511372
Do not change settings in tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:30:33 +00:00
Jean-Philippe Lang
6c91e1420a
Removed dependency with monkey-patched rubytree.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 22:51:18 +00:00
Etienne Massip
7d2298f39c
Save an @Issue#save@.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 20:31:34 +00:00
Jean-Philippe Lang
7d501eaf81
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 20:40:03 +00:00
Toshi MARUYAMA
4f8ed70813
add unit test of CustomField model before_validation
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 12:04:16 +00:00
Jean-Philippe Lang
be687f6c0b
Makes assertion compatible with ruby1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 14:00:31 +00:00
Jean-Philippe Lang
b1bb26b1e0
ruby1.9: macro must accept 2 arguments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:55:47 +00:00
Jean-Philippe Lang
3507707325
Fixed assert call.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:48:53 +00:00
Toshi MARUYAMA
eb789b147a
scm: git: remove unused --since option ( #4547 , #4716 , #7146 , #6013 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 11:55:02 +00:00
Jean-Philippe Lang
b127f9157d
Resourcified custom fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 22:58:30 +00:00
Toshi MARUYAMA
2afe5bdf57
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/custom_field_test.rb
...
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:16:59 +00:00
Toshi MARUYAMA
85382514f9
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/issue_test.rb
...
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:16:21 +00:00
Toshi MARUYAMA
8e5242ef63
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/user_test.rb
...
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:15:51 +00:00
Toshi MARUYAMA
7aba81dbe7
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/time_entry_activity_test.rb
...
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:15:12 +00:00
Toshi MARUYAMA
66b49c634d
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/repository_test.rb
...
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 07:14:38 +00:00
Toshi MARUYAMA
caf9edf2c1
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/wiki_page_test.rb
...
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 05:55:32 +00:00
Toshi MARUYAMA
c8556330c1
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/version_test.rb
...
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 05:54:13 +00:00
Jean-Philippe Lang
42d2bf0baf
Makes project and tracker assigned first in #attributes=
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 20:37:12 +00:00
Toshi MARUYAMA
740b54f55b
add unit test of error message in case that member role is empty
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 15:11:17 +00:00
Toshi MARUYAMA
15bb2fefa4
back out r8124
...
r8124 shows ":roles can't be empty".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 13:37:27 +00:00
Toshi MARUYAMA
d9699adce5
Rails3: model: Member: errors must be set on existing attributes
...
On Rails 3.0, test fails with following error.
<pre>
Error:
test_validate(MemberTest):
NoMethodError: undefined method `role' for #<Member:0x7f73caf8cd08>
app/models/member.rb:87:in `validate_role'
test/unit/member_test.rb:76:in `test_validate'
</pre>
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 11:13:24 +00:00
Jean-Philippe Lang
a63027e175
Fixed that custom values get saved when assigning custom values after changing to a tracker with different custom fields ( #9737 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 22:20:49 +00:00
Jean-Philippe Lang
5ca558f191
Fixed: error when filtering by numeric custom field with postgresql ( #9719 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 20:45:45 +00:00
Jean-Philippe Lang
1050993348
Removed unnecessary calculations in time entries index.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:01:42 +00:00
Jean-Philippe Lang
6d498a3c46
Makes spent time column available on the issue list ( #971 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 16:43:32 +00:00
Toshi MARUYAMA
93603f383a
add unit test to validate watcher
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 09:44:11 +00:00
Toshi MARUYAMA
420e70180c
add unit test to ensure user preference others is hash in saving
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 06:43:48 +00:00
Toshi MARUYAMA
747afd8088
add unit test of member_role validate
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 05:20:42 +00:00
Jean-Philippe Lang
a0a6571be3
Adds tests for plugin API.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 21:33:34 +00:00
Jean-Philippe Lang
81bcb4d999
Don't change setting value in tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 20:28:32 +00:00
Toshi MARUYAMA
7a5d6f61c7
add test to check to set issue category assignee nil in destroying member
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 16:40:42 +00:00
Jean-Philippe Lang
ee5d3ab19b
Adds a test for child_pages macro failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:32:46 +00:00
Jean-Philippe Lang
036c3a56b4
Adds a test for macro registration.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:29:51 +00:00
Jean-Philippe Lang
30bc5873e0
Adds a test for macro_list wiki macro.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:25:02 +00:00
Jean-Philippe Lang
e2e3af4f0d
Fixed test_updated_on_eager_load.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 14:47:24 +00:00
Toshi MARUYAMA
3d1e6f5b96
fix member validate test of empty role at unit test
...
Id 2 user is already assigned.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 14:33:02 +00:00
Toshi MARUYAMA
7e62d02abb
add gmtime at unit wiki page "test_updated_on_eager_load" for Rails3 compatibility
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 11:11:32 +00:00
Jean-Philippe Lang
040cfa4ad5
Makes the link in an issue update notification point to the change ( #9690 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 21:00:42 +00:00
Jean-Philippe Lang
fd24250be0
Fixed: crypting blank passwords raises an error ( #9137 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:47:51 +00:00
Jean-Philippe Lang
d66c8faa9b
Fixed: Wiki section edit escapes pre tags inside pre blocks ( #9673 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 22:08:15 +00:00
Jean-Philippe Lang
c5cabfe106
Fixed: Wiki section edit escapes code tags inside pre blocks ( #9673 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 21:45:02 +00:00
Jean-Philippe Lang
b8a924e4e1
Adds #current_version? method to wiki content.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:12:03 +00:00
Jean-Philippe Lang
9f15517095
Fixed: Angle brackets within 'pre' blocks are silently replaced by HTML entities during wiki section-edit ( #9673 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 17:56:50 +00:00
Jean-Philippe Lang
b23827491a
Fixes require path in test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 20:27:13 +00:00
Jean-Philippe Lang
6076db74f1
Improved user creation from incoming email.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 15:27:14 +00:00
Jean-Philippe Lang
5a1fcf826f
Sort the issue list by author/assignee according to user display format ( #9669 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 17:37:20 +00:00
Jean-Philippe Lang
902b3078d5
Limit the characters stripped by Attachment#sanitize_filename ( #4324 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 20:17:56 +00:00
Toshi MARUYAMA
f936b7b5a4
pdf: lib: add the method to return attachment from filename and encoding ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 09:43:01 +00:00
Toshi MARUYAMA
be29227c12
reset Attachment.storage_path at the end of attachment tests
...
Attachment files are deleted when database data were deleted.
So, other tests fail.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 08:10:41 +00:00
Toshi MARUYAMA
4e83057e76
code layout clean up test/unit/helpers/application_helper_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:52:24 +00:00
Toshi MARUYAMA
7120496629
add missing fixtures at unit attachment test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:51:39 +00:00
Toshi MARUYAMA
564321b2d5
move logic to use latest image file attachment to class method for common use ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:31:29 +00:00
Toshi MARUYAMA
627dfd80b6
add unit application helper test to use latest image file ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 03:34:57 +00:00
Jean-Philippe Lang
7bae592e62
Fixed stub.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:48:20 +00:00
Toshi MARUYAMA
b8b2c1cce4
use temporary attachments directory in unit attachment test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 14:42:32 +00:00
Toshi MARUYAMA
9be9c5f565
fix inconsistent image filename extensions ( #9638 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 05:30:53 +00:00
Jean-Philippe Lang
e39d7a0ca8
Fixed: TMail 1.2.7 malforms To header when number of recipients more then 8 ( #8751 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 09:32:42 +00:00
Jean-Philippe Lang
e4cda67cf4
Fixed: Issue filter by assigned_to_role is not project specific ( #9540 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 15:11:20 +00:00
Jean-Philippe Lang
12d05431c2
Adds a way to filter issues with or without start date ( #9607 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:25:36 +00:00
Jean-Philippe Lang
9ac86d4f4e
Wiki links for news and forums ( #9600 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:16:23 +00:00
Jean-Philippe Lang
1e8a9da131
Handle the case of a text formatter that doesn't support section edit ( #2222 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:41:54 +00:00
Jean-Philippe Lang
6fc245327c
Wiki: allows single section edit ( #2222 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA
b38dc9a301
move repositories helper to_utf8 tests to new CodesetUtilTest ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 14:57:58 +00:00
Toshi MARUYAMA
8433bbab69
move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for common use ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 05:07:16 +00:00
Jean-Philippe Lang
594074d91b
Fixed: Deleting a subtasks doesn't update parent's rgt & lft values, introduced by r5286 ( #9577 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 19:55:21 +00:00
Jean-Philippe Lang
7afb775286
Additional tests for email From header ( #9564 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 20:10:06 +00:00
Jean-Philippe Lang
f953426935
Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" ( #9534 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 16:30:35 +00:00
Jean-Philippe Lang
b170a40ed4
Adds a method to clear the settings cache.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 15:20:31 +00:00
Jean-Philippe Lang
3da92d7da7
Fixed: copied private queries not visible after project copy ( #9520 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 17:33:02 +00:00
Jean-Philippe Lang
e9f9927534
Fixed: Error when reading ciphered text from the database without cipher key configured ( #9552 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:04:33 +00:00
Jean-Philippe Lang
981a6223e4
Custom date field accepts invalid dates ( #9394 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 13:22:57 +00:00
Jean-Philippe Lang
5b37920cce
Fixed: Custom 'version' field don't show shared versions ( #8615 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:32:21 +00:00
Jean-Philippe Lang
857cf5db38
Fixed: User with groups may not see issues assigned to him or to its groups ( #9478 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:22:47 +00:00
Toshi MARUYAMA
e1f3719634
scm: git: test: model: fix failing test_parents on PostgreSQL ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 09:58:38 +00:00
Toshi MARUYAMA
4a5a4bad97
scm: mercurial: test: model: fix failing test_parents on PostgreSQL ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 09:58:07 +00:00
Toshi MARUYAMA
9129d116b2
scm: mercurial: test: model: add test of parents ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:03:38 +00:00
Toshi MARUYAMA
e0f7acaf61
scm: git: test: model: add test of parents ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:02:53 +00:00
Toshi MARUYAMA
e300188982
add unit test of escaping image urls ( #9245 )
...
Contributed by Holger Just.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-02 07:35:51 +00:00
Etienne Massip
1032210edd
Don't escape already parsed wiki link title ( #9471 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 11:45:59 +00:00
Toshi MARUYAMA
2b4549b3ea
scm: mercurial: test: lib: update branches test for Branch class ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:19:58 +00:00
Toshi MARUYAMA
daae07f47c
scm: git: test: lib: update branches test for Branch class ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:18:28 +00:00
Toshi MARUYAMA
9ff5c7034d
scm: git: test: add test of parents to unit lib test ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:59:06 +00:00
Toshi MARUYAMA
613a056ed6
scm: mercurial: test: add test of parents to unit lib test ( #5501 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:57:43 +00:00
Toshi MARUYAMA
476c3d54b7
scm: mercurial: update test repository ( #5501 )
...
This test repository has one merged revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 01:44:12 +00:00
Toshi MARUYAMA
520a8e6f15
scm: mercurial: use NUM_REV instead of hard-coded number of revisions at "test_fetch_changesets_incremental" of unit model test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 10:27:42 +00:00
Toshi MARUYAMA
81ef038587
scm: mercurial: drop supporting below Mercurial 1.1 ( #9465 )
...
On November 1st 2011, Mercurial 2.0 will be released.
On Mercurial 1.1.2, unit lib test fails with following error.
<pre>
Traceback (most recent call last):
File "/WEB-DOWN/hg-repo/hg-crew/hg", line 20, in <module>
mercurial.dispatch.run()
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 29, in dispatch
return _runcatch(u, args)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 45, in _runcatch
return _dispatch(ui, args)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 367, in _dispatch
ret = _runcommand(ui, options, cmd, d)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 416, in _runcommand
return checkargs()
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 376, in checkargs
return cmdfunc()
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 361, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/util.py", line 715, in check
return func(*args, **kwargs)
File "/REDMINE-1/hg-workdir/redmine-bb-all/lib/redmine/scm/adapters/mercurial/redminehelper.py", line 149, in rhlog
if hg.util.version() >= '1.6':
AttributeError: 'module' object has no attribute 'version'
1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 06:10:12 +00:00
Toshi MARUYAMA
3a62c30f24
scm: mercurial: skip failing unit model tests on below Mercurial 1.5 ( #9465 )
...
Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 09:33:03 +00:00
Toshi MARUYAMA
74cbbd38d0
scm: mercurial: skip failing unit lib tests on below Mercurial 1.5 ( #9465 )
...
Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 09:32:38 +00:00
Etienne Massip
8e1cf61d86
Fix failing test ( #4264 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:47:25 +00:00
Etienne Massip
d1efb4f148
Update CodeRay version to 1.0 final ( #4264 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:34:30 +00:00
Toshi MARUYAMA
6ebb5e834c
Rails3: test: replace deprecated errors.on at test_moving_an_issue_to_a_descendant_should_not_validate of unit/issue_nested_set_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 23:54:27 +00:00
Toshi MARUYAMA
8dc797e19d
Rails3: test: replace deprecated errors.on at test_update_issue_with_required_custom_field_change of unit/time_entry_activity_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:10:05 +00:00
Toshi MARUYAMA
e911d46aa8
Rails3: test: replace deprecated errors.on_base at test_should_not_be_able_to_reopen_an_issue_assigned_to_a_closed_version of unit/issue_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:07:55 +00:00
Toshi MARUYAMA
0f189ec010
Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version of unit/issue_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:07:21 +00:00
Toshi MARUYAMA
faff6c9898
Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version of unit/issue_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:06:54 +00:00
Toshi MARUYAMA
9f7690873a
code layout clean up of test_visible_scope_for_anonymous_with_own_issues_visibility at test/unit/issue_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:29 +00:00
Toshi MARUYAMA
925e11ed16
code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:01 +00:00
Toshi MARUYAMA
51d647ecb7
Rails3: test: replace deprecated errors.on at test_should_not_set_a_disabled_tracker of unit/issue_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:23:37 +00:00
Toshi MARUYAMA
d3fa89b42c
code layout clean up of test_set_issue_to_dates_without_issue_to at test/unit/issue_relation_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:23:09 +00:00
Toshi MARUYAMA
864d6d2880
code layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:22:43 +00:00
Toshi MARUYAMA
33349c93db
code layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fails at test/unit/issue_relation_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:22:07 +00:00