summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Option to search attachment filenames and description (#4383).Jean-Philippe Lang2015-01-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search custom fields and journals with different queries to take advantage ↵Jean-Philippe Lang2015-01-081-7/+2
| | | | | | of indexes on text columns if present. git-svn-id: http://svn.redmine.org/redmine/trunk@13855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Skip validation if attribute did not change.Jean-Philippe Lang2015-01-071-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13851 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecates Project#set_allowed_parent!.Jean-Philippe Lang2015-01-071-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that project copy triggers a 500 error if project validation fails.Jean-Philippe Lang2015-01-071-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleans up parent project assignment in ProjectsController.Jean-Philippe Lang2015-01-071-38/+44
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved Project#hierarchy to NestedSet::Traversing.Jean-Philippe Lang2015-01-071-9/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces awesome_nested_set gem with a simple and more robust implementation ↵Jean-Philippe Lang2015-01-072-97/+21
| | | | | | | | of nested sets. The concurrency tests added in this commit trigger dead locks and/or nested set inconsistency with awesome_nested_set. git-svn-id: http://svn.redmine.org/redmine/trunk@13841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload wiki page content for search results.Jean-Philippe Lang2014-12-261-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13814 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Attachment content type not set when uploading attachment (#18667).Jean-Philippe Lang2014-12-211-4/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't overwrite headers that were already set (#14699).Jean-Philippe Lang2014-12-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13784 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced "can't" with "cannot" in error messages.Jean-Philippe Lang2014-12-213-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use a CustomFieldValue instead of CustomValue.Jean-Philippe Lang2014-12-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use logger.info? (#18605).Jean-Philippe Lang2014-12-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use a simple count query.Jean-Philippe Lang2014-12-131-17/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't show roles without issue add/edit permission in workflow setup (#15988).Jean-Philippe Lang2014-12-132-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13748 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't consider roles without issue add/edit permissions for determining ↵Jean-Philippe Lang2014-12-132-0/+5
| | | | | | fields permissions (#15988). git-svn-id: http://svn.redmine.org/redmine/trunk@13747 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Droped legacy behaviour that allows a user to edit a few attributes of an ↵Jean-Philippe Lang2014-12-131-8/+0
| | | | | | | | issue without the edit_issues permission if a status transition is allowed (#15988). Now that we can control permission on each field, this behaviour is no longer needed. The edit_issues permission is now required, which is consistent with the current requirements for bulk edition. git-svn-id: http://svn.redmine.org/redmine/trunk@13746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unused method.Jean-Philippe Lang2014-12-121-4/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13740 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrites search engine to properly paginate results (#18631).Jean-Philippe Lang2014-12-126-10/+10
| | | | | | Instead of counting and retrieving results based on their timestamps, we now load all result ids then load the appropriate results by their ids. This also brings a 2x performance improvement as we search tokens in one of the 2 queries only. git-svn-id: http://svn.redmine.org/redmine/trunk@13739 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ignore X-Autoreply mails (#15999, #13425)Toshi MARUYAMA2014-12-121-1/+2
| | | | | | Contributed by Karel Pičman. git-svn-id: http://svn.redmine.org/redmine/trunk@13738 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Misc tests.Jean-Philippe Lang2014-12-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't create a journal when creating an issue.Jean-Philippe Lang2014-12-081-3/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13732 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Skip some validations if attribute did not change.Jean-Philippe Lang2014-12-062-3/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13723 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Specify the order for finding a setting.Jean-Philippe Lang2014-12-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13721 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Skip uniqueness validation when updating a setting without changing its name.Jean-Philippe Lang2014-12-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds methods for loading and adding settings.Jean-Philippe Lang2014-12-051-32/+52
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed dead code, Rails4 handles that in its attribute writer.Jean-Philippe Lang2014-12-051-3/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13716 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unused scopes.Jean-Philippe Lang2014-12-051-15/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13715 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo.Jean-Philippe Lang2014-12-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13712 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unused and deprecated Issue#move_to_project method.Jean-Philippe Lang2014-12-051-27/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13711 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved journal details generation to Journal model.Jean-Philippe Lang2014-12-052-78/+122
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13703 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rescue RecordNotSaved in #save_with_content.Jean-Philippe Lang2014-12-031-2/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13696 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get version ids with a single query (was n+1).Jean-Philippe Lang2014-12-021-3/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13694 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed broken and unused method added in r5313.Jean-Philippe Lang2014-12-021-6/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13693 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use scope.Jean-Philippe Lang2014-12-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13692 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2014-11-301-4/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13682 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Edit attachments after upload (#1326).Jean-Philippe Lang2014-11-294-1/+41
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move wiki page to other project (#5450).Jean-Philippe Lang2014-11-233-22/+85
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13643 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
* replace tab to space at app/models/issue.rbToshi MARUYAMA2014-11-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13639 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Selected projects in email notifications on "my account" are lost when the ↵Jean-Philippe Lang2014-11-221-1/+1
| | | | | | | | page is redisplayed after a validation error (#18060). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2014-11-221-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clear @spent_hours on reload (#18410).Jean-Philippe Lang2014-11-221-0/+1
| | | | | | Patch by Ondřej Ezr. git-svn-id: http://svn.redmine.org/redmine/trunk@13625 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore bogus issue strings like [some-string#1234] in email subjects (#17705).Jean-Philippe Lang2014-11-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a role setting for controlling visibility of users: all or members of ↵Jean-Philippe Lang2014-11-115-7/+49
| | | | | | visible projects (#11724). git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevents a status load in #status_was when status is not changed (#18290).Jean-Philippe Lang2014-11-081-2/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevents author load (#18290).Jean-Philippe Lang2014-11-081-1/+1
| | | | | | Patch by Ondřej Ezr. git-svn-id: http://svn.redmine.org/redmine/trunk@13576 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds configuration settings to limit valid repository path (#1415).Jean-Philippe Lang2014-11-082-0/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload users and projects for latest news on welcome page.Jean-Philippe Lang2014-11-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13566 e93f8b46-1217-0410-a6f0-8f06a7374b81