summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed: Issue updated_on is not updated when a user adds a note with no edit ↵Jean-Philippe Lang2008-08-251-0/+2
| | | | | | privilege. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1758 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Activity refactoring.Jean-Philippe Lang2008-07-271-0/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1701 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When moving an issue to another project, reassign it to the category with ↵Jean-Philippe Lang2008-07-261-1/+3
| | | | | | same name if any (#1653). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1697 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search engine: display total results count (#906) and count by result type.Jean-Philippe Lang2008-07-201-1/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1681 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: associated revisions are displayed in wrong order on issue view (#1546).Jean-Philippe Lang2008-06-291-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1596 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom fields refactoring: most of code moved from controllers to models ↵Jean-Philippe Lang2008-06-271-8/+6
| | | | | | (using new module ActsAsCustomizable). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make the 'duplicates of' relation asymmetric:Jean-Philippe Lang2008-06-031-2/+2
| | | | | | | * closing a issue will close its duplicates * closing a duplicate won't close the main issue git-svn-id: http://redmine.rubyforge.org/svn/trunk@1488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt chart: display issues that don't have a due date if they are assigned ↵Jean-Philippe Lang2008-05-251-0/+6
| | | | | | to a version with a date (#184). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1455 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to search all projects or the projects the user belongs to (#791).Jean-Philippe Lang2008-05-181-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Estimated time recognizes improved time formats (#1092).Jean-Philippe Lang2008-04-261-1/+5
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: ActiveRecord::StaleObjectError exception on closing a set of circular ↵Jean-Philippe Lang2008-04-261-0/+2
| | | | | | duplicate issues (#1105). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1360 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Time report can be done at issue level (closes #970) + timelog views xhtml ↵Jean-Philippe Lang2008-04-011-0/+4
| | | | | | validation. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Let the user choose when deleting issues with reported hours (closes #734, #71):Jean-Philippe Lang2008-02-291-1/+1
| | | | | | | | | * to delete the hours * to assign the hours to the project * to reassign the hours to another issue git-svn-id: http://redmine.rubyforge.org/svn/trunk@1182 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include subprojects on the issue list, calendar and gantt by default.Jean-Philippe Lang2008-02-281-0/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1178 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not clear issue relations when moving an issue to another project if ↵Jean-Philippe Lang2008-02-211-2/+4
| | | | | | cross-project issue relations are allowed (closes #696). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1164 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: auto closing of duplicates doesn't work.Jean-Philippe Lang2008-02-171-0/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: locked users should not receive email notifications.Jean-Philippe Lang2008-01-171-3/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1075 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged IssuesController change_status and add_note actions.Jean-Philippe Lang2008-01-061-0/+7
| | | | | | | The 'Change status' specific form removed and now accessible from issue/show view with no additional request (click on 'Update' to show the form). The 'Change issue status' permission is removed. To change the status, the user just needs to have either 'Edit' or 'Add note' permissions and some workflow transitions allowed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added per-project tracker selection. Trackers can be selected on project ↵Jean-Philippe Lang2007-11-201-1/+5
| | | | | | settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Update of time entry fails when the issue has been moved to an other ↵Jean-Philippe Lang2007-11-171-0/+26
| | | | | | | | project. Fixed: Error when moving an issue without changing its tracker (Postgresql). git-svn-id: http://redmine.rubyforge.org/svn/trunk@909 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the hability to copy an issue.Jean-Philippe Lang2007-10-281-0/+7
| | | | | | | | It can be done from the 'issue/show' view or from the context menu on the issue list. The Copy functionality is of course only available if the user is allowed to create an issue. It copies the issue attributes and the custom fields values. git-svn-id: http://redmine.rubyforge.org/svn/trunk@873 e93f8b46-1217-0410-a6f0-8f06a7374b81
* More flexible mail notifications settings at user level. A user has now 3 ↵Jean-Philippe Lang2007-10-201-0/+9
| | | | | | | | | | options: * notification on any event on all his projects * notification on any event on selected projects only (if the user belongs to more than 1 project) * notification only for things that he watches or he is involded in (eg. issues that he watches or he is author or assignee) git-svn-id: http://redmine.rubyforge.org/svn/trunk@855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: unable to add a file to an issue without entering a note.Jean-Philippe Lang2007-10-191-1/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@853 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed issue assignment validation to avoid validation failure when ↵Jean-Philippe Lang2007-10-181-5/+0
| | | | | | updating the issue and if the assignee is no longer a member of the project. git-svn-id: http://redmine.rubyforge.org/svn/trunk@848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added 'Bulk edit' functionality.Jean-Philippe Lang2007-10-091-1/+1
| | | | | | | | This can be done by clicking on the edit link (little pen icon) at the upper-left corner of the issue list. Most properties can be set (priority, assignee, category, fixed version, start and due dates, done ratio) and a note can be entered. Only issues of the current project can be selected for bulk edit (subproject issues can't). git-svn-id: http://redmine.rubyforge.org/svn/trunk@817 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added default value for enumerations.Jean-Philippe Lang2007-10-051-3/+11
| | | | | | Only default issue priority is actually used. git-svn-id: http://redmine.rubyforge.org/svn/trunk@803 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search engines now supports pagination.Jean-Philippe Lang2007-09-271-1/+2
| | | | | | Results are sorted in reverse chronological order. git-svn-id: http://redmine.rubyforge.org/svn/trunk@766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added 'Estimated hours' attribute on issues.Jean-Philippe Lang2007-09-151-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@731 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: custom field displayed as deleted in the issue history even if no ↵Jean-Philippe Lang2007-09-051-1/+3
| | | | | | value was set. git-svn-id: http://redmine.rubyforge.org/svn/trunk@706 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-291-0/+2
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Automatic closing of duplicate issues.Jean-Philippe Lang2007-08-251-0/+22
| | | | | | When closing an issue, all related issues marked as duplicates are now also closed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a 'Assignable' boolean on Role model.Jean-Philippe Lang2007-08-161-0/+10
| | | | | | If unchecked, issues can not be assigned to users having this role. git-svn-id: http://redmine.rubyforge.org/svn/trunk@649 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added several validates_length_ofJean-Philippe Lang2007-07-161-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: issue_id not nullified on time entries when deleting the issueJean-Philippe Lang2007-07-021-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@581 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Each category can now be associated to a user, so that new issues in that ↵Jean-Philippe Lang2007-06-291-0/+7
| | | | | | category are automatically assigned to that user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue#long_id no more used and removedJean-Philippe Lang2007-05-051-4/+0
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@510 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue relations first commit (not thoroughly tested). 4 kinds of relation ↵Jean-Philippe Lang2007-05-051-15/+34
| | | | | | | | | | | | | | are available: * relates to: do nothing special. Just to know that the 2 issues are related... * duplicates: will close the related issue with the same status when closing the issue (not implemented yet) * blocks: will require to close the blocking issue before closing the blocked issue (not implemented yet) * precedes (end to start relation): start date of the related issue depends on the due date of the preceding issue (implemented). A delay can be set so that the related issue can only start n days after the end of the preceding issue. When setting dates for an issue, dates of all downstream issues are set according to these relations. To set a relation, the 2 issues have to belong to the same project (may change in the future). So if an issue is moved to another project, all its relations are removed. Circular dependencies are checked when creating a relation. git-svn-id: http://redmine.rubyforge.org/svn/trunk@506 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Commit messages are now scanned for referenced or fixed issue IDs.Jean-Philippe Lang2007-04-241-1/+2
| | | | | | | | | | | | | Keywords and the status to apply to fixed issues can be defined in Admin -> Settings. Default keywords: - for referencing issues: refs, references, IssueID - for fixing issues: fixes,closes There's no default status defined for fixed issue. You'll have to specify it if you want to enable auto closure of issues. Example of a working commit message: "This commit references #1, #2 and fixes #3" git-svn-id: http://redmine.rubyforge.org/svn/trunk@473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added "Watch" functionality on issues. It allows users to receive mail ↵Jean-Philippe Lang2007-04-211-0/+2
| | | | | | | | notifications about issue changes. For now, it's only usefull for users who are not members of the project, since members receive notifications for each issue (this behaviour will change). git-svn-id: http://redmine.rubyforge.org/svn/trunk@453 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Feature 9784 Set status when raising issue.Jean-Philippe Lang2007-04-031-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@407 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simple time tracking functionality added. Time can be logged at issue or ↵Jean-Philippe Lang2007-03-231-1/+5
| | | | | | | | | | project level. There's no aggregation reports for now, it's just possible to see all time entries for a project or an issue. A new "activities" enumeration is added. Permission for a role to log time must be set (new "Time tracking" section in role permissions screen). git-svn-id: http://redmine.rubyforge.org/svn/trunk@368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added svn:eol-style native property on /app filesJean-Philippe Lang2007-03-121-101/+101
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replaced deprecated ":dependent => true" statementsJean-Philippe Lang2006-12-261-4/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@123 e93f8b46-1217-0410-a6f0-8f06a7374b81
* trunk moved from /trunk/redmine to /trunkJean-Philippe Lang2006-12-051-0/+103
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81