Commit Graph

4035 Commits (82e3df434c2645bd89594558772297564d4e44a1)

Author SHA1 Message Date
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 318dee9398 convert wiki diff view back to inline view 12 years ago
Philipp Tessenow 1d82db3a8d display html-diffs in side-by-side diff view 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
Philipp Tessenow d80d32f54a show side-by-side html view of wiki content 12 years ago
Martin Linkhorst d19fdaf6a1 apply the rails 3.1.8 generator on the project 12 years ago
Martin Linkhorst 1775f004b9 DEPRECATION FIX: remove deprecated constant RAILS_ENV 12 years ago
Martin Linkhorst 57abae4b06 call #labelled_tabular_form_for correctly (changed in 36a400b7) 12 years ago
Martin Linkhorst 030242ab7b DEPRECATION FIX: use #descendants instead of #subclasses 12 years ago
Martin Linkhorst f60a29e9e0 DEPRECATION FIX: and the mother of all block helpers #content_tag 12 years ago
Martin Linkhorst 464473c9d7 DEPRECATION FIX: and #javascript_tag 12 years ago
Martin Linkhorst 61d8449764 DEPRECATION FIX: now #syntax_highlight 12 years ago
Martin Linkhorst a37b574d98 DEPRECATION FIX: the notorious #other_formats_links want treatment, too 12 years ago
Martin Linkhorst 2ab039164f DEPRECATION FIX: don't forget #remote_form_for 12 years ago
Martin Linkhorst cec9c06a61 DEPRECATION FIX: and of course #form_for 12 years ago
Martin Linkhorst 9ee4ebde1a DEPRECATION FIX: continuing with #labelled_tabular_form_for 12 years ago
Martin Linkhorst d81ce2a530 DEPRECATION FIX: the saga begins: adding equal signs to form helpers in view. we start with form_tag 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 36a400b711 DEPRECATION FIX: switch some variables around in order to match the new form_for api 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 57addada43 mail requires header values to be strings 12 years ago
Philipp Tessenow 5689934b54 reenable wiki preview. preview link was broken as a _method='put' parameter was sent with the form. this let rails think we want a put request instead of a post request. so before sending the form we change the _method param back to 'post' 12 years ago
Jens Ulferts 885a6e1a3c defines routes for files 12 years ago
Jens Ulferts b04147a11a defines routes for projects and cleans up project route usage 12 years ago
Jens Ulferts 3471b107bc rewrites routes for news, moves comments and previews controller into news namespace 12 years ago
Martin Linkhorst 163c95d8a3 fixes 42586 - parameters are pretty messed up here :( 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
Jens Ulferts 8c6973dcee resourcifies messages aka. topics 12 years ago
Jens Ulferts 2fc22ef371 adds a find_object_and_scope that when used as a before filter finds all instances specified in the path 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
Martin Linkhorst 762cd7a2ea fixes application helper tests 12 years ago
Jens Ulferts f611d5bcc9 refactores issue_reports_controller to be a reports_controller scoped in issues 12 years ago