summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed that issue validation fails if % done field is deactivated (#19731).Jean-Philippe Lang2015-05-091-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14241 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use accessor method.Jean-Philippe Lang2015-04-261-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14229 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use a class variable for mail handler options.Jean-Philippe Lang2015-04-261-27/+33
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed invalid sanitizer in MailHandler (#19537).Jean-Philippe Lang2015-04-251-4/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14219 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When changing tracker, clear the attributes that are disabled for the new ↵Jean-Philippe Lang2015-04-141-1/+14
| | | | | | tracker (#17527). git-svn-id: http://svn.redmine.org/redmine/trunk@14180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed workflow rules when user has duplicated role by inheritance (#19569).Jean-Philippe Lang2015-04-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14179 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Keywords in commit messages: journal entries are created even if nothing was ↵Jean-Philippe Lang2015-04-121-2/+5
| | | | | | changed (#19538). git-svn-id: http://svn.redmine.org/redmine/trunk@14164 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that journals are shown multiple times in activity (#19168).Jean-Philippe Lang2015-04-121-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14163 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed validation when logging time on issue (#19464).Jean-Philippe Lang2015-04-121-3/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler should not ignore emails with x-auto-response-suppress header ↵Jean-Philippe Lang2015-04-112-2/+1
| | | | | | | | (#19558). Patch by Sebastian Paluch. git-svn-id: http://svn.redmine.org/redmine/trunk@14159 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that 2 repositories can be created with blank/nil identifier (#19400).Jean-Philippe Lang2015-04-111-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't validate the repository when updating/clearing extra info (#19400).Jean-Philippe Lang2015-03-201-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14143 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't allow 2 repositories with blank identifier (#19400).Jean-Philippe Lang2015-03-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that custom fields with hidden/read-only combination may be displayed ↵Jean-Philippe Lang2015-03-201-3/+17
| | | | | | on issue form (#19297). git-svn-id: http://svn.redmine.org/redmine/trunk@14137 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r13896 (#14534)Toshi MARUYAMA2015-03-201-11/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14136 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-space from app/models/issue.rbToshi MARUYAMA2015-03-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14120 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r14115 in trunk.Jean-Philippe Lang2015-03-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14117 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Compatibility with ruby1.8 (#19305).Jean-Philippe Lang2015-03-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure that settings are unserialized as UTF-8 encoded strings (#19305).Jean-Philippe Lang2015-03-151-1/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14112 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that creating an issue without tracker_id attribute ignores custom ↵Jean-Philippe Lang2015-03-141-0/+5
| | | | | | field values (#19368). git-svn-id: http://svn.redmine.org/redmine/trunk@14083 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore auto reply messages from Exchange server (#19322).Jean-Philippe Lang2015-03-141-1/+1
| | | | | | Patch by Sebastian Paluch. git-svn-id: http://svn.redmine.org/redmine/trunk@14082 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Incorrect links generated in emails if host setup uses other port (#19323).Jean-Philippe Lang2015-03-141-1/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14081 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CustomField#possible_values may raise undefined method `force_encoding' ↵Jean-Philippe Lang2015-03-141-2/+2
| | | | | | error (#19316). git-svn-id: http://svn.redmine.org/redmine/trunk@14079 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r14067 that triggers "can't modify frozen String" errors (#19305).Jean-Philippe Lang2015-03-081-21/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure that strings of serialized settings are UTF-8 encoded (#19305).Jean-Philippe Lang2015-03-081-1/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14067 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2015-03-082-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that non-default identifier-less git repositories are undeletable ↵Jean-Philippe Lang2015-03-071-1/+0
| | | | | | | | (#19260). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@14050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing notification if previous assignee was a group (#19197).Jean-Philippe Lang2015-03-071-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14049 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't validate custom fields that are not editable (#19193).Jean-Philippe Lang2015-03-011-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14045 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