Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New Rails App

  • Loading branch information...
commit f4718de39a5a90e329abccd00ddb733f7eec7f28 0 parents
@hfase01 authored
Showing with 2,004 additions and 0 deletions.
  1. +730 −0 CHANGELOG.md
  2. +263 −0 CONTRIBUTORS.md
  3. +81 −0 Gemfile
  4. +118 −0 Gemfile.lock
  5. +10 −0 INSTALL.md
  6. +21 −0 LICENSE.md
  7. +84 −0 README.md
  8. +3 −0  Rakefile
  9. +2 −0  config.ru
  10. +122 −0 config/boot.rb
  11. +7 −0 config/cucumber.yml
  12. +16 −0 config/database.yml
  13. +83 −0 config/environment.rb
  14. +22 −0 config/environments/cucumber.rb
  15. +17 −0 config/environments/development.rb
  16. +24 −0 config/environments/production.rb
  17. +32 −0 config/environments/test.rb
  18. +16 −0 config/initializers/radiant_config.rb
  19. +18 −0 config/preinitializer.rb
  20. +1 −0  config/routes.rb
  21. +142 −0 db/schema.rb
  22. +4 −0 script/about
  23. +5 −0 script/autospec
  24. +3 −0  script/breakpointer
  25. +3 −0  script/console
  26. +10 −0 script/cucumber
  27. +3 −0  script/dbconsole
  28. +5 −0 script/extension
  29. +6 −0 script/generate
  30. +3 −0  script/performance/benchmarker
  31. +3 −0  script/performance/profiler
  32. +3 −0  script/performance/request
  33. +3 −0  script/process/inspector
  34. +3 −0  script/process/reaper
  35. +3 −0  script/process/spawner
  36. +3 −0  script/process/spinner
  37. +3 −0  script/runner
  38. +3 −0  script/server
  39. +5 −0 script/spec
  40. +116 −0 script/spec_server
  41. +5 −0 script/version
730 CHANGELOG.md
@@ -0,0 +1,730 @@
+# Change Log
+
+## Edge
+
+* Allow loading of snippets from the file system [Jim Gay]
+* Moved to compass-rails [Jim Gay]
+* Fixed avatar tags for HTTP and HTTPS [Sam Whited]
+* Updated r:date and deprecated r:rfc1123_date [Sam Whited]
+* Address UTF-8 params encoding in 1.9 [Johannes Fahrenkrug]
+
+## 1.0.1 (March 6, 2012)
+
+* Ruby 1.9.3 compatibility [Jim Gay]
+* Allow page menus to be overridden by additional modules [Jim Gay]
+* Add migration to not crop page part content > 64kB in MySql and MSSQL [Benny Degezelle]
+* Add r:site:title, r:site:domain and r:site:dev_domain [Benny Degezelle]
+* Polish language pack generation [Benny Degezelle]
+* 1.9.2 compatibility [Johannes Fahrenkrug, John Muhl]
+* Fix view_path order [William Ross]
+* Extension rake task files loaded directly: no need to copy on update [William Ross]
+* Fake published_at on preview, if necessary [William Ross]
+* Ignore the generated admin stylesheets [jsntv200]
+* No need to boot Radiant during instance generation [jsntv200]
+* Rake test:extensions uses new extension loader [William Ross]
+* Rake spec:extensions updated [William Ross]
+* Don't disable ActionMailer [John Muhl]
+* Use example.com as the example sites [Jim Gay]
+* Allow the upgrade from an existing instance with no Gemfile [Jim Gay]
+* Fixed bootstrap so that migrations run from Radiant.root/db/migrate [William Ross]
+* Add config.ru for racking up in eg. Pow [William Ross]
+* Remove the extension post_install_message [jsntv200]
+* Extensions should require the module not the version [jsntv200]
+* Fix rake radiant:update by setting the missing variables [jsntv200]
+* Update rails binaries [Jim Gay]
+* Make PreviewStop exception explicit in purpose [Jim Gay]
+* Bundler instructions at the end of bootstrap [William Ross]
+* Less maintenance required in instance generator [William Ross]
+* Add extension root to autoload paths [William Ross]
+* Refactored extension loader [William Ross]
+* Extension generator updated for bundler compatibility [William Ross]
+* Add extension models, controllers and helpers to eager-load paths. [William Ross]
+* Explicit initialize_nav call to help test extensions [William Ross]
+* Instance mode uses Bundler [William Ross]
+* De-vendor Rails [William Ross]
+* Old CI tasks removed [William Ross]
+* Other text files markdowned, generator and tests updated [William Ross]
+* README in markdown with Travis badge [William Ross]
+* Setup Travis CI [John Muhl]
+* Add Bundler support [William Ross, Michal Cichra, Edmund Haselwanter]
+* Add sqlite and zentest as dev. dependencies [John Muhl]
+* Dev site should show draft and hidden pages [Jim Gay]
+* Better duplicate-config error reporting [William Ross]
+* Alter the environment path when running tests from RADIANT_ROOT [Jim Gay]
+* De-submodule built-in extensions and language packs, depend on gems instead [John Muhl, jsntv200]
+* Fixed "dev?" method so that pre-pending hostname with "dev." works. [Wes Gamble]
+* No need to migrate extensions after loading schema [William Ross]
+* Load templates from gems [Jim Gay]
+* Require all extension explicitly [Jim Gay]
+* De-vendor acts_as_tree, highline, rack-cache, radius, RedCloth [William Ross, John Muhl, jsntv200]
+* Removed custom pluralize method in the application helper. [Michael Stalker]
+* Reflect sqlite default in help output [John Muhl]
+* Fix import task name [Jim Gay]
+* Newextension.replaces("OldExtension") to inherit matching migrations [William Ross]
+* Make sqlite the default database. closes #224 [John Muhl]
+* Deprecating r:url family of tags [William Ross]
+* Explicitly load will_paginate in resource controller [Jim Gay]
+* Check for @current_tab [jsntv200]
+* Properly load features files in generated extension gemspecs [Jim Gay]
+* Alter compass initializer to load from tmp/stylesheets [Jim Gay]
+* Allow content areas without a 'page_part' naming scheme [Jim Gay]
+* Allow access to the instance of the user action observer [Jim Gay]
+* Allow extensions to add to the built-in cucumber paths [Jim Gay]
+* Remove git dependency on generated extension gemspecs [Jim Gay]
+* Unvendored haml [William Ross]
+* Removed non-portable (Windows-unfriendly) syntax from System commands [Chris Parrish]
+* Fix script/console path to boot [Andrew vonderLuft]
+* Gem dependency compatibility fix for ruby 1.9 [Andrew vonderLuft]
+* Fix case statements for ruby 1.9 compatibility [Andrew vonderLuft]
+* Migrate extensions in load order [Jim Gay]
+* Don't need the message about running the extension migration task [Jim Gay]
+* Migrate and update extensions after bootstrap [Jim Gay]
+* Use request.cookies [Jim Gay]
+* Explicitly find the preview page again after the post [Jim Gay]
+* Remove errant ruby-debug [Jim Gay]
+* Update instance boot [Jim Gay]
+* Patch for requiring RedCloth and gem dependencies [Jim Gay]
+* Ensure @extensions in the initializer is an array [Jim Gay]
+* We don't need to validate numericality of reference columns [Jim Gay]
+* Replace returning with tap [Jim Gay]
+* Don't validate id [Jim Gay]
+* Tweak to tabcontrol.Js [William Ross]
+* Add rake update task for static html files [Andrew vonderLuft]
+* Changes popup.js to support switching from one popup to another [William Ross]
+* Allow the :all symbol to represent gem extensions [Jim Gay]
+* Only show paginate link when depaginated [Benny Degezelle]
+* Require delocalize gem, so date input in non-English is interpreted correctly [Benny Degezelle]
+* Use white background for page preview [Jim Gay]
+* Add option to ignore extensions where ruby's -= operator won't cut it [Jim Gay]
+* Remove unused abstract_model_helper.rb [Jim Gay]
+* Provide access to standard configuration options through methods [Jim Gay]
+* Add reusable .action_button class [Jim Gay]
+* Move radiant-badge to /images/radiant/ [Andrew vonderLuft]
+* Fix rake method for extension script [Andrew vonderLuft]
+* Make environment files similar [Jeff Casimir]
+* Require HAML 3.0.25 [Jeff Casimir]
+* Fix extension installer script to run migrations and updates [Andrew vonderLuft]
+* Allow two link triggers to the same popup window [John Long]
+* Make popup windows draggable by their title bars [John Long]
+* Add tag alias for navigation:url/path [Andrew vonderLuft]
+* Define page subclasses with acts_as_tree [Jim Gay]
+* Add preview page feature [Jim Gay]
+* Modify locales to use Dir.glob so that dot files are ignored [jsntv200]
+* Don't show secondary nav when there is only one item [John Long]
+* Pull in changes from prototype [John Long]
+* Add .bundle to .gitignore [John Long]
+* Allow extensions to insert tabs after or before other tabs [John Long]
+* Provide an export function for custom templates [Jim Gay]
+* Cleanup styled blog template [Jim Gay]
+* Fix bug when rendering with nil content [Jim Gay]
+* Make rspec matchers available in cucumber [Jim Gay]
+* Better support for cucumber in generated extensions [Jim Gay]
+* Added development dependencies to gemspec [Michal Cichra]
+* Fixed boot to work with rubygems >= 1.6.0 [Michal Cichra]
+* Added .rvmrc and radiant-*.gem to gitignore [Michal Cichra]
+* Fixed gemspec to include all files from git repo [Michal Cichra, Jim Gay]
+* Move from url to path in sample templates [Jim Gay]
+* Updated available tags i18n [Jim Gay]
+* Remove legacy routes [Jim Gay]
+* Allow pagination in aggregated pages [Jim Gay]
+* Fix hard-coded string in page edit [Mario Visic]
+* Make NodeHelper available outside of PageHelper [William Ross]
+* User has_many pages [William Ross]
+* Remove arbitrary restriction on limit and offset [Jim Gay]
+* Make UserActionObserver thread safe [Mark Reginald James]
+* Speedup recursive snippet usage [Andrew O'Brian, Jim Gay]
+* Add validate_path helper to check that a page exists [William Ross]
+* Standardize on site:host for consistency with dev:host [William Ross]
+* Use <r:cycle /> for a numeric counter [Jim Gay, Dirk Kelly]
+* String format breadcrumb tag in archive pages [Oriol Gual]
+* More explicit cache strategy and cookies no longer force cache-bypass [William Ross]
+* Make pagination_parameters available to views [William Ross]
+* Add style for inline list of links in drawer [Andrew vonderLuft]
+* Added defaults.snippet.filter to the configuration view [Samuel Whited]
+* Defer default_child to class so we can bootstrap without error [Josh French]
+* Page.find_by_url → Page.find_by_path [Josh French]
+* Added config option defaults.snippet.filter [Samuel Whited]
+* Fix bug with deletion of page parts [Josh French]
+* Add Personal settings sub-tab [William Ross]
+* Cleaner large status spinner [John Muhl]
+* Unroll PageMenu into core [Josh French]
+* Add missing semicolons + add radix parameter to parseInt() for safety [vanderhoorn]
+* Fix status select box with more specific translate call [William Ross]
+* Make config validation case-insensitive [William Ross]
+* Don't run Radiant initializations if Radiant.root is the same as Rails.root [William Ross]
+* Fix page remove screen [Jim Gay]
+* Move <r:comment> to deprecated tags [Jim Gay]
+* Call find_by_url inside find_by_path so existing extensions continue to work [Jim Gay]
+* Update generated extension to include gemspec and better README [Jim Gay]
+* Config definition can specify units [William Ross]
+* Update Haml to 3.0.23 [Jim Gay]
+* Clicking on a tab focuses the associated textarea [John Muhl]
+* Localize <r:date> [Jim Gay]
+* Make any date column a valid value for <r:date /> [Jim Gay]
+* Move url methods to path [Jim Gay]
+* Allow use of custom TextFilter names [Petrik de Heus]
+* Prevent autofill when at new-user form [Gert Goet]
+* Set autocomplete="off" for password fields [Gert Goet]
+* Allow loading of database templates from extensions [Jim Gay]
+* Restore Roasters template styling [Jim Gay]
+* Auto-expand Status and Actions columns to prevent clipping [Benny Degezelle]
+* Fix config import/export [William Ross]
+* Add Radiant.config method and radiant_config.rb initializer [William Ross]
+* Add configuration interface, with validation and error reporting [William Ross]
+* Close other menus when dropdown option clicked [Jim Gay]
+* Move markdown_filter into an extension [John Muhl]
+* Adding the <r:hide> tag to replace <r:comment> [Jim Gay]
+* Change "Website" to "More Info" on the Extensions page [Jim Gay]
+* Don't allow children for File Not Found pages [Jim Gay]
+* Get the children for the menu explicitly [Jim Gay]
+* Ensure parent_id and @page are set on Page#new [Jim Gay]
+* Move export into an extension [Jim Gay]
+* Add "noself" attribute to breadcrumbs tag [William Ross]
+* Separate Env Dump page into a debug extension [Jim Gay]
+* Support PageFields in imports & exports [Josh French]
+* More granular regionsets in Pages#edit [Josh French]
+* Integrate Compass [John Long]
+* Update the prototype import task [Jim Gay]
+* Fix bug for filtered Snippets not showing stored filter [Jim Gay]
+* Fix Layouts pagination [Andrew vonderLuft]
+* Fix Snippet pagination [Andrew vonderLuft]
+* Exclude dot files (e.g. .svn) in rake radiant:update:sass [Andrew vonderLuft]
+* Expose attribute assignment in Pages#new [Josh French]
+* Rename Page#fields[] to Page#field() [Josh French]
+* Add #scheduled? to Page [Jim Gay]
+* Added the Sheets extension to manage Javascript and Stylesheets [Jim Gay]
+* Update toSlug to allow periods in slugs [Jim Gay]
+* Protect against gems that are required but not installed [Sean Cribbs]
+* Updated index views to use latest markup and styles [John Long]
+* Integrated PageFields extension into core [Josh French]
+* Page-type select menu moved to Pages#index [Josh French]
+* Allow gem-extensions to override core views [Josh French]
+* Popup.js fix for multiple control instances [Josh French]
+
+## Refraction 0.9.1 (June 27, 2010)
+
+* Added missing i18n translations for aggregate tages [Jim Gay]
+* Fixed a bug with status_id PostgreSQL [Jim Gay]
+
+## Refraction 0.9.0 (June 25, 2010)
+
+* Pull in aggregate tags from the aggregation extension [John Muhl, Sean Cribbs, Jim Gay]
+* Fixed a bug which could cause the preferences submenu to dissapear [Mario Visic, Jim Gay]
+* Fixed a bug PostgreSQL for creating pages with nested attributes [Andrew Cates]
+* Updated to Rails 2.3.8 [Jim Gay]
+* Added admin and Radius tag pagination [William Ross]
+* Added will_paginate dependency [William Ross, Jim Gay]
+* Added <r:gravatar/> radius tag [John Muhl]
+* Exposed important view locals for partials that hook into the admin UI [Mislav Marohnić]
+* Update to cucumber-rails 0.3.0 [Jim Gay]
+* Update to Haml 2.2.24 [Jim Gay]
+* Allow loading extension routes from the extension's config/routes.rb [Jim Gay]
+* Cache admin.js in update task [Janne Asmala]
+* Finally rename User.protected_attributes to unprotected_attributes [Jim Gay]
+* Support i18n [Keith Bingman, many others]
+* Only run migrate and update tasks with script/extension if they exist [John Muhl, Jim Gay]
+* Dropped BlueCloth for kramdown [John Muhl]
+* Updated sample images for Textile and Markdown [Jim Gay]
+* Refactored Sass to separate out common styles [Jim Gay]
+* Upgraded to HAML 2.2.19 [Jim Gay]
+* Add future publishing feature [Anna Billstrom, Benny Degezelle, Jim Gay]
+* Fixed support for newer Cucumber version [M. Scott Ford, William Ross]
+* Fixed a bug in if/unless_content tags [Benny Degezelle]
+* Support packaging extensions as gems [Josh French]
+* Add tag reference to Layouts and Snippets [Jim Gay]
+* Handle deploying to a sub-directory [Jim Gay]
+* Ensure that generator specs actually test properly [Travis D. Warlick]
+* Properly display errors on user password changes [Jim Gay]
+* Prevent admin from removing her own admin privilege [Jim Gay]
+* Move to Rails 2.3.5 [Jim Gay]
+* Simplify admin tab API [Jim Gay, John Long, Sean Cribbs]
+* Turned on HAML's "ugly" whitespace mode in production [John Muhl]
+* Use HTML 5 doctype. [John Muhl]
+* Miscellaneous HTML standards improvements [John Muhl]
+* Fixed bug where pages were being cached in dev mode. This has been a problem since switching to Rack::Cache. [Jason Garber]
+* Snippets are now only accessible to people with the "Designer" role. [John Long]
+* Renamed "Developer" role to "Designer". [John Long]
+* Verify that the cache directory exists before trying to store a response. [Sean Cribbs]
+* Fix page-part deletion in JS. [Sean Cribbs]
+* Don't cache extension-defined javascripts, but do cache the defaults. [Sean Cribbs]
+* Fix dev-site behavior when 'dev.host' is configured. [Chris Ricca]
+* Concatenate admin javascript files. [John Muhl]
+* Use more descriptive page titles. [John Muhl]
+* Allow non-standard controller methods for render_region. [Jim Gay]
+* Updated to use Radius 0.6.1. [John Long]
+* Correct type on content-type and move to more/hide language. [John Long]
+* Add some helpful shortcut keys. [Sean Cribbs]
+* Implemented "Blade" user-interface. [John Long, Chris Parrish, Daniel Beach, Brandon Mathis, Sean Cribbs, Ben Morrow, John Muhl]
+
+## 0.8.2 Lustery (April 27, 2010)
+
+* Allow rake tasks to run if a higher version of Cucumber is installed [Jim Gay]
+
+## 0.8.1 Luster (September 5, 2009)
+
+* Move default cache location to tmp. [Sean Cribbs]
+* Upgrade Rails and dataset. [Sean Cribbs]
+* Updated README and INSTALL. [John Long]
+* Don't use Symbol#to_proc in initializer because ActiveSupport hasn't loaded yet.
+* Fix links to Textile reference in the wake of _why's disappearance. [Jason Garber]
+* Correct bug when submitting a POST to a cached page. [Sean Cribbs]
+* Fix typo in generator for features task. [Jim Gay]
+* Page parts may already be marked for destruction, don't explicitly set false. [Kunal Shah]
+* Merge latest version of Radius [Kunal Shah]
+* Helpers for extension_enabled? [Kunal Shah]
+* Respond to show methods with xml rendering [Jeremy Stephens]
+* Support DB2 [Antonio Cangiano]
+* Properly check for existing page parts when creating a new part. [alexmek]
+* Use the correct variable name so the extension name is part of the output. [John Muhl]
+* Generate Cucumber support for extensions [Jim Gay]
+* Require Cucumber version 0.3.9 or greater in cucumber.rake [Jim Gay]
+* Set generated extensions to require 'application_controller' [Jim Gay]
+* Add import/export tasks for Radiant::Config [Jim Gay]
+* Set Radiant::Config to cache info in the Rails.cache [Jim Gay]
+* Markup fixes [Justin Blecher, Alex Wallace]
+* Use Rails for time zone handling [Kunal Shah, Josh French]
+* Allow extensions to declare dependencies [Josh French]
+* Expose Rails configuration to extensions. [Josh French]
+* Set template_name for all resourceful action types [Josh French]
+* Load Metal from Extensions [Jim Gay]
+
+## 0.8.0 Asterism (June 14, 2009)
+
+* Warn about using the RedCloth 3 fallback. [Sean Cribbs, Jason Garber]
+* Prevent stty errors on JRuby while running bootstrap. [Sean Cribbs]
+* Moved template_name to ApplicationController [Jim Gay, Michael Kessler]
+* Remove vizres plugin. [Sean Cribbs]
+* Update instance config/environments to remove ResponseCache [Jim Gay]
+* Remove :order option from <r:children:count />, which causes errors on postgresql. [Sean Cribbs]
+* Prevent recursion via the <r:content /> tag. [Sean Cribbs]
+* Update Highline. [Sean Cribbs]
+* Update Cucumber and RSpec, clean up some features and fix specs. [Sean Cribbs]
+* Set the protected attributes for users in User.protected_attributes [Jim Gay]
+* Don't allow a nil ETag in SiteController. [David Cato]
+* Prevent failed login message from sticking around. [Kunal Shah]
+* Fix failing test regarding extension order. [Brett McHargue]
+* Catch ActiveRecord::RecordNotFound in Admin::ResourceController [Jim Gay]
+* Catch missing template errors for show routes [Jim Gay]
+* Fix with_error in render_matcher not causing the spec to fail when no exception raised. [Jason Garber]
+* Make features task run in instance mode. [Sean Cribbs]
+* Remove Admin::AbstractModelController. [Sean Cribbs]
+* Cleanup deprecated Gem::manage_gems. [Sean Cribbs]
+* Add begin...rescue blocks to rspec.rake [Sean Cribbs]
+* Add begin...rescue blocks for requiring cucumber. [Matt Henry]
+* Deprecate ResponseCache, add Radiant::Cache based on Rack::Cache. [Sean Cribbs]
+* Use app name for session cookie. [Josh French]
+* Upgrade to Rails 2.3.2. [Sean Cribbs, Rick DeNatale, Josh French, Kunal Shah]
+* Populate config.extensions so extensions can be disabled easily. [Jason Garber]
+* Convert integration specs to Cucumber stories and update RSpec. [Sean Cribbs]
+* Use ActionView::PathSet instead of normal arrays for view paths. [Pat Allan]
+* Don't raise exception on unauthenticated request to /admin/logout. [Josh French]
+* Reverse view paths order in extension loader. [Sean Cribbs, Brent Kroeker]
+* Remove obviated Ruby 1.8.7 compatibility patch. [Sean Cribbs]
+* Adjust StandardTags#relative_url_for for case when relative_url_root is nil. [Sean Cribbs]
+* Correct rendering error in extensions controller. [Sean Cribbs]
+* Correct typo in config/boot.rb. [Sean Cribbs]
+* Major refactoring and simplification of LoginSystem. [Sean Cribbs]
+* Update Haml to 2.0.7. [Sean Cribbs]
+* Upgrade to Rails 2.2.2. [Sean Cribbs]
+* Cleanup the config class a little, add some more documentation. [Sean Cribbs]
+* Avoid bootstrap errors related to Radiant::Config by checking for table existence. [Sean Cribbs]
+* Correct status code typo in Admin::ResourceController. [Sean Cribbs]
+
+## 0.7.1 Engraving (February 15, 2009)
+
+* Properly escape page part contents in the UI. [John Muhl, Sean Cribbs]
+* Fix tag reference popup and spec out helper better. [Sean Cribbs]
+
+## 0.7.0 Intaglio (February 7, 2009)
+
+* Add Roasters template. [Paul du Coudray]
+* Make ResponseCache spec insensitive to key order. [Sean Cribbs]
+* Adjust <r:children:count /> to use same options as <r:children:each />. [Sean Cribbs]
+* Allowing for custom labels and other options in save_model_button. [Pat Allan]
+* Ignoring TextMate project files. [Pat Allan]
+* Present a more helpful error message when missing a mailer template. [Nikolay Karev]
+* Use ActiveRecord:Base#[] and ActiveRecord:Base#[]= instead of undocumented read_attribute and write_attribute. [August Lilleas]
+* Make extension installer use git submodules when appropriate. [Sean Cribbs]
+* Ease extension updates by proxying deprecated named routes. [Sean Cribbs]
+* Add support and specs for conditional GETs with ETags. [Sean Cribbs]
+* Initialize and update submodules when freezing edge. [John Muhl]
+* Add Nginx support to ResponseCache. [Sean Cribbs]
+* Changed (some) permissions examples not to use login_system_matcher. [Brandan Lennox]
+* Remove expensive grep of Rails log in spec. [Rick DeNatale]
+* Make markdown filter specs be tolerant of RDiscount. [Sean Cribbs]
+* Be more explicit about vendor libraries, move Textile requirement into core. [Sean Cribbs]
+* Add <r:children:each:if/unless_first/last> tags. [Rick DeNatale]
+* Use RDiscount's smart quotes instead of SmartyPants. [John Muhl]
+* Update extension generator to use new admin REST routing. [Jeroen Janssen]
+* Update Admin::ResourceController to overcome respond_to weaknesses by choosing HTML format by default. [Sean Cribbs]
+* Add an IE-specific integration spec. [Jeroen Janssen]
+* Update dataset, spec_integration, and vizres plugins. [Sean Cribbs]
+* Make specs and bootstrap work in instance mode. [Sean Cribbs]
+* Override spec:integration task and rescope some spec task options to RADIANT_ROOT. [Sean Cribbs]
+* Improve rspec-1.1.12 compatibility. [Sean Cribbs]
+* Add Ruby 1.8.7 compatibility patch. [Sean Cribbs]
+* Fix upgrade issue from 0.5.x where class_name is expected to be present. [Sean Cribbs]
+* Remove unneeded patch. [Sean Cribbs]
+* Add some inline documentation to resource controller. [Sean Cribbs]
+* Fix some form problems on pages. [Sean Cribbs]
+* Fix form on snippets/remove. [Sean Cribbs]
+* Make sure resourceful responses deeply clone on inheritance. [Sean Cribbs]
+* Fix broken Ajax children callback. [Sean Cribbs]
+* Fix broken URL in snippets/remove. [Sean Cribbs]
+* Correct assume_migrated_upto_version behavior in instance mode. [Sean Cribbs]
+* Correct missing @@configuration variable in initializer. [John Muhl]
+* Handle SQL special characters in extension names in migrations. [Erik Ostrom]
+* Converted extension migrations to use schema_migrations table instead of extension_meta. [Nathaniel Talbott, Sean Cribbs, Rick DeNatale]
+* Replaced scenarios with dataset. [Nathaniel Talbott, Adam Williams, Rick DeNatale]
+* Fix RSpec git submodules. [Nathaniel Talbott, Clinton Nixon]
+* Generate and fix gemspec for GitHub. [Sean Cribbs]
+* Add support for newer Textile and Markdown libraries, with fallbacks on packaged libraries. [Sean Cribbs, Jason Garber]
+* Make request parameters available to tags. [Brian Landau]
+* Add URL method helpers to tags. [Brian Landau]
+* Add some database indexes. [Yevgeny Smirnoff]
+* Added notice to install RSpec if a certain database error occurs. [Sytse Sijbrandij]
+* Refactor LoginSystem to use filter-skipping instead of controller tracking. [Sean Cribbs]
+* Add generator specs and more generators. [Brian Landau]
+* Add initial integration specs. [Adam Williams, Mark Imbriaco]
+* Refactor admin controllers and views toward RESTful principles. [Sean Cribbs, Clinton Nixon, Rick DeNatale]
+* Remove RSpec from packaged libraries. [Sean Cribbs]
+* Correct CSS validation errors. [John Muhl]
+* Add String#to_slug. [Andrew O'Brien]
+* New page parts should have the default filter_id. [Joe Van Dyk]
+* Show draft children by default on dev host. [Sean Cribbs]
+* Correct db:schema:dump error when in instance mode. [Pat Allan, Sean Cribbs]
+* Simplify set_javascripts_and_stylesheets. [Sean Cribbs]
+* Cleanup boot.rb and allow generators from user-installed plugins. [Sean Cribbs]
+* Added regions to user-preferences screen. [Jim Gay]
+* Apply Rails redirect sanitization patch. [Sean Cribbs]
+* Updated to Rspec and Rspec-Rails 1.1.8 [Jim Gay]
+* Added development dependency to INSTALL [Matt Henry]
+* Added reference to sample database configuration files to INSTALL. [Keith Bennett]
+* Added ZenTest development dependency to README. [Thomas Ingram]
+* Remove REXML expansion fix, included in Rails 2.1.1 [Sean Cribbs]
+* Upgrade to 2.1.1 [Sean Cribbs]
+* Fixed migrations for Rails 2.1 [Josh French]
+* Fixed final specs [Jim Gay]
+* Fixed up some specs for new Rails/RSpec [Josh French]
+* Updated timezone management [Josh French]
+* Update to Rails 2.1 [Jim Gay]
+* Update to RSpec 1.1.4 [Jim Gay]
+* Make Git extension install method recognize submodules. [Sean Cribbs]
+* Fix malformed Textile in standard tag descriptions. [Jason Garber]
+* Update script/extension help output. [Jim Gay]
+* Allow load_subclasses to work when multiple apps are on the same database. [Jim Gay]
+* Add REXML expansion fix. [Sean Cribbs]
+* Fix filter_reference admin helper for filter names that have spaces in them. [Mislav Marohnić]
+* Make script/extension more friendly, adding help and info commands. [Sean Cribbs]
+* Added more render regions to layout, snippet, user, and extension views. [Sean Cribbs]
+* Fixed the radiant:update:scripts to find the proper directory [Jim Gay]
+* Factor out dev? functionality in StandardTags, allowing other tags to access it. [Sean Cribbs]
+
+## 0.6.9 Etch (August 1, 2008)
+
+* Make <r:random> accept dynamically generated options. [Jim Gay, Sean Cribbs]
+* Correctly set default 'inherit' to false on <r:unless_content> [Mark A. Yoon]
+* Correct authenticity token errors when using cookie session store [Sean Cribbs]
+* Make script/extension executable. [Sean Cribbs]
+* Correct bugs in radiant:freeze:edge task. [Sean Cribbs]
+* Fix strange Page subclass loading errors in development mode. [Sean Cribbs]
+* Fix typo in if_content description. [Jim Gay]
+* Correct error in radiant:update:configs task. [Sean Cribbs]
+
+## 0.6.8 Incise (July 27, 2008)
+
+* Hide page publish date selector unless page.edit.published_date? config is set. [Sean Cribbs]
+* Add <r:yield /> tag to support snippets that accept blocks. [Andrew Neil]
+* Fix bug with FileNotFoundPage subclasses and draft status. [Glenn Murray]
+* Update radiant:freeze:edge task to support BRANCH, TAG, and REVISION. [John Muhl]
+* Update to Haml 2.0.1. [Jim Gay]
+* Fix radiant:update:configs task to properly evaluate environment.rb [Sean Cribbs]
+* Fix page subclass loading issues. [Sean Cribbs]
+* Add <r:unless_ancestor_or_self> and <r:unless_self> tags. [Tim Gossett]
+* Add specific installation modes for gzip and bzip2 compression. [Sean Cribbs]
+* Added extension installation scripts. [Sean Cribbs]
+* Added find attr to r:if_content and r:unless_content to expand based on finding 'any' or 'all' specified parts [Jim Gay]
+* Added inherit attr to r:if_content and r:unless_content to search for parts independently in the page tree. [Jim Gay]
+* Update radiant:freeze:edge task to use git and GitHub. [John Muhl]
+* Update login page layout from prototype. [Sean Cribbs]
+* Change order of extension paths to prefer project extensions over Radiant's. [John Muhl]
+* Switch default session store to cookies [Josh French]
+* Add remember-me function to login [Josh French]
+* Allow an inclusive list of parts in r:if_content and r:unless_content [Jim Gay]
+* Added a defaults.page.filter config setting for setting a default page filter. [Alex Wayne]
+* Fix Users fixtures for extensions that still use test/unit. [Nick Plante]
+* Don't search for missing Page subclasses before bootstrap. [Sean Cribbs]
+* Added tolerance for missing Page class definitions. [Loren Johnson]
+* Don't require an authenticity token check on the login action. [Sean Cribbs]
+* Make sure region sets are reloaded when activating extensions in development mode. [Sean Cribbs]
+* Fix Haml rendering errors. [Thomas Watson Steen]
+
+## 0.6.7 Mordant (May 16, 2008)
+
+* Integrate shards extension into core. [Sean Cribbs]
+* Convert all views to Haml. [Sean Cribbs, John Long]
+* Avoid authenticity check when listing page children. [Sean Cribbs]
+* Add radiant:extensions:update_all task. [Josh French]
+* Tweak LoginSystem to allow attempted URL redirection after login and auto-redirect from login URL if logged in. [Josh French]
+* Add per-user salting to password encryption. [Sean Cribbs]
+* Address CSRF vulnerabilities in forms. [Sean Cribbs]
+* Remove clear cache action, always clear cache after saving a page. [Sean Cribbs]
+
+## 0.6.6 Chiseled (April 20, 2008)
+
+* Make sure extension view paths override Radiant view paths. [Josh French]
+* Fix problem in framework.rake when public/javascripts/admin doesn't exist. [Sean Cribbs]
+
+## 0.6.5 Chisel (April 19, 2008)
+
+* Convert StandardTags specs to nested describe blocks. [Sean Cribbs]
+* Remove test/unit tests - all RSpec now. [Sean Cribbs]
+* Fix radiant:update:javascripts task. [Sean Cribbs]
+* Fix problem in test fixtures. [Adam Keyes]
+* Add <r:meta /> tag and appropriate fields to pages table. [Sean Cribbs]
+* Move admin-related javascripts to admin/. [Bjørn Arild Mæland]
+* Add if_self and if_ancestor_or_self tags. [Marty Haught, Sean Cribbs]
+* Rename created_by and updated_by columns on standard models. [Sean Cribbs]
+* Fix Dir glob for extension rake tasks. [Sean Cribbs]
+* Respect view_paths set by plugins in extensions. [xtoddx]
+* Move extra initialization into after_initialize block. [Sean Cribbs]
+* Notice area now fades away after 3 seconds. [Andrew O'Brien]
+* <r:find /> now accepts paths relative to the current page. [Andrew O'Brien]
+* Update RSpec and RSpec on Rails to r3333. [Josh French]
+* Add autotest support for Radiant and extensions. [Josh French]
+* Add pkg/ ignore to git, correct CSS problems with fieldset tables. [Sean Cribbs]
+* Ignore git files when building gem. [Sean Cribbs]
+* Fix generated test and spec harnesses, convert core extensions to specs. [Sean Cribbs]
+* Cover edge case in Page spec. [Sean Cribbs]
+* Increase coverage of helper, controller, and model specs. [Sean Cribbs]
+* Correct some view and spec bugs. [Sean Cribbs]
+* Added specs for view helpers. [Sean Cribbs]
+* Use TH for fieldset tables and correct error in CSS. [skrat]
+* Adjust admin links and r:breadcrumbs tag to deal with Rails site prefix. [Sean Cribbs]
+* Adjust tags to deal with Rails site prefix (relative_url_root). [Sean Cribbs]
+* Resolve issue with undefined method :view_paths in ActionMailer. [Sean Cribbs]
+* Fixed incompatibility with RubyGems >= 0.9.5 that broke radiant:freeze:gems rake task. [Michael Klett]
+* Fixed problem with the list of templates containing duplicates in the db:bootstrap rake task when not running in instance mode. [John Long]
+* Update Subversion URL so rake radiant:freeze:edge works. [John Long]
+* Add AVLUX to list of links in Styled Blog template. [John Long]
+* Fix Ruby 1.8.5 compatibility issue with Dir[]. [Sean Cribbs]
+* Backup old environment.rb when copying new version. [Sean Cribbs]
+* Fill out more controller specs. [Sean Cribbs]
+* Fix Admin::PageController specs. [Sean Cribbs]
+* Make autotest work. [Matthew Elder]
+* Clean up cache files before running site_controller spec. [Matthew Elder]
+* Add r:status tag. [Andrew O'Brien]
+* Add ability to set publication date manually. [Nick Plante, Sean Cribbs]
+* Remove blank nodes in r:navigation tag. [ben]
+* Bubble up parsing exceptions in development mode. [jonleighton]
+* Fix authorization system for controller inheritance [Josh French]
+* Add 'nolinks' attribute to breadcrumbs tag. [abstractioneer]
+* Fix fixtures for RSpec enabled extensions. [andreas]
+* Generate extensions with RSpec support by default, fix rake and script/spec in instance mode. [Andrew O'Brien]
+* Support database templates in a Radiant instance. [Benny Degezelle]
+* Make rake test:extensions work in instance mode. [Daniel Sheppard]
+* Fix tests failing in instance mode with config.extensions set. [Daniel Sheppard]
+* Finished converting page_controller_test.rb to page_controller_spec.rb [John Long]
+* Completed converting user_controller_test.rb to user_controller_spec.rb [John Long]
+* Fix failing extension loading tests, remove irrelevant ones. [Sean Cribbs]
+* Fix test:extensions Rake task. [Sean Cribbs]
+* Prevent following the link that toggles visibility of meta items on page edit. [Mislav Marohnić]
+* Fix extension loader and previously failing unit tests; update specs. [Mislav Marohnić]
+* Fixed problem with response_cached? returning true when perform caching was off; fixed failing spec. [John Long]
+* Fixed issues with whitespace in page.rb. [John Long]
+* Fix filtering in tag reference popup. [Mislav Marohnić]
+* Updated rspec and rspec_on_rails. [John Long]
+* Add more controller specs and a matcher for LoginSystem features. [Sean Cribbs]
+* Make all extensions loaded by default. [Sean Cribbs]
+* Update extension loader spec. [Sean Cribbs]
+* Work around a nasty issue with extensions + Dependencies unloading in development mode. [Mislav Marohnić]
+* Fix the tree expansion issue in admin interface (cookie-related). minor cleanup server-side [Mislav Marohnić]
+* Cleanup up the underscore layout hack by using method chain. [Mislav Marohnić]
+* Refactored initialization, extension loading, updated plugins. [Sean Cribbs]
+* Fix SiteController#show_page for Rails 2.0. [Mislav Marohnić]
+* Minor optimization for Page; remove the unneccessary 'virtual' accessor. [Mislav Marohnić]
+* Fix tests for PostgreSQL: comment out a test that breaks most of the specs somehow. [Mislav Marohnić]
+* Failures in initializer_spec.rb fixed [John Long]
+* Failure in site_controller_spec.rb fixed. [John Long]
+* The last test/unit failure is now fixed. [John Long]
+* Failing tests in page_controller_test.rb fixed. [John Long]
+* Error in response cache spec fixed. [Keeran Hawoldar]
+* ActionController::Base.view_paths is now set correctly for extensions. [John Long]
+* Changed view extensions to ".html.erb" [John Long]
+* Fixed content type test failures. [John Long]
+* Fix page_test. [John Long]
+* Updated environments. [John Long]
+* Modify ApplicationController spec. [Loren Johnson]
+* Modify SiteController spec. [Loren Johnson]
+* Fix failing unit test for old type of logger. [Daniel Sheppard]
+* Fix problems preventing script/console from running: acts_as_tree is now a plugin, view_paths is now a core feature. [Daniel Sheppard]
+* Upgrade to Rails 2.0.2 [Daniel Sheppard]
+* Escape angle brackets to avoid assertion warnings in StandardTags. [Sean Cribbs]
+* Remove unused ConsoleUtils module and fix failing specs. [Sean Cribbs]
+* Added standard_tags_spec.rb [John Long]
+* Make sure all scenario pages have at least a body part. [Sean Cribbs]
+* Added render matcher. [John Long]
+* Modify pages scenario. [Loren Johnson]
+* A beginning on the Application and Site controller specs. [Loren Johnson]
+* Fix failing specs - use of before(:all) when before(:each) was needed [Daniel Sheppard]
+* Fix failing extension_load_order_test.rb [Daniel Sheppard]
+* Don't load scenarios stuff unless using specs. [Sean Cribbs]
+* Add initializer spec. [Sean Cribbs]
+* Add extension loader spec and refactorings. [Sean Cribbs]
+* Added user_spec.rb [John Long]
+* Upgrade Rails to 1.2.6. [Sean Cribbs]
+* Added user_action_observer_spec.rb [John Long]
+* Removed duplicate load paths from environments/test.rb [John Long]
+* Added text_filter_spec.rb [John Long]
+* Added status_spec.rb [John Long]
+* Added spec/models/snippet_spec.rb [John Long]
+* Added response_cache_spec.rb [John Long]
+* Small improvements to page_part_spec.rb [John Long]
+* Remove duplicate specs and move Radiant::ExtensionMigrator? spec to proper location. [Sean Cribbs]
+* Fix admin.js to initialize TabControl even if there are no tabs. [Benny Degezelle]
+* Correct RenderTestHelper to better resemble expectations from Rails. [Sean Cribbs]
+* Add model specs and scenarios. [John Long]
+* Modify script/spec to work in instance mode. [Andrew O'Brien]
+* Add RSpec to load path in test environment. [Andrew O'Brien]
+* Add specs for Radiant::Extension and Radiant::Taggable. [Sean Cribbs]
+* Fixed admin CSS for IE6 - ugly borders begone! [Bjørn Arild Mæland]
+* Fixed that homepage is no longer cached outside of cache dir, but to "_site-root.data". [Bjørn Arild Mæland]
+* Fix typo in pngfix.js. [Mislav Marohnić]
+* Turn off auto-loading RSpec stuff, even in test environment. [Mislav Marohnić]
+* Add specs for Annotatable, InheritableClassAttributes, LocalTime, MethodObserver, and Simpleton. [Sean Cribbs]
+* Add spec for Radiant::AdminUI and Users scenario. [Sean Cribbs]
+* Import and create boilerplate for RSpec and Scenarios. [Sean Cribbs]
+* Honor config.extensions when running rake test:extensions and also include core extensions. [Daniel Sheppard]
+* Propagate global page when using <r:content /> with inherit attribute. [Sean Cribbs]
+
+## 0.6.4 Gem Shaper (November 10, 2007)
+
+* Extract Archive pages into a core extension. Add automatic testing of core extensions from default test task. [Sean Cribbs]
+* Add <r:if_children /> and <r:unless_children /> tags. [Andrew Neil]
+* Add HTML labels to role checkboxes in user edit template. [zilkey]
+* Cleanup whitespace and line-endings in environment.rb. [Bjørn Arild Mæland]
+* Fix various SQL Server issues via Rails ticket #8886. [Mark Gallop]
+* Refactor locals from _node.rhtml into Admin::NodeHelper. [Sean Cribbs]
+* Fix XHTML validation errors in view templates. [Bjørn Arild Mæland]
+* Update Prototype and script.aculo.us to 1.6 and 1.8 releases. [Sean Cribbs]
+* Fix edge case in tabcontrol.js where tab label is incorrect. [Sean Cribbs]
+* Remove duplication in admin.js. [Sean Cribbs]
+* Factor TimeZone stuff out of Radiant::Config into a module, fix failing tests. [Sean Cribbs]
+* Add has_part?, inherits_part?, and has_or_inherits_part? methods to Page. [ana]
+* Allow setting of local timezone via Radiant::Config and auto-adjustment of times in admin UI and <r:date /> tag. [Bodhi Philpot]
+* Update to latest Prototype and script.aculo.us and refactor and extract inline Javascript into external files. [Mislav Marohnić]
+* Narrow scope of exception to only throw on missing fixture files, allowing invalid yaml errors through. [Daniel Sheppard]
+* Added tests to ensure that response_cache stays within the cache dir. [Daniel Sheppard]
+* Add assert_requires_login to LoginTestHelper. [Sean Cribbs]
+* Make sure tag binding stack is popped when an exception occurs. [jay@jay.fm]
+* Clean up some apparent cruft in page.rb [Daniel Sheppard]
+* Add logout method to LoginTestHelper. [Sean Cribbs]
+* Run single extension tests with rake test:extensions EXT=<extension_name> [Brian Skahan]
+* Update Javascript libraries to Prototype 1.6.0_rc1 and script.aculo.us 1.8.0_pre1. [Mislav Marohnić]
+* Fixed <r:attempted_url /> tag to escape the uri [Daniel Sheppard]
+* Allow parts to be accessed by name from Page#part before they are saved. [Sean Cribbs]
+* Disambiguate namespace of ActionMailer::Part. [Sean Cribbs]
+* Fix namespacing problem with ActionController::RoutingError. [Sean Cribbs]
+* Update Rails to 1.2.5. [John Long]
+* Ensured that the request and response are passed along to other pages that are rendered within the same context. [John Long]
+* Added <r:if_dev /> and <r:unless_dev /> tags. [Peter Berkenbosch]
+* Removed session stringification patch in test helper. [Sean Cribbs]
+* Update Rails to 1.2.4. [Sean Cribbs]
+* Add extensions paths to the standard $LOAD_PATH so requires work properly. [Sean Cribbs]
+* Fixed some loading issues for plugins that are included in extensions. [Sean Cribbs]
+
+## 0.6.3 Rock Grinder (October 6, 2007)
+
+* Add generic public/ copy task to generated extensions. [Sean Cribbs]
+* Fix typo in StandardTags. [oli]
+* Added db:remigrate:extensions task. [Sean Cribbs]
+* Show all child pages on remove confirmation, regardless of sitemap expansion. [Sean Cribbs]
+* Make LoginSystem store user ids in session rather than whole user objects. [Sean Cribbs]
+* Plugins included in an extension's vendor/plugins directory will automatically be loaded before the extension is activated. Plugins
+included in more than one extension will be loaded only once according to the extension load order. [Sean Cribbs]
+* Allow subclassing of FileNotFoundPage. [Daniel Sheppard]
+* <r:find/> should not return FileNotFoundPage. [Daniel Sheppard]
+* Change test for tabs to just check dupes and for the requested tab rather than a specific list (test was breaking if a real extension added a tab). [Daniel Sheppard]
+* Ensure test extensions are loaded in the test environment. [Daniel Sheppard]
+* Prevent ExtensionInitializationTest from unloading real extensions. [Daniel Sheppard]
+* Expire the old URL from the cache when the page slug changes. [Daniel Sheppard]
+* Fix failing tests in instance mode. [Daniel Sheppard]
+* Move difference assertions upstream from forms extension into a test helper. [Sean Cribbs]
+* Update Prototype to 1.5.0 final release. [Sean Cribbs]
+* Allow specification of extension loading order in environment.rb [Daniel Sheppard]
+* Fix bugs in assert_global_tag_defined and assert_tag_defined of ExtensionTagTestHelper. [Sean Cribbs]
+* Make sure included stylesheets and javascripts are only linked to once in <head>. [Sean Cribbs]
+* Fix navigation tag tests. [vitali]
+* Suppress errors about missing default helper by providing a blank helper. [Sean Cribbs]
+* Fix mis-alignment of "Clear cache" button when homepage not present. [Sean Cribbs]
+* Fix issues with misnesting of modules in fixture loading extension and test suites running randomly from dispatchers. [Sean Cribbs]
+* Remove invalid image alignment. [tolbrino]
+* Display not_found.rhtml on standard 'not found'-like exceptions. [Sean Cribbs]
+* Make sitemap.js use relative URLs. [Earl Chew]
+* Preliminary support for active_record sessions. [John Long]
+
+## 0.6.2 Jewel Carver (June 23, 2007)
+
+* Removed some of the database specific code from the ArchiveFinder [Daniel Sheppard]
+* Fixed typo in extension model generator documentation. [John Long]
+* Reworked the way the generator extension is loaded (closing #500) [Keita]
+* Fixed failing unit tests in instance mode [Daniel Sheppard]
+* Modified the page edit form to use multipart/form-data (useful for an upload extension) [Sean Cribbs]
+
+## 0.6.1 Stone Cutter (May 5, 2007)
+
+* Fixed a security vulnerability which caused passwords to appear in the logs [John Long]
+* Fixed a bug in the site map code which caused it to forget which rows were expanded [John Long]
+* The find_by_url method has been optimized to improve performance [Daniel Sheppard]
+* GET requests are now the only requests that are cached [Daniel Sheppard]
+* Added rudimentary support for extension dependency specification through directory prefixing [Daniel Sheppard]
+* Fixed syntax error in fixture loading extension [Sean Cribbs]
+* Minor documentation fix for date tag [Sean Cribbs]
+* Fixed a bug in the migrations that prevented 0.5.x users from upgrading properly [Sean Cribbs]
+
+## 0.6.0 Lapidary (April 24, 2007)
+
+* Added support for extensions--an extremely flexible way to extend radiant [John Long]
+* Merged Behaviors into the Page class; subclass page now instead [John Long]
+* Improved database support for Postgres and Sqlite [John Long]
+* Limited support for SQL Server [John Long]
+* Exceptions from tags now bubble up during testing [John Long]
+* Page parts are now sorted by ID so the order that you create them in is preserved [Josh Ferguson]
+* Implemented tag documentation DSL and UI [Sean Cribbs]
+* Reworked the setup code [John Long]
+* Renamed script/setup_database to rake db:bootstrap [John Long]
+* Reworked the upgrade code to work around rake tasks [John Long]
+* Added rake tasks for freezing and unfreezing radiant to the edge [John Long]
+* r:children:each, r:children:first, and r:children:last now all accept the same ordering and limit attributes and have the same defaults [John Long]
+* Snippets are now responsive to global context via the r:page tag. This means that any tags inside r:page will refer to the page currently being rendered, i.e. the page requested, not the local contextual page via tags like r:children:each, etc. This is most relevant to recursive snippets like the sitemapper example [Sean Cribbs]
+* r:navigation now uses the pipe character ("|") to delimit URLs in the urls attribute rather than the semi-colon [John Long]
+* r:date now accepts a "for" attribute that specifies which attribute of the page to render. Valid values of the attribute are published_at, updated_at, created_at, and now. [John Long]
+* Created the r:cycle tag to make alternating tables and lists possible [John Long]
+* Added popups for filter and tag documentation inside the page editing interface [John Long]
+* Added support for optimistic locking for all models [Daniel Sheppard]
+* Added support to Radiant::Config for boolean values [Sean Cribbs]
+* Caching no longer stores the headers and body in the same file [Daniel Sheppard]
+* Added support for the X-Sendfile header that works in conjunction with caching to speed it up (by default X-Sendfile support is off) [Daniel Sheppard]
+* Moved the images and stylesheets into images/admin and stylesheets/admin respectively to make it easier for Radiant's assets to coexist easily with the site's assets [John Long]
+* Improved the Javascript that automatically updates the slug and breadcrumb based off of the title so that it now response to all change events [John Long]
+* For the full scoop on what's changed see Sean Cribbs' detailed blog post: http://seancribbs.com/tech/2007/04/18/whats-new-in-radiant-0-6
+
+## 0.5.2 Raildust (August 10, 2006)
+
+* Upgraded Rails to 1.1.6 because of a security vulnerability in 1.1.5 [John Long]
+
+## 0.5.1 Gemdust (August 10, 2006)
+
+* Upgraded Rails to 1.1.5 because of a security vulnerability in 1.1.4 [John Long]
+* Added basic support for upgrades to the `radiant` command [John Long]
+* Gem now includes the .htaccess file (this should make Apache users happier) [John Long]
+* Updated icons for layouts [John Long]
+* Migrations are now repaired so that you can run `rake migrate` to create the initial database. (`script/setup_database` is still the recommended method.) (closes ticket #46) [Daniel Sheppard]
+* When you collapse a branch in the admin page tree view and move to another tab the collapsed status is now saved so that when you return, the collapsed status is preserved. Also the status of collapsed branches is preserved when collapsing and expanding parent nodes. (closes ticket #29) [Daniel Sheppard]
+* Fixed documentation problem in response_cache.rb (closes ticket #142) [Paul Smith]
+* Fixed problem with timezones on fixtures causing tests to fail in Japan (closes ticket #154) [Bodhi Philpot]
+* Fixed a problem with an error being thrown when the <r:context /> tag was rendered with the inherit attribute set to true and the page part did not exist (closes ticket #155) [Bodhi Philpot]
+
+## 0.5.0 Grindstone (June 28, 2006)
+
+* First release. [John Long]
263 CONTRIBUTORS.md
@@ -0,0 +1,263 @@
+# Contributors
+
+The following people have submitted changes which have been applied to the
+core:
+
+## Edge
+
+* Jim Gay
+* Sam Whited
+* Johannes Fahrenkrug
+
+## 1.0.0
+
+* Jeff Casimir
+* Mario Visic
+* Mark Reginald James
+* Andrew O'Brian
+* Dirk Kelly
+* Oriol Gual
+* Petrik de Heus
+* Gert Goet
+* Jim Gay
+* Josh French
+* Andrew vonderLuft
+* William Ross
+* John Muhl
+* Johannes Fahrenkrug
+* Benny Degezelle
+* Jason Taylor
+* Wes Gamble
+* Michael Stalker
+* Chris Parrish
+* John W. Long
+* Edmund Haselwanter
+* Michal Cichra
+* Jason Garber
+* Samuel Whited
+* vanderhoorn
+* Sean Cribbs
+
+## 0.9.1 Refraction
+
+* Jim Gay
+
+## 0.9.0 Refraction
+
+* Mario Visic
+* Andrew Cates
+* Janne Asmala
+* Keith Bingman
+* Dirk Kelly
+* Anna billstrom
+* William Ross
+* M. Scott Ford
+* Josh French
+* Travis D. Warlick, Jr.
+* Jason Garber
+* Chris Ricca
+* Jim Gay
+* John Muhl
+* Ben Morrow
+* Sean Cribbs
+* Brandon Mathis
+* Daniel Beach
+* Chris Parrish
+* John Long
+
+## 0.8.2 Lustery
+
+* Jim Gay
+
+## 0.8.1 Luster
+
+* John Long
+* Sean Cribbs
+* Antonio Cangiano
+* alexmek
+* Jeremy Stephens
+* John Muhl
+* Alex Wallace
+* Justin Blecher
+* Kunal Shah
+* Jim Gay
+* Josh French
+
+## 0.8.0 Asterism
+
+* Michael Kessler
+* David Cato
+* Kunal Shah
+* Brett McHargue
+* Jim Gay
+* Kunal Shah
+* Matt Henry
+* Rick DeNatale
+* Jason Garber
+* Pat Allan
+* Josh French
+* Brent Kroeker
+* Sean Cribbs
+
+## 0.7.2 Engravings
+
+* Andrew vonderLuft
+
+## 0.7.1 Engraving
+
+* John Muhl
+* Sean Cribbs
+
+## 0.7.0 Intaglio
+
+* Paul du Coudray
+* Nikolay Karev
+* August Lilleas
+* Brandan Lennox
+* Jeroen Janssen
+* Erik Ostrom
+* Nathaniel Talbott
+* Yevgeny Smirnoff
+* Sytse Sijbrandij
+* Brian Landau
+* Adam Williams
+* Mark Imbriaco
+* Rick DeNatale
+* Clinton Nixon
+* John Muhl
+* Andrew O'Brien
+* Joe Van Dyk
+* Pat Allan
+* Matt Henry
+* Keith Bennett
+* Thomas Ingram
+* Josh French
+* Jason Garber
+* Mislav Marohnić
+* Jim Gay
+* Sean Cribbs
+
+## 0.6.9 Etch
+
+* Mark A. Yoon
+* Jim Gay
+* Sean Cribbs
+
+## 0.6.8 Incise
+
+* Andrew Neil
+* Glenn Murray
+* Tim Gossett
+* John Muhl
+* Josh French
+* Jim Gay
+* Alex Wayne
+* Nick Plante
+* Loren Johnson
+* Sean Cribbs
+* Thomas Watson Steen
+
+## 0.6.7 Mordant
+
+* John Long
+* Josh French
+* Sean Cribbs
+
+## 0.6.6 Chiseled
+
+* Josh French
+* Sean Cribbs
+
+## 0.6.5 Chisel
+
+* Adam Keyes
+* Marty Haught
+* xtoddx
+* skrat
+* Michael Klett
+* Matthew Elder
+* Nick Plante
+* ben
+* jonleighton
+* Josh French
+* abstractioneer
+* andreas
+* Keeran Hawoldar
+* Loren Johnson
+* Benny Degezelle
+* John Long
+* Andrew O'Brien
+* Bjørn Arild Mæland
+* Mislav Marohnić
+* Daniel Sheppard
+* Sean Cribbs
+
+## 0.6.4 Gem Shaper
+
+* Andrew Neil
+* zilkey
+* Mark Gallop
+* Bjørn Arild Mæland
+* ana
+* Bodhi Philpot
+* jay@jay.fm
+* Brian Skahan
+* Mislav Marohnić
+* Daniel Sheppard
+* John Long
+* Peter Berkenbosch
+* Sean Cribbs
+
+## 0.6.3 Rock Grinder
+
+* oli
+* Daniel Sheppard
+* vitali
+* tolbrino
+* Sean Cribbs
+* Earl Chew
+* John Long
+
+## 0.6.2 Jewel Carver
+
+* Sean Cribbs
+* Daniel Sheppard
+* Keita
+
+## 0.6.1 Stone Cutter
+
+* Sean Cribbs
+* Daniel Sheppard
+
+## 0.6.0 Lapidary
+
+* Alexander Horn
+* Adam Williams
+* Sean Santry
+* Sean Cribbs
+* Brian Gernhardt
+* Bodhi Philpot
+* Andrew Barnett
+* Jesse Newland
+* Josh Ferguson
+* Daniel Sheppard
+* Matte Edens
+* Jacob Burkhart
+* Chris Parrish
+
+## 0.5.1 Gemdust
+
+* Daniel Sheppard
+* Paul Smith
+* Bodhi Philpot
+
+## 0.5.0 Grindstone
+
+* Matt McCray
+* Paul Smith
+* Scott Walter
+* Sven Lauer
+* Tristan Boniver
+* Chris Corriveau
+* Ryan Platte
+* Luis Lavena
81 Gemfile
@@ -0,0 +1,81 @@
+source :rubygems
+
+# If you make any changes in this file, please run `bundle install`.
+# If new versions of your installed gems are available, run `bundle update`
+
+gem "radiant", "~> 1.1.0.rc1"
+gem "compass-rails", "~> 1.0.3"
+
+# alternatively, in development
+# gem "radiant", :path => "/path/to/radiant/root"
+
+# Uncomment to support CoffeeScript with a JS runtime (used in the Sheets extension)
+# gem "execjs"
+# And you may need one of these:
+# gem "mustang" # Google V8 for Ruby
+# gem "therubyracer" # Google V8 for Ruby
+# gem "therubyrhino" # Mozilla Rhino for JRuby
+# gem "johnson" # Mozilla SpiderMonkey for Ruby
+
+# SQLite is the default database connection but only suitable for local use
+gem "sqlite3", "~> 1.3.5"
+
+# To use MySQL
+# gem "mysql", "~> 2.8.1"
+
+# Postgres
+# gem "pg", "~> 0.11.0"
+
+# IBM DB2
+# gem "db2", "~> 2.6.2"
+
+# SQL Server
+# gem "tiny_tds"
+# gem "activerecord-sqlserver-adapter", "~> 3.1.0"
+
+gem "compass-rails", "~> 1.0.3"
+
+# Default Extensions
+gem "radiant-archive-extension", "~> 1.0.7"
+gem "radiant-clipped-extension", "~> 1.1.0"
+gem "radiant-debug-extension", "~> 1.0.2"
+gem "radiant-exporter-extension", "~> 1.1.0"
+gem "radiant-markdown_filter-extension", "~> 1.0.2"
+gem "radiant-sheets-extension", "~> 1.1.0.alpha"
+gem "radiant-snippets-extension", "~> 1.1.0.alpha"
+gem "radiant-site_templates-extension", "~> 1.0.4"
+gem "radiant-smarty_pants_filter-extension", "~> 1.0.2"
+gem "radiant-textile_filter-extension", "~> 1.0.4"
+
+
+# Language packs
+# gem "radiant-dutch_language_pack-extension", "~> 1.0.0"
+# gem "radiant-french_language_pack-extension", "~> 1.0.0"
+# gem "radiant-german_language_pack-extension", "~> 1.0.0"
+# gem "radiant-italian_language_pack-extension", "~> 1.0.0"
+# gem "radiant-japanese_language_pack-extension", "~> 1.0.0"
+# gem "radiant-russian_language_pack-extension", "~> 1.0.0"
+
+# A standard gem extension
+# gem "radiant-example-extension", :version => "~> 1.0.0"
+
+# Your own forked extension
+# gem "radiant-modified-extension", :git => "git://github.com/your/fork.git"
+
+# A local extension in development
+# gem "radiant-new-extension", :path => "/path/to/extension/root"
+
+# Gems you would like to have in your development environment
+# group :development do
+# gem "wirble"
+# end
+
+# If you're running tests or specs
+# group :test do
+# gem "cucumber-rails", "~> 0.3.2"
+# gem "database_cleaner", "~> 0.6.5"
+# gem "webrat", "~> 0.7.3"
+# gem "rspec-rails", "~> 1.3.3"
+# gem "sqlite3", "~> 1.3.4"
+# gem "ZenTest", "4.6.0"
+# end
118 Gemfile.lock
@@ -0,0 +1,118 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ RedCloth (4.2.9)
+ actionmailer (2.3.14)
+ actionpack (= 2.3.14)
+ actionpack (2.3.14)
+ activesupport (= 2.3.14)
+ rack (~> 1.1.0)
+ activerecord (2.3.14)
+ activesupport (= 2.3.14)
+ activeresource (2.3.14)
+ activesupport (= 2.3.14)
+ activesupport (2.3.14)
+ acts_as_list (0.1.4)
+ acts_as_tree (0.1.1)
+ bluecloth (2.1.0)
+ chunky_png (1.2.6)
+ cocaine (0.3.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.3.3)
+ compass (0.12.2)
+ chunky_png (~> 1.2)
+ fssm (>= 0.2.7)
+ sass (~> 3.1)
+ compass-rails (1.0.3)
+ compass (>= 0.12.2, < 0.14)
+ delocalize (0.2.6)
+ execjs (1.4.0)
+ multi_json (~> 1.0)
+ fssm (0.2.9)
+ haml (3.1.7)
+ highline (1.6.14)
+ json (1.7.5)
+ mime-types (1.19)
+ multi_json (1.3.6)
+ paperclip (2.6.0)
+ activerecord (>= 2.3.0)
+ activesupport (>= 2.3.2)
+ cocaine (>= 0.0.2)
+ mime-types
+ rack (1.1.3)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ radiant (1.1.0)
+ RedCloth (~> 4.2.0)
+ acts_as_tree (~> 0.1.1)
+ bundler (>= 1.0.0)
+ compass (~> 0.12.2)
+ compass-rails (~> 1.0.3)
+ delocalize (~> 0.2.3)
+ haml (~> 3.1.1)
+ highline (~> 1.6.10)
+ rack (~> 1.1.1)
+ rack-cache (~> 1.2.0)
+ radius (~> 0.7.3)
+ rails (~> 2.3.14)
+ rake (>= 0.8.7)
+ rdoc (>= 3.9.2)
+ stringex (~> 1.3.0)
+ tzinfo (~> 0.3.31)
+ will_paginate (~> 2.3.11)
+ radiant-archive-extension (1.0.7)
+ radiant-clipped-extension (1.1.0)
+ acts_as_list (= 0.1.4)
+ paperclip (~> 2.6.0)
+ uuidtools (~> 2.1.2)
+ radiant-debug-extension (1.0.2)
+ radiant-exporter-extension (1.1.0)
+ radiant-markdown_filter-extension (1.0.2)
+ bluecloth (~> 2.1.0)
+ radiant-sheets-extension (1.1.0)
+ coffee-script (~> 2.2.0)
+ sass (~> 3.2.1)
+ radiant-site_templates-extension (1.0.5)
+ radiant-smarty_pants_filter-extension (1.0.2)
+ rubypants (~> 0.2.0)
+ radiant-snippets-extension (1.1.0)
+ radiant-textile_filter-extension (1.0.4)
+ RedCloth (~> 4.2.0)
+ radius (0.7.3)
+ rails (2.3.14)
+ actionmailer (= 2.3.14)
+ actionpack (= 2.3.14)
+ activerecord (= 2.3.14)
+ activeresource (= 2.3.14)
+ activesupport (= 2.3.14)
+ rake (>= 0.8.3)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rubypants (0.2.0)
+ sass (3.2.1)
+ sqlite3 (1.3.6)
+ stringex (1.3.3)
+ tzinfo (0.3.33)
+ uuidtools (2.1.3)
+ will_paginate (2.3.16)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ compass-rails (~> 1.0.3)
+ radiant (~> 1.1.0.rc1)
+ radiant-archive-extension (~> 1.0.7)
+ radiant-clipped-extension (~> 1.1.0)
+ radiant-debug-extension (~> 1.0.2)
+ radiant-exporter-extension (~> 1.1.0)
+ radiant-markdown_filter-extension (~> 1.0.2)
+ radiant-sheets-extension (~> 1.1.0.alpha)
+ radiant-site_templates-extension (~> 1.0.4)
+ radiant-smarty_pants_filter-extension (~> 1.0.2)
+ radiant-snippets-extension (~> 1.1.0.alpha)
+ radiant-textile_filter-extension (~> 1.0.4)
+ sqlite3 (~> 1.3.5)
10 INSTALL.md
@@ -0,0 +1,10 @@
+# Installation and Setup
+
+From within the directory containing your Radiant instance:
+
+1. Decide which database you want to use. SQLite is configured by default and
+ the easiest way to get started. If you want to use another database:
+ - Enable your preferred database adapter in the Gemfile
+ - Run `bundle update`
+
+2. Run `bundle exec rake production db:bootstrap` to initialize the database
21 LICENSE.md
@@ -0,0 +1,21 @@
+# MIT License
+
+Copyright (c) 2006-2009, John W. Long and Sean D. Cribbs.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
84 README.md
@@ -0,0 +1,84 @@
+## Welcome to Radiant
+
+Radiant is a no-fluff, open source content management system designed for
+small teams. It is similar to Textpattern or MovableType, but is a general
+purpose content management system (not just a blogging engine).
+
+[![Build Status](https://secure.travis-ci.org/radiant/radiant.png?branch=master)](http://travis-ci.org/radiant/radiant)
+
+Radiant features:
+
+* An elegant user interface
+* The ability to arrange pages in a hierarchy
+* Flexible templating with layouts, snippets, page parts, and a custom tagging
+ language (Radius: http://radius.rubyforge.org)
+* A simple user management/permissions system
+* Support for Markdown and Textile as well as traditional HTML (it's easy to
+ create other filters)
+* An advanced plugin system
+* Operates in two modes: dev and production depending on the URL
+* A caching system which expires pages every 5 minutes
+* Built using Ruby on Rails
+* And much more...
+
+## License
+
+Radiant is released under the MIT license and is copyright (c) 2006-2009
+John W. Long and Sean Cribbs. A copy of the MIT license can be found in the
+LICENSE file.
+
+## Installation and Setup
+
+Radiant is a traditional Ruby on Rails application, meaning that you can
+configure and run it the way you would a normal Rails application.
+
+See the INSTALL file for more details.
+
+### Installation of a Prerelease
+
+As Radiant nears newer releases, you can experiment with any prerelease version.
+
+Install the prerelease gem with the following command:
+
+ $ gem install radiant --prerelease
+
+This will install the gem with the prerelease name, for example: ‘radiant-0.9.0.rc2’.
+
+### Upgrading an Existing Project to a newer version
+
+1. Update the Radiant assets from in your project:
+
+ $ rake radiant:update
+
+2. Migrate the database:
+
+ $ rake production db:migrate
+
+3. Restart the web server
+
+## Development Requirements
+
+To run tests you will need to have the following gems installed:
+
+ gem install ZenTest rspec rspec-rails cucumber webrat nokogiri sqlite3-ruby
+
+## Support
+
+The best place to get support is on the mailing list:
+
+http://radiantcms.org/mailing-list/
+
+Most of the development for Radiant happens on Github:
+
+http://github.com/radiant/radiant/
+
+The project wiki is here:
+
+http://wiki.github.com/radiant/radiant/
+
+
+Enjoy!
+
+--
+The Radiant Dev Team
+http://radiantcms.org
3  Rakefile
@@ -0,0 +1,3 @@
+require File.join(File.dirname(__FILE__), 'config', 'boot')
+
+import File.join(RADIANT_ROOT, 'Rakefile')
2  config.ru
@@ -0,0 +1,2 @@
+require File.dirname(__FILE__) + '/config/environment'
+run ActionController::Dispatcher.new
122 config/boot.rb
@@ -0,0 +1,122 @@
+# Don't change this file!
+# Configure your app in config/environment.rb and config/environments/*.rb
+
+RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
+RAILS_ENV = (ENV['RAILS_ENV'] || 'development').dup unless defined?(RAILS_ENV)
+
+module Rails
+ class << self
+ def vendor_rails?
+ File.exist?("#{RAILS_ROOT}/vendor/rails")
+ end
+ end
+end
+
+module Radiant
+ class << self
+ def boot!
+ unless booted?
+ preinitialize
+ pick_boot.run
+ end
+ end
+
+ def booted?
+ defined? Radiant::Initializer
+ end
+
+ def pick_boot
+ case
+ when app?
+ AppBoot.new
+ when vendor?
+ VendorBoot.new
+ else
+ GemBoot.new
+ end
+ end
+
+ def vendor?
+ File.exist?("#{RAILS_ROOT}/vendor/radiant")
+ end
+
+ def app?
+ File.exist?("#{RAILS_ROOT}/lib/radiant.rb")
+ end
+
+ def preinitialize
+ load(preinitializer_path) if File.exist?(preinitializer_path)
+ end
+
+ def loaded_via_gem?
+ pick_boot.is_a? GemBoot
+ end
+
+ def preinitializer_path
+ "#{RAILS_ROOT}/config/preinitializer.rb"
+ end
+ end
+
+ class Boot
+ def run
+ load_mutex
+ load_initializer
+ end
+
+ # RubyGems from version 1.6 does not require thread but Rails depend on it
+ # This should newer rails do automaticly
+ def load_mutex
+ begin
+ require "thread" unless defined?(Mutex)
+ rescue LoadError => e
+ $stderr.puts %(Mutex could not be initialized. #{load_error_message})
+ exit 1
+ end
+ end
+
+ def load_initializer
+ begin
+ require 'radiant'
+ require 'radiant/initializer'
+ rescue LoadError => e
+ $stderr.puts %(Radiant could not be initialized. #{load_error_message})
+ exit 1
+ end
+ Radiant::Initializer.run(:set_load_path)
+ Radiant::Initializer.run(:install_gem_spec_stubs)
+ Rails::GemDependency.add_frozen_gem_path
+ end
+ end
+
+ class VendorBoot < Boot
+ def load_initializer
+ $LOAD_PATH.unshift "#{RAILS_ROOT}/vendor/radiant/lib"
+ super
+ end
+
+ def load_error_message
+ "Please verify that vendor/radiant contains a complete copy of the Radiant sources."
+ end
+ end
+
+ class AppBoot < Boot
+ def load_initializer
+ $LOAD_PATH.unshift "#{RAILS_ROOT}/lib"
+ super
+ end
+
+ def load_error_message
+ "Please verify that you have a complete copy of the Radiant sources."
+ end
+ end
+
+ class GemBoot < Boot
+ # The location and version of the radiant gem should be set in your Gemfile
+ def load_error_message
+ "Have you run `bundle install`?'."
+ end
+ end
+end
+
+# All that for this:
+Radiant.boot!
7 config/cucumber.yml
@@ -0,0 +1,7 @@
+<%
+rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
+rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
+std_opts = "#{rerun_opts} --format rerun --out rerun.txt --strict --require features --tags ~@wip"
+%>
+default: <%= std_opts %>
+wip: --tags @wip:3 --wip features
16 config/database.yml
@@ -0,0 +1,16 @@
+# SQLite version 3.x
+# gem install sqlite3-ruby
+development:
+ adapter: sqlite3
+ database: db/development.sqlite3.db
+
+# Warning: The database defined as 'test' will be erased and
+# re-generated from your development database when you run 'rake'.
+# Do not set this db to the same as development or production.
+test:
+ adapter: sqlite3
+ database: db/test.sqlite3.db
+
+production:
+ adapter: sqlite3
+ database: db/production.sqlite3.db
83 config/environment.rb
@@ -0,0 +1,83 @@
+# Be sure to restart your server when you modify this file
+
+# Uncomment below to force Rails into production mode when
+# you don't control web/app server and can't set it the proper way
+# ENV['RAILS_ENV'] ||= 'production'
+
+# Specifies gem version of Rails to use when vendor/rails is not present
+require File.join(File.dirname(__FILE__), 'boot')
+
+require 'radius'
+
+YAML::ENGINE.yamler = 'syck' if RUBY_VERSION =~ /1.9/
+
+Radiant::Initializer.run do |config|
+ # Skip frameworks you're not going to use (only works if using vendor/rails).
+ # To use Rails without a database, you must remove the Active Record framework
+ # config.frameworks -= [ :action_mailer ]
+
+ # Only load the extensions named here, in the order given. By default all
+ # extensions in vendor/extensions are loaded, in alphabetical order. :all
+ # can be used as a placeholder for all extensions not explicitly named.
+ # config.extensions = [ :all ]
+
+ # Unload the extensions named here.
+ # config.ignore_extensions []
+
+ # Your secret key for verifying cookie session data integrity.
+ # If you change this key, all old sessions will become invalid!
+ # Make sure the secret is at least 30 characters and all random,
+ # no regular words or you'll be exposed to dictionary attacks.
+ config.action_controller.session = {
+ :key => '_radiant_session',
+ :secret => '9cf555a8b7e19f59a6a69169478874105fe67d81'
+ }
+
+ # Comment out this line if you want to turn off all caching, or
+ # add options to modify the behavior. In the majority of deployment
+ # scenarios it is desirable to leave Radiant's cache enabled and in
+ # the default configuration.
+ #
+ # Additional options:
+ # :use_x_sendfile => true
+ # Turns on X-Sendfile support for Apache with mod_xsendfile or lighttpd.
+ # :use_x_accel_redirect => '/some/virtual/path'
+ # Turns on X-Accel-Redirect support for nginx. You have to provide
+ # a path that corresponds to a virtual location in your webserver
+ # configuration.
+ # :entitystore => "radiant:tmp/cache/entity"
+ # Sets the entity store type (preceding the colon) and storage
+ # location (following the colon, relative to Rails.root).
+ # We recommend you use radiant: since this will enable manual expiration.
+ # :metastore => "radiant:tmp/cache/meta"
+ # Sets the meta store type and storage location. We recommend you use
+ # radiant: since this will enable manual expiration and acceleration headers.
+ config.middleware.use ::Radiant::Cache
+
+ # Use the database for sessions instead of the cookie-based default,
+ # which shouldn't be used to store highly confidential information
+ # (create the session table with 'rake db:sessions:create')
+ config.action_controller.session_store = :cookie_store
+
+ # Activate observers that should always be running
+ config.active_record.observers = :user_action_observer
+
+ # Make Active Record use UTC-base instead of local time
+ config.time_zone = 'UTC'
+
+ # Set the default field error proc
+ config.action_view.field_error_proc = Proc.new do |html, instance|
+ if html !~ /label/
+ %{<span class="error-with-field">#{html} <span class="error">#{[instance.error_message].flatten.first}</span></span>}
+ else
+ html
+ end
+ end
+
+ config.after_initialize do
+ # Add new inflection rules using the following format:
+ ActiveSupport::Inflector.inflections do |inflect|
+ inflect.uncountable 'config'
+ end
+ end
+end
22 config/environments/cucumber.rb
@@ -0,0 +1,22 @@
+# Edit at your own peril - it's recommended to regenerate this file
+# in the future when you upgrade to a newer version of Cucumber.
+
+# IMPORTANT: Setting config.cache_classes to false is known to
+# break Cucumber's use_transactional_fixtures method.
+# For more information see https://rspec.lighthouseapp.com/projects/16211/tickets/165
+config.cache_classes = true
+
+# Log error messages when you accidentally call methods on nil.
+config.whiny_nils = true
+
+# Show full error reports and disable caching
+config.action_controller.consider_all_requests_local = true
+config.action_controller.perform_caching = false
+
+# Disable request forgery protection in test environment
+config.action_controller.allow_forgery_protection = false
+
+# Tell Action Mailer not to deliver emails to the real world.
+# The :test delivery method accumulates sent emails in the
+# ActionMailer::Base.deliveries array.
+config.action_mailer.delivery_method = :test
17 config/environments/development.rb
@@ -0,0 +1,17 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# In the development environment your application's code is reloaded on
+# every request. This slows down response time but is perfect for development
+# since you don't have to restart the webserver when you make code changes.
+config.cache_classes = false
+
+# Log error messages when you accidentally call methods on nil.
+config.whiny_nils = true
+
+# Show full error reports and caching is turned off
+config.action_controller.consider_all_requests_local = true
+config.action_view.debug_rjs = true
+config.action_controller.perform_caching = false
+
+# Don't care if the mailer can't send
+config.action_mailer.raise_delivery_errors = false
24 config/environments/production.rb
@@ -0,0 +1,24 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# The production environment is meant for finished, "live" apps.
+# Code is not reloaded between requests
+config.cache_classes = true
+
+# Use a different logger for distributed setups
+# config.logger = SyslogLogger.new
+
+
+# Full error reports are disabled and caching is on
+config.action_controller.consider_all_requests_local = false
+config.action_controller.perform_caching = true
+
+# Enable serving of images, stylesheets, and javascripts from an asset server
+# config.action_controller.asset_host = "http://assets.example.com"
+
+# Disable delivery errors if you bad email addresses should just be ignored
+# config.action_mailer.raise_delivery_errors = false
+
+# Cache your content for a longer time, the default is 5.minutes
+# config.after_initialize do
+# SiteController.cache_timeout = 12.hours
+# end
32 config/environments/test.rb
@@ -0,0 +1,32 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# The test environment is used exclusively to run your application's
+# test suite. You never need to work with it otherwise. Remember that
+# your test database is "scratch space" for the test suite and is wiped
+# and recreated between test runs. Don't rely on the data there!
+config.cache_classes = true
+
+# ensure test extensions are loaded
+# test_extension_dir = File.join(File.expand_path(RADIANT_ROOT), 'test', 'fixtures', 'extensions')
+# config.extension_paths.unshift test_extension_dir
+# config.extension_paths.uniq!
+# if !config.extensions.include?(:all)
+# config.extensions.concat(Dir["#{test_extension_dir}/*"].sort.map {|x| File.basename(x).sub(/^\d+_/,'')})
+# config.extensions.uniq!
+# end
+
+# Log error messages when you accidentally call methods on nil.
+config.whiny_nils = true
+
+# Show full error reports and disable caching
+config.action_controller.consider_all_requests_local = true
+config.action_controller.perform_caching = false
+
+# Disable request forgery protection in test environment
+config.action_controller.allow_forgery_protection = false
+
+# Tell ActionMailer not to deliver emails to the real world.
+# The :test delivery method accumulates sent emails in the
+# ActionMailer::Base.deliveries array.
+config.action_mailer.delivery_method = :test
+
16 config/initializers/radiant_config.rb
@@ -0,0 +1,16 @@
+Radiant.config do |config|
+ # this file can be used to set defaults, options and validation rules for local configuration settings.
+ # core settings are defined in RADIANT_ROOT/config/initializers/radiant_config.rb and by the corresponding
+ # file in each radiant extension. You probably don't need to add anything here, but in case you do:
+
+ # config.define 'site.show_footer?', :default => "true"
+ # config.define 'S3.bucket', :default => "key", :allow_change => false
+
+ # you can also use this file to set config values (by environment, for example):
+
+ # if RAILS_ENV == 'production'
+ # config['cache.duration'] = 86400
+ # else
+ # config['cache.duration'] = 0
+ # end
+end
18 config/preinitializer.rb
@@ -0,0 +1,18 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+# Lessens Debians need to edit.
+require "rubygems" rescue nil
+
+# Since Bundler is not really a 'must have' for Rails development just send off
+# a warning and see if the sytem continues to load, the user can optionally use
+# RADIANT_NOWARNINGS to disable it.
+
+if File.file?(ENV['BUNDLE_GEMFILE'])
+ begin
+ require 'bundler/setup'
+ rescue LoadError
+ unless ENV['RADIANT_NOWARNINGS'] == true
+ $stderr.puts 'WARNING: It seems you do not have Bundler installed.'
+ $stderr.puts 'WARNING: You can install it by doing `gem install bundler`'
+ end
+ end
+end
1  config/routes.rb
@@ -0,0 +1 @@
+load File.join(RADIANT_ROOT, "config", "routes.rb")
142 db/schema.rb
@@ -0,0 +1,142 @@
+# This file is auto-generated from the current state of the database. Instead of editing this file,
+# please use the migrations feature of Active Record to incrementally modify your database, and
+# then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your database schema. If you need
+# to create the application database on another system, you should be using db:schema:load, not running
+# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended to check this file into your version control system.
+
+ActiveRecord::Schema.define(:version => 20120209231801) do
+
+ create_table "assets", :force => true do |t|
+ t.string "caption"
+ t.string "title"
+ t.string "asset_file_name"
+ t.string "asset_content_type"
+ t.integer "asset_file_size"
+ t.integer "created_by_id"
+ t.integer "updated_by_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.string "uuid"
+ t.integer "original_width"
+ t.integer "original_height"
+ t.string "original_extension"
+ end
+
+ create_table "config", :force => true do |t|
+ t.string "key", :limit => 40, :default => "", :null => false
+ t.string "value", :default => ""
+ end
+
+ add_index "config", ["key"], :name => "key", :unique => true
+
+ create_table "extension_meta", :force => true do |t|
+ t.string "name"
+ t.integer "schema_version", :default => 0
+ t.boolean "enabled", :default => true
+ end
+
+ create_table "layouts", :force => true do |t|
+ t.string "name", :limit => 100
+ t.text "content"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.integer "created_by_id"
+ t.integer "updated_by_id"
+ t.string "content_type", :limit => 40
+ t.integer "lock_version", :default => 0
+ end
+
+ create_table "page_attachments", :force => true do |t|
+ t.integer "asset_id"
+ t.integer "page_id"
+ t.integer "position"
+ end
+
+ create_table "page_fields", :force => true do |t|
+ t.integer "page_id"
+ t.string "name"
+ t.string "content"
+ end
+
+ add_index "page_fields", ["page_id", "name", "content"], :name => "index_page_fields_on_page_id_and_name_and_content"
+
+ create_table "page_parts", :force => true do |t|
+ t.string "name", :limit => 100
+ t.string "filter_id", :limit => 25
+ t.text "content"
+ t.integer "page_id"
+ end
+
+ add_index "page_parts", ["page_id", "name"], :name => "parts_by_page"
+
+ create_table "pages", :force => true do |t|
+ t.string "title"
+ t.string "slug", :limit => 100
+ t.string "breadcrumb", :limit => 160
+ t.string "class_name", :limit => 25
+ t.integer "status_id", :default => 1, :null => false
+ t.integer "parent_id"
+ t.integer "layout_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.datetime "published_at"
+ t.integer "created_by_id"
+ t.integer "updated_by_id"
+ t.boolean "virtual", :default => false, :null => false
+ t.integer "lock_version", :default => 0
+ t.text "allowed_children_cache", :limit => 1500, :default => ""
+ end
+
+ add_index "pages", ["class_name"], :name => "altered_pages_class_name"
+ add_index "pages", ["parent_id"], :name => "altered_pages_parent_id"
+ add_index "pages", ["slug", "parent_id"], :name => "altered_pages_child_slug"
+ add_index "pages", ["virtual", "status_id"], :name => "altered_pages_published"
+
+ create_table "sessions", :force => true do |t|
+ t.string "session_id"
+ t.text "data"
+ t.datetime "updated_at"
+ end
+
+ add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id"
+ add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at"
+
+ create_table "snippets", :force => true do |t|
+ t.string "name", :limit => 100, :default => "", :null => false
+ t.string "filter_id", :limit => 25
+ t.text "content"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.integer "created_by_id"
+ t.integer "updated_by_id"
+ t.integer "lock_version", :default => 0
+ end
+
+ add_index "snippets", ["name"], :name => "name", :unique => true
+
+ create_table "users", :force => true do |t|
+ t.string "name", :limit => 100
+ t.string "email"
+ t.string "login", :limit => 40, :default => "", :null => false
+ t.string "password", :limit => 40
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.integer "created_by_id"
+ t.integer "updated_by_id"
+ t.boolean "admin", :default => false, :null => false
+ t.boolean "designer", :default => false, :null => false
+ t.text "notes"
+ t.integer "lock_version", :default => 0
+ t.string "salt"
+ t.string "session_token"
+ t.string "locale"
+ end
+
+ add_index "users", ["login"], :name => "login", :unique => true
+
+end
4 script/about
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../config/boot', __FILE__)
+$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
+require 'commands/about'
5 script/autospec
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+ENV['RSPEC'] = 'true' # allows autotest to discover rspec
+ENV['AUTOTEST'] = 'true' # allows autotest to run w/ color on linux
+system((RUBY_PLATFORM =~ /mswin|mingw/ ? 'autotest.bat' : 'autotest'), *ARGV) ||
+ $stderr.puts("Unable to find autotest. Please install ZenTest or fix your PATH")
3  script/breakpointer
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/breakpointer'
3  script/console
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../config/boot', __FILE__)
+require 'commands/console'
10 script/cucumber
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
+if vendored_cucumber_bin
+ load File.expand_path(vendored_cucumber_bin)
+else
+ require 'rubygems' unless ENV['NO_RUBYGEMS']
+ require 'cucumber'
+ load Cucumber::BINARY
+end
3  script/dbconsole
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../config/boot', __FILE__)
+require 'commands/dbconsole'
5 script/extension
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../config/boot', __FILE__)
+require 'radiant/extension/script'
+
+Radiant::Extension::Script.execute ARGV
6 script/generate
@@ -0,0 +1,6 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../config/boot', __FILE__)
+require 'generators/generator_base_extension'
+
+Rails::Generator::Base.prepend_sources(Rails::Generator::PathSource.new(:builtin, "#{Radiant.root}/lib/generators"))
+require 'commands/generate'
3  script/performance/benchmarker
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../../config/boot', __FILE__)
+require 'commands/performance/benchmarker'
3  script/performance/profiler
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../../config/boot', __FILE__)
+require 'commands/performance/profiler'
3  script/performance/request
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/performance/request'
3  script/process/inspector
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/inspector'
3  script/process/reaper
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/reaper'
3  script/process/spawner
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/spawner'
3  script/process/spinner
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/spinner'
3  script/runner
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../config/boot', __FILE__)
+require 'commands/runner'
3  script/server
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../config/boot', __FILE__)
+require 'commands/server'
5 script/spec
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../vendor/plugins/rspec/lib"))
+require 'rubygems'
+require 'spec'
+exit ::Spec::Runner::CommandLine.run(::Spec::Runner::OptionParser.parse(ARGV, STDERR, STDOUT))
116 script/spec_server
@@ -0,0 +1,116 @@
+#!/usr/bin/env ruby
+$LOAD_PATH.unshift File.dirname(__FILE__) + '/../vendor/plugins/rspec/lib' # For rspec installed as plugin
+require 'rubygems'
+require 'drb/drb'
+require 'rbconfig'
+require 'spec'
+require 'optparse'
+
+# This is based on Florian Weber's TDDMate
+module Spec
+ module Runner
+ class RailsSpecServer
+ def run(argv, stderr, stdout)
+ $stdout = stdout
+ $stderr = stderr
+
+ base = ActiveRecord::Base
+ def base.clear_reloadable_connections!
+ active_connections.each do |name, conn|
+ if conn.requires_reloading?
+ conn.disconnect!
+ active_connections.delete(name)
+ end
+ end
+ end
+
+ if ActionController.const_defined?(:Dispatcher)
+ dispatcher = ::ActionController::Dispatcher.new($stdout)
+ dispatcher.cleanup_application
+ elsif ::Dispatcher.respond_to?(:reset_application!)
+ ::Dispatcher.reset_application!
+ else
+ raise "Application reloading failed"
+ end
+ if Object.const_defined?(:Fixtures) && Fixtures.respond_to?(:reset_cache)
+ Fixtures.reset_cache
+ end
+
+ ::Dependencies.mechanism = :load
+ require_dependency('application.rb') unless Object.const_defined?(:ApplicationController)
+ load File.dirname(__FILE__) + '/../spec/spec_helper.rb'
+
+ if in_memory_database?
+ load "#{RAILS_ROOT}/db/schema.rb" # use db agnostic schema by default
+ ActiveRecord::Migrator.up('db/migrate') # use migrations
+ end
+
+ ::Spec::Runner::CommandLine.run(
+ ::Spec::Runner::OptionParser.parse(
+ argv,
+ $stderr,
+ $stdout
+ )
+ )
+ end
+
+ def in_memory_database?
+ ENV["RAILS_ENV"] == "test" and
+ ::ActiveRecord::Base.connection.class.to_s == "ActiveRecord::ConnectionAdapters::SQLite3Adapter" and
+ ::Rails::Configuration.new.database_configuration['test']['database'] == ':memory:'
+ end
+ end
+ end
+end
+puts "Loading Rails environment"
+
+ENV["RAILS_ENV"] = "test"
+require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
+require 'dispatcher'
+
+def restart_test_server
+ puts "restarting"
+ config = ::Config::CONFIG
+ ruby = File::join(config['bindir'], config['ruby_install_name']) + config['EXEEXT']
+ command_line = [ruby, $0, ARGV].flatten.join(' ')
+ exec(command_line)
+end
+
+def daemonize(pid_file = nil)
+ return yield if $DEBUG
+ pid = Process.fork{
+ Process.setsid
+ Dir.chdir(RAILS_ROOT)
+ trap("SIGINT"){ exit! 0 }
+ trap("SIGTERM"){ exit! 0 }
+ trap("SIGHUP"){ restart_test_server }
+ File.open("/dev/null"){|f|
+ STDERR.reopen f
+ STDIN.reopen f
+ STDOUT.reopen f
+ }
+ yield
+ }
+ puts "spec_server launched. (PID: %d)" % pid
+ File.open(pid_file,"w"){|f| f.puts pid } if pid_file
+ exit! 0
+end
+
+options = Hash.new
+opts = OptionParser.new
+opts.on("-d", "--daemon"){|v| options[:daemon] = true }
+opts.on("-p", "--pid PIDFILE"){|v| options[:pid] = v }
+opts.parse!(ARGV)
+
+puts "Ready"
+exec_server = lambda {
+ trap("USR2") { restart_test_server } if Signal.list.has_key?("USR2")
+ DRb.start_service("druby://127.0.0.1:8989", Spec::Runner::RailsSpecServer.new)
+ DRb.thread.join
+}
+
+if options[:daemon]
+ daemonize(options[:pid], &exec_server)
+else
+ exec_server.call
+end
5 script/version
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require "#{RADIANT_ROOT}/lib/radiant"
+
+puts "Radiant #{Radiant::Version}"
Please sign in to comment.
Something went wrong with that request. Please try again.