summaryrefslogtreecommitdiffstats
path: root/app/models/member.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* Fixed potential error when sorting members without role (#10053).Jean-Philippe Lang2012-02-121-1/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: model: Member: add virtual attribute to prevent errorToshi MARUYAMA2011-12-081-0/+6
| | | | | | | | | | | | | | On Rails 3.0, test fails with following error. <pre> Error: test_validate(MemberTest): NoMethodError: undefined method `role' for #<Member:0x7f73caf8cd08> app/models/member.rb:87:in `validate_role' test/unit/member_test.rb:76:in `test_validate' </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8127 e93f8b46-1217-0410-a6f0-8f06a7374b81
* back out r8124Toshi MARUYAMA2011-12-081-1/+1
| | | | | | r8124 shows ":roles can't be empty". git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8125 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: model: Member: errors must be set on existing attributesToshi MARUYAMA2011-12-081-1/+1
| | | | | | | | | | | | | | | | On Rails 3.0, test fails with following error. <pre> Error: test_validate(MemberTest): NoMethodError: undefined method `role' for #<Member:0x7f73caf8cd08> app/models/member.rb:87:in `validate_role' test/unit/member_test.rb:76:in `test_validate' </pre> Contributed by Sylvain Utard. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8124 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: model: replace deprecated before_destroy method at member modelToshi MARUYAMA2011-12-031-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: model: replace deprecated validate method at member modelToshi MARUYAMA2011-12-031-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8047 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/models/member.rb.Toshi MARUYAMA2011-08-211-14/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6503 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed hard-coded english error message on failed Member creationJean-Baptiste Barth2010-08-091-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Extract method to the Member modelEric Davis2010-03-181-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3601 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ask for confirmation when a non-admin users tries to remove himself from a ↵Jean-Philippe Lang2009-12-261-0/+8
| | | | | | project (#4402). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3249 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes user unwatch what he can no longer view after its permissions have ↵Jean-Philippe Lang2009-12-131-1/+16
| | | | | | | | changed (#3589). A rake task (redmine:watchers:prune) is also added to prune existing watchers. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User groups branch merged.Jean-Philippe Lang2009-09-121-14/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2869 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows multiple roles on the same project (#706). Prerequisite for user ↵Jean-Philippe Lang2009-05-101-9/+13
| | | | | | groups feature. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a user search field with autocompleter on project members screen.Jean-Philippe Lang2009-03-281-0/+10
| | | | | | User selection with checkboxes is disabled if there are more than 300 users available (#2993). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User display format is now configurable in administration settings.Jean-Philippe Lang2008-01-251-0/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1103 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: error when removing a project member (postgresql and sqlite only).Jean-Philippe Lang2008-01-201-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1082 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-291-0/+4
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed User#display_name (replaced by User#name).Jean-Philippe Lang2007-06-291-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@578 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Each category can now be associated to a user, so that new issues in that ↵Jean-Philippe Lang2007-06-291-0/+5
| | | | | | category are automatically assigned to that user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added svn:eol-style native property on /app filesJean-Philippe Lang2007-03-121-27/+27
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* trunk moved from /trunk/redmine to /trunkJean-Philippe Lang2006-12-051-0/+29
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81