Changeset 417
- Timestamp:
- 04/30/07 23:20:20 (1 year ago)
- Files:
-
- branches/facets/radiant/CHANGELOG (modified) (3 diffs)
- branches/facets/radiant/app/models/standard_tags.rb (modified) (2 diffs)
- branches/facets/radiant/db/migrate/010_merge_behaviors_and_pages.rb (modified) (1 diff)
- branches/facets/radiant/lib/plugins/extension_patches/lib/fixture_loading_extension.rb (modified) (1 diff)
- branches/facets/radiant/test/unit/standard_tags_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/facets/radiant/CHANGELOG
r335 r417 1 2 1 == Change Log 3 2 4 3 === 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 5 6 * Improved database support for Postgres and Sqlite 6 7 * Limited support for SQL Server … … 8 9 * Page parts are now sorted by ID so the order that you create them in is 9 10 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 11 45 12 46 === 0.5.2 Raildust (August 10, 2006) … … 20 54 * Migrations are now repaired so that you can run `rake migrate` to create the 21 55 initial database. (`script/setup_database` is still the recommended method.) 22 (closes ticket #46) [Daniel Shep herd]56 (closes ticket #46) [Daniel Sheppard] 23 57 * When you collapse a branch in the admin page tree view and move to another 24 58 tab the collapsed status is now saved so that when you return, the collapsed 25 59 status is preserved. Also the status of collapsed branches is preserved when 26 collapsing and expanding parent nodes. (closes ticket #29) [Daniel Shep herd]60 collapsing and expanding parent nodes. (closes ticket #29) [Daniel Sheppard] 27 61 * Fixed documentation problem in response_cache.rb (closes ticket #142) [Paul 28 62 Smith] branches/facets/radiant/app/models/standard_tags.rb
r416 r417 319 319 320 320 *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> 322 322 } 323 323 tag 'date' do |tag| … … 332 332 page[time_attr] 333 333 else 334 raise TagError, "Invalid value for ' when' attribute."334 raise TagError, "Invalid value for 'for' attribute." 335 335 end 336 336 else branches/facets/radiant/db/migrate/010_merge_behaviors_and_pages.rb
r416 r417 12 12 def self.up 13 13 announce "converting behavior names to class names" 14 Page.find(:all).each do |page|14 OldPage.find(:all).each do |page| 15 15 unless page.behavior_id.blank? 16 16 page.behavior_id = page_name(page.behavior_id) branches/facets/radiant/lib/plugins/extension_patches/lib/fixture_loading_extension.rb
r416 r417 20 20 directory = paths.pop 21 21 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 e22 rescue Exception => e 23 23 retry unless paths.empty? 24 24 raise e branches/facets/radiant/test/unit/standard_tags_test.rb
r416 r417 199 199 assert_renders 'Tuesday, January 31, 2006', '<r:date for="updated_at" />' 200 200 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" />' 202 202 end 203 203
