Changeset 417

Show
Ignore:
Timestamp:
04/30/07 23:20:20 (1 year ago)
Author:
danshep
Message:

facets: merged changes from the trunk r409:415

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/facets/radiant/CHANGELOG

    r335 r417  
    1  
    21== Change Log 
    32 
    43=== 0.6.0 Lapidary 
     4* Added support for extensions--an extremely flexible way to extend radiant 
     5* Merged Behaviors into the Page class; subclass page now instead 
    56* Improved database support for Postgres and Sqlite 
    67* Limited support for SQL Server 
     
    89* Page parts are now sorted by ID so the order that you create them in is 
    910  preserved [Josh Ferguson] 
    10 * Implemented tag documentation DSL and UI. [Sean Cribbs] 
     11* Implemented tag documentation DSL and UI [Sean Cribbs] 
     12* Reworked the setup code 
     13* Renamed script/setup_database to rake db:bootstrap 
     14* Reworked the upgrade code to work around rake tasks 
     15* Added rake tasks for freezing and unfreezing radiant to the edge 
     16* r:children:each, r:children:first, and r:children:last now all accept the 
     17  same ordering and limit attributes and have the same defaults 
     18* Snippets are now responsive to global context via the r:page tag. This means  
     19  that any tags inside r:page will refer to the page currently being rendered,  
     20  i.e. the page requested, not the local contextual page via tags like  
     21  r:children:each, etc. This is most relevant to recursive snippets like the  
     22  sitemapper example [Sean Cribbs] 
     23* r:navigation now uses the pipe character ("|") to delimit URLs in the urls  
     24  attribute rather than the semi-colon 
     25* :date now accepts a "for" attribute that specifies which attribute of the  
     26  page to render. Valid values of the attribute are published_at, updated_at,  
     27  created_at, and now. 
     28* Created the r:cycle tag to make alternating tables and lists possible 
     29* Added popups for filter and tag documentation inside the page editing  
     30  interface 
     31* Added support for optimistic locking for all models [Daniel Sheppard] 
     32* Added support to Radiant::Config for boolean values [Sean Cribbs] 
     33* Caching no longer stores the headers and body in the same file [Daniel  
     34  Sheppard] 
     35* Added support for the X-Sendfile header that works in conjunction with  
     36  caching to speed it up (by default X-Sendfile support is off) [Daniel  
     37  Sheppard] 
     38* Moved the images and stylesheets into images/admin and stylesheets/admin 
     39  respectively to make it easier for Radiant's assets to coexist easily with 
     40  the site's assets 
     41* Improved the Javascript that automatically updates the slug and breadcrumb 
     42  based off of the title so that it now response to all change events 
     43* For the full scoop on what's changed see Sean Cribbs' detailed blog post: 
     44  http://seancribbs.com/tech/2007/04/18/whats-new-in-radiant-0-6 
    1145 
    1246=== 0.5.2 Raildust (August 10, 2006) 
     
    2054* Migrations are now repaired so that you can run `rake migrate` to create the 
    2155  initial database. (`script/setup_database` is still the recommended method.) 
    22   (closes ticket #46) [Daniel Shepherd] 
     56  (closes ticket #46) [Daniel Sheppard] 
    2357* When you collapse a branch in the admin page tree view and move to another 
    2458  tab the collapsed status is now saved so that when you return, the collapsed 
    2559  status is preserved. Also the status of collapsed branches is preserved when 
    26   collapsing and expanding parent nodes. (closes ticket #29) [Daniel Shepherd] 
     60  collapsing and expanding parent nodes. (closes ticket #29) [Daniel Sheppard] 
    2761* Fixed documentation problem in response_cache.rb (closes ticket #142) [Paul 
    2862  Smith] 
  • branches/facets/radiant/app/models/standard_tags.rb

    r416 r417  
    319319    
    320320    *Usage:*   
    321     <pre><code><r:date [format="%A, %B %d, %Y"] [when="published_at"]/></code></pre> 
     321    <pre><code><r:date [format="%A, %B %d, %Y"] [for="published_at"]/></code></pre> 
    322322  } 
    323323  tag 'date' do |tag| 
     
    332332        page[time_attr] 
    333333      else 
    334         raise TagError, "Invalid value for 'when' attribute." 
     334        raise TagError, "Invalid value for 'for' attribute." 
    335335      end 
    336336    else 
  • branches/facets/radiant/db/migrate/010_merge_behaviors_and_pages.rb

    r416 r417  
    1212  def self.up 
    1313    announce "converting behavior names to class names" 
    14     Page.find(:all).each do |page| 
     14    OldPage.find(:all).each do |page| 
    1515      unless page.behavior_id.blank? 
    1616        page.behavior_id = page_name(page.behavior_id) 
  • branches/facets/radiant/lib/plugins/extension_patches/lib/fixture_loading_extension.rb

    r416 r417  
    2020            directory = paths.pop 
    2121            fixtures_map[table_name] = Fixtures.new(connection, File.split(table_name.to_s).last, class_names[table_name.to_sym], File.join(directory, table_name)) 
    22           rescue
     22          rescue Exception =>
    2323            retry unless paths.empty? 
    2424            raise e 
  • branches/facets/radiant/test/unit/standard_tags_test.rb

    r416 r417  
    199199    assert_renders 'Tuesday, January 31, 2006', '<r:date for="updated_at" />' 
    200200    assert_renders 'Monday, January 30, 2006', '<r:date for="published_at" />' 
    201     assert_render_error "Invalid value for 'when' attribute.", '<r:date for="blah" />' 
     201    assert_render_error "Invalid value for 'for' attribute.", '<r:date for="blah" />' 
    202202  end 
    203203