Changesets can be listed by changeset number.
The Git repository is here.
Changeset 381
Radiant is now packaged as a Gem - see Changeset #373, Changeset #374,
Changeset #375, Changeset #376, Changeset #377, Changeset #378,
Changeset #379 and Changeset #380. The application part of Radiant is
now mostly empty; it exists to provide a structure which hooks into the
gem and which provides a framework for extensions. Included in this big
changeset are all the deletions, additions and changes needed to go from
the old ROOL customised Radiant to a new ROOL customised Radiant, which
includes several custom extensions adapted from the old Radiant
modifications and requires Radiant 0.9.1 to be installed as a gem.
- Comitted by: rool
- Date: Monday March 21 14:01:18 2011 (over 13 years ago)
Affected files:
- rool/rails/radiant/trunk/public/images/add-child.png
- rool/rails/radiant/trunk/config/initializers/
- rool/rails/radiant/trunk/public/images/admin/
- rool/rails/radiant/trunk/public/javascripts/admin/
- rool/rails/radiant/trunk/public/stylesheets/admin/
- rool/rails/radiant/trunk/public/stylesheets/sass/
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/modules/
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/
- rool/rails/radiant/trunk/tmp/
- rool/rails/radiant/trunk/vendor/extensions/
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/config/
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/config/locales/
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/lib/
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/lib/tasks/
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/config/
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/config/locales/
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/lib/
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/lib/tasks/
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/config/
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/config/locales/
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/lib/
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/lib/tasks/
- rool/rails/radiant/trunk/vendor/extensions/news/
- rool/rails/radiant/trunk/vendor/extensions/news/app/
- rool/rails/radiant/trunk/vendor/extensions/news/app/models/
- rool/rails/radiant/trunk/vendor/extensions/news_tag/
- rool/rails/radiant/trunk/vendor/extensions/news_tag/config/
- rool/rails/radiant/trunk/vendor/extensions/news_tag/config/locales/
- rool/rails/radiant/trunk/vendor/extensions/news_tag/lib/
- rool/rails/radiant/trunk/vendor/extensions/news_tag/lib/tasks/
- rool/rails/radiant/trunk/INSTALL
- rool/rails/radiant/trunk/config/environments/cucumber.rb
- rool/rails/radiant/trunk/config/initializers/haml.rb
- rool/rails/radiant/trunk/public/images/admin/add_tab.png
- rool/rails/radiant/trunk/public/images/admin/avatar_32x32.png
- rool/rails/radiant/trunk/public/images/admin/avatar_96x96.png
- rool/rails/radiant/trunk/public/images/admin/brown_bottom_line.gif
- rool/rails/radiant/trunk/public/images/admin/buttons_background.png
- rool/rails/radiant/trunk/public/images/admin/calendar_down.gif
- rool/rails/radiant/trunk/public/images/admin/collapse.png
- rool/rails/radiant/trunk/public/images/admin/draft_page.png
- rool/rails/radiant/trunk/public/images/admin/expand.png
- rool/rails/radiant/trunk/public/images/admin/layout.png
- rool/rails/radiant/trunk/public/images/admin/login_shadow.png
- rool/rails/radiant/trunk/public/images/admin/metadata_toggle.png
- rool/rails/radiant/trunk/public/images/admin/minus.png
- rool/rails/radiant/trunk/public/images/admin/minus_disabled.png
- rool/rails/radiant/trunk/public/images/admin/minus_grey.png
- rool/rails/radiant/trunk/public/images/admin/navigation_background.gif
- rool/rails/radiant/trunk/public/images/admin/navigation_secondary_background.png
- rool/rails/radiant/trunk/public/images/admin/navigation_secondary_separator.gif
- rool/rails/radiant/trunk/public/images/admin/navigation_shadow.png
- rool/rails/radiant/trunk/public/images/admin/navigation_tabs.png
- rool/rails/radiant/trunk/public/images/admin/new_homepage.png
- rool/rails/radiant/trunk/public/images/admin/new_layout.png
- rool/rails/radiant/trunk/public/images/admin/new_snippet.png
- rool/rails/radiant/trunk/public/images/admin/new_user.png
- rool/rails/radiant/trunk/public/images/admin/page.png
- rool/rails/radiant/trunk/public/images/admin/plus.png
- rool/rails/radiant/trunk/public/images/admin/plus_grey.png
- rool/rails/radiant/trunk/public/images/admin/popup_border_background.png
- rool/rails/radiant/trunk/public/images/admin/popup_border_bottom_left.png
- rool/rails/radiant/trunk/public/images/admin/popup_border_bottom_right.png
- rool/rails/radiant/trunk/public/images/admin/popup_border_top_left.png
- rool/rails/radiant/trunk/public/images/admin/popup_border_top_right.png
- rool/rails/radiant/trunk/public/images/admin/shadow.png
- rool/rails/radiant/trunk/public/images/admin/shadow_grey.png
- rool/rails/radiant/trunk/public/images/admin/single_form_shadow.png
- rool/rails/radiant/trunk/public/images/admin/snippet.png
- rool/rails/radiant/trunk/public/images/admin/spacer.gif
- rool/rails/radiant/trunk/public/images/admin/spinner.gif
- rool/rails/radiant/trunk/public/images/admin/status_background.png
- rool/rails/radiant/trunk/public/images/admin/status_bottom_left.png
- rool/rails/radiant/trunk/public/images/admin/status_bottom_right.png
- rool/rails/radiant/trunk/public/images/admin/status_spinner.gif
- rool/rails/radiant/trunk/public/images/admin/status_top_left.png
- rool/rails/radiant/trunk/public/images/admin/status_top_right.png
- rool/rails/radiant/trunk/public/images/admin/tab_close.png
- rool/rails/radiant/trunk/public/images/admin/vertical_tan_gradient.png
- rool/rails/radiant/trunk/public/images/admin/view_site.png
- rool/rails/radiant/trunk/public/images/admin/virtual_page.png
- rool/rails/radiant/trunk/public/images/radiant-badge-color.png
- rool/rails/radiant/trunk/public/javascripts/admin/application.js
- rool/rails/radiant/trunk/public/javascripts/admin/codearea.js
- rool/rails/radiant/trunk/public/javascripts/admin/controls.js
- rool/rails/radiant/trunk/public/javascripts/admin/cookie.js
- rool/rails/radiant/trunk/public/javascripts/admin/dateinput.js
- rool/rails/radiant/trunk/public/javascripts/admin/dragdrop.js
- rool/rails/radiant/trunk/public/javascripts/admin/effects.js
- rool/rails/radiant/trunk/public/javascripts/admin/lowpro.js
- rool/rails/radiant/trunk/public/javascripts/admin/overrides.js
- rool/rails/radiant/trunk/public/javascripts/admin/pagestatus.js
- rool/rails/radiant/trunk/public/javascripts/admin/popup.js
- rool/rails/radiant/trunk/public/javascripts/admin/prototype.js
- rool/rails/radiant/trunk/public/javascripts/admin/ruledtable.js
- rool/rails/radiant/trunk/public/javascripts/admin/shortcuts.js
- rool/rails/radiant/trunk/public/javascripts/admin/sitemap.js
- rool/rails/radiant/trunk/public/javascripts/admin/status.js
- rool/rails/radiant/trunk/public/javascripts/admin/tabcontrol.js
- rool/rails/radiant/trunk/public/javascripts/admin/toggle.js
- rool/rails/radiant/trunk/public/javascripts/admin/utility.js
- rool/rails/radiant/trunk/public/javascripts/admin/validationerror.js
- rool/rails/radiant/trunk/public/stylesheets/admin/main.css
- rool/rails/radiant/trunk/public/stylesheets/admin/overrides.css
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/main.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/modules/_grid.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/modules/_links.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/modules/_opacity.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/modules/_rounded.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/modules/_shadow.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/overrides.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_actions.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_avatars.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_base.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_content.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_dateinput.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_deprecated.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_footer.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_forms.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_header.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_layout.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_messages.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_popup.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_reset.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_tabcontrol.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_toolbar.sass
- rool/rails/radiant/trunk/public/stylesheets/sass/admin/partials/_validations.sass
- rool/rails/radiant/trunk/script/autospec
- rool/rails/radiant/trunk/script/cucumber
- rool/rails/radiant/trunk/script/dbconsole
- rool/rails/radiant/trunk/script/extension
- rool/rails/radiant/trunk/script/performance/request
- rool/rails/radiant/trunk/script/process/inspector
- rool/rails/radiant/trunk/script/spec
- rool/rails/radiant/trunk/script/spec_server
- rool/rails/radiant/trunk/script/version
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/README
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/Rakefile
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/config/locales/en.yml
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/dir_list_tags_extension.rb
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/lib/dir_list_tags.rb
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/lib/tasks/dir_list_tags_extension_tasks.rake
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/README
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/Rakefile
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/config/locales/en.yml
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/erb.html
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/erb_filter_extension.rb
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/lib/erb_filter.rb
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/lib/erb_tags.rb
- rool/rails/radiant/trunk/vendor/extensions/erb_filter/lib/tasks/erb_filter_extension_tasks.rake
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/README
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/Rakefile
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/config/locales/en.yml
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/hub_tags_extension.rb
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/lib/hub_tags.rb
- rool/rails/radiant/trunk/vendor/extensions/hub_tags/lib/tasks/hub_tags_extension_tasks.rake
- rool/rails/radiant/trunk/vendor/extensions/news/app/models/news_page.rb
- rool/rails/radiant/trunk/vendor/extensions/news/news_extension.rb
- rool/rails/radiant/trunk/vendor/extensions/news_tag/README
- rool/rails/radiant/trunk/vendor/extensions/news_tag/Rakefile
- rool/rails/radiant/trunk/vendor/extensions/news_tag/config/locales/en.yml
- rool/rails/radiant/trunk/vendor/extensions/news_tag/lib/news_tag.rb
- rool/rails/radiant/trunk/vendor/extensions/news_tag/lib/tasks/news_tag_extension_tasks.rake
- rool/rails/radiant/trunk/vendor/extensions/news_tag/news_tag_extension.rb
- rool/rails/radiant/trunk/app/
- rool/rails/radiant/trunk/bin/
- rool/rails/radiant/trunk/cache/
- rool/rails/radiant/trunk/components/
- rool/rails/radiant/trunk/db/migrate/
- rool/rails/radiant/trunk/db/templates/
- rool/rails/radiant/trunk/doc/
- rool/rails/radiant/trunk/lib/
- rool/rails/radiant/trunk/test/
- rool/rails/radiant/trunk/vendor/bluecloth/
- rool/rails/radiant/trunk/vendor/radius/
- rool/rails/radiant/trunk/vendor/redcloth/
- rool/rails/radiant/trunk/config/database.mysql.yml
- rool/rails/radiant/trunk/config/database.postgresql.yml
- rool/rails/radiant/trunk/config/database.sqlite.yml
- rool/rails/radiant/trunk/config/locomotive.yml
- rool/rails/radiant/trunk/db/development_structure.sql
- rool/rails/radiant/trunk/public/images/brown-bottom-line.gif
- rool/rails/radiant/trunk/public/images/clear-page-cache.png
- rool/rails/radiant/trunk/public/images/collapse.png
- rool/rails/radiant/trunk/public/images/expand.png
- rool/rails/radiant/trunk/public/images/minus.png
- rool/rails/radiant/trunk/public/images/new-homepage.png
- rool/rails/radiant/trunk/public/images/new-layout.png
- rool/rails/radiant/trunk/public/images/new-snippet.png
- rool/rails/radiant/trunk/public/images/new-user.png
- rool/rails/radiant/trunk/public/images/page.png
- rool/rails/radiant/trunk/public/images/plus.png
- rool/rails/radiant/trunk/public/images/remove-disabled.png
- rool/rails/radiant/trunk/public/images/remove.png
- rool/rails/radiant/trunk/public/images/snippet.png
- rool/rails/radiant/trunk/public/images/spinner.gif
- rool/rails/radiant/trunk/public/images/view-site.gif
- rool/rails/radiant/trunk/public/images/virtual-page.png
- rool/rails/radiant/trunk/public/javascripts/application.js
- rool/rails/radiant/trunk/public/javascripts/controls.js
- rool/rails/radiant/trunk/public/javascripts/dragdrop.js
- rool/rails/radiant/trunk/public/javascripts/effects.js
- rool/rails/radiant/trunk/public/javascripts/pngfix.js
- rool/rails/radiant/trunk/public/javascripts/prototype.js
- rool/rails/radiant/trunk/public/javascripts/ruledtable.js
- rool/rails/radiant/trunk/public/javascripts/string.js
- rool/rails/radiant/trunk/public/javascripts/tabcontrol.js
- rool/rails/radiant/trunk/public/stylesheets/admin.css
- rool/rails/radiant/trunk/script/destroy
- rool/rails/radiant/trunk/script/plugin
- rool/rails/radiant/trunk/script/setup_database
- rool/rails/radiant/trunk/CHANGELOG (diff)
- rool/rails/radiant/trunk/CONTRIBUTORS (diff)
- rool/rails/radiant/trunk/LICENSE (diff)
- rool/rails/radiant/trunk/README (diff)
- rool/rails/radiant/trunk/Rakefile (diff)
- rool/rails/radiant/trunk/config/boot.rb (diff)
- rool/rails/radiant/trunk/config/database.yml (diff)
- rool/rails/radiant/trunk/config/environment.rb (diff)
- rool/rails/radiant/trunk/config/environments/development.rb (diff)
- rool/rails/radiant/trunk/config/environments/production.rb (diff)
- rool/rails/radiant/trunk/config/environments/test.rb (diff)
- rool/rails/radiant/trunk/config/routes.rb (diff)
- rool/rails/radiant/trunk/db/schema.rb (diff)
- rool/rails/radiant/trunk/public/500.html (diff)
- rool/rails/radiant/trunk/public/dispatch.cgi (diff)
- rool/rails/radiant/trunk/public/dispatch.fcgi (diff)
- rool/rails/radiant/trunk/public/dispatch.rb (diff)
- rool/rails/radiant/trunk/script/generate (diff)
rool/rails/radiant/trunk/CHANGELOG:
prev. | current | |
1 | ||
1 | ||
2 | === Refraction 0.9.1 (June 27, 2010) | |
3 | ||
4 | * Added missing i18n translations for aggregate tages [Jim Gay] | |
5 | * Fixed a bug with status_id PostgreSQL [Jim Gay] | |
6 | ||
7 | === Refraction 0.9.0 (June 25, 2010) | |
8 | ||
9 | * Pull in aggregate tags from the aggregation extension [John Muhl, Sean Cribbs, Jim Gay] | |
10 | * Fixed a bug which could cause the preferences submenu to dissapear [Mario Visic, Jim Gay] | |
11 | * Fixed a bug PostgreSQL for creating pages with nested attributes [Andrew Cates] | |
12 | * Updated to Rails 2.3.8 [Jim Gay] | |
13 | * Added admin and Radius tag pagination [William Ross] | |
14 | * Added will_paginate dependency [William Ross, Jim Gay] | |
15 | * Added <r:gravatar/> radius tag [John Muhl] | |
16 | * Exposed important view locals for partials that hook into the admin UI [Mislav Marohnić] | |
17 | * Update to cucumber-rails 0.3.0 [Jim Gay] | |
18 | * Update to Haml 2.2.24 [Jim Gay] | |
19 | * Allow loading extension routes from the extension's config/routes.rb [Jim Gay] | |
20 | * Cache admin.js in update task [Janne Asmala] | |
21 | * Finally rename User.protected_attributes to unprotected_attributes [Jim Gay] | |
22 | * Support i18n [Keith Bingman, many others] | |
23 | * Only run migrate and update tasks with script/extension if they exist [John Muhl, Jim Gay] | |
24 | * Dropped BlueCloth for kramdown [John Muhl] | |
25 | * Updated sample images for Textile and Markdown [Jim Gay] | |
26 | * Refactored Sass to separate out common styles [Jim Gay] | |
27 | * Upgraded to HAML 2.2.19 [Jim Gay] | |
28 | * Add future publishing feature [Anna Billstrom, Benny Degezelle, Jim Gay] | |
29 | * Fixed support for newer Cucumber version [M. Scott Ford, William Ross] | |
30 | * Fixed a bug in if/unless_content tags [Benny Degezelle] | |
31 | * Support packaging extensions as gems [Josh French] | |
32 | * Add tag reference to Layouts and Snippets [Jim Gay] | |
33 | * Handle deploying to a sub-directory [Jim Gay] | |
34 | * Ensure that generator specs actually test properly [Travis D. Warlick] | |
35 | * Properly display errors on user password changes [Jim Gay] | |
36 | * Prevent admin from removing her own admin privilege [Jim Gay] | |
37 | * Move to Rails 2.3.5 [Jim Gay] | |
38 | * Simplify admin tab API [Jim Gay, John Long, Sean Cribbs] | |
39 | * Turned on HAML's "ugly" whitespace mode in production [John Muhl] | |
40 | * Use HTML 5 doctype. [John Muhl] | |
41 | * Miscellaneous HTML standards improvements [John Muhl] | |
42 | * Fixed bug where pages were being cached in dev mode. This has been a problem since switching to Rack::Cache. [Jason Garber] | |
43 | * Snippets are now only accessible to people with the "Designer" role. [John Long] | |
44 | * Renamed "Developer" role to "Designer". [John Long] | |
45 | * Verify that the cache directory exists before trying to store a response. [Sean Cribbs] | |
46 | * Fix page-part deletion in JS. [Sean Cribbs] | |
47 | * Don't cache extension-defined javascripts, but do cache the defaults. [Sean Cribbs] | |
48 | * Fix dev-site behavior when 'dev.host' is configured. [Chris Ricca] | |
49 | * Concatenate admin javascript files. [John Muhl] | |
50 | * Use more descriptive page titles. [John Muhl] | |
51 | * Allow non-standard controller methods for render_region. [Jim Gay] | |
52 | * Updated to use Radius 0.6.1. [John Long] | |
53 | * Correct type on content-type and move to more/hide language. [John Long] | |
54 | * Add some helpful shortcut keys. [Sean Cribbs] | |
55 | * Implemented "Blade" user-interface. [John Long, Chris Parrish, Daniel Beach, Brandon Mathis, Sean Cribbs, Ben Morrow, John Muhl] | |
56 | ||
57 | === 0.8.2 Lustery (April 27, 2010) | |
58 | ||
59 | * Allow rake tasks to run if a higher version of Cucumber is installed [Jim Gay] | |
60 | ||
61 | === 0.8.1 Luster (September 5, 2009) | |
62 | ||
63 | * Move default cache location to tmp. [Sean Cribbs] | |
64 | * Upgrade Rails and dataset. [Sean Cribbs] | |
65 | * Updated README and INSTALL. [John Long] | |
66 | * Don't use Symbol#to_proc in initializer because ActiveSupport hasn't loaded yet. | |
67 | * Fix links to Textile reference in the wake of _why's disappearance. [Jason Garber] | |
68 | * Correct bug when submitting a POST to a cached page. [Sean Cribbs] | |
69 | * Fix typo in generator for features task. [Jim Gay] | |
70 | * Page parts may already be marked for destruction, don't explicitly set false. [Kunal Shah] | |
71 | * Merge latest version of Radius [Kunal Shah] | |
72 | * Helpers for extension_enabled? [Kunal Shah] | |
73 | * Respond to show methods with xml rendering [Jeremy Stephens] | |
74 | * Support DB2 [Antonio Cangiano] | |
75 | * Properly check for existing page parts when creating a new part. [alexmek] | |
76 | * Use the correct variable name so the extension name is part of the output. [John Muhl] | |
77 | * Generate Cucumber support for extensions [Jim Gay] | |
78 | * Require Cucumber version 0.3.9 or greater in cucumber.rake [Jim Gay] | |
79 | * Set generated extensions to require 'application_controller' [Jim Gay] | |
80 | * Add import/export tasks for Radiant::Config [Jim Gay] | |
81 | * Set Radiant::Config to cache info in the Rails.cache [Jim Gay] | |
82 | * Markup fixes [Justin Blecher, Alex Wallace] | |
83 | * Use Rails for time zone handling [Kunal Shah, Josh French] | |
84 | * Allow extensions to declare dependencies [Josh French] | |
85 | * Expose Rails configuration to extensions. [Josh French] | |
86 | * Set template_name for all resourceful action types [Josh French] | |
87 | * Load Metal from Extensions [Jim Gay] | |
88 | ||
89 | === 0.8.0 Asterism (June 14, 2009) | |
90 | ||
91 | * Warn about using the RedCloth 3 fallback. [Sean Cribbs, Jason Garber] | |
92 | * Prevent stty errors on JRuby while running bootstrap. [Sean Cribbs] | |
93 | * Moved template_name to ApplicationController [Jim Gay, Michael Kessler] | |
94 | * Remove vizres plugin. [Sean Cribbs] | |
95 | * Update instance config/environments to remove ResponseCache [Jim Gay] | |
96 | * Remove :order option from <r:children:count />, which causes errors on postgresql. [Sean Cribbs] | |
97 | * Prevent recursion via the <r:content /> tag. [Sean Cribbs] | |
98 | * Update Highline. [Sean Cribbs] | |
99 | * Update Cucumber and RSpec, clean up some features and fix specs. [Sean Cribbs] | |
100 | * Set the protected attributes for users in User.protected_attributes [Jim Gay] | |
101 | * Don't allow a nil ETag in SiteController. [David Cato] | |
102 | * Prevent failed login message from sticking around. [Kunal Shah] | |
103 | * Fix failing test regarding extension order. [Brett McHargue] | |
104 | * Catch ActiveRecord::RecordNotFound in Admin::ResourceController [Jim Gay] | |
105 | * Catch missing template errors for show routes [Jim Gay] | |
106 | * Fix with_error in render_matcher not causing the spec to fail when no exception raised. [Jason Garber] | |
107 | * Make features task run in instance mode. [Sean Cribbs] | |
108 | * Remove Admin::AbstractModelController. [Sean Cribbs] | |
109 | * Cleanup deprecated Gem::manage_gems. [Sean Cribbs] | |
110 | * Add begin...rescue blocks to rspec.rake [Sean Cribbs] | |
111 | * Add begin...rescue blocks for requiring cucumber. [Matt Henry] | |
112 | * Deprecate ResponseCache, add Radiant::Cache based on Rack::Cache. [Sean Cribbs] | |
113 | * Use app name for session cookie. [Josh French] | |
114 | * Upgrade to Rails 2.3.2. [Sean Cribbs, Rick DeNatale, Josh French, Kunal Shah] | |
115 | * Populate config.extensions so extensions can be disabled easily. [Jason Garber] | |
116 | * Convert integration specs to Cucumber stories and update RSpec. [Sean Cribbs] | |
117 | * Use ActionView::PathSet instead of normal arrays for view paths. [Pat Allan] | |
118 | * Don't raise exception on unauthenticated request to /admin/logout. [Josh French] | |
119 | * Reverse view paths order in extension loader. [Sean Cribbs, Brent Kroeker] | |
120 | * Remove obviated Ruby 1.8.7 compatibility patch. [Sean Cribbs] | |
121 | * Adjust StandardTags#relative_url_for for case when relative_url_root is nil. [Sean Cribbs] | |
122 | * Correct rendering error in extensions controller. [Sean Cribbs] | |
123 | * Correct typo in config/boot.rb. [Sean Cribbs] | |
124 | * Major refactoring and simplification of LoginSystem. [Sean Cribbs] | |
125 | * Update Haml to 2.0.7. [Sean Cribbs] | |
126 | * Upgrade to Rails 2.2.2. [Sean Cribbs] | |
127 | * Cleanup the config class a little, add some more documentation. [Sean Cribbs] | |
128 | * Avoid bootstrap errors related to Radiant::Config by checking for table existence. [Sean Cribbs] | |
129 | * Correct status code typo in Admin::ResourceController. [Sean Cribbs] | |
130 | ||
131 | === 0.7.1 Engraving (February 15, 2009) | |
132 | ||
133 | * Properly escape page part contents in the UI. [John Muhl, Sean Cribbs] | |
134 | * Fix tag reference popup and spec out helper better. [Sean Cribbs] | |
135 | ||
136 | === 0.7.0 Intaglio (February 7, 2009) | |
137 | ||
138 | * Add Roasters template. [Paul du Coudray] | |
139 | * Make ResponseCache spec insensitive to key order. [Sean Cribbs] | |
140 | * Adjust <r:children:count /> to use same options as <r:children:each />. [Sean Cribbs] | |
141 | * Allowing for custom labels and other options in save_model_button. [Pat Allan] | |
142 | * Ignoring TextMate project files. [Pat Allan] | |
143 | * Present a more helpful error message when missing a mailer template. [Nikolay Karev] | |
144 | * Use ActiveRecord:Base#[] and ActiveRecord:Base#[]= instead of undocumented read_attribute and write_attribute. [August Lilleas] | |
145 | * Make extension installer use git submodules when appropriate. [Sean Cribbs] | |
146 | * Ease extension updates by proxying deprecated named routes. [Sean Cribbs] | |
147 | * Add support and specs for conditional GETs with ETags. [Sean Cribbs] | |
148 | * Initialize and update submodules when freezing edge. [John Muhl] | |
149 | * Add Nginx support to ResponseCache. [Sean Cribbs] | |
150 | * Changed (some) permissions examples not to use login_system_matcher. [Brandan Lennox] | |
151 | * Remove expensive grep of Rails log in spec. [Rick DeNatale] | |
152 | * Make markdown filter specs be tolerant of RDiscount. [Sean Cribbs] | |
153 | * Be more explicit about vendor libraries, move Textile requirement into core. [Sean Cribbs] | |
154 | * Add <r:children:each:if/unless_first/last> tags. [Rick DeNatale] | |
155 | * Use RDiscount's smart quotes instead of SmartyPants. [John Muhl] | |
156 | * Update extension generator to use new admin REST routing. [Jeroen Janssen] | |
157 | * Update Admin::ResourceController to overcome respond_to weaknesses by choosing HTML format by default. [Sean Cribbs] | |
158 | * Add an IE-specific integration spec. [Jeroen Janssen] | |
159 | * Update dataset, spec_integration, and vizres plugins. [Sean Cribbs] | |
160 | * Make specs and bootstrap work in instance mode. [Sean Cribbs] | |
161 | * Override spec:integration task and rescope some spec task options to RADIANT_ROOT. [Sean Cribbs] | |
162 | * Improve rspec-1.1.12 compatibility. [Sean Cribbs] | |
163 | * Add Ruby 1.8.7 compatibility patch. [Sean Cribbs] | |
164 | * Fix upgrade issue from 0.5.x where class_name is expected to be present. [Sean Cribbs] | |
165 | * Remove unneeded patch. [Sean Cribbs] | |
166 | * Add some inline documentation to resource controller. [Sean Cribbs] | |
167 | * Fix some form problems on pages. [Sean Cribbs] | |
168 | * Fix form on snippets/remove. [Sean Cribbs] | |
169 | * Make sure resourceful responses deeply clone on inheritance. [Sean Cribbs] | |
170 | * Fix broken Ajax children callback. [Sean Cribbs] | |
171 | * Fix broken URL in snippets/remove. [Sean Cribbs] | |
172 | * Correct assume_migrated_upto_version behavior in instance mode. [Sean Cribbs] | |
173 | * Correct missing @@configuration variable in initializer. [John Muhl] | |
174 | * Handle SQL special characters in extension names in migrations. [Erik Ostrom] | |
175 | * Converted extension migrations to use schema_migrations table instead of extension_meta. [Nathaniel Talbott, Sean Cribbs, Rick DeNatale] | |
176 | * Replaced scenarios with dataset. [Nathaniel Talbott, Adam Williams, Rick DeNatale] | |
177 | * Fix RSpec git submodules. [Nathaniel Talbott, Clinton Nixon] | |
178 | * Generate and fix gemspec for GitHub. [Sean Cribbs] | |
179 | * Add support for newer Textile and Markdown libraries, with fallbacks on packaged libraries. [Sean Cribbs, Jason Garber] | |
180 | * Make request parameters available to tags. [Brian Landau] | |
181 | * Add URL method helpers to tags. [Brian Landau] | |
182 | * Add some database indexes. [Yevgeny Smirnoff] | |
183 | * Added notice to install RSpec if a certain database error occurs. [Sytse Sijbrandij] | |
184 | * Refactor LoginSystem to use filter-skipping instead of controller tracking. [Sean Cribbs] | |
185 | * Add generator specs and more generators. [Brian Landau] | |
186 | * Add initial integration specs. [Adam Williams, Mark Imbriaco] | |
187 | * Refactor admin controllers and views toward RESTful principles. [Sean Cribbs, Clinton Nixon, Rick DeNatale] | |
188 | * Remove RSpec from packaged libraries. [Sean Cribbs] | |
189 | * Correct CSS validation errors. [John Muhl] | |
190 | * Add String#to_slug. [Andrew O'Brien] | |
191 | * New page parts should have the default filter_id. [Joe Van Dyk] | |
192 | * Show draft children by default on dev host. [Sean Cribbs] | |
193 | * Correct db:schema:dump error when in instance mode. [Pat Allan, Sean Cribbs] | |
194 | * Simplify set_javascripts_and_stylesheets. [Sean Cribbs] | |
195 | * Cleanup boot.rb and allow generators from user-installed plugins. [Sean Cribbs] | |
196 | * Added regions to user-preferences screen. [Jim Gay] | |
197 | * Apply Rails redirect sanitization patch. [Sean Cribbs] | |
198 | * Updated to Rspec and Rspec-Rails 1.1.8 [Jim Gay] | |
199 | * Added development dependency to INSTALL [Matt Henry] | |
200 | * Added reference to sample database configuration files to INSTALL. [Keith Bennett] | |
201 | * Added ZenTest development dependency to README. [Thomas Ingram] | |
202 | * Remove REXML expansion fix, included in Rails 2.1.1 [Sean Cribbs] | |
203 | * Upgrade to 2.1.1 [Sean Cribbs] | |
204 | * Fixed migrations for Rails 2.1 [Josh French] | |
205 | * Fixed final specs [Jim Gay] | |
206 | * Fixed up some specs for new Rails/RSpec [Josh French] | |
207 | * Updated timezone management [Josh French] | |
208 | * Update to Rails 2.1 [Jim Gay] | |
209 | * Update to RSpec 1.1.4 [Jim Gay] | |
210 | * Make Git extension install method recognize submodules. [Sean Cribbs] | |
211 | * Fix malformed Textile in standard tag descriptions. [Jason Garber] | |
212 | * Update script/extension help output. [Jim Gay] | |
213 | * Allow load_subclasses to work when multiple apps are on the same database. [Jim Gay] | |
214 | * Add REXML expansion fix. [Sean Cribbs] | |
215 | * Fix filter_reference admin helper for filter names that have spaces in them. [Mislav Marohnić] | |
216 | * Make script/extension more friendly, adding help and info commands. [Sean Cribbs] | |
217 | * Added more render regions to layout, snippet, user, and extension views. [Sean Cribbs] | |
218 | * Fixed the radiant:update:scripts to find the proper directory [Jim Gay] | |
219 | * Factor out dev? functionality in StandardTags, allowing other tags to access it. [Sean Cribbs] | |
220 | ||
221 | === 0.6.9 Etch (August 1, 2008) | |
222 | ||
223 | * Make <r:random> accept dynamically generated options. [Jim Gay, Sean Cribbs] | |
224 | * Correctly set default 'inherit' to false on <r:unless_content> [Mark A. Yoon] | |
225 | * Correct authenticity token errors when using cookie session store [Sean Cribbs] | |
226 | * Make script/extension executable. [Sean Cribbs] | |
227 | * Correct bugs in radiant:freeze:edge task. [Sean Cribbs] | |
228 | * Fix strange Page subclass loading errors in development mode. [Sean Cribbs] | |
229 | * Fix typo in if_content description. [Jim Gay] | |
230 | * Correct error in radiant:update:configs task. [Sean Cribbs] | |
231 | ||
232 | === 0.6.8 Incise (July 27, 2008) | |
233 | ||
234 | * Hide page publish date selector unless page.edit.published_date? config is set. [Sean Cribbs] | |
235 | * Add <r:yield /> tag to support snippets that accept blocks. [Andrew Neil] | |
236 | * Fix bug with FileNotFoundPage subclasses and draft status. [Glenn Murray] | |
237 | * Update radiant:freeze:edge task to support BRANCH, TAG, and REVISION. [John Muhl] | |
238 | * Update to Haml 2.0.1. [Jim Gay] | |
239 | * Fix radiant:update:configs task to properly evaluate environment.rb [Sean Cribbs] | |
240 | * Fix page subclass loading issues. [Sean Cribbs] | |
241 | * Add <r:unless_ancestor_or_self> and <r:unless_self> tags. [Tim Gossett] | |
242 | * Add specific installation modes for gzip and bzip2 compression. [Sean Cribbs] | |
243 | * Added extension installation scripts. [Sean Cribbs] | |
244 | * Added find attr to r:if_content and r:unless_content to expand based on finding 'any' or 'all' specified parts [Jim Gay] | |
245 | * Added inherit attr to r:if_content and r:unless_content to search for parts independently in the page tree. [Jim Gay] | |
246 | * Update radiant:freeze:edge task to use git and GitHub. [John Muhl] | |
247 | * Update login page layout from prototype. [Sean Cribbs] | |
248 | * Change order of extension paths to prefer project extensions over Radiant's. [John Muhl] | |
249 | * Switch default session store to cookies [Josh French] | |
250 | * Add remember-me function to login [Josh French] | |
251 | * Allow an inclusive list of parts in r:if_content and r:unless_content [Jim Gay] | |
252 | * Added a defaults.page.filter config setting for setting a default page filter. [Alex Wayne] | |
253 | * Fix Users fixtures for extensions that still use test/unit. [Nick Plante] | |
254 | * Don't search for missing Page subclasses before bootstrap. [Sean Cribbs] | |
255 | * Added tolerance for missing Page class definitions. [Loren Johnson] | |
256 | * Don't require an authenticity token check on the login action. [Sean Cribbs] | |
257 | * Make sure region sets are reloaded when activating extensions in development mode. [Sean Cribbs] | |
258 | * Fix Haml rendering errors. [Thomas Watson Steen] | |
259 | ||
260 | === 0.6.7 Mordant (May 16, 2008) | |
261 | ||
262 | * Integrate shards extension into core. [Sean Cribbs] | |
263 | * Convert all views to Haml. [Sean Cribbs, John Long] | |
264 | * Avoid authenticity check when listing page children. [Sean Cribbs] | |
265 | * Add radiant:extensions:update_all task. [Josh French] | |
266 | * Tweak LoginSystem to allow attempted URL redirection after login and auto-redirect from login URL if logged in. [Josh French] | |
267 | * Add per-user salting to password encryption. [Sean Cribbs] | |
268 | * Address CSRF vulnerabilities in forms. [Sean Cribbs] | |
269 | * Remove clear cache action, always clear cache after saving a page. [Sean Cribbs] | |
270 | ||
271 | === 0.6.6 Chiseled (April 20, 2008) | |
272 | ||
273 | * Make sure extension view paths override Radiant view paths. [Josh French] | |
274 | * Fix problem in framework.rake when public/javascripts/admin doesn't exist. [Sean Cribbs] | |
275 | ||
276 | === 0.6.5 Chisel (April 19, 2008) | |
277 | ||
278 | * Convert StandardTags specs to nested describe blocks. [Sean Cribbs] | |
279 | * Remove test/unit tests - all RSpec now. [Sean Cribbs] | |
280 | * Fix radiant:update:javascripts task. [Sean Cribbs] | |
281 | * Fix problem in test fixtures. [Adam Keyes] | |
282 | * Add <r:meta /> tag and appropriate fields to pages table. [Sean Cribbs] | |
283 | * Move admin-related javascripts to admin/. [Bjørn Arild Mæland] | |
284 | * Add if_self and if_ancestor_or_self tags. [Marty Haught, Sean Cribbs] | |
285 | * Rename created_by and updated_by columns on standard models. [Sean Cribbs] | |
286 | * Fix Dir glob for extension rake tasks. [Sean Cribbs] | |
287 | * Respect view_paths set by plugins in extensions. [xtoddx] | |
288 | * Move extra initialization into after_initialize block. [Sean Cribbs] | |
289 | * Notice area now fades away after 3 seconds. [Andrew O'Brien] | |
290 | * <r:find /> now accepts paths relative to the current page. [Andrew O'Brien] | |
291 | * Update RSpec and RSpec on Rails to r3333. [Josh French] | |
292 | * Add autotest support for Radiant and extensions. [Josh French] | |
293 | * Add pkg/ ignore to git, correct CSS problems with fieldset tables. [Sean Cribbs] | |
294 | * Ignore git files when building gem. [Sean Cribbs] | |
295 | * Fix generated test and spec harnesses, convert core extensions to specs. [Sean Cribbs] | |
296 | * Cover edge case in Page spec. [Sean Cribbs] | |
297 | * Increase coverage of helper, controller, and model specs. [Sean Cribbs] | |
298 | * Correct some view and spec bugs. [Sean Cribbs] | |
299 | * Added specs for view helpers. [Sean Cribbs] | |
300 | * Use TH for fieldset tables and correct error in CSS. [skrat] | |
301 | * Adjust admin links and r:breadcrumbs tag to deal with Rails site prefix. [Sean Cribbs] | |
302 | * Adjust tags to deal with Rails site prefix (relative_url_root). [Sean Cribbs] | |
303 | * Resolve issue with undefined method :view_paths in ActionMailer. [Sean Cribbs] | |
304 | * Fixed incompatibility with RubyGems >= 0.9.5 that broke radiant:freeze:gems rake task. [Michael Klett] | |
305 | * Fixed problem with the list of templates containing duplicates in the db:bootstrap rake task when not running in instance mode. [John Long] | |
306 | * Update Subversion URL so rake radiant:freeze:edge works. [John Long] | |
307 | * Add AVLUX to list of links in Styled Blog template. [John Long] | |
308 | * Fix Ruby 1.8.5 compatibility issue with Dir[]. [Sean Cribbs] | |
309 | * Backup old environment.rb when copying new version. [Sean Cribbs] | |
310 | * Fill out more controller specs. [Sean Cribbs] | |
311 | * Fix Admin::PageController specs. [Sean Cribbs] | |
312 | * Make autotest work. [Matthew Elder] | |
313 | * Clean up cache files before running site_controller spec. [Matthew Elder] | |
314 | * Add r:status tag. [Andrew O'Brien] | |
315 | * Add ability to set publication date manually. [Nick Plante, Sean Cribbs] | |
316 | * Remove blank nodes in r:navigation tag. [ben] | |
317 | * Bubble up parsing exceptions in development mode. [jonleighton] | |
318 | * Fix authorization system for controller inheritance [Josh French] | |
319 | * Add 'nolinks' attribute to breadcrumbs tag. [abstractioneer] | |
320 | * Fix fixtures for RSpec enabled extensions. [andreas] | |
321 | * Generate extensions with RSpec support by default, fix rake and script/spec in instance mode. [Andrew O'Brien] | |
322 | * Support database templates in a Radiant instance. [Benny Degezelle] | |
323 | * Make rake test:extensions work in instance mode. [Daniel Sheppard] | |
324 | * Fix tests failing in instance mode with config.extensions set. [Daniel Sheppard] | |
325 | * Finished converting page_controller_test.rb to page_controller_spec.rb [John Long] | |
326 | * Completed converting user_controller_test.rb to user_controller_spec.rb [John Long] | |
327 | * Fix failing extension loading tests, remove irrelevant ones. [Sean Cribbs] | |
328 | * Fix test:extensions Rake task. [Sean Cribbs] | |
329 | * Prevent following the link that toggles visibility of meta items on page edit. [Mislav Marohnić] | |
330 | * Fix extension loader and previously failing unit tests; update specs. [Mislav Marohnić] | |
331 | * Fixed problem with response_cached? returning true when perform caching was off; fixed failing spec. [John Long] | |
332 | * Fixed issues with whitespace in page.rb. [John Long] | |
333 | * Fix filtering in tag reference popup. [Mislav Marohnić] | |
334 | * Updated rspec and rspec_on_rails. [John Long] | |
335 | * Add more controller specs and a matcher for LoginSystem features. [Sean Cribbs] | |
336 | * Make all extensions loaded by default. [Sean Cribbs] | |
337 | * Update extension loader spec. [Sean Cribbs] | |
338 | * Work around a nasty issue with extensions + Dependencies unloading in development mode. [Mislav Marohnić] | |
339 | * Fix the tree expansion issue in admin interface (cookie-related). minor cleanup server-side [Mislav Marohnić] | |
340 | * Cleanup up the underscore layout hack by using method chain. [Mislav Marohnić] | |
341 | * Refactored initialization, extension loading, updated plugins. [Sean Cribbs] | |
342 | * Fix SiteController#show_page for Rails 2.0. [Mislav Marohnić] | |
343 | * Minor optimization for Page; remove the unneccessary 'virtual' accessor. [Mislav Marohnić] | |
344 | * Fix tests for PostgreSQL: comment out a test that breaks most of the specs somehow. [Mislav Marohnić] | |
345 | * Failures in initializer_spec.rb fixed [John Long] | |
346 | * Failure in site_controller_spec.rb fixed. [John Long] | |
347 | * The last test/unit failure is now fixed. [John Long] | |
348 | * Failing tests in page_controller_test.rb fixed. [John Long] | |
349 | * Error in response cache spec fixed. [Keeran Hawoldar] | |
350 | * ActionController::Base.view_paths is now set correctly for extensions. [John Long] | |
351 | * Changed view extensions to ".html.erb" [John Long] | |
352 | * Fixed content type test failures. [John Long] | |
353 | * Fix page_test. [John Long] | |
354 | * Updated environments. [John Long] | |
355 | * Modify ApplicationController spec. [Loren Johnson] | |
356 | * Modify SiteController spec. [Loren Johnson] | |
357 | * Fix failing unit test for old type of logger. [Daniel Sheppard] | |
358 | * Fix problems preventing script/console from running: acts_as_tree is now a plugin, view_paths is now a core feature. [Daniel Sheppard] | |
359 | * Upgrade to Rails 2.0.2 [Daniel Sheppard] | |
360 | * Escape angle brackets to avoid assertion warnings in StandardTags. [Sean Cribbs] | |
361 | * Remove unused ConsoleUtils module and fix failing specs. [Sean Cribbs] | |
362 | * Added standard_tags_spec.rb [John Long] | |
363 | * Make sure all scenario pages have at least a body part. [Sean Cribbs] | |
364 | * Added render matcher. [John Long] | |
365 | * Modify pages scenario. [Loren Johnson] | |
366 | * A beginning on the Application and Site controller specs. [Loren Johnson] | |
367 | * Fix failing specs - use of before(:all) when before(:each) was needed [Daniel Sheppard] | |
368 | * Fix failing extension_load_order_test.rb [Daniel Sheppard] | |
369 | * Don't load scenarios stuff unless using specs. [Sean Cribbs] | |
370 | * Add initializer spec. [Sean Cribbs] | |
371 | * Add extension loader spec and refactorings. [Sean Cribbs] | |
372 | * Added user_spec.rb [John Long] | |
373 | * Upgrade Rails to 1.2.6. [Sean Cribbs] | |
374 | * Added user_action_observer_spec.rb [John Long] | |
375 | * Removed duplicate load paths from environments/test.rb [John Long] | |
376 | * Added text_filter_spec.rb [John Long] | |
377 | * Added status_spec.rb [John Long] | |
378 | * Added spec/models/snippet_spec.rb [John Long] | |
379 | * Added response_cache_spec.rb [John Long] | |
380 | * Small improvements to page_part_spec.rb [John Long] | |
381 | * Remove duplicate specs and move Radiant::ExtensionMigrator? spec to proper location. [Sean Cribbs] | |
382 | * Fix admin.js to initialize TabControl even if there are no tabs. [Benny Degezelle] | |
383 | * Correct RenderTestHelper to better resemble expectations from Rails. [Sean Cribbs] | |
384 | * Add model specs and scenarios. [John Long] | |
385 | * Modify script/spec to work in instance mode. [Andrew O'Brien] | |
386 | * Add RSpec to load path in test environment. [Andrew O'Brien] | |
387 | * Add specs for Radiant::Extension and Radiant::Taggable. [Sean Cribbs] | |
388 | * Fixed admin CSS for IE6 - ugly borders begone! [Bjørn Arild Mæland] | |
389 | * Fixed that homepage is no longer cached outside of cache dir, but to "_site-root.data". [Bjørn Arild Mæland] | |
390 | * Fix typo in pngfix.js. [Mislav Marohnić] | |
391 | * Turn off auto-loading RSpec stuff, even in test environment. [Mislav Marohnić] | |
392 | * Add specs for Annotatable, InheritableClassAttributes, LocalTime, MethodObserver, and Simpleton. [Sean Cribbs] | |
393 | * Add spec for Radiant::AdminUI and Users scenario. [Sean Cribbs] | |
394 | * Import and create boilerplate for RSpec and Scenarios. [Sean Cribbs] | |
395 | * Honor config.extensions when running rake test:extensions and also include core extensions. [Daniel Sheppard] | |
396 | * Propagate global page when using <r:content /> with inherit attribute. [Sean Cribbs] | |
397 | ||
398 | === 0.6.4 Gem Shaper (November 10, 2007) | |
399 | ||
400 | * Extract Archive pages into a core extension. Add automatic testing of core extensions from default test task. [Sean Cribbs] | |
401 | * Add <r:if_children /> and <r:unless_children /> tags. [Andrew Neil] | |
402 | * Add HTML labels to role checkboxes in user edit template. [zilkey] | |
403 | * Cleanup whitespace and line-endings in environment.rb. [Bjørn Arild Mæland] | |
404 | * Fix various SQL Server issues via Rails ticket #8886. [Mark Gallop] | |
405 | * Refactor locals from _node.rhtml into Admin::NodeHelper. [Sean Cribbs] | |
406 | * Fix XHTML validation errors in view templates. [Bjørn Arild Mæland] | |
407 | * Update Prototype and script.aculo.us to 1.6 and 1.8 releases. [Sean Cribbs] | |
408 | * Fix edge case in tabcontrol.js where tab label is incorrect. [Sean Cribbs] | |
409 | * Remove duplication in admin.js. [Sean Cribbs] | |
410 | * Factor TimeZone stuff out of Radiant::Config into a module, fix failing tests. [Sean Cribbs] | |
411 | * Add has_part?, inherits_part?, and has_or_inherits_part? methods to Page. [ana] | |
412 | * Allow setting of local timezone via Radiant::Config and auto-adjustment of times in admin UI and <r:date /> tag. [Bodhi Philpot] | |
413 | * Update to latest Prototype and script.aculo.us and refactor and extract inline Javascript into external files. [Mislav Marohnić] | |
414 | * Narrow scope of exception to only throw on missing fixture files, allowing invalid yaml errors through. [Daniel Sheppard] | |
415 | * Added tests to ensure that response_cache stays within the cache dir. [Daniel Sheppard] | |
416 | * Add assert_requires_login to LoginTestHelper. [Sean Cribbs] | |
417 | * Make sure tag binding stack is popped when an exception occurs. [jay@jay.fm] | |
418 | * Clean up some apparent cruft in page.rb [Daniel Sheppard] | |
419 | * Add logout method to LoginTestHelper. [Sean Cribbs] | |
420 | * Run single extension tests with rake test:extensions EXT=<extension_name> [Brian Skahan] | |
421 | * Update Javascript libraries to Prototype 1.6.0_rc1 and script.aculo.us 1.8.0_pre1. [Mislav Marohnić] | |
422 | * Fixed <r:attempted_url /> tag to escape the uri [Daniel Sheppard] | |
423 | * Allow parts to be accessed by name from Page#part before they are saved. [Sean Cribbs] | |
424 | * Disambiguate namespace of ActionMailer::Part. [Sean Cribbs] | |
425 | * Fix namespacing problem with ActionController::RoutingError. [Sean Cribbs] | |
426 | * Update Rails to 1.2.5. [John Long] | |
427 | * Ensured that the request and response are passed along to other pages that are rendered within the same context. [John Long] | |
428 | * Added <r:if_dev /> and <r:unless_dev /> tags. [Peter Berkenbosch] | |
429 | * Removed session stringification patch in test helper. [Sean Cribbs] | |
430 | * Update Rails to 1.2.4. [Sean Cribbs] | |
431 | * Add extensions paths to the standard $LOAD_PATH so requires work properly. [Sean Cribbs] | |
432 | * Fixed some loading issues for plugins that are included in extensions. [Sean Cribbs] | |
433 | ||
434 | === 0.6.3 Rock Grinder (October 6, 2007) | |
435 | ||
436 | * Add generic public/ copy task to generated extensions. [Sean Cribbs] | |
437 | * Fix typo in StandardTags. [oli] | |
438 | * Added db:remigrate:extensions task. [Sean Cribbs] | |
439 | * Show all child pages on remove confirmation, regardless of sitemap expansion. [Sean Cribbs] | |
440 | * Make LoginSystem store user ids in session rather than whole user objects. [Sean Cribbs] | |
441 | * Plugins included in an extension's vendor/plugins directory will automatically be loaded before the extension is activated. Plugins | |
442 | included in more than one extension will be loaded only once according to the extension load order. [Sean Cribbs] | |
443 | * Allow subclassing of FileNotFoundPage. [Daniel Sheppard] | |
444 | * <r:find/> should not return FileNotFoundPage. [Daniel Sheppard] | |
445 | * 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] | |
446 | * Ensure test extensions are loaded in the test environment. [Daniel Sheppard] | |
447 | * Prevent ExtensionInitializationTest from unloading real extensions. [Daniel Sheppard] | |
448 | * Expire the old URL from the cache when the page slug changes. [Daniel Sheppard] | |
449 | * Fix failing tests in instance mode. [Daniel Sheppard] | |
450 | * Move difference assertions upstream from forms extension into a test helper. [Sean Cribbs] | |
451 | * Update Prototype to 1.5.0 final release. [Sean Cribbs] | |
452 | * Allow specification of extension loading order in environment.rb [Daniel Sheppard] | |
453 | * Fix bugs in assert_global_tag_defined and assert_tag_defined of ExtensionTagTestHelper. [Sean Cribbs] | |
454 | * Make sure included stylesheets and javascripts are only linked to once in <head>. [Sean Cribbs] | |
455 | * Fix navigation tag tests. [vitali] | |
456 | * Suppress errors about missing default helper by providing a blank helper. [Sean Cribbs] | |
457 | * Fix mis-alignment of "Clear cache" button when homepage not present. [Sean Cribbs] | |
458 | * Fix issues with misnesting of modules in fixture loading extension and test suites running randomly from dispatchers. [Sean Cribbs] | |
459 | * Remove invalid image alignment. [tolbrino] | |
460 | * Display not_found.rhtml on standard 'not found'-like exceptions. [Sean Cribbs] | |
461 | * Make sitemap.js use relative URLs. [Earl Chew] | |
462 | * Preliminary support for active_record sessions. [John Long] | |
463 | ||
464 | === 0.6.2 Jewel Carver (June 23, 2007) | |
465 | ||
466 | * Removed some of the database specific code from the ArchiveFinder [Daniel Sheppard] | |
467 | * Fixed typo in extension model generator documentation. [John Long] | |
468 | * Reworked the way the generator extension is loaded (closing #500) [Keita] | |
469 | * Fixed failing unit tests in instance mode [Daniel Sheppard] | |
470 | * Modified the page edit form to use multipart/form-data (useful for an upload extension) [Sean Cribbs] | |
471 | ||
472 | === 0.6.1 Stone Cutter (May 5, 2007) | |
473 | ||
474 | * Fixed a security vulnerability which caused passwords to appear in the logs [John Long] | |
475 | * Fixed a bug in the site map code which caused it to forget which rows were expanded [John Long] | |
476 | * The find_by_url method has been optimized to improve performance [Daniel Sheppard] | |
477 | * GET requests are now the only requests that are cached [Daniel Sheppard] | |
478 | * Added rudimentary support for extension dependency specification through directory prefixing [Daniel Sheppard] | |
479 | * Fixed syntax error in fixture loading extension [Sean Cribbs] | |
480 | * Minor documentation fix for date tag [Sean Cribbs] | |
481 | * Fixed a bug in the migrations that prevented 0.5.x users from upgrading properly [Sean Cribbs] | |
482 | ||
483 | === 0.6.0 Lapidary (April 24, 2007) | |
484 | ||
485 | * Added support for extensions--an extremely flexible way to extend radiant [John Long] | |
486 | * Merged Behaviors into the Page class; subclass page now instead [John Long] | |
487 | * Improved database support for Postgres and Sqlite [John Long] | |
488 | * Limited support for SQL Server [John Long] | |
489 | * Exceptions from tags now bubble up during testing [John Long] | |
490 | * Page parts are now sorted by ID so the order that you create them in is preserved [Josh Ferguson] | |
491 | * Implemented tag documentation DSL and UI [Sean Cribbs] | |
492 | * Reworked the setup code [John Long] | |
493 | * Renamed script/setup_database to rake db:bootstrap [John Long] | |
494 | * Reworked the upgrade code to work around rake tasks [John Long] | |
495 | * Added rake tasks for freezing and unfreezing radiant to the edge [John Long] | |
496 | * 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] | |
497 | * 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] | |
498 | * r:navigation now uses the pipe character ("|") to delimit URLs in the urls attribute rather than the semi-colon [John Long] | |
499 | * 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] | |
500 | * Created the r:cycle tag to make alternating tables and lists possible [John Long] | |
501 | * Added popups for filter and tag documentation inside the page editing interface [John Long] | |
502 | * Added support for optimistic locking for all models [Daniel Sheppard] | |
503 | * Added support to Radiant::Config for boolean values [Sean Cribbs] | |
504 | * Caching no longer stores the headers and body in the same file [Daniel Sheppard] | |
505 | * 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] | |
506 | * 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] | |
507 | * 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] | |
508 | * 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 | |
509 | ||
510 | === 0.5.2 Raildust (August 10, 2006) | |
511 | ||
512 | * Upgraded Rails to 1.1.6 because of a security vulnerability in 1.1.5 [John Long] | |
513 | ||
514 | === 0.5.1 Gemdust (August 10, 2006) | |
515 | ||
516 | * Upgraded Rails to 1.1.5 because of a security vulnerability in 1.1.4 [John Long] | |
517 | * Added basic support for upgrades to the `radiant` command [John Long] | |
518 | * Gem now includes the .htaccess file (this should make Apache users happier) [John Long] | |
519 | * Updated icons for layouts [John Long] | |
520 | * 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] | |
521 | * 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] | |
522 | * Fixed documentation problem in response_cache.rb (closes ticket #142) [Paul Smith] | |
523 | * Fixed problem with timezones on fixtures causing tests to fail in Japan (closes ticket #154) [Bodhi Philpot] | |
524 | * 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] | |
525 | ||
526 | === 0.5.0 Grindstone (June 28, 2006) | |
527 | * First release. [John Long] |
rool/rails/radiant/trunk/CONTRIBUTORS:
prev. | current | |
1 | ||
1 | == Contributors | |
3 | ||
3 | The following people have submitted changes which have been applied to the | |
4 | core: | |
5 | ||
6 | === 0.9.1 Refraction | |
7 | ||
8 | * Jim Gay | |
10 | === 0.9.0 Refraction | |
11 | ||
12 | * Mario Visic | |
13 | * Andrew Cates | |
14 | * Janne Asmala | |
15 | * Keith Bingman | |
16 | * Dirk Kelly | |
17 | * Anna billstrom | |
18 | * Williams Ross | |
19 | * M. Scott Ford | |
20 | * Josh French | |
21 | * Travis D. Warlick, Jr. | |
22 | * Jason Garber | |
23 | * Chris Ricca | |
24 | * Jim Gay | |
25 | * John Muhl | |
26 | * Ben Morrow | |
27 | * Sean Cribbs | |
28 | * Brandon Mathis | |
29 | * Daniel Beach | |
30 | * Chris Parrish | |
31 | * John Long | |
32 | ||
33 | === 0.8.2 Lustery | |
34 | ||
35 | * Jim Gay | |
36 | ||
37 | === 0.8.1 Luster | |
38 | ||
39 | * John Long | |
40 | * Sean Cribbs | |
41 | * Antonio Cangiano | |
42 | * alexmek | |
43 | * Jeremy Stephens | |
44 | * John Muhl | |
45 | * Alex Wallace | |
46 | * Justin Blecher | |
47 | * Kunal Shah | |
48 | * Jim Gay | |
49 | * Josh French | |
50 | ||
51 | === 0.8.0 Asterism | |
52 | ||
53 | * Michael Kessler | |
54 | * David Cato | |
55 | * Kunal Shah | |
56 | * Brett McHargue | |
57 | * Jim Gay | |
58 | * Kunal Shah | |
59 | * Matt Henry | |
60 | * Rick DeNatale | |
61 | * Jason Garber | |
62 | * Pat Allan | |
63 | * Josh French | |
64 | * Brent Kroeker | |
65 | * Sean Cribbs | |
66 | ||
67 | === 0.7.1 Engraving | |
68 | ||
69 | * John Muhl | |
70 | * Sean Cribbs | |
71 | ||
72 | === 0.7.0 Intaglio | |
73 | ||
74 | * Paul du Coudray | |
75 | * Nikolay Karev | |
76 | * August Lilleas | |
77 | * Brandan Lennox | |
78 | * Jeroen Janssen | |
79 | * Erik Ostrom | |
80 | * Nathaniel Talbott | |
81 | * Yevgeny Smirnoff | |
82 | * Sytse Sijbrandij | |
83 | * Brian Landau | |
84 | * Adam Williams | |
85 | * Mark Imbriaco | |
86 | * Rick DeNatale | |
87 | * Clinton Nixon | |
88 | * John Muhl | |
89 | * Andrew O'Brien | |
90 | * Joe Van Dyk | |
91 | * Pat Allan | |
92 | * Matt Henry | |
93 | * Keith Bennett | |
94 | * Thomas Ingram | |
95 | * Josh French | |
96 | * Jason Garber | |
97 | * Mislav Marohnić | |
98 | * Jim Gay | |
99 | * Sean Cribbs | |
100 | ||
101 | === 0.6.9 Etch | |
102 | * Mark A. Yoon | |
103 | * Jim Gay | |
104 | * Sean Cribbs | |
105 | ||
106 | === 0.6.8 Incise | |
107 | * Andrew Neil | |
108 | * Glenn Murray | |
109 | * Tim Gossett | |
110 | * John Muhl | |
111 | * Josh French | |
112 | * Jim Gay | |
113 | * Alex Wayne | |
114 | * Nick Plante | |
115 | * Loren Johnson | |
116 | * Sean Cribbs | |
117 | * Thomas Watson Steen | |
118 | ||
119 | === 0.6.7 Mordant | |
120 | * John Long | |
121 | * Josh French | |
122 | * Sean Cribbs | |
123 | ||
124 | === 0.6.6 Chiseled | |
125 | * Josh French | |
126 | * Sean Cribbs | |
127 | ||
128 | === 0.6.5 Chisel | |
129 | * Adam Keyes | |
130 | * Marty Haught | |
131 | * xtoddx | |
132 | * skrat | |
133 | * Michael Klett | |
134 | * Matthew Elder | |
135 | * Nick Plante | |
136 | * ben | |
137 | * jonleighton | |
138 | * Josh French | |
139 | * abstractioneer | |
140 | * andreas | |
141 | * Keeran Hawoldar | |
142 | * Loren Johnson | |
143 | * Benny Degezelle | |
144 | * John Long | |
145 | * Andrew O'Brien | |
146 | * Bjørn Arild Mæland | |
147 | * Mislav Marohnić | |
148 | * Daniel Sheppard | |
149 | * Sean Cribbs | |
150 | ||
151 | === 0.6.4 Gem Shaper | |
152 | * Andrew Neil | |
153 | * zilkey | |
154 | * Mark Gallop | |
155 | * Bjørn Arild Mæland | |
156 | * ana | |
157 | * Bodhi Philpot | |
158 | * jay@jay.fm | |
159 | * Brian Skahan | |
160 | * Mislav Marohnić | |
161 | * Daniel Sheppard | |
162 | * John Long | |
163 | * Peter Berkenbosch | |
164 | * Sean Cribbs | |
165 | ||
166 | === 0.6.3 Rock Grinder | |
167 | * oli | |
168 | * Daniel Sheppard | |
169 | * vitali | |
170 | * tolbrino | |
171 | * Sean Cribbs | |
172 | * Earl Chew | |
173 | * John Long | |
174 | ||
175 | === 0.6.2 Jewel Carver | |
176 | * Sean Cribbs | |
177 | * Daniel Sheppard | |
178 | * Keita | |
179 | ||
180 | === 0.6.1 Stone Cutter | |
181 | * Sean Cribbs | |
182 | * Daniel Sheppard | |
183 | ||
184 | === 0.6.0 Lapidary | |
185 | * Alexander Horn | |
186 | * Adam Williams | |
187 | * Sean Santry | |
188 | * Sean Cribbs | |
189 | * Brian Gernhardt | |
190 | * Bodhi Philpot | |
191 | * Andrew Barnett | |
192 | * Jesse Newland | |
193 | * Josh Ferguson | |
194 | * Daniel Sheppard | |
195 | * Matte Edens | |
196 | * Jacob Burkhart | |
197 | * Chris Parrish | |
198 | ||
199 | === 0.5.1 Gemdust | |
200 | * Daniel Sheppard | |
201 | * Paul Smith | |
202 | * Bodhi Philpot | |
203 | ||
204 | === 0.5.0 Grindstone | |
* Matt McCray | ||
* Paul Smith | ||
* Scott Walter |
rool/rails/radiant/trunk/LICENSE:
prev. | current | |
== MIT License | ||
3 | ||
3 | Copyright (c) 2006-2009, John W. Long and Sean D. Cribbs. | |
5 | ||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
6 | of this software and associated documentation files (the "Software"), to deal | |
7 | in the Software without restriction, including without limitation the rights | |
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
9 | copies of the Software, and to permit persons to whom the Software is | |
10 | furnished to do so, subject to the following conditions: | |
7 | ||
12 | The above copyright notice and this permission notice shall be included in all | |
13 | copies or substantial portions of the Software. | |
9 | ||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
22 | SOFTWARE. | |
rool/rails/radiant/trunk/README:
prev. | current | |
== Welcome to Radiant | ||
3 | ||
4 | ||
5 | ||
6 | ||
3 | Radiant is a no-fluff, open source content management system designed for | |
4 | small teams. It is similar to Textpattern or MovableType, but is a general | |
5 | purpose content management system (not just a blogging engine). | |
Radiant features: | ||
* An elegant user interface | ||
* The ability to arrange pages in a hierarchy | ||
12 | ||
13 | | |
14 | ||
11 | * Flexible templating with layouts, snippets, page parts, and a custom tagging | |
12 | language (Radius: http://radius.rubyforge.org) | |
* A simple user management/permissions system | ||
16 | ||
17 | | |
14 | * Support for Markdown and Textile as well as traditional HTML (it's easy to | |
15 | create other filters) | |
16 | * An advanced plugin system | |
* Operates in two modes: dev and production depending on the URL | ||
* A caching system which expires pages every 5 minutes | ||
20 | ||
21 | | |
19 | * Built using Ruby on Rails | |
* And much more... | ||
== License | ||
27 | ||
28 | ||
29 | ||
25 | Radiant is released under the MIT license and is copyright (c) 2006-2009 | |
26 | John W. Long and Sean Cribbs. A copy of the MIT license can be found in the | |
27 | LICENSE file. | |
== Installation and Setup | ||
34 | ||
35 | ||
36 | ||
32 | Radiant is a traditional Ruby on Rails application, meaning that you can | |
33 | configure and run it the way you would a normal Rails application. | |
38 | ||
39 | ||
35 | See the INSTALL file for more details. | |
41 | ||
37 | == Installation of a Prerelease | |
43 | ||
44 | | |
39 | As Radiant nears newer releases, you can experiment with any prerelease version. | |
46 | ||
41 | Install the prerelease gem with the following command: | |
48 | | |
43 | $ gem install radiant --prerelease | |
50 | ||
45 | This will install the gem with the prerelease name, for example: ‘radiant-0.9.0.rc2’. | |
52 | | |
53 | | |
54 | | |
55 | | |
56 | ||
57 | ||
58 | ||
47 | == Upgrading an Existing Project to a newer version | |
60 | ||
61 | ||
49 | 1. Update the Radiant assets from in your project: | |
63 | ||
51 | $ rake radiant:update | |
53 | 2. Migrate the database: | |
66 | ||
55 | $ rake production db:migrate | |
68 | ||
69 | ||
70 | ||
57 | 3. Restart the web server | |
59 | == Development Requirements | |
61 | To run tests you will need to have the following gems installed: | |
62 | ||
63 | gem install ZenTest rspec rspec-rails cucumber webrat nokogiri | |
64 | ||
65 | ||
== Support | ||
The best place to get support is on the mailing list: | ||
http://radiantcms.org/mailing-list/ | ||
79 | ||
72 | Most of the development for Radiant happens on Github: | |
81 | ||
74 | http://github.com/radiant/radiant/ | |
83 | ||
84 | ||
85 | ||
76 | The project wiki is here: | |
78 | http://wiki.github.com/radiant/radiant/ | |
80 | ||
Enjoy! | ||
-- | ||
91 | ||
85 | The Radiant Dev Team | |
86 | http://radiantcms.org |
rool/rails/radiant/trunk/Rakefile:
prev. | current | |
1 | ||
2 | ||
1 | require File.join(File.dirname(__FILE__), 'config', 'boot') | |
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
4 | import File.join(RADIANT_ROOT, 'Rakefile') | |
rool/rails/radiant/trunk/config/boot.rb:
prev. | current | |
1 | ||
1 | # Don't change this file! | |
2 | # Configure your app in config/environment.rb and config/environments/*.rb | |
3 | ||
4 | | |
5 | | |
4 | RAILS_ROOT = File.expand_path("#{File.dirname(__FILE__)}/..") unless defined?(RAILS_ROOT) | |
5 | ||
6 | module Rails | |
7 | class << self | |
8 | def vendor_rails? | |
9 | File.exist?("#{RAILS_ROOT}/vendor/rails") | |
10 | end | |
end | ||
end | ||
9 | ||
10 | | |
14 | module Radiant | |
15 | class << self | |
16 | def boot! | |
17 | unless booted? | |
18 | preinitialize | |
19 | pick_boot.run | |
20 | end | |
21 | end | |
12 | | |
13 | | |
14 | | |
23 | def booted? | |
24 | defined? Radiant::Initializer | |
25 | end | |
26 | ||
27 | def pick_boot | |
28 | case | |
29 | when app? | |
30 | AppBoot.new | |
31 | when vendor? | |
32 | VendorBoot.new | |
33 | else | |
34 | GemBoot.new | |
35 | end | |
36 | end | |
37 | ||
38 | def vendor? | |
39 | File.exist?("#{RAILS_ROOT}/vendor/radiant") | |
40 | end | |
41 | ||
42 | def app? | |
43 | File.exist?("#{RAILS_ROOT}/lib/radiant.rb") | |
44 | end | |
45 | ||
46 | def preinitialize | |
47 | load(preinitializer_path) if File.exist?(preinitializer_path) | |
48 | end | |
49 | ||
50 | def loaded_via_gem? | |
51 | pick_boot.is_a? GemBoot | |
52 | end | |
53 | ||
54 | def preinitializer_path | |
55 | "#{RAILS_ROOT}/config/preinitializer.rb" | |
56 | end | |
end | ||
17 | | |
18 | ||
19 | ||
20 | ||
21 | | |
22 | | |
23 | | |
24 | | |
25 | | |
26 | | |
27 | | |
28 | | |
29 | | |
30 | | |
31 | | |
32 | | |
33 | ||
34 | | |
35 | | |
36 | | |
37 | ||
59 | class Boot | |
60 | def run | |
61 | load_initializer | |
62 | end | |
63 | ||
64 | def load_initializer | |
65 | begin | |
66 | require 'radiant' | |
67 | require 'radiant/initializer' | |
68 | rescue LoadError => e | |
69 | $stderr.puts %(Radiant could not be initialized. #{load_error_message}) | |
exit 1 | ||
end | ||
40 | | |
41 | | |
72 | Radiant::Initializer.run(:set_load_path) | |
end | ||
end | ||
44 | | |
45 | | |
46 | | |
47 | | |
48 | | |
75 | ||
76 | class VendorBoot < Boot | |
77 | def load_initializer | |
78 | $LOAD_PATH.unshift "#{RAILS_ROOT}/vendor/radiant/lib" | |
79 | super | |
80 | end | |
81 | ||
82 | def load_error_message | |
83 | "Please verify that vendor/radiant contains a complete copy of the Radiant sources." | |
84 | end | |
end | ||
50 | ||
52 | ||
53 | | |
54 | | |
55 | | |
56 | | |
57 | | |
58 | | |
59 | | |
60 | | |
61 | | |
62 | | |
63 | | |
64 | | |
87 | class AppBoot < Boot | |
88 | def load_initializer | |
89 | $LOAD_PATH.unshift "#{RAILS_ROOT}/lib" | |
90 | super | |
91 | end | |
92 | ||
93 | def load_error_message | |
94 | "Please verify that you have a complete copy of the Radiant sources." | |
95 | end | |
96 | end | |
97 | ||
98 | class GemBoot < Boot | |
99 | def load_initializer | |
100 | self.class.load_rubygems | |
101 | load_radiant_gem | |
102 | super | |
103 | end | |
104 | ||
105 | def load_error_message | |
106 | "Please reinstall the Radiant gem with the command 'gem install radiant'." | |
107 | end | |
108 | ||
109 | def load_radiant_gem | |
110 | if version = self.class.gem_version | |
111 | gem 'radiant', version | |
else | ||
66 | | |
67 | ||
68 | | |
69 | | |
70 | ||
113 | gem 'radiant' | |
114 | end | |
115 | rescue Gem::LoadError => load_error | |
116 | $stderr.puts %(Missing the Radiant #{version} gem. Please `gem install -v=#{version} radiant`, update your RADIANT_GEM_VERSION setting in config/environment.rb for the Radiant version you do have installed, or comment out RADIANT_GEM_VERSION to use the latest version installed.) | |
117 | exit 1 | |
118 | end | |
119 | ||
120 | class << self | |
121 | def rubygems_version | |
122 | Gem::RubyGemsVersion rescue nil | |
123 | end | |
124 | ||
125 | def gem_version | |
126 | if defined? RADIANT_GEM_VERSION | |
127 | RADIANT_GEM_VERSION | |
128 | elsif ENV.include?('RADIANT_GEM_VERSION') | |
129 | ENV['RADIANT_GEM_VERSION'] | |
130 | else | |
131 | parse_gem_version(read_environment_rb) | |
132 | end | |
133 | end | |
134 | ||
135 | def load_rubygems | |
136 | require 'rubygems' | |
137 | ||
138 | unless rubygems_version >= '0.9.4' | |
139 | $stderr.puts %(Radiant requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.) | |
140 | exit 1 | |
141 | end | |
142 | ||
143 | rescue LoadError | |
144 | $stderr.puts %(Radiant requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org) | |
exit 1 | ||
end | ||
73 | | |
74 | | |
75 | | |
147 | ||
148 | def parse_gem_version(text) | |
149 | $1 if text =~ /^[^#]*RADIANT_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/ | |
150 | end | |
151 | ||
152 | private | |
153 | def read_environment_rb | |
154 | File.read("#{RAILS_ROOT}/config/environment.rb") | |
155 | end | |
end | ||
end | ||
78 | | |
79 | | |
end | ||
159 | ||
160 | # All that for this: | |
161 | Radiant.boot! |
rool/rails/radiant/trunk/config/database.yml:
prev. | current | |
adapter: postgresql | ||
host: /home/rool/postgres/ | ||
username: rool | ||
8 | | |
8 | password: oiarfewa | |
# Warning: The database defined as 'test' will be erased and | ||
# re-generated from your development database when you run 'rake'. |
rool/rails/radiant/trunk/config/environment.rb:
prev. | current | |
1 | ||
1 | # Be sure to restart your server when you modify this file | |
3 | ||
4 | ||
5 | ||
# 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' | ||
10 | ||
require File.join(File.dirname(__FILE__), 'boot') | ||
8 | require 'radius' | |
9 | require 'active_support/secure_random' | |
13 | ||
14 | ||
15 | ||
16 | ||
11 | Radiant::Initializer.run do |config| | |
12 | # Skip frameworks you're not going to use (only works if using vendor/rails). | |
13 | # To use Rails without a database, you must remove the Active Record framework | |
14 | config.frameworks -= [ :action_mailer ] | |
18 | ||
19 | ||
16 | # Only load the extensions named here, in the order given. By default all | |
17 | # extensions in vendor/extensions are loaded, in alphabetical order. :all | |
18 | # can be used as a placeholder for all extensions not explicitly named. | |
19 | # config.extensions = [ :all ] | |
21 | ||
21 | # By default, only English translations are loaded. Remove any of these from | |
22 | # the list below if you'd like to provide any of the supported languages | |
23 | config.extensions -= [:dutch_language_pack, :french_language_pack, :german_language_pack, | |
24 | :italian_language_pack, :japanese_language_pack, :russian_language_pack] | |
23 | ||
24 | | |
25 | | |
26 | | |
27 | | |
26 | # Your secret key for verifying cookie session data integrity. | |
27 | # If you change this key, all old sessions will become invalid! | |
28 | # Make sure the secret is at least 30 characters and all random, | |
29 | # no regular words or you'll be exposed to dictionary attacks. | |
30 | # | |
31 | # 2011-03-09 (ADH): Auto-generation of Secret value taken from Instiki 0.9.1 | |
32 | # Secret session key | |
33 | # The secret session key is automatically generated, and stored | |
34 | # in a file, for reuse between server restarts. If you want to | |
35 | # change the key, just delete the file, and it will be regenerated | |
36 | # on the next restart. Doing so will invalitate all existing sessions. | |
37 | secret_file = Rails.root.join("secret") | |
38 | if File.exist?(secret_file) | |
39 | secret = secret_file.read | |
40 | else | |
41 | secret = ActiveSupport::SecureRandom.hex(64) | |
42 | File.open(secret_file, 'w', 0600) { |f| f.write(secret) } | |
43 | end | |
44 | config.action_controller.session = { | |
45 | :key => "_radiantapp_session_id", | |
46 | :secret => secret | |
47 | } | |
29 | | |
49 | # Comment out this line if you want to turn off all caching, or | |
50 | # add options to modify the behavior. In the majority of deployment | |
51 | # scenarios it is desirable to leave Radiant's cache enabled and in | |
52 | # the default configuration. | |
53 | # | |
54 | # Additional options: | |
55 | # :use_x_sendfile => true | |
56 | # Turns on X-Sendfile support for Apache with mod_xsendfile or lighttpd. | |
57 | # :use_x_accel_redirect => '/some/virtual/path' | |
58 | # Turns on X-Accel-Redirect support for nginx. You have to provide | |
59 | # a path that corresponds to a virtual location in your webserver | |
60 | # configuration. | |
61 | # :entitystore => "radiant:tmp/cache/entity" | |
62 | # Sets the entity store type (preceding the colon) and storage | |
63 | # location (following the colon, relative to Rails.root). | |
64 | # We recommend you use radiant: since this will enable manual expiration. | |
65 | # :metastore => "radiant:tmp/cache/meta" | |
66 | # Sets the meta store type and storage location. We recommend you use | |
67 | # radiant: since this will enable manual expiration and acceleration headers. | |
68 | config.middleware.use ::Radiant::Cache | |
31 | | |
32 | | |
70 | # Use the database for sessions instead of the cookie-based default, | |
71 | # which shouldn't be used to store highly confidential information | |
72 | # (create the session table with 'rake db:sessions:create') | |
73 | config.action_controller.session_store = :cookie_store | |
34 | | |
35 | | |
36 | | |
37 | | |
38 | | |
39 | | |
40 | | |
41 | | |
42 | | |
43 | | |
44 | | |
75 | # Activate observers that should always be running | |
76 | config.active_record.observers = :user_action_observer | |
46 | | |
47 | | |
48 | | |
78 | # The internationalization framework can be changed to have another default locale (standard is :en) or more load paths. | |
79 | # All files from config/locales/*.rb,yml are added automatically. | |
80 | # config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales', '*.{rb,yml}')] | |
81 | # config.i18n.default_locale = :'en' | |
50 | | |
51 | | |
52 | | |
53 | ||
54 | | |
55 | | |
56 | | |
57 | | |
58 | ||
# Make Active Record use UTC-base instead of local time | ||
60 | | |
84 | config.time_zone = 'UTC' | |
62 | | |
63 | | |
64 | | |
86 | # Set the default field error proc | |
87 | config.action_view.field_error_proc = Proc.new do |html, instance| | |
88 | if html !~ /label/ | |
89 | %{<span class="error-with-field">#{html} <span class="error">#{[instance.error_message].flatten.first}</span></span>} | |
90 | else | |
91 | html | |
92 | end | |
93 | end | |
66 | | |
67 | ||
95 | config.after_initialize do | |
96 | # Add new inflection rules using the following format: | |
97 | ActiveSupport::Inflector.inflections do |inflect| | |
98 | inflect.uncountable 'config' | |
99 | end | |
100 | end | |
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | | |
102 | config.gem 'will_paginate', :version => '~> 2.3.11', :source => 'http://gemcutter.org' | |
end | ||
78 | ||
79 | ||
80 | ||
81 | | |
82 | ||
83 | ||
84 | ||
85 | ||
86 | | |
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 |
rool/rails/radiant/trunk/config/environments/development.rb:
prev. | current | |
# Log error messages when you accidentally call methods on nil. | ||
config.whiny_nils = true | ||
11 | ||
12 | ||
13 | ||
14 | ||
11 | # Show full error reports and caching is turned off | |
config.action_controller.consider_all_requests_local = true | ||
13 | config.action_view.debug_rjs = true | |
config.action_controller.perform_caching = false | ||
17 | ||
# Don't care if the mailer can't send | ||
config.action_mailer.raise_delivery_errors = false | ||
rool/rails/radiant/trunk/config/environments/production.rb:
prev. | current | |
# Full error reports are disabled and caching is on | ||
config.action_controller.consider_all_requests_local = false | ||
config.action_controller.perform_caching = true | ||
14 | ||
# 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 | ||
22 | ||
22 | # Cache your content for a longer time, the default is 5.minutes | |
23 | # config.after_initialize do | |
24 | # SiteController.cache_timeout = 12.hours | |
25 | # end | |
rool/rails/radiant/trunk/config/environments/test.rb:
prev. | current | |
# and recreated between test runs. Don't rely on the data there! | ||
config.cache_classes = true | ||
9 | # ensure test extensions are loaded | |
10 | # test_extension_dir = File.join(File.expand_path(RADIANT_ROOT), 'test', 'fixtures', 'extensions') | |
11 | # config.extension_paths.unshift test_extension_dir | |
12 | # config.extension_paths.uniq! | |
13 | # if !config.extensions.include?(:all) | |
14 | # config.extensions.concat(Dir["#{test_extension_dir}/*"].sort.map {|x| File.basename(x).sub(/^\d+_/,'')}) | |
15 | # config.extensions.uniq! | |
16 | # end | |
17 | ||
# 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 | ||
15 | ||
25 | # Disable request forgery protection in test environment | |
26 | config.action_controller.allow_forgery_protection = false | |
27 | ||
# Tell ActionMailer not to deliver emails to the real world. | ||
# The :test delivery method accumulates sent emails in the | ||
# ActionMailer::Base.deliveries array. | ||
20 | ||
32 | config.action_mailer.delivery_method = :test | |
33 | ||
34 | config.gem 'cucumber-rails', :lib => false, :version => '>=0.2.4' unless File.directory?(File.join(Rails.root, 'vendor/plugins/cucumber-rails')) | |
35 | config.gem 'database_cleaner', :lib => false, :version => '>=0.4.3' unless File.directory?(File.join(Rails.root, 'vendor/plugins/database_cleaner')) | |
36 | config.gem 'webrat', :lib => false, :version => '>=0.6.0' unless File.directory?(File.join(Rails.root, 'vendor/plugins/webrat')) | |
37 | config.gem 'rspec', :lib => false, :version => '>=1.3.0' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec')) | |
38 | config.gem 'rspec-rails', :lib => false, :version => '>=1.3.2' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails')) | |
39 |
rool/rails/radiant/trunk/config/routes.rb:
prev. | current | |
1 | ||
2 | ||
3 | | |
4 | | |
5 | | |
6 | | |
7 | | |
8 | | |
9 | | |
10 | ||
11 | | |
12 | | |
13 | | |
14 | | |
15 | | |
16 | ||
17 | | |
18 | | |
19 | | |
20 | | |
21 | | |
22 | | |
23 | | |
24 | | |
25 | | |
26 | | |
27 | | |
28 | ||
29 | | |
30 | | |
31 | | |
32 | | |
33 | | |
34 | | |
35 | | |
36 | ||
37 | | |
38 | | |
39 | | |
40 | | |
41 | | |
42 | | |
43 | | |
44 | ||
45 | | |
46 | | |
47 | | |
48 | | |
49 | | |
50 | | |
51 | | |
52 | | |
53 | ||
54 | | |
55 | | |
56 | | |
57 | | |
58 | | |
59 | ||
60 | | |
61 | | |
62 | | |
63 | ||
64 | ||
2 | load File.join(RADIANT_ROOT, "config", "routes.rb") |
rool/rails/radiant/trunk/db/schema.rb:
prev. | current | |
1 | ||
2 | ||
1 | # This file is auto-generated from the current state of the database. Instead of editing this file, | |
2 | # please use the migrations feature of Active Record to incrementally modify your database, and | |
# then regenerate this schema definition. | ||
4 | # | |
5 | # Note that this schema.rb definition is the authoritative source for your database schema. If you need | |
6 | # to create the application database on another system, you should be using db:schema:load, not running | |
7 | # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations | |
8 | # you'll amass, the slower it'll run and the greater likelihood for issues). | |
9 | # | |
10 | # It's strongly recommended to check this file into your version control system. | |
5 | ||
12 | ActiveRecord::Schema.define(:version => 20091003095744) do | |
create_table "config", :force => true do |t| | ||
8 | | |
9 | | |
15 | t.string "key", :limit => 40, :default => "", :null => false | |
16 | t.string "value", :default => "" | |
end | ||
add_index "config", ["key"], :name => "key", :unique => true | ||
21 | create_table "extension_meta", :force => true do |t| | |
22 | t.string "name" | |
23 | t.integer "schema_version", :default => 0 | |
24 | t.boolean "enabled", :default => true | |
25 | end | |
26 | ||
create_table "layouts", :force => true do |t| | ||
15 | | |
16 | | |
17 | | |
18 | | |
19 | | |
20 | | |
21 | | |
28 | t.string "name", :limit => 100 | |
29 | t.text "content" | |
30 | t.string "content_type", :limit => 40 | |
31 | t.datetime "created_at" | |
32 | t.datetime "updated_at" | |
33 | t.integer "created_by_id" | |
34 | t.integer "updated_by_id" | |
35 | t.integer "lock_version", :default => 0 | |
end | ||
create_table "page_parts", :force => true do |t| | ||
25 | | |
26 | | |
27 | | |
28 | | |
39 | t.string "name", :limit => 100 | |
40 | t.string "filter_id", :limit => 25 | |
41 | t.text "content" | |
42 | t.integer "page_id" | |
end | ||
45 | add_index "page_parts", ["page_id", "name"], :name => "parts_by_page" | |
46 | ||
create_table "pages", :force => true do |t| | ||
32 | | |
33 | | |
34 | | |
35 | | |
36 | | |
37 | | |
38 | | |
39 | | |
40 | | |
41 | | |
42 | | |
43 | | |
44 | | |
48 | t.string "title" | |
49 | t.string "slug", :limit => 100 | |
50 | t.string "breadcrumb", :limit => 160 | |
51 | t.integer "parent_id" | |
52 | t.integer "layout_id" | |
53 | t.string "class_name", :limit => 25 | |
54 | t.integer "status_id", :default => 1, :null => false | |
55 | t.datetime "created_at" | |
56 | t.datetime "updated_at" | |
57 | t.datetime "published_at" | |
58 | t.integer "created_by_id" | |
59 | t.integer "updated_by_id" | |
60 | t.boolean "virtual", :default => false, :null => false | |
61 | t.integer "lock_version", :default => 0 | |
62 | t.string "description" | |
63 | t.string "keywords" | |
end | ||
66 | add_index "pages", ["class_name"], :name => "pages_class_name" | |
67 | add_index "pages", ["parent_id"], :name => "pages_parent_id" | |
68 | add_index "pages", ["slug", "parent_id"], :name => "pages_child_slug" | |
69 | add_index "pages", ["virtual", "status_id"], :name => "pages_published" | |
70 | ||
71 | create_table "sessions", :force => true do |t| | |
72 | t.string "session_id" | |
73 | t.text "data" | |
74 | t.datetime "updated_at" | |
75 | end | |
76 | ||
77 | add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id" | |
78 | add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at" | |
79 | ||
create_table "snippets", :force => true do |t| | ||
48 | | |
49 | | |
50 | | |
51 | | |
52 | | |
53 | | |
54 | | |
55 | | |
56 | | |
81 | t.string "name", :limit => 100, :default => "", :null => false | |
82 | t.string "filter_id", :limit => 25 | |
83 | t.text "content" | |
84 | t.datetime "created_at" | |
85 | t.datetime "updated_at" | |
86 | t.integer "created_by_id" | |
87 | t.integer "updated_by_id" | |
88 | t.string "auto_export", :limit => 512 | |
89 | t.string "change_exec", :limit => 512 | |
90 | t.integer "lock_version", :default => 0 | |
end | ||
add_index "snippets", ["name"], :name => "name", :unique => true | ||
create_table "users", :force => true do |t| | ||
62 | | |
63 | | |
64 | | |
65 | | |
66 | | |
67 | | |
68 | | |
69 | | |
70 | | |
71 | | |
96 | t.string "name", :limit => 100 | |
97 | t.string "email" | |
98 | t.string "login", :limit => 40, :default => "", :null => false | |
99 | t.string "password", :limit => 40 | |
100 | t.boolean "admin", :default => false, :null => false | |
101 | t.boolean "designer", :default => false, :null => false | |
102 | t.datetime "created_at" | |
103 | t.datetime "updated_at" | |
104 | t.integer "created_by_id" | |
105 | t.integer "updated_by_id" | |
106 | t.text "notes" | |
107 | t.integer "lock_version", :default => 0 | |
108 | t.string "salt" | |
109 | t.string "session_token" | |
110 | t.string "locale" | |
end | ||
add_index "users", ["login"], :name => "login", :unique => true |
rool/rails/radiant/trunk/public/500.html:
prev. | current | |
"http://www.w3.org/TR/html4/loose.dtd"> | ||
<html> | ||
<body> | ||
5 | | |
5 | <h1>Application error</h1> | |
<p>Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p> | ||
</body> | ||
</html> | ||
rool/rails/radiant/trunk/public/dispatch.cgi:
prev. | current | |
1 | ||
1 | #!/home/rool/local/ruby_ee/bin/ruby | |
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) | ||
rool/rails/radiant/trunk/public/dispatch.fcgi:
prev. | current | |
1 | ||
1 | #!/home/rool/local/ruby_ee/bin/ruby | |
# | ||
# You may specify the path to the FastCGI crash log (a log of unhandled | ||
# exceptions which forced the FastCGI instance to exit, great for debugging) |
rool/rails/radiant/trunk/public/dispatch.rb:
prev. | current | |
1 | ||
1 | #!/home/rool/local/ruby_ee/bin/ruby | |
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) | ||
rool/rails/radiant/trunk/script/generate:
prev. | current | |
#!/usr/bin/env ruby | ||
require File.dirname(__FILE__) + '/../config/boot' | ||
3 | ||
4 | require "#{RAILS_ROOT}/config/environment" | |
5 | require 'rails_generator' | |
6 | require 'rails_generator/scripts/generate' | |
7 | ||
8 | class Rails::Generator::Base | |
9 | def self.use_application_sources! | |
10 | reset_sources | |
11 | sources << Rails::Generator::PathSource.new(:builtin, "#{RADIANT_ROOT}/lib/generators") | |
12 | plugins_path = File.expand_path(File.join(RAILS_ROOT, %w(vendor plugins))) | |
13 | sources << Rails::Generator::PathSource.new(:"plugins (vendor/plugins)", "#{plugins_path}/*/**/{,rails_}generators") | |
14 | end | |
15 | end | |
16 | ||
17 | Rails::Generator::Base.use_application_sources! | |
18 | ||
19 | require 'commands/generate' |