Author Archives for Bryan Larsen
Hobo 1.4.0.pre6 released
Posted by
Bryan Larsen | April 24, 2012 comments One Response

Hobo 1.4.0.pre6 has been released. Hobo 1.4.0.pre5 did not generate the Gemfile correctly: the hobo gems were not correctly versioned, and the hobo_clean_admin gem was not added. If you generated an application using Hobo 1.4.0.pre5 you can make these fixes manually rather than regenerating.

Also, to clear up one thing that I did not address in the pre5 announcement: Hobo 1.4.0.pre5 and later do not automatically load dryml files in the app/views/taglibs/application/ directory. If you relied on this behaviour, you can add

<include src="application/*"/>

to your front_site.dryml or application.dryml

Hobo 1.4.0.pre5 released
Posted by
Bryan Larsen | April 23, 2012 comments 2 Responses

I’m pleased to announce that Hobo 1.4.0.pre5 has been released.

The major change in pre5 is that application.dryml is not necessarily loaded automatically any more. You will need to add an <include src="application"> to your frontsite.dryml and/or adminsite.dryml. If you don’t have any X_site.dryml files in app/views/taglibs, you will not need to make any changes.

New Hobo applications generated with 1.4.0.pre5 will incorporate this change.

To upgrade to pre5, change references from “pre4″ to “pre5″ in your Gemfile and run bundle install. If you reference hobo via :git in your gemfile, you can upgrade by running bundle update --source hobo

Other changes include bugfixes for table-plus, feckless-fieldset, input for=”EnumString”, live-search, defaultscope, accordion, tabs, hobojquery_ui styling, select-many.

There are two new tags: accordion-list & toggle, and support was added for the hobo_tokeninput plugin.

Documentation for 1.4 is available in the cookbook.

Hobo 1.4 beta available
Posted by
Bryan Larsen | March 29, 2012 comments 3 Responses

We’re proud to announce the release of Hobo 1.4 beta.

Install with gem install hobo --pre.

Major New Features

  • all prototype.js code has been removed and replaced with jQuery

  • new tags to facilitate fragment caching

  • Rails’ asset pipeline is required

  • themes may now be installed via plugins; multiple themes may be used per application

  • plugins are first class citizens; RAPID is now supplied via a plugin

  • several additional tags have gained AJAX support. This includes, but is not limited to a, filter-menu and page-nav.

  • all tags now use the standard Hobo ajax support mechanism, which used to be known as Hobo form AJAX. The editor tags in particular have changed substantially

  • part ids for AJAX updates may now be supplied implicitly or via a CSS selector

  • support for AJAX file uploads

  • support for push-state on AJAX requests

  • new tags: nested-cache, live-editor, click-editor, formlet, hot-input, feckless-fieldset, accordion, accordion-collection, autocomplete, combobox, datepicker, dialog-box, tabs and more.

Documentation & Installation Instructions

Detailed documentation of the changes & Installation Instructions are available on http://cookbook-1.4.hobocentral.net/. Not all sections of that site have been updated for Hobo 1.4. The entire taglibs section is up to date.

Regressions

  • after-submit, sortable-input-many and name-many do not work
  • Hobo 1.4 breaks default_scope. If you’re setting the order, you can use Hobo’s set_default_order as a stopgap although once it’s fixed please switch back to default_scope as set_default_order is deprecated.
  • remote-method-button, create-button, update-button, transition-button: normal usages of these tags work, but they do not work if you ask them to do AJAX
  • live-search works, but it’s not ‘live’. You have to press return to start the search
  • remove-button, remote-method-button, create-button & update-button used to display inline but now display as a block. In other words, they now display one per line rather than several in a single line.
  • the rapid_summary tags have been moved out of core Hobo into their own plugin, https://github.com/Hobo/hobo_summary, which is not yet in a working state

The rest of the TODO list for completion of Hobo 1.4 is available here:

https://github.com/tablatom/hobo/blob/master/hobo/TODO-1.4.txt

Hobo 1.1.0.pre4 released
Posted by
Bryan Larsen | February 25, 2011 comments No Responses

Hobo 1.1.0.pre4 has been released into the wild. Most of the differences between 1.1.0.pre3 and 1.1.0.pre4 mirror the changes betwen 1.0.2 and 1.0.3, including the security fix for lifecycles, so it’s highly recommended that you upgrade. Here is the changelog for the entire 1.1 release:

The biggest change to Hobo 1.1 is that DRYML has been split into it’s own gem and may now be used independently of Hobo or Rails:

Dryml.render("<html><%= this %>></html>", {:this => something})

Automatic scopes has gained any_of_:

Person.any_of_friends(Jack, Jill)

The default password validation has been changed to 6 characters, one of which must not be lowercase. Luckily, we also made the password validation easier to change. See Bug #638 for more information.

The input-many, name-one and sortable-collection tags have been updated. See the documentation for more details.

New tags have been added: sortable-input-many, login-form.

Some css class names have been changed. Hobo 1.0 creates class names with the ‘[]‘ characters, which is technically illegal, although supported by all browsers. However, this does cause problems with some third party libraries, such as JQuery.

All code changes may viewed on the github log