Commit Graph

266 Commits

Author SHA1 Message Date
Jean-Philippe Lang 69f863b3c8 Tests cleanup, use #assert_select instead of #assert_tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:24:17 +00:00
Jean-Philippe Lang 55dbd8886f Tests cleanup, use #assert_select instead of #assert_tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 09:54:31 +00:00
Jean-Philippe Lang 6c3e38c4c0 Tests cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 08:21:18 +00:00
Jean-Philippe Lang a88782bdec Tests cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 08:14:53 +00:00
Jean-Philippe Lang 31ee1d22eb Test moved to tests with transactional fixtures disabled.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 08:03:19 +00:00
Jean-Philippe Lang 9af6141c91 Reverts r10623 for clarity, this test does not need the default language to be forced to "en".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 07:56:45 +00:00
Toshi MARUYAMA e04bd297e0 set language en at test_put_update_with_spent_time_and_failure_should_not_add_spent_time at functional issues controller test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 23:23:32 +00:00
Jean-Philippe Lang 7b5d15eca8 Test that spent time should not be added when issue update fails (#11283).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 21:30:12 +00:00
Jean-Philippe Lang 2b797fa82f Fixed: No validation errors when entering an invalid "Parent task" (#11979).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 13:40:41 +00:00
Jean-Philippe Lang 51818cbbb6 Makes Issue.generate_with_descendants! helper accept attributes only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 08:56:09 +00:00
Jean-Philippe Lang fa237901b0 Adjusts test for r10569.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-07 13:47:22 +00:00
Jean-Philippe Lang 0178b5a2fe Private issue notes (#1554).
Adds 2 new permissions for viewing/adding private comments to issues.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-03 21:36:19 +00:00
Jean-Philippe Lang 1b6da80e16 Makes related issues available for display and filtering on the issue list (#3239, #3265).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-29 12:57:38 +00:00
Jean-Philippe Lang f58ed6c206 Fixed that issue author is assigned with current user when the edit form is updated (#11975).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-27 22:12:11 +00:00
Jean-Philippe Lang cc4cff9f11 Adds a "Copied from/to" relation when copying issue(s) (#6899).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-27 19:09:30 +00:00
Jean-Philippe Lang b72d40a429 Do not copy subtasks twice when copying an issue and its descendants (#6965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 06:14:35 +00:00
Jean-Philippe Lang 5003927f13 Option to copy subtasks when copying issue(s) (#6965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 05:34:07 +00:00
Jean-Philippe Lang 265baa1b2c Upgrade to Rails 3.2.8 (#11758).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 10:08:51 +00:00
Jean-Philippe Lang 91c875437d Adds a title to the issue link in the flash message.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 14:04:00 +00:00
Jean-Philippe Lang 3676783052 Ability to filter issues using project, author, assignee and target version custom fields (#8161).
Custom fields must be marked as "Used as filter" to show up in the filters list.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-07 19:17:59 +00:00
Jean-Philippe Lang faab8678d4 Ability to group and sort the issue list by user/version custom field (#9419).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-24 17:39:30 +00:00
Jean-Philippe Lang 5b6732cfaf Removes RJS from IssuesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 17:54:26 +00:00
Jean-Philippe Lang ba647689f4 Additional tests for custom field formats.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 19:30:47 +00:00
Jean-Philippe Lang 391d9b14fb Rewrites assertions with assert_select.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:36:13 +00:00
Jean-Philippe Lang e0fb60c6b5 Adds maxlength=255 attribute on attachment description input field (#11365).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:34:28 +00:00
Jean-Philippe Lang d7b669e50b Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:12:17 +00:00
Jean-Philippe Lang 165c2be523 Fixed that link to the assignee is escaped twice on the issue view (#11352).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-09 16:46:22 +00:00
Jean-Philippe Lang a0c495b953 Displays thumbnails of attached images of the issue view (#1006).
This behaviour can be turned on/off in Settings -> Display (off by default). Thumbnail size can be configured there too.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 13:48:07 +00:00
Jean-Philippe Lang ad68830a1b Fixed test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-04 19:24:25 +00:00
Jean-Philippe Lang 1996af104d Fixed that watchers delete links are escaped on the issue view (#10932).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-15 19:33:42 +00:00
Jean-Philippe Lang c085367bb6 Adds css class to custom field input tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 16:50:42 +00:00
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang 424a70978e Additional tests for the PDF export of an issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-19 07:58:02 +00:00
Jean-Philippe Lang 231282ddcb Fixed MissingFeatureException: let user choose to copy attachments or not when bulk copying issues.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-14 06:21:03 +00:00
Jean-Philippe Lang 09375960d6 When copying issues, let the status be changed to default or left unchanged.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-14 05:45:16 +00:00
Jean-Philippe Lang 04e7b18869 Fixed that export links include page parameter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-11 17:02:21 +00:00
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 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
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 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 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 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 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 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 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 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 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