Commit Graph

1357 Commits

Author SHA1 Message Date
Jean-Philippe Lang ea307619be Fixed that improper statuses are proposed when changing status before tracker on the issue form (#10619).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-09 09:39:27 +00:00
Jean-Philippe Lang 5e4bb16a7f Additional tests for WatchersController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 16:55:53 +00:00
Jean-Philippe Lang eabbab6e2b Adds assertions on the content of a versioned wiki page export (#6941).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 15:31:06 +00:00
Jean-Philippe Lang d25defe276 Adds assertions on the content of a wiki page export (#6941).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 14:09:15 +00:00
Jean-Philippe Lang a7bacf70fb Fixed: Unable to change locked, sticky flags and board when editing a message (#10564).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 12:20:47 +00:00
Jean-Philippe Lang 07d20cc5f7 Let non required list/user/version custom fields to be set to blank when bulk editing (#10605).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 11:56:30 +00:00
Etienne Massip d36d64f664 Fixed Internal Error in watchers XHR search (#10600).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-05 18:10:54 +00:00
Jean-Philippe Lang fae5250e52 Ability to add non-member watchers on issue creation (#5159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-24 12:57:28 +00:00
Jean-Philippe Lang 95b10f3bd3 Don't use #delete on String in Mailer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-12 18:34:12 +00:00
Jean-Philippe Lang a8e392c0e5 Fixed that LDAP error is not displayed when testing connection.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 12:01:41 +00:00
Jean-Philippe Lang 71e636ff71 Resourcified auth_sources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 11:53:28 +00:00
Jean-Philippe Lang bd47af098f Merged LdapAuthSourceController into AuthSourceController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 11:43:27 +00:00
Jean-Philippe Lang 81185a8d93 Additional tests for UsersController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 10:25:44 +00:00
Jean-Philippe Lang a74e86ddce Additional tests for IssuesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 18:37:51 +00:00
Jean-Philippe Lang 934dd07fa7 Adds a test for #9076.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:57:31 +00:00
Jean-Philippe Lang 33cb9c87a9 More functional tests for NewsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:47:28 +00:00
Jean-Philippe Lang 25620a7429 More function tests for AdminController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:41:56 +00:00
Jean-Philippe Lang 2de9e782ad More function tests for MessagesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:21:34 +00:00
Jean-Philippe Lang 67e8d1113e Adds a test for when query is not found.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 20:00:38 +00:00
Jean-Philippe Lang 2bcf9f2871 Prevent mass-assignment when adding/updating a forum (#10390).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 21:36:28 +00:00
Jean-Philippe Lang 89dc7bb60b Sort values for assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 19:54:03 +00:00
Jean-Philippe Lang a6992aa6fc Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:39:57 +00:00
Jean-Philippe Lang 3aaf2b9ed0 Adds helpers for testing email body.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:28:18 +00:00
Jean-Philippe Lang 9b576d7d0a Rails3: :order option has no effect here because of the default_scope on Enumeration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:50:19 +00:00
Jean-Philippe Lang 45e2e57afb Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:44:58 +00:00
Jean-Philippe Lang 7ec8a9a100 Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:43:55 +00:00
Jean-Philippe Lang b06223738e Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:41:31 +00:00
Jean-Philippe Lang d862843c9d Renamed Mailer#test to Mailer#test_email.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:38:34 +00:00
Jean-Philippe Lang 1b923819e8 Removed some generate! calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:29:52 +00:00
Jean-Philippe Lang 7dbc3e4774 Removed some generate! calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:15:57 +00:00
Jean-Philippe Lang 64d843a4d7 Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 11:41:10 +00:00
Jean-Philippe Lang 70ced2f2af Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 10:44:59 +00:00
Jean-Philippe Lang b3866b05c1 Removes all #verify calls in controllers. Verification is handled at routing level now that the default route is removed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-03 15:09:20 +00:00
Jean-Philippe Lang 7edf345fbe Adds a test for displaying list custom fields on the new issue form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 16:57:57 +00:00
Jean-Philippe Lang 9634fe054a Adds a test for when updating a news fails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 11:43:33 +00:00
Jean-Philippe Lang 9ffccf5304 Adds functional test for #test_connection.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 11:31:44 +00:00
Jean-Philippe Lang 8fda77dc40 Adds functional tests for LdapAuthSourcesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 11:25:19 +00:00
Jean-Philippe Lang 53f9979696 Use valid filters in #test_index_with_sort_filters.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 07:38:43 +00:00
Jean-Philippe Lang 2009a9ff25 Random test failures in #test_..._if_an_exception_is_raised with ruby1.8.7-p358 and sqlite3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 20:34:41 +00:00
Jean-Philippe Lang 7448e0dbc4 Fixed that the bulk edit/copy form does not propose versions and categories for the target project (#10350).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 20:22:08 +00:00
Toshi MARUYAMA 2df6c99e67 back out from r9031 to r9036
On Rails3, 'to_s' is not alias of 'encoded'.
'to_s' is alias of 'decoded'.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 11:40:22 +00:00
Toshi MARUYAMA e70f7ba75c Rails3: test: add .to_s for mail's bodies check at functional/users_controller_test.rb
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:08:58 +00:00
Toshi MARUYAMA fd18bcef95 Rails3: test: add .to_s for mail's bodies check at functional/messages_controller_test.rb
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:08:25 +00:00
Toshi MARUYAMA 41217ffea0 Rails3: test: add .to_s for mail's bodies check at functional/issues_controller_test.rb
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:07:41 +00:00
Toshi MARUYAMA 12ba0ba1c5 Rails3: test: add .to_s for mail's bodies check at functional/files_controller_test.rb
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:07:10 +00:00
Jean-Philippe Lang 586661caad Fixed potential test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-28 05:29:36 +00:00
Jean-Philippe Lang fba7789bb1 Adds a test for project menu item when displaying a revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 15:26:35 +00:00
Jean-Philippe Lang 4384db597c Adds a test for when displaying the new message form on boards#show.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 15:11:50 +00:00
Jean-Philippe Lang 7c568cccaf Adds a helper for displaying validation error messages.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-26 18:07:13 +00:00
Jean-Philippe Lang 39aa4cac86 Moved tests about session reset to functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-26 12:00:41 +00:00
Jean-Philippe Lang 33d4821923 Rewrite test without shoulda macros.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 20:47:23 +00:00
Jean-Philippe Lang 4f153083ac Removed assertions on blank template.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 20:42:31 +00:00
Jean-Philippe Lang cf9154f924 Can not use Project#find on scopes with Rails 3.1.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 12:57:30 +00:00
Jean-Philippe Lang 21607751c9 Clean up assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 12:35:22 +00:00
Jean-Philippe Lang 9964e20a03 Adds missing format parameter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 10:41:22 +00:00
Jean-Philippe Lang 28503d83cb Do not do assertions on mail class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 09:58:23 +00:00
Toshi MARUYAMA b7ead65fde Rails3: test: fix ordering functional/comments_controller_test.rb
On Rails 3.0.11, test fails.

<pre>
Failure: <"This is a test comment"> expected but was
<"my first comment">.
test_add_comment(CommentsControllerTest)
test/functional/comments_controller_test.rb:34:in `test_add_comment'
</pre>

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 01:43:11 +00:00
Jean-Philippe Lang cc19635b6e Potential test failure fixed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 18:43:35 +00:00
Jean-Philippe Lang 71c83e1155 Adds functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 15:41:29 +00:00
Jean-Philippe Lang 0bb9579088 Adds required fixtures back.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 15:23:58 +00:00
Jean-Philippe Lang c49ef8e543 Adds functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:39:55 +00:00
Jean-Philippe Lang e6a64aa00b Adds functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:26:30 +00:00
Jean-Philippe Lang 0f721f6f7b Adds functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:18:54 +00:00
Toshi MARUYAMA 9774782cab Rails3: test: scm: mercurial: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:18:03 +00:00
Toshi MARUYAMA 844d904426 Rails3: test: scm: darcs: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:17:32 +00:00
Toshi MARUYAMA 5033a155b3 Rails3: test: scm: subversion: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 10:10:48 +00:00
Toshi MARUYAMA d086683b17 Rails3: test: scm: bazaar: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 08:49:05 +00:00
Toshi MARUYAMA 00ec4e189f Rails3: test: scm: cvs: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 07:33:44 +00:00
Toshi MARUYAMA 1e7340b448 Rails3: test: scm: filesystem: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 06:12:44 +00:00
Toshi MARUYAMA 08811bd259 Rails3: test: scm: git: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 06:12:22 +00:00
Jean-Philippe Lang a9161a3fde Don't use auth_sources fixtures when not needed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 21:51:03 +00:00
Jean-Philippe Lang 148bc9448b Fixed a test that writes into fixtures directory.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 21:42:09 +00:00
Jean-Philippe Lang 3e3d7c8d4f Friendly response when the LDAP connection fails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 18:13:46 +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
Toshi MARUYAMA f7618160ad use with_settings instead of direct "Setting" at "test_index" of functional issues controller test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 21:42:34 +00:00
Jean-Philippe Lang 8ddcc4caf5 Adds a News#commentable? method to easily specific additional rules.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 17:14:56 +00:00
Jean-Philippe Lang 627754366c Prevent random failures due to params order.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:53:31 +00:00
Jean-Philippe Lang 60b9e59d15 Displays the full form when creating a version from the issue form so that required custom fields can be filled (#7398).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 13:05:41 +00:00
Jean-Philippe Lang 2ec55c5337 Only show statuses that can be applied to all issues on the bulk edit form (#10181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 12:03:48 +00:00
Jean-Philippe Lang 5e0c1cc5ce Bulk-edit custom fields through context menu (#6296).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 18:22:11 +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
Jean-Philippe Lang 78bd24c6f7 Resourcified project memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 16:35:27 +00:00
Jean-Philippe Lang 001b255b08 Ability to edit a wiki page's parent on the edit page (#6449).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 14:35:27 +00:00
Jean-Philippe Lang 4128a8bfd0 Removed mocha availability checks in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:20:41 +00:00
Jean-Philippe Lang 9f6496b0bc Fixed registration form broken by r8479.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:17:29 +00:00
Jean-Philippe Lang 1d4ef8964d Adds a "Manage related isses" permission to add/remove commits/issues relations manually from the changeset view (#2009).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 10:56:27 +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 333a6cc370 Fixed rounding issue on spent hours column in CSV export (#10150).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 11:03:44 +00:00
Toshi MARUYAMA 2789cf2506 attachment: fix that diff type is not saved in user preference (#10152)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 06:23:38 +00:00
Toshi MARUYAMA af50c1e13e scm: git: add test that diff type is saved in user preference (#10152)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 06:23:00 +00:00
Jean-Philippe Lang 3dc73dcb88 Fixed: associated changesets from other projects are not visible if the current project doesn't have the repository module enabled (#3087).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 17:43:36 +00:00
Jean-Philippe Lang 2664693ae8 Removed useless permission check in wiki controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:50:04 +00:00
Jean-Philippe Lang 3d27bf5318 Adds export of all wiki pages to a PDF file (#3463).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:42:14 +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 79b12c73d9 Display of multi custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:01:40 +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 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 1fa341df1c Fixed links to versions anchors on the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-24 18:47:38 +00:00
Jean-Philippe Lang af0fcd22e4 Provide a direct access to completed versions form the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-24 18:45:40 +00:00
Jean-Philippe Lang 13f28858ba Fixed that project is ignored when entering an issue id on /time_entries/new form (#10020).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-22 10:37:57 +00:00
Jean-Philippe Lang 41eab6615b Enable global time logging at /time_entries/new (#10020).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 14:26:51 +00:00
Jean-Philippe Lang f2a7f83c82 Adds a <<me>> option for assignee in the context menu (#1102).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 11:11:13 +00:00
Jean-Philippe Lang 1d07bb91a7 Adds a 'Create and continue' button on the spent time form (#9995).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 10:37:19 +00:00
Jean-Philippe Lang fdd79c0448 Updated assertion that fails after r8680.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 22:54:20 +00:00
Jean-Philippe Lang 83e45cad9f Fixed: Git: Mercurial: Branch dropdown broken on repositories page (#10026).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 19:46:28 +00:00
Jean-Philippe Lang fbf30eec7c Adds an option of the copy form to enable/disable attachments copy (#3055).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 18:22:43 +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 b4cf4fca9d Fixed an error when trying to copy an issue that does not exist.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-17 20:20:59 +00:00
Jean-Philippe Lang 141630e771 Removed duplicated test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 20:23:25 +00:00
Jean-Philippe Lang 346fccf782 Do not show revisions links and field on filesystem repositories.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 20:22:12 +00:00
Jean-Philippe Lang 44a898a210 Display the position of the current issue in the query results.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 18:24:59 +00:00
Jean-Philippe Lang fef82e44a6 Fixed previous/next links when navigating in a saved query.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 17:49:04 +00:00
Jean-Philippe Lang abc0b0ea3e Don't use a disabled SCM as a default repository SCM (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 22:23:56 +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 fb1a2fd7cd Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:06 +00:00
Etienne Massip 54c0b531e1 Fixed double escaping of Atom feed links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 16:08:51 +00:00
Jean-Philippe Lang a6a627f445 Adds "Status" to the time report criteria (#9985).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 09:51:56 +00:00
Jean-Philippe Lang 3f33692cb3 Adds assertions to issue destroy tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 23:02:46 +00:00
Jean-Philippe Lang 3c75d6036f Fixed: Routing error when deleting an issue with spent time.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 22:58:14 +00:00
Jean-Philippe Lang 8eef72aa1a Separated new/edit views for the timelog controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 17:35:09 +00:00
Jean-Philippe Lang 1b1c510ff9 Ability to add non-member users as watchers (#5159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 18:37:16 +00:00
Jean-Philippe Lang 417219bfc4 Fixed: error when displaying an issue with a query sorted by an association, eg. priority (#9936).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 18:21:00 +00:00
Jean-Philippe Lang 381319c4e8 Fixed that SCM selection is not saved when all SCM are disabled (#9937).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 18:03:37 +00:00
Jean-Philippe Lang 2a55d37619 Check project assignment on issue copy/move.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 11:48:36 +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 f7e1ed71fc Typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 20:54:51 +00:00
Jean-Philippe Lang 065376c160 Copy issues via bulk update action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 17:27:47 +00:00
Jean-Philippe Lang 464cef8643 Removed the "Move" button for issues since they can be moved from the bulk edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 16:26:12 +00:00
Jean-Philippe Lang d29638845a Allows project to be changed from the bulk edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 16:18:53 +00:00
Jean-Philippe Lang 14267311aa Removed the "Move" button for single issue since it can be moved from the reguler update form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 12:46:36 +00:00
Jean-Philippe Lang 81cf6b2343 Allows project to be changed from the regular issue update action (#4769, #9803).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 12:34:52 +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 818988c419 Removed ApplicationControllerTest.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 17:51:09 +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 e7de511bbc svn propset "svn:eol-style" native test/functional/auth_sources_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 22:18:25 +00:00
Jean-Philippe Lang be5169249a Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 21:09:33 +00:00
Jean-Philippe Lang 53d5ff299a Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 20:02:39 +00:00
Jean-Philippe Lang 13dca2fd3d Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 19:57:30 +00:00
Jean-Philippe Lang 84f8245abb Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 19:50:51 +00:00
Jean-Philippe Lang bb0cd34f4e Additional tests for SearchController and handle my_projects scope without memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 18:23:53 +00:00
Jean-Philippe Lang 199eaff14e Additional tests for QueriesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 17:54:52 +00:00
Jean-Philippe Lang 92e4708ee3 Additional tests for DocumentsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 17:47:27 +00:00
Jean-Philippe Lang b4af45537a Additional tests for TimelogController and added missing i18n string.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 15:25:15 +00:00
Jean-Philippe Lang 849463558d Additional tests for WikiController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 15:02:28 +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 9b1e831fa6 Change tests to use ruby/rails assertions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 23:35:05 +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
Jean-Philippe Lang b6e6f557f0 Display issue form fields according to permissions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:41:49 +00:00
Jean-Philippe Lang f303000580 Do not change settings in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:25:14 +00:00
Etienne Massip 840ef94b46 Fixed broken issues context tests (#9794).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 20:23:46 +00:00
Jean-Philippe Lang 0471de41ff Resourcified enumerations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 10:26:12 +00:00
Etienne Massip 7ba57e517b Explicitly declare all routes and deactivate default route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:33:01 +00:00
Jean-Philippe Lang 4cedb0b628 Issue destroy is now DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 11:44:25 +00:00
Jean-Philippe Lang 467503fd4b Changed ProjectsController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:32:41 +00:00
Jean-Philippe Lang 52a7fa6176 Changed IssuesController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:10:51 +00:00
Jean-Philippe Lang 3dcd71a082 REST urls for user memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:37:48 +00:00
Jean-Philippe Lang 532a76f78c Resourcified roles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 23:29:58 +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 63d27a5389 Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/functional/issues_controller_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@8133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 05:54:51 +00:00
Jean-Philippe Lang 12077a4d44 Fixed that a cross-project custom query is not remembered inside project (#9738).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 21:35:14 +00:00
Jean-Philippe Lang fe4c7237fb Adds tests for MailHandler.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 18:56:00 +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 ff0f141126 Adds named scopes for projects index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:31:02 +00:00
Jean-Philippe Lang f52410be19 Adds named scopes for users index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:24:33 +00:00
Jean-Philippe Lang 9f1c59e9d0 Moves test to non-transactional fixtures tests (failure with postgresql).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 19:20:22 +00:00
Jean-Philippe Lang cad148cb5c Fixes test conditions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 19:12:15 +00:00
Jean-Philippe Lang e77046ba4e Adds a test for invalid query statement.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 16:59:03 +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
Jean-Philippe Lang a398faa5d7 Adds a test for when accessing wiki history without permission.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 20:30:50 +00:00
Jean-Philippe Lang 937a954013 Adds a test for parent issues display.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:25:53 +00:00
Jean-Philippe Lang 7c0a05360e Fixes assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:21:00 +00:00
Jean-Philippe Lang 3fd504e545 Adds a test for subtasks display.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:20:26 +00:00
Jean-Philippe Lang 1337fcb3d9 Adds test for test email failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:39:59 +00:00
Jean-Philippe Lang e67afc8886 Test for repository edit and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:13:47 +00:00
Jean-Philippe Lang a08fa696d4 Test for repository edit and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:10:41 +00:00
Jean-Philippe Lang 4eb14ab85c Test for repository edit and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:09:08 +00:00
Jean-Philippe Lang f660d5f183 Test for repository edit and cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 15:06:23 +00:00
Jean-Philippe Lang a2d515adce Adds tests for SysController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 13:59:17 +00:00
Jean-Philippe Lang 582574bace Adds a test for revision diff as raw format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 13:18:00 +00:00
Jean-Philippe Lang fd18c51938 Adds tests for plugin settings editing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 10:06:41 +00:00
Jean-Philippe Lang 8bbb5d9686 Tests/cleanup VersionsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 09:12:51 +00:00
Jean-Philippe Lang 666830cca0 Test class cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 08:53:02 +00:00
Jean-Philippe Lang b6b77c438a Adds functional tests for repository creation/update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 08:47:40 +00:00
Jean-Philippe Lang 69a2431dd0 Dropped TimeEntryReportsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:33:05 +00:00
Jean-Philippe Lang caf898d7d1 Extracted time report logic from the controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 18:46:43 +00:00
Jean-Philippe Lang 2967023a0e Resourcified boards.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:14:09 +00:00
Jean-Philippe Lang 63b7d7e4ac Add missing fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8018 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 19:04:13 +00:00
Jean-Philippe Lang c3c2a4afe0 Resourcified documents.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:51:16 +00:00
Jean-Philippe Lang e25caff16f Test class cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8006 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 18:59:51 +00:00
Jean-Philippe Lang afb84b6823 Adds functional tests for DocumentsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 18:59:06 +00:00
Jean-Philippe Lang e7d48427d6 Adds functional tests on issue list content formatting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:56:33 +00:00
Jean-Philippe Lang 1e7c4488b9 Adds functional tests for MembersController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:29:50 +00:00
Jean-Philippe Lang b0fe7415d1 Adds functional tests for GroupsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:21:54 +00:00
Jean-Philippe Lang e508677228 Adds functional tests for EnumerationsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:04:30 +00:00
Jean-Philippe Lang dd501b1ba3 Adds functional tests for ActivitiesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:57:07 +00:00
Jean-Philippe Lang d92c204ed3 Fixed: version files in Files module cannot be downloaded if issue tracking is disabled (#9055).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:36:49 +00:00
Jean-Philippe Lang 9ed5d1dd02 Prevent fixture files from being deleted.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:51:39 +00:00
Jean-Philippe Lang 2dbbdafbc6 Removed EnumerationsController#list action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:23:57 +00:00
Jean-Philippe Lang 744e4357a0 Fixed: Wiki export link doesn't work for users without :view_wiki_edits permission (#9682).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:04:38 +00:00
Jean-Philippe Lang 63dc83fc0d Fixed: Section-edit buttons not available when a the version parameter is provided even if it's the current version (#9674).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 18:11:30 +00:00
Jean-Philippe Lang 5c60a4f6ca Adds functional tests for GroupsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 17:46:21 +00:00
Jean-Philippe Lang dfa6233484 Adds test for r7961 fix (#9672).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 21:37:56 +00:00
Jean-Philippe Lang f9bf53262a Adds functional tests for CustomFieldsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 21:11:10 +00:00
Jean-Philippe Lang 5ac8020801 Do not include extra_info attribute in SysController responses because it breaks reposman activeresource client (#8707).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 17:30:28 +00:00
Toshi MARUYAMA d136672fa3 add tests to export time entry csv in French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 12:14:45 +00:00
Toshi MARUYAMA 88231f460f add csv separator check to the test to export time entry csv in Traditional Chinese (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 12:09:11 +00:00
Jean-Philippe Lang 885605b439 Resourcified attachments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 11:16:47 +00:00
Toshi MARUYAMA b95fd6315c fix time entry csv last line encoding (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:53:08 +00:00
Jean-Philippe Lang f680e7f8ac Adds routes for group users.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:47:36 +00:00
Toshi MARUYAMA caefb912b5 add tests to export time log csv in Traditional Chinese and French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:02:31 +00:00
Toshi MARUYAMA 0eed9198eb add tests to export issues csv in Traditional Chinese and French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:00:04 +00:00
Toshi MARUYAMA 88a713c719 cover the issues pdf test in English and CJK locales
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 02:26:36 +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 e21f60d170 Fixed: log time form not displayed on issue edit with :log_time permission only (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-25 21:58:09 +00:00
Jean-Philippe Lang 703211c0a6 Fixed time entries context menu display according permissions (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:31:21 +00:00
Jean-Philippe Lang f436918dbe Fixed that :edit_time_entries permission allows creating time entries (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:21:15 +00:00
Jean-Philippe Lang 6b43e9462e Fixed that :view_time_entries permission allows time entry editing (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:16:44 +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
Jean-Philippe Lang 68f3e91bd7 Resourcified issue statuses.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 22:04:07 +00:00
Jean-Philippe Lang 6577f37fc3 Resourcified trackers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:32:45 +00:00
Toshi MARUYAMA 8a8162c743 attachment: add missing diff type at functional tests (#2371, #9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 00:08:02 +00:00
Jean-Philippe Lang 34c73c7573 REST API for issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 17:09:01 +00:00
Jean-Philippe Lang 6f4fb8b892 Resourcified issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +00:00
Jean-Philippe Lang 248b725875 Adds API response to /issue_statuses to get the list of all available statuses (#7180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:25:58 +00:00
Jean-Philippe Lang 053adaef52 Adds API response to /trackers to get the list of all available trackers (#7181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:17:43 +00:00
Jean-Philippe Lang ca300ccdea Adds a dialog box for CSV export options (#4742).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:23:20 +00:00
Toshi MARUYAMA 617cb8d270 attachment: update a functional test to switch "side by side" and "inline" for ISO-8859-1 patches (#2371, #9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:17:08 +00:00
Toshi MARUYAMA c1ed67c741 attachment: add a functional test to show an ISO-8859-1 content file (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:47:45 +00:00
Toshi MARUYAMA c6191cdc82 attachment: add a functional test to show an ISO-8859-1 patch (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:47:19 +00:00
Toshi MARUYAMA 77710ece26 attachment: use repositories setting to convert contents character encoding (#2371)
This commit results replacing invalid encoding instead to stripping.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:46:52 +00:00
Toshi MARUYAMA e7a043c551 code layout clean up test/functional/attachments_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 07:54:36 +00:00
Toshi MARUYAMA 00f9581380 attachment: update functional tests to switch "side by side" and "inline" for patches (#9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 06:13:48 +00:00
Jean-Philippe Lang 9430f05e2e Fixed functional tests that writes in fixtures folder.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 15:18:06 +00:00
Jean-Philippe Lang 8ec1231dbc Makes author column sortable and groupable on the issue list (#1567).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 12:47:56 +00:00
Jean-Philippe Lang bf18ee107d Moved the project name after the item in the html title (#9593).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:43:11 +00:00
Jean-Philippe Lang b3b2eb3e50 Fixes section edit links when text includes pre/code tag (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 18:22:41 +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 fdf6e8547b attachment: add a functional test to show invalid UTF-8 text file (#2371)
Stripping invalid UTF-8 is Redmine 1.2 behaviour.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 07:01:40 +00:00
Toshi MARUYAMA 67bc801abc attachment: add a functional test to show UTF-8 text file (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 07:00:30 +00:00
Toshi MARUYAMA eb498a86ac fix malformed issues csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 15:36:26 +00:00
Toshi MARUYAMA dde0de8cc5 add functional test to export issue csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 13:49:40 +00:00
Toshi MARUYAMA 4a3581c748 fix malformed time entry report csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:29:18 +00:00
Toshi MARUYAMA 4b5d50e40a fix malformed time log csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:10:53 +00:00
Toshi MARUYAMA d2811171fd code layout clean up test/functional/attachments_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:42 +00:00
Toshi MARUYAMA 36afbc41b6 add functional test to export time log csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 10:06:01 +00:00
Toshi MARUYAMA 95ef931048 add functional test to export time entry report csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 06:06:47 +00:00
Toshi MARUYAMA e1d71c7968 code layout clean up test_report_csv_export of test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 08:35:12 +00:00
Toshi MARUYAMA b560927d45 code layout clean up test_report_all_projects_csv_export of test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 08:34:49 +00:00
Jean-Philippe Lang a9fb345f96 Fixed failure introduced in r7772 (#8615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:43:05 +00:00
Toshi MARUYAMA a920184c83 code layout clean up test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 23:48:58 +00:00
Toshi MARUYAMA 41bf0a74a5 code layout clean up test/functional/timelog_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 13:44:36 +00:00
Toshi MARUYAMA 3758328d60 test: functional: wiki: add tests to show pdf (#401)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:50:05 +00:00
Toshi MARUYAMA 0921042bc4 test: functional: wiki: add tests to show html and txt (#401)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:47:45 +00:00
Toshi MARUYAMA fe386fe50d code layout clean up of test/functional/wiki_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 09:17:10 +00:00
Etienne Massip 269014ced8 Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269).
Based on the patch of #2277 contributed by Mischa The Evil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 18:40:33 +00:00
Toshi MARUYAMA 4ae7f82f3a do not annotate text files which exceed the size limit for viewing (#9484)
Contributed by Antonio García-Domínguez.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 03:47:03 +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
Etienne Massip 8f96f0c40d Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +00:00
Etienne Massip 4eed0dca15 Reverted r7628.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 21:19:58 +00:00
Etienne Massip 33f65c5a48 Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 17:51:21 +00:00
Etienne Massip 78a8757846 Restored valid test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:42:08 +00:00
Etienne Massip 0a67ae2ddb Removed debugging purpose command.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:19:20 +00:00
Etienne Massip 9ba1e19ec7 Removed test part failing with PostgreSQL (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:18:42 +00:00
Etienne Massip a118c4ccb0 Fixed shot filter expression parsing depending upon field operators (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-12 23:45:47 +00:00
Toshi MARUYAMA 3914a27155 Rails3: test: replace deprecated errors.on at "fail with unauthorized parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:11:41 +00:00
Toshi MARUYAMA dba6341031 Rails3: test: replace deprecated errors.on at "fail without parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:11:06 +00:00
Toshi MARUYAMA d66aceb751 Rails3: test: replace deprecated errors.on at "fail with parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:10:37 +00:00
Toshi MARUYAMA 177906a75f remove hard-coded '.rxml' from 'test_show_atom' at functional issues controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 13:40:30 +00:00
Toshi MARUYAMA 43a31e2ca7 remove hard-coded '.rxml' from 'test_index_atom' at functional projects controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:08:24 +00:00
Toshi MARUYAMA 33d41583bb Rails3: test: template must be specified as controller/action not with their extension any more
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-28 10:11:42 +00:00
Etienne Massip 98e18b2141 Allow project column to be removed from the global issue list columns (#8411).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 17:44:20 +00:00
Toshi MARUYAMA 9c650540ba code layout clean up of test_preview_issue_notes at test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:46:44 +00:00
Toshi MARUYAMA f21fd28917 code layout clean up of 'should "allow adding a note when copying"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:46:20 +00:00
Toshi MARUYAMA c01d94203b code layout clean up of 'should "allow changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:56 +00:00
Toshi MARUYAMA 7e182848e5 code layout clean up of 'should "allow not changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:30 +00:00
Toshi MARUYAMA f2fd28a76c remove duplicate fixtures from test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:01 +00:00
Toshi MARUYAMA 440c2d0d2f remove duplicate fixtures from test/functional/files_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:44:35 +00:00
Toshi MARUYAMA bdccb5d3d5 remove duplicate fixtures from test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:43:40 +00:00
Toshi MARUYAMA 22f5219575 Rails3: replace "all" fixtures at test/functional/project_enumerations_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:15:32 +00:00
Toshi MARUYAMA 40992d71d1 Rails3: replace "all" fixtures at test/functional/gantts_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:14:51 +00:00
Toshi MARUYAMA 1d9de08cdc Rails3: replace "all" fixtures at test/functional/reports_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:14:07 +00:00
Toshi MARUYAMA 82c86513ad Rails3: replace "all" fixtures at test/functional/files_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:13:23 +00:00
Toshi MARUYAMA 131863857d Rails3: replace "all" fixtures at test/functional/issue_moves_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:12:45 +00:00
Toshi MARUYAMA bea3f11468 Rails3: replace "all" fixtures at test/functional/previews_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:12:10 +00:00
Toshi MARUYAMA 52027456de remove fixtures from test/functional/ldap_auth_sources_controller.rb
This test does not need fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:55:47 +00:00
Toshi MARUYAMA 587d530ca1 replace 'require' at test/functional/ldap_auth_sources_controller.rb for running individually
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:55:00 +00:00
Toshi MARUYAMA b9d4e4dd67 Rails3: replace "all" fixtures at test/functional/calendars_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:08:20 +00:00
Toshi MARUYAMA ceb4a6f3fb Rails3: replace "all" fixtures at test/functional/context_menus_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:07:35 +00:00
Toshi MARUYAMA 7b82102e83 Rails3: replace "all" fixtures at test/functional/auto_completes_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:07:01 +00:00
Toshi MARUYAMA 6f6c519d0c remove fixtures from test/functional/auth_sources_controller_test.rb
This test does not need fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:20:49 +00:00
Toshi MARUYAMA aeca1c20c4 Rails3: replace "all" fixtures at test/functional/activities_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:20:08 +00:00
Toshi MARUYAMA 0f160628f6 remove hard-coded '.rxml' from "test_index_atom_feed" of functional activities controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:19:26 +00:00
Toshi MARUYAMA e42b152011 scm: subversion: remove fetch_changesets from test_revision at functional test
This test uses fixtures. So, there is no need to fetch changesets.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:57:19 +00:00
Toshi MARUYAMA 091d6de719 Rails3: scm: mercurial: fix error of test_empty_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:14:32 +00:00
Toshi MARUYAMA 780470aa0e Rails3: scm: mercurial: fix error of test_annotate_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:14:09 +00:00
Toshi MARUYAMA cb108f9c75 Rails3: scm: mercurial: fix error of test_annotate_not_in_tip at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:13:47 +00:00
Toshi MARUYAMA d11bd80041 Rails3: scm: mercurial: fix error of test_diff_two_revs at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:13:22 +00:00
Toshi MARUYAMA 321fac2668 Rails3: scm: mercurial: fix error of test_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:57 +00:00
Toshi MARUYAMA 1a32f541fc Rails3: scm: mercurial: fix error of test_show_tag at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:32 +00:00
Toshi MARUYAMA 1e832322be Rails3: scm: mercurial: fix error of test_show_branch at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:07 +00:00