diff --git a/doc/TODO b/doc/TODO index 019711bd..e8986650 100644 --- a/doc/TODO +++ b/doc/TODO @@ -5,25 +5,21 @@ BOARD: - editable_elements: inheritable: false (Mattias) => seems to be fixed by Dirk's last pull request (#44) - duostack version - 2 different sites on the same main domain (one in www, the other one in something else) (Raphael Costa) +- seo section for the page form: seo title, seo keywords, seo description BACKLOG: - -- validation for custom fields -- new custom field types: - - belongs_to => association - +- custom_fields: + - validation: regexp (pre-defined regexps ?) + - new type: belongs_to => association - inline editing (http://www.aloha-editor.com/wiki/index.php/Aloha_PHP_Example) - html view in the aloha popup - editable elements should wrap a tag: div, h1, ...etc (default span) - edit images (upload new ones, ...etc) => wait for aloha or send them an email ? - - global regions: keyword in editable element (http://www.mongodb.org/display/DOCS/Updating) - write my first tutorial about locomotive - cucumber features for admin pages (in progress) -- code completion ? http://blog.quplo.com/2010/06/common-sense-code-completion/ - REFACTORING: - refactor slugify method (use parameterize + create a module) @@ -31,19 +27,18 @@ REFACTORING: BUGS: -- custom fields: accepts_nested_attributes weird behaviour when creating new content type + adding random fields - NICE TO HAVE: - export site - asset collections: custom resizing if image - super_finder -- better icons for mime type - traffic statistics - asset picker (content instance) - page with regexp url ? - automatic update ! - page not found (front) => if logged in, link to create the page - switch to list (theme assets / assets ?). delete all in once (with checkbox) or see details (updated_at, size, ...etc) +- resizing images on the fly +- code completion ? http://blog.quplo.com/2010/06/common-sense-code-completion/ DONE: @@ -205,4 +200,7 @@ x bugs x custom_fields not deleted (doesn't use index anymore) ? editable_elements slug becomes nil x editable_elements not updated (doesn't use index anymore) - x uploading videos http://groups.google.com/group/carrierwave/browse_thread/thread/6e211d98f1ff4bc0/51717c2167695ca2?lnk=gst&q=version#51717c2167695ca2 \ No newline at end of file + x uploading videos http://groups.google.com/group/carrierwave/browse_thread/thread/6e211d98f1ff4bc0/51717c2167695ca2?lnk=gst&q=version#51717c2167695ca2 +x custom fields: accepts_nested_attributes weird behaviour when creating new content type + adding random fields +x better icons for mime type (css3) +x validation for custom fields: required done \ No newline at end of file diff --git a/lib/locomotive/engine.rb b/lib/locomotive/engine.rb index f34d1a5f..f3254a3f 100644 --- a/lib/locomotive/engine.rb +++ b/lib/locomotive/engine.rb @@ -25,6 +25,8 @@ $:.unshift File.dirname(__FILE__) module Locomotive class Engine < Rails::Engine + config.autoload_once_paths += %W( #{config.root}/app/controllers #{config.root}/app/models #{config.root}/app/helpers #{config.root}/app/uploaders) + rake_tasks do load "railties/tasks.rake" end