summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Make project custom fields available as columns on time logs (#24157).Jean-Philippe Lang2017-03-181-0/+2
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@16418 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow multiple instances of custom queries on My page (#1565).Jean-Philippe Lang2017-03-161-1/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix link to issues when displaying a project query (#1565).Jean-Philippe Lang2017-03-151-12/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16409 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clear settings for blocks that are no longer used.Jean-Philippe Lang2017-03-151-1/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16405 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Let user choose columns and sort order of issue lists on "My page" (#1565).Jean-Philippe Lang2017-03-142-0/+17
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16400 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes indentation.Jean-Philippe Lang2017-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16398 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get rid of sort_helper when using queries.Jean-Philippe Lang2017-03-133-19/+39
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get the count by group from the query directly.Jean-Philippe Lang2017-03-092-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16387 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test broken by r16381 (#25289).Jean-Philippe Lang2017-03-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16384 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adding a subtask should default to a tracker without disabled parent field ↵Jean-Philippe Lang2017-03-081-2/+9
| | | | | | (#16260). git-svn-id: http://svn.redmine.org/redmine/trunk@16383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for #25289.Jean-Philippe Lang2017-03-081-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16382 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adding a principal to 2 projects with member inheritance leads to an error ↵Jean-Philippe Lang2017-03-081-2/+4
| | | | | | | | (#25289). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16381 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Emails with no text or html Content not handled properly (#25269, #25256).Jean-Philippe Lang2017-03-071-2/+8
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue description filter's 'none' operator does not match issues with blank ↵Jean-Philippe Lang2017-03-071-2/+2
| | | | | | | | descriptions (#25077). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16378 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload journal's user (#6375).Jean-Philippe Lang2017-03-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16377 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix loading of last visible journal (#1474, #6375).Jean-Philippe Lang2017-03-051-9/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16376 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail parts with empty content should be ignored (#25256).Jean-Philippe Lang2017-03-051-10/+10
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Load only last journal with notes (#1474).Jean-Philippe Lang2017-03-051-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't load all issues' journals (#1474).Jean-Philippe Lang2017-03-051-6/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show Last Comment in Issue list (#1474).Jean-Philippe Lang2017-03-052-1/+31
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Last updated by colum in issue list (#6375).Jean-Philippe Lang2017-03-052-0/+35
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16366 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to disable description field in tracker setting (#25052).Jean-Philippe Lang2017-03-021-2/+2
| | | | | | Patch by Go MAEDA and Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16351 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Priority should always be preloaded as it's used to render issue links.Jean-Philippe Lang2017-03-021-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16346 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a filter on issue attachments (#2783).Jean-Philippe Lang2017-03-021-0/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16344 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes uploading of empty files (#25115).Jean-Philippe Lang2017-02-281-3/+1
| | | | | | | | | | | | | | - prevents creation of attachment records without existing diskfile and empty digest - adds test case to check file upload API response - also removes the file size check in ActsAsAttachable which still prevented attachment of zero size attachments to containers but only for clients without Javascript (where save_attachments is called with the actual file upload). Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@16341 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r16322 (#24970)Toshi MARUYAMA2017-02-021-2/+2
| | | | | | Some tests fail. git-svn-id: http://svn.redmine.org/redmine/trunk@16323 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace depricated Net::LDAP::LdapError by Net::LDAP::Error (#24970)Toshi MARUYAMA2017-02-021-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clean up sort orders.Jean-Philippe Lang2017-01-311-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16321 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Time entry queries should be copied and deleted too.Jean-Philippe Lang2017-01-311-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16320 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes default order on Project#versions association.Jean-Philippe Lang2017-01-311-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Only show issue details in time entry activity events if the issue is ↵Jean-Philippe Lang2017-01-291-1/+5
| | | | | | | | visible (#23803). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@16284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option for long text custom fields to be displayed under the description ↵Jean-Philippe Lang2017-01-251-1/+6
| | | | | | | | field (#21705). Based on patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed filter position (#17720).Jean-Philippe Lang2017-01-211-8/+8
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16248 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #none for empty scope.Jean-Philippe Lang2017-01-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16247 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clean up SQL.Jean-Philippe Lang2017-01-211-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16246 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a scope for issue auto complete.Jean-Philippe Lang2017-01-211-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16245 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use EXISTS instead of IN subquery (#21608).Jean-Philippe Lang2017-01-211-1/+1
| | | | | | Patch by Ondřej Ezr. git-svn-id: http://svn.redmine.org/redmine/trunk@16242 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow forward reference to parent when importing issues (#22701).Jean-Philippe Lang2017-01-212-5/+42
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16241 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds updated_by and last_updated_by filters on issues (#17720).Jean-Philippe Lang2017-01-194-8/+45
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Searching for issues with "updated = none" always returns zero results (#15226).Jean-Philippe Lang2017-01-181-0/+11
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16226 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add warning when loosing data from custom fields when bulk editing issues ↵Jean-Philippe Lang2017-01-181-0/+8
| | | | | | (#22600). git-svn-id: http://svn.redmine.org/redmine/trunk@16224 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed #joins_for_order_statement (#24865).Jean-Philippe Lang2017-01-181-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16223 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't join all associations by default (#24865).Jean-Philippe Lang2017-01-181-3/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16221 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Handle csv columns selection in query to preload appropriate associations ↵Jean-Philippe Lang2017-01-181-0/+3
| | | | | | (#24865). git-svn-id: http://svn.redmine.org/redmine/trunk@16219 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Query#has_column? returns false with default columns.Jean-Philippe Lang2017-01-171-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves sort joins for issues to IssueQuery.Jean-Philippe Lang2017-01-172-3/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16216 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use exists? instead of count (#24839).Jean-Philippe Lang2017-01-161-1/+1
| | | | | | Patch by Vincent Robert and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16211 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wrap conditions with a single if new_record?.Jean-Philippe Lang2017-01-151-8/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16201 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add default timezone for new users (#16484).Jean-Philippe Lang2017-01-151-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16200 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cast as decimal(30,0) instead of integer (#21249).Jean-Philippe Lang2017-01-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16197 e93f8b46-1217-0410-a6f0-8f06a7374b81