summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2026-06-26Stage 4: Rails 5.2 -> 6.1 on Ruby 2.7.2erdgeist
- routing-filter 0.6.3 -> 0.7.0 (Rails 6.1 compatibility) - RSS named routes rss_xml/rss_rdf added - RouteWithParams workarounds: will_paginate_patch, content_path shim, safe_path helper - Paperclip removed, replaced with FileAttachment concern (preserves URL scheme) - Assets resource moved to /admin/assets (Sprockets middleware conflict) - ApplicationRecord base class added, all models migrated - Strong parameters added to Assets, Occurrences, Events, MenuItems controllers - update_attributes -> update throughout - render :nothing -> head :ok/:not_found throughout - language_selector rewritten (removes :overwrite_params) - Environment files updated for Rails 6.1 (eager_load, public_file_server, ActionMailer) - Arel::Visitors::DepthFirst and Integer/Float duration patches removed from test_helper - AssetsController tests added (10 tests covering upload, variants, destroy, auth) - ImageMagick geometry: 460x250! for headline crop (not # which is invalid in IM6) 129 runs, 311 assertions, 5 failures (all pre-existing), 0 errors
2026-06-25Rails 5.2 application fixeserdgeist
- Rename before_filter → before_action across all controllers - Fix string conditions in validators to lambda syntax (node.rb) - Fix publish_draft!: move staged slug/parent logic outside draft guard, use move_to_child_of for parent changes, add nil guard for no-op calls - Fix update_unique_names_of_children: use parent_id traversal instead of lft/rgt descendants (awesome_nested_set 3.x lft/rgt update bug) - Fix unique_path to return Array instead of String - Fix Occurrence.delete_all syntax for Rails 5 - Fix Page.find_with_outdated_translations: use includes instead of all - Fix outdated_translations?: use find instead of splat array
2026-06-25Rails 4.2 view fixeserdgeist
- Replace :confirm => with :data => { :confirm => } in all link_to calls - Fix link_to_path helper: use content_path named route instead of hash-style routing - Fix admin/_menu.html.erb: use named routes for logout and admin index - Fix admin layout: load jquery/jquery_ujs before jquery-ui, remove duplicate jQuery 1.3.2 - Add csrf_meta_tags to admin layout
2026-06-25Rails 4.2 model and controller fixeserdgeist
- Wrap all scopes in lambdas (required in Rails 4) - Move scopes after associations in page.rb (evaluated at load time in Rails 4) - Convert association :order options to lambda syntax - Remove attr_accessible from page.rb and user.rb - Add Strong Parameters: user_params in UsersController, node_params/page_params in NodesController - Fix clone_attributes_from: exclude id/page_id/timestamps when cloning translations - Fix redirect_to :back → request.referer fallback in nodes_controller - Fix node_path/publish and unlock actions: pass @node argument
2026-06-24Fix tagged content aggregator, assets path, and add regression testserdgeist
- Replace tagged_with calls in Page.aggregate, TagsController, RssController with direct SQL joins (acts-as-taggable-on 3.5 broken on Rails 3.2) - Fix Paperclip :path/:url to use plain :id format matching existing uploads - Add proper regression tests for aggregator, tags, and rss controllers - Fix assert_select assertions to target div.body div.article_partial
2026-06-24Stage 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
2026-06-23Update deployed state to what's currently runningerdgeist
2025-02-06Improve worklflowerdgeist
2025-02-05Add warner if theres unescaped entities inside the Title fieldserdgeist
2025-02-05Enhance admin view by sitemaperdgeist
2025-01-29Move footer back at its positionerdgeist
2025-01-28Add some missing fileserdgeist
2025-01-28Undo merge conflicterdgeist
2025-01-28Big overhaul patch and style changesCharlie Root
2012-04-03pull footer out of wrapperhukl
2012-04-03franklin on a sepatate linehukl
2012-04-03make quote italichukl
2012-04-03added quotehukl
2012-02-18small style improvements. more button addedhukl
2012-02-18show number of gallery images if more than onehukl
2012-02-18graceful handling of weird search resultshukl
2012-02-18handle missing node gracefullyhukl
2012-02-18Bugfix: Finally after all those years, asset urls are not rewritten anymore with a locale prefix! Hoorray!hukl
2012-02-18added events iconhukl
2012-02-18remove reference to old websitehukl
2012-02-18forgot to add classes to iconshukl
2012-02-18added fun little icons for chaos network awesomenesshukl
2012-01-04sanitized this motherfuckin search stringUser
2011-07-23search xss fixUser
2011-02-11reject events with no corresponding pagehukl
spaces
2011-02-10Merge branch 'master' of github.com:hukl/cccmshukl
2011-02-10added body to the index and removed spaceshukl
2011-01-08Exclude root node from admin overview.Jens Ohlig
2010-12-29use sanitize instead of only html_escape!User
2010-07-20adding sponsors footerhukl
2010-05-09added index action for tags, primarily removing the associated exceptionhukl
2010-05-09return 404 for non existent gallerieshukl
2010-05-09only respond to html requests herehukl
2010-05-09filter out invalid locales right awayhukl
2010-05-09fix for non existing tagshukl
2010-03-03do not rewrite paths for assetshukl
2010-01-31sanitize weird localeshukl
2010-01-31hmm this should've been there all along.hukl
2010-01-14Updated globalize2 to latest version. Modified existing code accoringlyhukl
2009-12-06changed the auto discovery tag to annoucne rss and atom hukl
2009-12-01dramatically reduced instanciated AR objects for tagshukl
2009-12-01reduced instanciated AR objects for searchhukl
2009-12-01refactored the Page.aggregate to instanciate a lot less AR objects. Its actually instanciating only the ones being displayed. Still over 150 but still a ↵hukl
massive improvement compared to over 1500 before.
2009-11-21added rdf autodiscovery as well as .xml and .rdf extensionshukl
2009-11-20Its the final fix for the RSS Feed issues. Apparently people were subscribing the feed with weird locales set. Therfore the locale in the feed links and ids ↵hukl
contained the weird locales - got chached and messed up everything for the rest of the world.