summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Backported r12938 (#16169).Jean-Philippe Lang2014-02-281-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12736 (#15977).Jean-Philippe Lang2014-02-0867-67/+67
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12848 (#16032).Jean-Philippe Lang2014-02-071-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12853 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12844 (#16038).Jean-Philippe Lang2014-02-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12852 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12745 (#15870).Jean-Philippe Lang2014-02-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12660 (#13544).Jean-Philippe Lang2014-02-061-5/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12419.Jean-Philippe Lang2013-12-211-3/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12434 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12420 (#15684).Jean-Philippe Lang2013-12-211-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12433 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12414 (#15623).Jean-Philippe Lang2013-12-211-1/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12431 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Log errors when moving attachments (#15295).Jean-Philippe Lang2013-11-091-7/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12249 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept custom field format added at runtime (#15277).Jean-Philippe Lang2013-11-091-1/+1
| | | | | | Patch by Boris Bera. git-svn-id: http://svn.redmine.org/redmine/trunk@12248 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code format cleanup app/models/changeset.rbToshi MARUYAMA2013-10-241-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code format cleanup app/models/issue.rbToshi MARUYAMA2013-10-241-2/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid a query if enabled_modules association is already loaded (#15058).Jean-Philippe Lang2013-10-201-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that issue nested set update is triggered even if parent is not ↵Jean-Philippe Lang2013-10-201-28/+37
| | | | | | changed (#15135). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12226 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid N queries when displaying the issue list with custom fields.Jean-Philippe Lang2013-10-152-3/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12223 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that viewing/editing a wiki page without WikiContent raises an error ↵Jean-Philippe Lang2013-10-131-1/+2
| | | | | | (#14986). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12220 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that controller_issues_edit_before/after_save hooks have no controller ↵Jean-Philippe Lang2013-10-131-24/+0
| | | | | | | | context (#15044). Patch by Jordan Hollinger. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12219 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid lots of CustomField.find_by_id calls when displaying an issue history ↵Jean-Philippe Lang2013-10-132-3/+23
| | | | | | with custom fields (#15072). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that the mail method should return a Mail::Message (#15113).Jean-Philippe Lang2013-10-131-5/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12210 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to define commit keywords per tracker (#7590).Jean-Philippe Lang2013-10-132-29/+31
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* NoMethodError when uploading a file without logger (#14977).Jean-Philippe Lang2013-10-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12202 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't update issues nor log time when importing old changesets (#4823).Jean-Philippe Lang2013-10-051-2/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12199 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Pass the commit keyword used to update the issue to the plugin hook.Jean-Philippe Lang2013-10-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for multiple issue update keywords/rules in commit messages (#4911).Jean-Philippe Lang2013-10-052-14/+81
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/models/custom_field.rbToshi MARUYAMA2013-09-301-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12188 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Exclude attachments from incoming emails based on file name (#3413).Jean-Philippe Lang2013-09-291-0/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API: custom fields definition (#11159).Jean-Philippe Lang2013-09-291-2/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12165 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevents invalid SQL with invalid group_ids (#14902).Jean-Philippe Lang2013-09-251-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filters show issues with unused custom fields (#13537).Jean-Philippe Lang2013-09-131-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12133 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wrong done_ratio calculation for parent with subtask having ↵Jean-Philippe Lang2013-09-111-1/+2
| | | | | | | | estimated_hours=0 (). Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12131 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strip eols from file names (#14819).Jean-Philippe Lang2013-09-111-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12128 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed usage of #attribute_present? in UserPreference (#13008).Jean-Philippe Lang2013-09-101-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-space from app/models/journal.rbToshi MARUYAMA2013-09-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12121 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code format cleanup app/models/issue.rbToshi MARUYAMA2013-08-061-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12087 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to force a user to change his password (#3872).Jean-Philippe Lang2013-08-051-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12081 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved CUSTOM_FIELDS_TABS out of the model.Jean-Philippe Lang2013-08-041-23/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12077 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove ineffective "logger.info" and "logger.error" check from MailHandler ↵Toshi MARUYAMA2013-08-031-9/+9
| | | | | | model (#14598) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12073 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Broken tests (#14491).Jean-Philippe Lang2013-07-291-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use the default project when receiving an email with an invalid project ↵Jean-Philippe Lang2013-07-291-0/+8
| | | | | | keyword (#14491). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12067 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filtering issues on "related to" may ignore other filters (#14401).Jean-Philippe Lang2013-07-281-3/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Additional status transitions for assignees do not work if assigned to a ↵Jean-Philippe Lang2013-07-281-2/+6
| | | | | | group (#14447). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that sorting time entries by custom field raises a SQL error (#14366).Jean-Philippe Lang2013-07-281-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12042 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that displaying time entries with custom field column raises an error ↵Jean-Philippe Lang2013-07-242-1/+5
| | | | | | (#5037). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12041 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't hardcode news model in Comment.Jean-Philippe Lang2013-07-151-2/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12026 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use AR callbacks instead of observers (removed in Rails4) for notifications.Jean-Philippe Lang2013-07-1414-169/+69
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12021 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to save Gantt query filters (#7836).Jean-Philippe Lang2013-07-142-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Hash#reject that returns a Hash with ruby1.8 when Hash#select that ↵Jean-Philippe Lang2013-07-131-2/+4
| | | | | | returns an Array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't notify users about relations that are not visible (#1005).Jean-Philippe Lang2013-07-132-3/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12015 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that relations to issues that are not visible are displayed in the ↵Jean-Philippe Lang2013-07-131-0/+3
| | | | | | issue history (#1005). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12014 e93f8b46-1217-0410-a6f0-8f06a7374b81