summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Merged r15547 and r15561 (#23020).Jean-Philippe Lang2016-06-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15566 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15545.Jean-Philippe Lang2016-06-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15546 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15540 (#285).Jean-Philippe Lang2016-06-183-11/+42
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15542 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15518.Jean-Philippe Lang2016-06-121-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15490 to r15493, r15496, r15497 (#22951).Jean-Philippe Lang2016-06-112-4/+36
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15500 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 15430, 15464 to 15469, 15475, 15476 (#285, #7839).Jean-Philippe Lang2016-06-064-28/+136
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15478 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15431 to r15435 (#22924, #22925, #22926).Jean-Philippe Lang2016-06-041-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15440 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2016-05-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15418 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Always return an array.Jean-Philippe Lang2016-05-161-4/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15417 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Malformed SQL query with SQLServer when grouping and sorting by fixed ↵Jean-Philippe Lang2016-05-161-1/+1
| | | | | | version (#22808). git-svn-id: http://svn.redmine.org/redmine/trunk@15416 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't force download of PDF (#22483).Jean-Philippe Lang2016-05-091-0/+4
| | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@15409 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't send a notification to the dummy email address of the default admin ↵Jean-Philippe Lang2016-05-081-0/+5
| | | | | | account (#21421). git-svn-id: http://svn.redmine.org/redmine/trunk@15402 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a specific string for password changed notification (#21421).Jean-Philippe Lang2016-05-081-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15399 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simplify User#today (#22320).Jean-Philippe Lang2016-05-071-2/+1
| | | | | | Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes Query#date_clause timezone handling (#22320).Jean-Philippe Lang2016-05-071-2/+10
| | | | | | | | | When querying time fields based on date values these should be interpreted in the user's time zone, since that's what a user usually expects. Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15381 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Date.today with User.current.today (#22320).Jean-Philippe Lang2016-05-076-14/+15
| | | | | | | | | | | | | | 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
* Filter by issue id (#4806).Jean-Philippe Lang2016-05-062-5/+21
| | | | | | A shortcut is added to the context menu to filter the selected issues. git-svn-id: http://svn.redmine.org/redmine/trunk@15371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a method for tracker selection (#22345).Jean-Philippe Lang2016-04-241-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15360 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CSV import delimiter detection broken (#22583).Jean-Philippe Lang2016-04-241-1/+1
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15357 e93f8b46-1217-0410-a6f0-8f06a7374b81
* SQL server: non ASCII filter on text fields does not work (#22405).Jean-Philippe Lang2016-04-241-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15353 e93f8b46-1217-0410-a6f0-8f06a7374b81
* SQL server: non ASCII filter on issue subject does not work (#22405).Jean-Philippe Lang2016-04-241-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15351 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Forum list can be reordered with drag and drop (#12909).Jean-Philippe Lang2016-04-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15337 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces acts_as_list with an implementation that handles #position= (#12909).Jean-Philippe Lang2016-04-176-25/+30
| | | | | | Objects are reordered using the regular attribute writer #position= and AR callbacks. git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add inline image preview/display for attachments and repository entries ↵Jean-Philippe Lang2016-04-111-0/+4
| | | | | | | | (#22058). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15324 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Validate status of users and groups.Jean-Philippe Lang2016-04-113-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15320 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2016-04-111-5/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that subtasks lose their custom fields when copying an issue to a ↵Jean-Philippe Lang2016-04-111-3/+6
| | | | | | different project (#22342). git-svn-id: http://svn.redmine.org/redmine/trunk@15318 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-0/+3
| | | | | | all User (#14574). git-svn-id: http://svn.redmine.org/redmine/trunk@15288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Additional CSS class for version status (#21434).Jean-Philippe Lang2016-03-201-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15270 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds instance name to the security notification subject (#21421).Jean-Philippe Lang2016-03-201-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Let the mailer set the email content (#21421).Jean-Philippe Lang2016-03-201-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15267 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send a single email to admins like other notifications (#21421).Jean-Philippe Lang2016-03-201-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15266 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send a security notification when users gain or loose admin (#21421).Jean-Philippe Lang2016-03-201-1/+30
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15265 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-1376-76/+76
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that grouping issue by key/value custom field does not work (#22178).Jean-Philippe Lang2016-03-121-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15224 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Verify assigned_to_id when assigning safe_attributes (#22127).Jean-Philippe Lang2016-03-121-0/+11
| | | | | | 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/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix received mail text attachment does not keep original encoding on Ruby >= ↵Toshi MARUYAMA2016-03-041-1/+1
| | | | | | | | 2.1 (#21742) Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@15184 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send a notification when security settings are changed (#21421).Jean-Philippe Lang2016-02-052-0/+33
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15148 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Security notifications when password or email adress is changed (#21421).Jean-Philippe Lang2016-02-053-2/+71
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Query project_statement - do not collect ids of subtree (#21611).Jean-Philippe Lang2016-01-301-5/+7
| | | | | | Patch by Ondřej Ezr. git-svn-id: http://svn.redmine.org/redmine/trunk@15135 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Additional option for USER_FORMAT, #{lastname}#{firstname} without any ↵Jean-Philippe Lang2016-01-301-3/+8
| | | | | | | | sperator (#3551). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@15133 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add column `estimated_hours` for CSV import (#21867).Jean-Philippe Lang2016-01-301-0/+3
| | | | | | Patch by Yuichi Masumiya. git-svn-id: http://svn.redmine.org/redmine/trunk@15131 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that moving a wiki page with a child raises an error when target wiki ↵Jean-Philippe Lang2016-01-301-1/+1
| | | | | | contains a page with the same name as the child (#21900). git-svn-id: http://svn.redmine.org/redmine/trunk@15130 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't check permission to add watchers if no_permission_check option is set ↵Jean-Philippe Lang2016-01-221-1/+1
| | | | | | (#7017). git-svn-id: http://svn.redmine.org/redmine/trunk@15093 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add watchers from To and Cc fields in issue replies (#7017).Jean-Philippe Lang2016-01-221-2/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not bind when the account contains $login (#21674).Jean-Philippe Lang2016-01-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15090 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that LDAP does not check the user and password when are defined in the ↵Jean-Philippe Lang2016-01-221-1/+6
| | | | | | | | method of authentication (#21674). Patch by Helder Manuel Torres Vieira. git-svn-id: http://svn.redmine.org/redmine/trunk@15086 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes attachment from disk after rollback on create (#21125).Jean-Philippe Lang2016-01-211-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15085 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Only consider open subtasks when computing the priority of a parent issue ↵Jean-Philippe Lang2016-01-161-2/+4
| | | | | | | | (#5880). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@15064 e93f8b46-1217-0410-a6f0-8f06a7374b81