summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Merged r14112 (#19305).Jean-Philippe Lang2015-03-151-1/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14113 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14083 (#19368).Jean-Philippe Lang2015-03-141-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14095 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14079 (#19316).Jean-Philippe Lang2015-03-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14094 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14081 (#19323).Jean-Philippe Lang2015-03-141-1/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14093 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14082 (#19322).Jean-Philippe Lang2015-03-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14050 (#19260).Jean-Philippe Lang2015-03-081-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14049 (#19197).Jean-Philippe Lang2015-03-081-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workaround for timestamps rounding issues with Rails4.2 and mysql5.7 that ↵Jean-Philippe Lang2015-02-151-1/+1
| | | | | | may kill user session after password is changed (#17460). git-svn-id: http://svn.redmine.org/redmine/trunk@14011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds custom fields to documents (#7249).Jean-Philippe Lang2015-02-142-1/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14004 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Implements /issues/new form for creating issues outside a project (#1003).Jean-Philippe Lang2015-02-141-10/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13999 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added Issue#attributes_editable?Jean-Philippe Lang2015-02-131-1/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't call #upcase on nil.Jean-Philippe Lang2015-02-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13994 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed filtering on date custom field with SQLServer.Jean-Philippe Lang2015-02-081-25/+35
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13993 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed an error in ↵Jean-Philippe Lang2015-02-081-1/+1
| | | | | | IssuesControllerTest#test_index_with_query_grouped_by_tracker_in_reverse_order with SQLServer. git-svn-id: http://svn.redmine.org/redmine/trunk@13991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a :copy_issues permission (#18855).Jean-Philippe Lang2015-02-081-0/+3
| | | | | | When copy is allowed, target projects are those on which the user has the :add_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed :move_issues permission (#18855).Jean-Philippe Lang2015-02-081-10/+12
| | | | | | This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* TimeEntry acts_as_activity_provider scope should joins(:project) (#18818).Jean-Philippe Lang2015-02-071-1/+1
| | | | | | Patch by Ondřej Ezr. git-svn-id: http://svn.redmine.org/redmine/trunk@13971 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raise an error if version is not found (#18983).Jean-Philippe Lang2015-02-071-2/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13965 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow filtering of Redmine Reminders by Version (#18983).Jean-Philippe Lang2015-02-071-0/+3
| | | | | | Patch by Merul Patel. git-svn-id: http://svn.redmine.org/redmine/trunk@13964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set :inverse_of on details association.Jean-Philippe Lang2015-01-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Memorize project override roles.Jean-Philippe Lang2015-01-241-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13934 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set :inverse_of option on journals association.Jean-Philippe Lang2015-01-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix code indent at app/models/repository/cvs.rbToshi MARUYAMA2015-01-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13905 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "where" instead of find_by_ at Repository::Cvs classToshi MARUYAMA2015-01-181-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13904 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r13901Toshi MARUYAMA2015-01-181-10/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13903 e93f8b46-1217-0410-a6f0-8f06a7374b81
* workaround unit cvs test failure on sqlite3Toshi MARUYAMA2015-01-181-3/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use attribute writers instead of before_create callback to normalize ↵Jean-Philippe Lang2015-01-181-3/+11
| | | | | | | | comments and committer (#14534). Unlike other adapters, SQLite raises Encoding::UndefinedConversionError before the callback that reencodes attributes is called. git-svn-id: http://svn.redmine.org/redmine/trunk@13896 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 4.2.0 (#14534).Jean-Philippe Lang2015-01-172-7/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send password reset email to the email used in lost password form (#4244).Jean-Philippe Lang2015-01-171-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for multiple email addresses per user (#4244).Jean-Philippe Lang2015-01-179-48/+184
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-1170-70/+70
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to search open issues only (#10734).Jean-Philippe Lang2015-01-101-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13858 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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