Commit Graph

51 Commits (70aa8236f189ebc7699f0961f9c3a9c01a58b232)

Author SHA1 Message Date
Alex Coles e0191e759c Update year in copyright header to 2015 10 years ago
Alex Coles 1d1ec0ef37 Prefer #map over #collect in (Rails) models 10 years ago
Alex Coles 6fe9535b1f Fix syntax (w/Rubocop) in (Rails) models 10 years ago
Alex Coles 721101ed25 Use 1.9+ Hash syntax in (Rails) models 10 years ago
Ion Biziiac 2a1695ffaf Add the method to_s in the Member model 10 years ago
Alex Coles d872d91d0d Fix typos, spelling in model comments 11 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
Johannes Wollert d6d0661ca2 render prettier errors when trying to add a member without roles/principals 11 years ago
Markus Kahl f7355c1820 include ForbiddenAttributeProtection in correct file (model instead of controller) 11 years ago
Markus Kahl 0fca8ddf31 use strong params instead of attr_protected in member 11 years ago
Hagen Schink 1cb831877b Renames issue category to category 11 years ago
Philipp Tessenow a1e67dd460 new copyright header #1903 11 years ago
Michael Frister cd8859b16a Refactor member role management 11 years ago
Michael Frister 3ffbec5309 Add tests for added Member role methods 11 years ago
Michael Frister a66ccfb0f2 Refactor Member and MemberRole: Disallow Member.destroy 11 years ago
Michael Frister 4bddfe5263 MembersController: Fix Member being destroyed when editing roles 11 years ago
Philipp Tessenow 0ca9fcd4e7 fix member role_empty validation 11 years ago
Jens Ulferts 21459a384f provide every possible file with a short copyright notice 12 years ago
Christian Rijke 1b997cd7ee bug fix: removing a user from a group should also delete project memberships if the user has no own roles left in the project. 12 years ago
Martin Linkhorst 94c6527976 there's no attribute called role 12 years ago
Martin Linkhorst 71fe49e862 DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
Martin Linkhorst 40562c0c08 DEPRECATION FIX: use before_destroy :method_name instead of overwriting the before_destroy method 12 years ago
Romano Licker d9069356e1 display errors correctly when adding a member to a project 13 years ago
Romano Licker 01f8886a63 fixes: couldn't switch roles on a user & ensure correct 13 years ago
Jens Ulferts 3511600c0a adjust members_controller to work with the protected attributes 13 years ago
jwollert 105ef24862 fixes creation of member_roles 13 years ago
jwollert d9f6b52029 protect relations to users (assigned_to, author_id etc.) in models, too 13 years ago
Martin Linkhorst 337561261a some documentation regarding mass assignment, show full stack trace in console 13 years ago
Martin Linkhorst 696ed97dcd fix: use the old style #force_attributes 13 years ago
Martin Linkhorst 12bb66c264 refactor dealing with mass assignment 13 years ago
Martin Linkhorst 42bc728288 fix to work with protected :project_id 13 years ago
Martin Linkhorst 1fce5b6a8f added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
jwollert 3eca274548 fixes creation of member_roles 13 years ago
jwollert 934d22ec67 protect relations to users (assigned_to, author_id etc.) in models, too 13 years ago
Martin Linkhorst 4e9c17fca8 some documentation regarding mass assignment, show full stack trace in console 13 years ago
Martin Linkhorst bfc4a441f4 fix: use the old style #force_attributes 13 years ago
Martin Linkhorst 7b34ebdc47 refactor dealing with mass assignment 13 years ago
Martin Linkhorst c7e130f010 fix to work with protected :project_id 13 years ago
Martin Linkhorst cc74c1e998 added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
Holger Just 91070236db Set source encoding to UTF-8 13 years ago
Holger Just 07185fb169 [#436] Remove trailing whitespace 14 years ago
Eric Davis 99507a0391 [#197] Upgrade the copyright in the code files 14 years ago
Eric Davis e131c3b531 [#197] Remove old copyrights 14 years ago
Eric Davis 597266e5a2 Merged r3929 from trunk. 14 years ago
Jean-Baptiste Barth e00884bcca Removed hard-coded english error message on failed Member creation 14 years ago
Eric Davis b5d9a1dfbd Refactor: Extract method to the Member model 15 years ago
Jean-Philippe Lang c36c924714 Ask for confirmation when a non-admin users tries to remove himself from a project (#4402). 15 years ago
Jean-Philippe Lang f33231181f Makes user unwatch what he can no longer view after its permissions have changed (#3589). 15 years ago
Jean-Philippe Lang 7707457145 User groups branch merged. 15 years ago
Jean-Philippe Lang 7dccf9fda6 Allows multiple roles on the same project (#706). Prerequisite for user groups feature. 16 years ago