Commit Graph

69 Commits (72c132ed55cf3db6f4a158391d9ef6284f090626)

Author SHA1 Message Date
Mohamed Wael Khobalatte d2349cf819 Delete Redmine's safe_attributes implementation 9 years ago
Mohamed Wael Khobalatte 972b04d86e Refactor to allow for strong params 9 years ago
Alex Coles 29d9814347 Prefer Project.allowed_to to .allowed_to_condition 9 years ago
Alex Coles c02804b0eb Teach acts_as_searchable a references option 9 years ago
Alex Coles 787a35c9db Add explicit join references in models 9 years ago
Alex Coles b2790b8db1 Migrate deprecated .update_all with conditions 9 years ago
Alex Coles 5557f58e80 Migrate model scopes to use lambda/block 9 years ago
Alex Coles e0191e759c Update year in copyright header to 2015 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
slawa a070cee3d7 Fix sticky date set 11 years ago
slawa c8a15571f2 Reset sticky date when sticky option is reset 11 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
Hagen Schink 955c279e90 Makes models acting as events again 11 years ago
Hagen Schink efffb371e4 Moves message activity provider settings 11 years ago
Till Breuer b57b9a9348 Make message#board_id accessible to allow for moving topics (fixes #2534) 11 years ago
Hagen Schink ec1c287a55 Extracts attachment change handler to module 11 years ago
Hagen Schink c3783d3279 Fixes message attachment add/remove 11 years ago
Hagen Schink fa45f187f6 Extracts attachment change handler to module 11 years ago
Hagen Schink 9b5f8c3d41 Fixes message attachment add/remove 11 years ago
Philipp Tessenow a1e67dd460 new copyright header #1903 11 years ago
Hagen Schink d0ca65dbaf Introduces journable 11 years ago
Hagen Schink e2c5fb0b42 Re-activates AAJ models 11 years ago
Hagen Schink 32e85a6b62 Disables journalization for certain models 11 years ago
Toshi MARUYAMA b7ba4a4249 fix indent of app/models/message.rb 11 years ago
Jens Ulferts 21459a384f provide every possible file with a short copyright notice 12 years ago
Philipp Tessenow 28ab23ea7f remove attr_protected for :locked and :sticky. They are safed by safe_attributes depending on the user permissions 12 years ago
Philipp Tessenow 15df2ecdcc be careful with nested namespace'd controllers in our models 12 years ago
Philipp Tessenow ddc6cdec54 force message to update its watchers and watcher_users when creating a new watcher in its after_create hook 12 years ago
Martin Linkhorst d616d0574e DEPRECATION FIX: use errors.add(:base, msg) instead of errors.add_to_base(:msg) 12 years ago
Martin Linkhorst 13ff784e00 DEPRECATION FIX: use after_update :method_name instead of overwriting the after_update method 12 years ago
Martin Linkhorst b783846b04 DEPRECATION FIX: use after_destroy :method_name instead of overwriting the after_destroy method 12 years ago
Martin Linkhorst d05ec3be8f DEPRECATION FIX: use validate :on => :create instead of overwriting the validate_on_create method 12 years ago
Martin Linkhorst 6a62bdeb8f DEPRECATION FIX: use after_create :method_name instead of overwriting the after_create method 12 years ago
Jens Ulferts 3e633fc27e renames all named_scopes to scopes 12 years ago
jwollert d9f6b52029 protect relations to users (assigned_to, author_id etc.) in models, too 13 years ago
Martin Linkhorst 1fce5b6a8f added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
Jean-Philippe Lang 4156485090 Prevent mass-assignment vulnerability when adding/updating a forum message (#922). 13 years ago
jwollert 934d22ec67 protect relations to users (assigned_to, author_id etc.) in models, too 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
Jean-Philippe Lang bedf99d9df Adds visible scope to redmine links queries. 14 years ago
Tim Felgentreff 3279b2adbd fix mailer tests 14 years ago
Tim Felgentreff 72e7baafdf fix various tests in mailer, wiki content and issue helper 14 years ago
Wieland Lindenthal 08a013da44 Minor bug fixes to journalized versions 14 years ago
Tim Felgentreff 1f9eda4e0d update tests to work with the new data model, where neccessary 14 years ago
Tim Felgentreff 2d282f8deb move (almost) everything over to acts_as_journalized 15 years ago