Commit Graph

1300 Commits (151c40f72075a294401e5e37197fbf2c26a2a8c9)

Author SHA1 Message Date
Martin Linkhorst 584e592bd4 active records' #attributes=() signature changed. so let's change as well 12 years ago
Martin Linkhorst 89a8e75f55 DEPRECATION_FIX: use self.table_name = :name instead of set_table_name :name 12 years ago
Martin Linkhorst 5fb51daab1 applied the rails 3.2 generator 12 years ago
Martin Linkhorst 6d1354dbd0 ActiveSupport::SecureRandom was deprecated in favor of SecureRandom from the standard lib 12 years ago
Martin Linkhorst b445387e7a do not register plugin settings at load time. this commit registers plugin settings, when they are registered. 12 years ago
Martin Linkhorst 52294f5a68 active records' #attributes=() signature changed. so let's change as well 12 years ago
Martin Linkhorst cba3439189 DEPRECATION_FIX: use self.table_name = :name instead of set_table_name :name 12 years ago
Martin Linkhorst 40cecc66a3 applied the rails 3.2 generator 12 years ago
Holger Just f6622b4e76 Allow to set default values for custom fields when receiving mails 12 years ago
Philipp Tessenow 8ba74a6d50 implement inline diff 12 years ago
jwollert 42a044575a syntax change in version model to ensure ruby 1.8 compat 12 years ago
Martin Linkhorst 21fa39c25a fix the user tests by storing user and his preferences in two steps 12 years ago
Martin Linkhorst f57184ecda fix copying of a wiki. self.wiki = Wiki.new immediately tries to save to the database. unfortunately, a Wiki.new is not valid? it misses the :start_page 12 years ago
Martin Linkhorst 09e496f54b REVIEW: get the changes by joining with the changesets in order to have access to the #committer of the changesets as required in the tests which group changes by the committer 12 years ago
Martin Linkhorst a89e22e2dc remove attachments before destroying the issue to avoid getting a Activerecord::StaleObjectError 12 years ago
Martin Linkhorst c17ffccfe2 REVIEW: update to the new AR api. hint: we need to update all :include => to fix all bugs since only a few of them are testiest 12 years ago
Martin Linkhorst 337239044c REVIEW: make :category_id accessible in order to use it with forms 12 years ago
Martin Linkhorst 95c9595c71 rails 3 throws an exception when you try to do the following: 12 years ago
Martin Linkhorst b231930f69 why use an instance variable here? this makes more sense and fixes the tests 12 years ago
Martin Linkhorst d563d3387f fix active record queries by correctly using the new api 12 years ago
Martin Linkhorst d9f422e6b0 use #joins instead of #includes since includes does seem to have a bug when combining with #maximum, #sum etc. 12 years ago
Martin Linkhorst 74866ae596 omit default scope by using reorder 12 years ago
Martin Linkhorst e6e421297e yay, and active record bug, woohoo :) TODO: fix me on rails 3.2 12 years ago
Martin Linkhorst 7de159fbca refactor comment class and fixed the tests. give news a clearer api to create a comment for a news object. this couples news to the comment class atm but can easily be extracted into a module or so. 12 years ago
Martin Linkhorst 366b994407 match the new active record initializer signature when overwriting 12 years ago
Martin Linkhorst f22075f7d7 use a notifier class to abstract the sending of notifications. atm this just checks whether the event should be notified. but in the future this class should abstract more to make the controllers/models and the mailer (i18n) simpler. let's see 12 years ago
Martin Linkhorst a677322643 this is how it's done now. much better 12 years ago
Martin Linkhorst 46939eb4a6 REVIEW: remove unloaded calls, let's have a look wether that's still needed in rails 3 12 years ago
Martin Linkhorst 4b7c30a6be REVIEW: remove require_dependency which shouldn't be needed anymore? 12 years ago
Philipp Tessenow c13efb2996 generate nokogiri diffs 12 years ago
Philipp Tessenow 4dba450164 require nokogiri/patch and add it to gemfile 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 6c5239c4e2 DEPRECATION FIX: make a badly named GroupUser model to acts as the join model for a has_many :through between groups and users. 12 years ago
Martin Linkhorst 3419564990 DEPRECATION FIX: use save(:validate => false) instead of save(false) 12 years ago
Martin Linkhorst 71fe49e862 DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 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 b5a902c795 re-add the missing return values since they do matter 12 years ago
Martin Linkhorst 40562c0c08 DEPRECATION FIX: use before_destroy :method_name instead of overwriting the before_destroy method 12 years ago
Martin Linkhorst fad449657d DEPRECATION FIX: use after_save :method_name instead of overwriting the after_save method 12 years ago
Martin Linkhorst 4bac41749b DEPRECATION FIX: use before_validation :method_name instead of overwriting the before_validation method 12 years ago
Martin Linkhorst b6b27b904c DEPRECATION FIX: use after_initialize :method_name instead of overwriting the after_initialize 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 95e74abf22 DEPRECATION FIX: use before_save :method_name instead of overwriting the before_save 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
Martin Linkhorst fe372af131 DEPRECATION FIX: use before_create :method_name instead of overwriting the before_create method 12 years ago
Martin Linkhorst ccc88aea0b DEPRECATION FIX: remove RAILS_ROOT in favor of Rails.root.to_s 12 years ago
Jens Ulferts d088bbd3ae resourcifies issue_relations 12 years ago
Jens Ulferts 4aacbc4b8d requires nested translations attributes on custom fields to have locale + non blank values 12 years ago
Jens Ulferts 1b30987a0f removes members that loose their last member_role 12 years ago