summaryrefslogtreecommitdiffstats
path: root/app/models/group.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Validate status of users and groups.Jean-Philippe Lang2016-04-111-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15320 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed group sorted scope order (#20066).Jean-Philippe Lang2015-06-281-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Order scopes cleanup.Jean-Philippe Lang2014-10-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13526 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded "references" of joinsToshi MARUYAMA2014-10-241-1/+0
| | | | | | "references" is needed for includes, but not needed for joins. git-svn-id: http://svn.redmine.org/redmine/trunk@13501 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-5/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds buit-in groups to give specific permissions to anonymous and non ↵Jean-Philippe Lang2014-09-281-3/+32
| | | | | | members users per project (#17976). git-svn-id: http://svn.redmine.org/redmine/trunk@13417 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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