Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

125 lines (91 sloc) 5.03 KB

Working on release of bcms 3.4

Things to test:

  • bcms install (verify where it puts mount_browsercms)
  • bcms demo


Migration Bugs

  • Attachment fields won't be generated correctly.
  • Attachment sections won't be generated correctly.
  • Category fields won't be generated correctly.
  • Html fields aren't sized.
  • There is no down migration.


Making upgrade of bcms 3.1 and 3.3 -> 3.4 work


  • Upgrade some of the modules (bcms_news)

Documenation on scripts

* Thor Actions -
* Rails Actions -

Short Term

  • Get 3.4 ready for release
  • Test upgrading a browsercms v3.1.x/3.3.x to 3.4.x
  • Write upgrade instructions from 3.1.x/3.3.x to 3.4
  • Find a more conventional pattern for configuring Engines/Modules for individual projects. ** Look at the more popular gems

Aruba Tests needed for: bcms demo bcms install


  • If a content type can't be found in code, the entire /cms/content_library will throw an error. This could be made more robust by just not showing the content type. This probably only happens when we upgrade databases for testing, but its still annoying.
  • [DynamicPortlets] If you leave fields blank, they throw errors (and/or grab other default templates)


  • Fix forms layouts in Chrome (Instructions cause a problem)
  • Can't create some portlets - Add scenarios ** Email a page portlet - ERROR: uninitialized constant EmailPagePortlet::EmailMessage ** Tag Cloud portlet - ERROR: uninitialized constant TagCloudPortlet::Tag
  • Update a few modules (like bcms_news) to test module generation
  • Test this on a production environment prior to releasing (things like assets and/or config options might be wonky)
  • Rework a few modules to work with Rails 3.1
  • Review the README for accuracy in light of engines and asset pipeline

Wants (Taking advantage of Rails 3.1)

  • Add Block.publish and publish! for easier coding. (or just make default for blocks to be published via code and not via UI)
  • Verify that instances of Acts::As::ContentPage in projects can correctly load CMS templates
  • Internal CMS layouts (like _head.html.erb) do not take advantage of the asset pipeline to join all css or js files (most are compiled into cms/application.css though)
  • Improve generators for assets from engines (Review
  • Remove the styled_file_field (no longer maintained)
  • Themes can be packaged as assets as well (I think?). Rework bluesteel so its part of the asset pipeline.
  • Run in production mode locally (for better error testing). Try POW to see if that adds subdomains easily.
  • Design how a portlet can include a single jquery based library by just declaring it in the render.html.erb. ** eg. auto_discovery_link_tag -> Does not get included in the head
  • Allow for multiple view templates for blocks.
  • Look at Papertrail and see how they structure versions. Their API seems every simple for single blocks.
  • Clean up logging messages that are filling up the production logs unnecessarily ** 'Caching enabled' ** 'Not the CMS site' ** 'Rendering content block X' ** 'Not caching, user logged in' ** Rendering template X' ** Have at most one line per request for any diagnostic result.
  • Move 'datepicker' initialization into application.js
  • Upgrade jquery.selectbox-0.5 to ( This will likely improve the usability of the selectbox.

    Determine if there is a more conventional pattern for applying seed data as part of an engine. From Docs...

    If your engine has migrations, you may also want to prepare data for the database in

    the seeds.rb file. You can load that data using the load_seed method, e.g.


3.5 Planned Features

  • Improve Performance - Sitemap and serving pages is particularly slow ** Use Ancestry gem - It handles automatically turning models into tree via a single column. Would be very very performant in comparison to current behavior. ** Call it 'Addressable' (Pages, Links, Sections, etc)

New Features

  • Make templating better through the UI
  • Make content blocks the same as pages

Modules to be updated (for Engines)

bcms_news (first one) bcms_polling bcms_event bcms_fckeditor (Needs to correctly use new JS inclusion and may need to generate a customconfig.js) bcms_content_rotator bcms_webdav bcms_cas bcms_google_mini_search bcms_page_comments

bcms_fckeditor - 1.1.0 is pushed to github. Gem needs to be pushed as well. Need to test file upload (browser.xml) from within the browser

  • BUG - bcms_news - Recent Archive portlet is throwing errors. bcms_google_mini_search - 1.2 pushed to github. Gem not released.

How to upgrade to a Rails Engine

  • cd into your project
  • Run rails plugin new . --mountable
  • All the available rake tasks in the App are prefixed as 'app'. So rake app:db:install
  • Need to copy the migrations from the engine into the application.
Jump to Line
Something went wrong with that request. Please try again.