diff --git a/Gemfile b/Gemfile index 675da87131..3c9816ddca 100644 --- a/Gemfile +++ b/Gemfile @@ -42,7 +42,7 @@ end #===REQUIRED FOR REFINERY GEM INSTALL=== # Leave the gem below disabled (commented out) if you're not using the gem install method. -#gem 'refinerycms', '= 0.9.7.1' +#gem 'refinerycms', '= 0.9.7.2' #===END OF REFINERY GEM INSTALL REQUIREMENTS=== # Bundle gems for certain environments: diff --git a/changelog.md b/changelog.md index cd5b7a7d23..166f8c1592 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,13 @@ +## 0.9.7.2 [06 July 2010] + +- Bugfixes with users and roles [Philip Arndt and Amanda Wagener] +- Fixed the rake translate:lost_in_translation LOCALE=en and rake translate:lost_in_translation_all tasks so that they accurately reflect the missing i18n translation keys. [Philip Arndt] +- Refactored routing of i18n to allow different default frontend and backend locales. [Philip Arndt] +- Added better grammar support for some i18n [Halan Pinheiro] +- Improved output of rake refinery:update task and removed bin/refinery-update-core task. [Steven Heidel] +- Set config.ru to run in production RAILS_ENV by default [Philip Arndt] +- [See full list](http://github.com/resolve/refinerycms/compare/0.9.7.1...0.9.7.2) + ## 0.9.7.1 [03 July 2010] - Bugfixes in the gem installation method process. [Philip Arndt] @@ -5,6 +15,7 @@ - Provided example files for sqlite3, mysql and postgresql. [Philip Arndt] - Created option for specifying a database adapter (sqlite3, mysql or postgresql) when creating from Gem. [Philip Arndt] - Other bugfixes including UI consistency around signup. [Philip Arndt] +- [See full list](http://github.com/resolve/refinerycms/compare/0.9.7...0.9.7.1) ## 0.9.7 [02 July 2010] @@ -16,6 +27,8 @@ - Added spam filtering to contact form. [djones] - Full Refinery UI redesign. [Resolve Digital] - User Role support. [Amanda Wagener and Philip Arndt] +- [See full list](http://github.com/resolve/refinerycms/compare/0.9.6.34...0.9.7) +- [See blog post](http://refinerycms.com/blog/refinery-cms-0-9-7-released) ## 0.9.6.34 [09 May 2010] diff --git a/config.ru b/config.ru index 08d31a0088..0b72b88630 100644 --- a/config.ru +++ b/config.ru @@ -1,5 +1,7 @@ +ENV["RAILS_ENV"] ||= "production" require File.expand_path("../config/application", __FILE__) use Rails::Rack::LogTailer use Rails::Rack::Static + run ActionController::Dispatcher.new \ No newline at end of file diff --git a/public/stylesheets/refinery/refinery.css b/public/stylesheets/refinery/refinery.css index e062bde664..195ef37cba 100755 --- a/public/stylesheets/refinery/refinery.css +++ b/public/stylesheets/refinery/refinery.css @@ -977,6 +977,9 @@ ul#menu.reordering_menu li a { .pt-BR #search { width: 187px; } +.en #search { + width: 210px; +} .search_form { position: relative; } diff --git a/refinerycms.gemspec b/refinerycms.gemspec index 80cb91304e..3a3bcaad62 100644 --- a/refinerycms.gemspec +++ b/refinerycms.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = %q{refinerycms} - s.version = %q{0.9.7.1} + s.version = %q{0.9.7.2} s.description = %q{A beautiful open source Ruby on Rails content manager for small business. Easy to extend, easy to use, lightweight and all wrapped up in a super slick UI.} s.date = %q{2010-07-06} s.summary = %q{A beautiful open source Ruby on Rails content manager for small business.} diff --git a/vendor/plugins/refinery/app/views/layouts/admin.html.erb b/vendor/plugins/refinery/app/views/layouts/admin.html.erb index c3015b156d..f9449490c3 100644 --- a/vendor/plugins/refinery/app/views/layouts/admin.html.erb +++ b/vendor/plugins/refinery/app/views/layouts/admin.html.erb @@ -1,8 +1,7 @@ <%= render :partial => "/admin/head" %> - <% i18n_class = RefinerySetting.find_by_name('i18n_translation_current_locale').value.to_s %> - <%= " class='splash #{i18n_class}'" if logged_in? and action_name == "index" %>> + <%= " class='splash #{::Refinery::I18n.current_locale}'" if logged_in? and action_name == "index" %>> <%= render :partial => '/shared/site_bar' %>