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

    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>
    eostrom committed with seancribbs Apr 10, 2009
  2. Adding AdminUI regions to index

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

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

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

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

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

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

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

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

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

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

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

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

    …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>
    nelstrom committed with seancribbs Nov 17, 2008
  15. Made a start on the Loading of text_assets from fs to db, by extracti…

    …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>
    nelstrom committed with seancribbs Nov 12, 2008
  16. Stylesheets now also load properly from the file system to the db.

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

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

    …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>
    nelstrom committed with seancribbs Nov 11, 2008
  19. Javascripts and Stylesheets are now each saved to filesystem in a dir…

    …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>
    nelstrom committed with seancribbs Nov 11, 2008
  20. Added a todo list.

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

    …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>
    nelstrom committed with seancribbs Nov 10, 2008
  22. updated SiteControllerExt for edge Radiant's LoginSystem

    Signed-off-by: Sean Cribbs <seancribbs@gmail.com>
    MrGossett committed with seancribbs Dec 8, 2008
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