summaryrefslogtreecommitdiffstats
path: root/app/models/issue_status.rb
Commit message (Collapse)AuthorAgeFilesLines
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r13640 from 2.6-stable to trunk (#18280)Toshi MARUYAMA2014-11-221-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13641 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that setting a status as closed should update issue closed_on ↵Jean-Philippe Lang2014-11-051-0/+18
| | | | | | attribute (#18280). git-svn-id: http://svn.redmine.org/redmine/trunk@13560 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default status per tracker (#5991).Jean-Philippe Lang2014-11-021-11/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Order scopes cleanup.Jean-Philippe Lang2014-10-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13526 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Query IssueStatus model to prevent workflows instanciation.Jean-Philippe Lang2014-10-261-10/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13516 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 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 IssueStatus modelToshi MARUYAMA2014-01-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated Relation#update_all at IssueStatus modelToshi MARUYAMA2014-01-081-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12511 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use lambda form in model scopes (#12499)Jean-Baptiste Barth2012-12-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2012-11-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a sorted scope to IssueStatus model.Jean-Philippe Lang2012-07-151-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9989 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2012-07-151-14/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workflow enhancement: editable and required fields configurable by role, ↵Jean-Philippe Lang2012-07-151-4/+4
| | | | | | tracker and status (#703, #3521). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* model: replace Rails2 "named_scope" to Rails3 "scope"Toshi MARUYAMA2012-04-261-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9537 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: model: replace deprecated 'after_save' method at IssueStatus modelToshi MARUYAMA2011-09-211-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7436 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/models/issue_status.rb.Toshi MARUYAMA2011-08-211-16/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6504 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: additional workflow transitions not available when set to both author ↵Jean-Philippe Lang2011-07-201-8/+10
| | | | | | and assignee (#8836). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6300 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Setting issue attributes from mail should be case-insensitive (#8759).Jean-Philippe Lang2011-07-091-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6199 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow additional workflow transitions for issue author and assignee (#2732).Jean-Philippe Lang2011-02-201-13/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove the limitation on characters that can be used in custom_field, ↵Jean-Philippe Lang2010-12-311-1/+0
| | | | | | issue_status, role, tracker, user names (#5152). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4599 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Deleting statuses doesn't delete all workflow entries (#5811).Jean-Philippe Lang2010-07-251-1/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow blank value for IssueStatus#default_done_ratio.Jean-Philippe Lang2009-12-121-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3157 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a Setting to control how an Issue's done_ratio is calculated:Eric Davis2009-12-111-0/+12
| | | | | | | | | * Issue field (default) - the done_ratio field for the Issue * Issue status - uses the Issue Status's value #4274 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3151 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows multiple roles on the same project (#706). Prerequisite for user ↵Jean-Philippe Lang2009-05-101-11/+21
| | | | | | groups feature. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: the default status is lost when reordering issue statuses (#1955).Jean-Philippe Lang2008-09-281-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1911 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged IssuesController change_status and add_note actions.Jean-Philippe Lang2008-01-061-0/+4
| | | | | | | 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
* Removed IssueStatus html_color attribute.Jean-Philippe Lang2007-11-041-2/+0
| | | | | | Issue list colorization can be done using a custom theme. Each row is given a class that correspond to the issue status (eg. status-1 where 1 is the status position). git-svn-id: http://redmine.rubyforge.org/svn/trunk@881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Status can now be updated when bulk editing issues.Jean-Philippe Lang2007-10-121-0/+6
| | | | | | Workflow permissions are applied as when changing the status of a single issue. The issue is not saved (and an error is displayed) if the status transition is not allowed for the user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@831 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to customize columns of a saved query.Jean-Philippe Lang2007-10-011-1/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@782 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: Error when editing the wokflow after deleting a statusJean-Philippe Lang2007-07-141-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@584 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added :dependent => :delete_all on IssueStatus Workflow association.Jean-Philippe Lang2007-05-311-2/+2
| | | | | | Also added compact in find_new_statuses_allowed_to to remove nil statuses. git-svn-id: http://redmine.rubyforge.org/svn/trunk@558 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: default status not showing in new issueJean-Philippe Lang2007-04-241-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@475 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed 10337 Regression: Admin raises issue in project not assigned toJean-Philippe Lang2007-04-241-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@474 e93f8b46-1217-0410-a6f0-8f06a7374b81
* The ability to change the issue status to the same status is no longer forced.Jean-Philippe Lang2007-04-221-4/+2
| | | | | | This behaviour can be defined in workflow setup. git-svn-id: http://redmine.rubyforge.org/svn/trunk@470 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed a regression (crash when an admin with no role on the project try to ↵Jean-Philippe Lang2007-04-041-4/+6
| | | | | | create an issue) git-svn-id: http://redmine.rubyforge.org/svn/trunk@420 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Various code cleaning, mainly on User, Permission and IssueStatus models.Jean-Philippe Lang2007-04-041-5/+12
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added svn:eol-style native property on /app filesJean-Philippe Lang2007-03-121-49/+49
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added the ability to set the sort order for issue statusesJean-Philippe Lang2007-01-311-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@205 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed: unable to delete an issue status even if it's not used yetJean-Philippe Lang2007-01-261-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed: setting an issue status as default status leads to an sql error with ↵Jean-Philippe Lang2007-01-261-1/+1
| | | | | | SQLite git-svn-id: http://redmine.rubyforge.org/svn/trunk@179 e93f8b46-1217-0410-a6f0-8f06a7374b81
* various modifications to prevent xssJean-Philippe Lang2006-12-171-0/+1
| | | | | | | - validation of names and labels against /^[\w\s\'\-]*$/i - html entities encoding git-svn-id: http://redmine.rubyforge.org/svn/trunk@99 e93f8b46-1217-0410-a6f0-8f06a7374b81
* trunk moved from /trunk/redmine to /trunkJean-Philippe Lang2006-12-051-0/+49
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81