Permalink
Commits on Apr 10, 2009
  1. Updated specs (and some application code) for 0.7.

    eostrom committed with seancribbs Apr 10, 2009
    Application changes:
    
      * Use plural nouns with ResourceController and resource routes.
      * Use plural noun for AdminUI region
      * Fixed broken/obsolete route names and URL hashes.
      * Fixed DIV name in upload action (must be lower case).
    
    Spec changes:
    
      * Plural nouns and updated routes, as above.
      * Eliminated cache-clearing tests - they depended on FakeResponseCache,
        which is no longer available, and anyway, all those tests were doing
        is testing ResourceController, which isn't this extension's business.
      * Invoke an action before testing what the action sets model_class to.
      * Supply an ID when generating URLs that might require an ID.
      * Use symbols, not strings, to look up dataset records by name.
      * Test value of controller.model(s), not @text_asset(s).
        (This is what we use in the views anyway.)
      * Assume resource-based routing (e.g., 'create' instead of 'POST new').
      * Removed 'POST remove' tests (we use delete now, and anyway, all the
        logic is done by ResourceController).
      * Made javascript and stylesheet datasets provide text_assets and
        text_asset_id methods, which used to be provided by Scenarios.
      * Made save_asset_at work around Rails 2.1's "dirty attributes"
        support, which prevents saving a record that hasn't changed.
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  2. Adding AdminUI regions to index

    netzpirat committed with seancribbs Mar 21, 2009
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  3. Don't use the caching ResourceController.model_class because config.c…

    netzpirat committed with seancribbs Mar 16, 2009
    …ache_classes = true makes it impossible to switch between model classes. Set the instance variable directly
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  4. Renamed datasets to be Radiant conform

    netzpirat committed with seancribbs Mar 13, 2009
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  5. Changed deprecated %d with {{count}}

    netzpirat committed with seancribbs Mar 13, 2009
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  6. Should be a ResourceController now

    netzpirat committed with seancribbs Mar 13, 2009
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  7. Updated from response_cache_spec

    netzpirat committed with seancribbs Mar 13, 2009
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  8. Fixing image links, were using model_name but should have been model_…

    root committed with seancribbs Mar 11, 2009
    …symbol
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  9. FakeResponseCache has been removed from Radiant test helpers

    netzpirat committed with seancribbs Mar 11, 2009
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  10. Upgrade to datasets

    netzpirat committed with seancribbs Mar 11, 2009
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  11. Making the SnS extension RESTful! Works now with Radiant > 0.6.9

    Michael Kessler committed with seancribbs Mar 11, 2009
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  12. DRYed up the X_extensions.

    nelstrom committed with seancribbs Nov 17, 2008
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  13. Javascript model now loads properly from the filesystem.

    nelstrom committed with seancribbs Nov 16, 2008
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  14. TextAssetExtensions now looks much like StylesheetExtensions. When lo…

    nelstrom committed with seancribbs Nov 17, 2008
    …ading extra models into FileSystem::MODELS, TextAsset comes before Sytlesheet and Javascript.
    
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  15. Made a start on the Loading of text_assets from fs to db, by extracti…

    nelstrom committed with seancribbs Nov 12, 2008
    …ng name, minify and filter from filename in the load_file method.
    
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  16. Stylesheets now also load properly from the file system to the db.

    nelstrom committed with seancribbs Nov 16, 2008
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  17. Checked off todos.

    nelstrom committed with seancribbs Nov 17, 2008
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  18. Renamed text_asset as text_asset_extensions. However, there is a prob…

    nelstrom committed with seancribbs Nov 11, 2008
    …lem when loading this module into Javascript and Stylesheet extensions: one of the modules is caused to not load properly.
    
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  19. Javascripts and Stylesheets are now each saved to filesystem in a dir…

    nelstrom committed with seancribbs Nov 11, 2008
    …ectory of their own, rather than the generic design/text_assets/ dir.
    
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  20. Added a todo list.

    nelstrom committed with seancribbs Nov 16, 2008
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  21. SnS activation now adds FileSystem::Model to the Stylesheet and Javas…

    nelstrom committed with seancribbs Nov 10, 2008
    …cript models.
    
    Further customisations to Stylesheet and Javascript are added in the model_extensions files, with shared code in the text_asset.rb module.
    Saving to the filesystem works, but loading from the filesystem does not yet.
    Both models save to design/text_assets directory, but it would be preferable to save to design/stylesheets and design/javascripts/ respectively.
    
    Signed-off-by: Tim Gossett <tim@mrgossett.com>
    
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
  22. updated SiteControllerExt for edge Radiant's LoginSystem

    MrGossett committed with seancribbs Dec 8, 2008
    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
Commits on Nov 24, 2008
  1. Preparing for v0.7

    chrisparrish committed Nov 24, 2008
  2. renaming migration

    chrisparrish committed Nov 24, 2008
  3. renaming migration

    chrisparrish committed Nov 24, 2008
Commits on Nov 23, 2008
  1. Minor typo in comments

    chrisparrish committed Nov 23, 2008
Commits on Nov 22, 2008
  1. Clean up code spacing.

    chrisparrish committed Nov 22, 2008