summaryrefslogtreecommitdiffstats
path: root/app/models/group.rb
Commit message (Collapse)AuthorAgeFilesLines
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from Group#user_removedToshi MARUYAMA2014-01-081-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12536 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated Relation#update_all at Group modelToshi MARUYAMA2014-01-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12529 e93f8b46-1217-0410-a6f0-8f06a7374b81
* explicitly define fix has_and_belongs_to_many join_table at Group and UserToshi MARUYAMA2013-12-271-2/+4
| | | | | | Rails4 cannot resolve automatically. git-svn-id: http://svn.redmine.org/redmine/trunk@12471 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: adds --default-group option to add created user to one or more ↵Jean-Philippe Lang2013-03-031-0/+1
| | | | | | groups (#13340). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11522 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raised group name maximum length to 255 characters (#13174).Jean-Philippe Lang2013-02-151-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11392 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use lambda form in model scopes (#12499)Jean-Baptiste Barth2012-12-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:all) calls.Jean-Philippe Lang2012-12-021-2/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a scope for sorting groups.Jean-Philippe Lang2012-07-081-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST Api for Groups (#8981).Jean-Philippe Lang2012-06-031-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9758 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use safe_attributes in GroupsController.Jean-Philippe Lang2012-06-011-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced group[lastname] parameter with group[name].Jean-Philippe Lang2012-06-011-1/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: use .to_s for overriding human_attribute_name parameter at group modelToshi MARUYAMA2012-02-241-1/+1
| | | | | | On Rails 3.0.11, parameter is symbol not string in activerecord validation. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8969 e93f8b46-1217-0410-a6f0-8f06a7374b81
* human_attribute_name accepts optional argument.Jean-Philippe Lang2011-12-181-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8286 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use same human_attribute_name logic with SCM models at group model (#9795)Toshi MARUYAMA2011-12-151-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8237 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Unrelated error message when creating a group with an invalid name ↵Jean-Philippe Lang2011-12-151-0/+4
| | | | | | (#9795). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/models/group.rb.Toshi MARUYAMA2011-08-311-12/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to assign issues to groups (#2964).Jean-Philippe Lang2011-07-231-2/+15
| | | | | | Option is disabled by default. It can be turned on in application settings. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6306 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevents validation error when adding a user to a group (#6457).Jean-Philippe Lang2010-11-271-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4437 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User groups branch merged.Jean-Philippe Lang2009-09-121-0/+48
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2869 e93f8b46-1217-0410-a6f0-8f06a7374b81