summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Verify assigned_to_id when assigning safe_attributes (#22127).Jean-Philippe Lang2016-03-121-0/+34
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15223 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Private notes get copied without private flag to Duplicate issues (#22072).Jean-Philippe Lang2016-03-121-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* After copying a task, setting the parent as the orignal task's parent ↵Jean-Philippe Lang2016-01-101-0/+17
| | | | | | triggers an error (#17580). git-svn-id: http://svn.redmine.org/redmine/trunk@15057 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Can't set parent issue when issue relations among child issues are present ↵Jean-Philippe Lang2016-01-101-191/+89
| | | | | | (#13654). git-svn-id: http://svn.redmine.org/redmine/trunk@15056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't include locked user in assignable users (#21477).Jean-Philippe Lang2015-12-121-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14972 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for #21477.Jean-Philippe Lang2015-12-121-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14971 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default target version for new issues (#1828).Jean-Philippe Lang2015-11-011-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't require category or target version when they are not available (#20583).Jean-Philippe Lang2015-10-241-0/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14733 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a scope to get issues assigned to a user.Jean-Philippe Lang2015-10-211-0/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't propose projects without trackers when editing an issue (#20463).Jean-Philippe Lang2015-09-201-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14613 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that members without view issues permission are able to list issues on ↵Jean-Philippe Lang2015-07-251-0/+9
| | | | | | public projects if the non member role has the permission (#20206). git-svn-id: http://svn.redmine.org/redmine/trunk@14450 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that issue validation fails if % done field is deactivated (#19731).Jean-Philippe Lang2015-05-091-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14241 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When changing tracker, clear the attributes that are disabled for the new ↵Jean-Philippe Lang2015-04-141-0/+32
| | | | | | tracker (#17527). git-svn-id: http://svn.redmine.org/redmine/trunk@14180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed workflow rules when user has duplicated role by inheritance (#19569).Jean-Philippe Lang2015-04-141-0/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14179 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that custom fields with hidden/read-only combination may be displayed ↵Jean-Philippe Lang2015-03-201-1/+18
| | | | | | on issue form (#19297). git-svn-id: http://svn.redmine.org/redmine/trunk@14137 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing notification if previous assignee was a group (#19197).Jean-Philippe Lang2015-03-071-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14049 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't validate custom fields that are not editable (#19193).Jean-Philippe Lang2015-03-011-0/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14045 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed assertion to see what issues contains (#19106).Jean-Philippe Lang2015-02-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14005 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed :move_issues permission (#18855).Jean-Philippe Lang2015-02-081-4/+4
| | | | | | This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for multiple email addresses per user (#4244).Jean-Philippe Lang2015-01-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced "can't" with "cannot" in error messages.Jean-Philippe Lang2014-12-211-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed that quote in a fixture subject.Jean-Philippe Lang2014-12-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set locale for error messages.Jean-Philippe Lang2014-12-201-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13772 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't consider roles without issue add/edit permissions for determining ↵Jean-Philippe Lang2014-12-131-0/+23
| | | | | | fields permissions (#15988). git-svn-id: http://svn.redmine.org/redmine/trunk@13747 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Try to find out what causes a ruby bus error with ruby2.x on the CI server.Jean-Philippe Lang2014-12-131-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13743 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set notified events as expected.Jean-Philippe Lang2014-11-301-5/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13683 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that a disabled field which is required by workflow rules blocks issue ↵Jean-Philippe Lang2014-11-041-0/+20
| | | | | | creation/update (#17744). git-svn-id: http://svn.redmine.org/redmine/trunk@13557 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default status per tracker (#5991).Jean-Philippe Lang2014-11-021-5/+67
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2014-10-251-0/+75
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13508 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-22/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds buit-in groups to give specific permissions to anonymous and non ↵Jean-Philippe Lang2014-09-281-0/+31
| | | | | | members users per project (#17976). git-svn-id: http://svn.redmine.org/redmine/trunk@13417 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Field set as read-only still available in the issues list context menu (#16755).Jean-Philippe Lang2014-05-021-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13124 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix wrong issue 'assigned-to-my-group' css class (#16038)Toshi MARUYAMA2014-02-061-10/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from IssueTestToshi MARUYAMA2014-01-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add more comment about awesome_nested_set 2-1-stable branch regressionToshi MARUYAMA2014-01-261-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12709 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove Rails4 deprecated Relation#all from ↵Toshi MARUYAMA2014-01-261-1/+17
| | | | | | IssueTest#test_visible_and_nested_set_scopes and add awesome_nested_set regression test git-svn-id: http://svn.redmine.org/redmine/trunk@12708 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated Relation#first with finder options at IssueTestToshi MARUYAMA2014-01-091-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12549 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated Relation#update_all at IssueTestToshi MARUYAMA2014-01-091-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated Relation#update_all at IssueTestToshi MARUYAMA2014-01-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12527 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated find_all_by_* at IssueTestToshi MARUYAMA2014-01-071-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12495 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that time entries custom values are not deleted when deleting a ↵Jean-Philippe Lang2013-12-181-0/+9
| | | | | | project or an issue (#15709). git-svn-id: http://svn.redmine.org/redmine/trunk@12421 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that previous assignee is not notified on issue update (#15714).Jean-Philippe Lang2013-12-171-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12419 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add test to send one mail with both settngs in creating issue (#15612)Toshi MARUYAMA2013-12-061-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add test not to send mail with no settng in creating issue (#15612)Toshi MARUYAMA2013-12-061-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12362 e93f8b46-1217-0410-a6f0-8f06a7374b81
* explicitly use mail send setting in unit issue test (#15612)Toshi MARUYAMA2013-12-061-11/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* not use assert_not_nil in Errors#[]Toshi MARUYAMA2013-07-301-4/+4
| | | | | | | | r7593 etc. replaced Rails2 Errors#on. Rails3 Errors#[] always return array. So, Rails3 Errors#[] is always not nil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12070 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Additional status transitions for assignees do not work if assigned to a ↵Jean-Philippe Lang2013-07-281-3/+23
| | | | | | group (#14447). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds 'assigned-to-my-group' css class to issues that are assigned to a ↵Jean-Philippe Lang2013-07-111-0/+12
| | | | | | user's group (#12681). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12006 e93f8b46-1217-0410-a6f0-8f06a7374b81