summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enforce issue assignee validation (#23921).Jean-Philippe Lang2016-12-101-71/+57
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Edit/delete links displayed on issue even if project is closed (#23969).Jean-Philippe Lang2016-10-021-0/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15879 e93f8b46-1217-0410-a6f0-8f06a7374b81
* closed_on field of copied issue is always set to source issue's value (#23764).Jean-Philippe Lang2016-10-011-1/+11
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@15848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Journalize values that are cleared after project or tracker change (#21623).Jean-Philippe Lang2016-09-031-2/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When copying an issue, all statuses for new issue should be available (#14696).Jean-Philippe Lang2016-09-031-5/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15810 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that restricted custom permissions on for non member/anonymous does ↵Jean-Philippe Lang2016-08-301-0/+22
| | | | | | not work (#23655). git-svn-id: http://svn.redmine.org/redmine/trunk@15750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #update! instead of #update_attribute.Jean-Philippe Lang2016-07-161-27/+27
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Assignable users should not include users that cannot view the tracker (#23172).Jean-Philippe Lang2016-06-281-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds issue visibility by role/tracker (#285).Jean-Philippe Lang2016-06-051-0/+63
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15465 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Limit trackers for new issue to certain roles (#7839).Jean-Philippe Lang2016-06-051-0/+85
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds Issue#allowed_target_trackers (#7839).Jean-Philippe Lang2016-05-301-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15430 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Date.today with User.current.today (#22320).Jean-Philippe Lang2016-05-071-0/+26
| | | | | | | | | | | | | | Depending on the offset between a user's configured timezone and the server timezone, Date.today may be more or less often wrong from the user's perspective, leading to things like issues marked as overdue too early or too late, or yesterday / tomorrow being displayed / selected where 'today' is intended. A test case illustrating the problem with Issue#overdue? is included Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Notify the user of missing attachments (#22401).Jean-Philippe Lang2016-05-071-0/+11
| | | | | | | | | | | under certain (rare) circumstances it may happen that, when an issue or other container is saved, added attachments have already been removed (i.e. by the attachments:prune rake task). This patch adds a validation error to the container in this case. Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15378 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "I don't want to be notified of changes that I make myself" as Default for ↵Jean-Philippe Lang2016-04-031-1/+1
| | | | | | all User (#14574). git-svn-id: http://svn.redmine.org/redmine/trunk@15288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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