summaryrefslogtreecommitdiff
path: root/config/environment.rb
AgeCommit message (Collapse)Author
4 daysStage 7: Rails 7.2 → 8.1 on Ruby 3.2.11erdgeist
- Bump Rails to 8.1.3 (Ruby unchanged at 3.2.11, new gemset rails8-upgrade) - config.load_defaults 8.1; merge app:update diffs for all environment files - Remove routing-filter 0.7.0; replace with native scope '(:locale)' in routes.rb and default_url_options in ApplicationController - Delete config/initializers/routing_filter_rails71_patch.rb - Replace vendored TinyMCE 3.x (~200 files) with tinymce-rails ~> 8.3; migrate admin_interface.js from jQuery .tinymce()/advanced theme to tinymce.init(); add config/tinymce.yml; note: TinyMCE 7+ is GPL - rails-i18n ~> 8.0 added explicitly (previously indirect dependency) - awesome_nested_set, acts-as-taggable-on pinned to git main/master (gemspec activerecord < 8.1 ceiling; no functional incompatibility; repin to version once upstream releases updated gemspecs) - globalize ~> 7.0, libxml-ruby ~> 5.0, nokogiri ~> 1.18, pg ~> 1.5 - sass-rails, coffee-rails, uglifier moved from :assets group to main (Sprockets 4 convention; :assets group no longer meaningful) - Node: head, draft, lock_owner marked belongs_to optional: true - Page: node, user, editor marked belongs_to optional: true - Static assets in public/images/ and public/javascripts/ referenced via plain HTML tags; Rails 8 load_defaults raises on pipeline helpers for undeclared assets - sessions_controller_test.rb: remove stale require and dead rescue_action - users_controller_test.rb: assert button[type=submit] not input[type=submit] (Rails 8 button_to renders <button> not <input>) - test_helper.rb: node.reload after children.create! (awesome_nested_set 3.9.0 does not refresh parent in memory after callback) - 129 runs, 339 assertions, 3 failures, 0 errors — identical baseline to 7.2
8 daysStage 1 complete: Rails 2.3.5 to Rails 3.2.22.5 upgradeerdgeist
- Converted plugins to gems (Gemfile) - Updated config structure (application.rb, boot.rb, environment.rb) - Converted routes to Rails 3 DSL - Converted named_scope to scope throughout models - Converted find(:all, :conditions) to where() chains - Fixed has_many :order to use ordering scope - Updated session store and secret token configuration - Fixed exception_notification middleware configuration - Patched Ruby 2.4 / Rails 3.2 incompatibilities: - Integer/Float duration arithmetic (ActiveSupport) - Arel visit_Integer for PostgreSQL adapter - create_database String/Integer coercion - ActionController consider_all_requests_local - Migrated taggings schema for acts-as-taggable-on - Replaced dynamic_form gem with custom form_error_messages helper - Fixed Rails 3 block helper syntax (form_for, form_tag, fields_for) - Fixed admin layout yield - Updated test suite for Rails 3 APIs
2025-01-28Big overhaul patch and style changesCharlie Root
2011-02-10removed thinking_sphinx plugin and replaced it with gem.hukl
also tuned dependencies
2010-12-29use sanitize instead of only html_escape!User
2010-01-14updated to latest rails stable versionhukl
2009-11-16changed email address for exception notifierhukl
2009-10-17added sanitize statements to hopefully all critical templates to protect against cross site scripting.hukl
added section to environment.rb listing the whitelisted tags and attributes and examples on how to extend the list
2009-09-12added another gem requirement and updated the chaos_importer task to work with the current node validationshukl
2009-09-10going back to raisl 2.3.3 as 2.3.4 has weird issues when translationg active record validation errorshukl
also changing the german error messages to english as the interface is english only so far
2009-09-06removed the rcov dependencyhukl
2009-09-05switched to rails 2.3.4hukl
2009-09-05changed the rcov gem requirement and updated rcov taskhukl
2009-08-15updated environment.rb to work with rails 2.3.3hukl
2009-04-19fixed the libxml gem dependencyhukl
2009-04-19changed gem dependencieshukl
2009-04-18setting environment.rb accordinglyhukl
2009-04-11added proper gem dependencieshukl
2009-03-18configure proper time zonehukl
2009-03-06didn't work out yethukl
2009-03-05fixed that rcov dependencyhukl
2009-03-05added gem dependencies to make the install even easierhukl
2009-02-19set the default locale to :dehukl
2009-02-15* removed the auditing observer, we'll do it the old fashioned waysimon
* added permission model * locked down attributes on page model
2009-02-15* here comes da wicked sick auditing observer hacksimon
2009-01-29added generation of unique names based on the position on the tree after adding a node as a children of another nodehukl
2009-01-29initial import with edge rails included as a submodulehukl