Archive for the Category 'ThisWeekInGrails'

This Week in Grails (2012-14)

Tuesday, April 10th, 2012

Grails 2.0.3 was released this week to address some issues with the 2.0.2 release, in particular being too aggressive with the updated parameter binding fixes. Check out the release notes for the details.

Interested in taking the SpringSource Groovy and Grails course? Check out the course info and updated schedule. The course is currently available in Columbia MD, Chicago IL, San Francisco CA, Paris, London, Brussels, Bangalore, and online. I wouldn’t mind teaching the class in Bangalore 🙂

Tomcat 7.0.27 was released this week and includes support for the WebSocket protocol (RFC6455). That looks pretty cool – you might be seeing a blog post from me on that at some point.

GR8Conf EU is approaching – register now to get the early bird price before the price goes up on April 15th. Check out the preliminary agenda and the updated information page about the conference venue and nearby hotels.


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There was one new plugin released:

  • html-cleaner version 0.1. Whitelist based HTML cleaner based on jsoup

and 17 updated plugins:

  • apns version 1.0. Apple Push Notification Service Integration
  • asynchronous-mail version 0.5. Send email asynchronously by storing them in the database and sending with a Quartz job
  • browser-detection version 0.4. Provides a service and tag library for browser detection
  • codenarc version 0.17. Static code analysis for Groovy
  • cxf-client version 1.3.1. Use existing (or new) Apache CXF wsdl2java generated content to invoke SOAP services
  • date-formatting version 0.2.8. Adds functions to the Date object to convert into various string formats
  • grails-melody version 1.13. Integrates the JavaMelody system monitoring tool
  • hibernate-search version 0.4.2. Integrates Hibernate Search for domain classes
  • jesque-web version 0.3.2. Web interface to view and manage jesque queues, jobs and workers
  • jxl version 0.52. Export data to Excel using the JXL library
  • lesscss-resources version 1.3.0. Optimises the use of http://www.lesscss.org css files, compiling .less files into their .css counterprt, and place the css into the processing chain to be available to the other resource plugin features
  • rabbitmq version 1.0.0.RC1. Integrates with Rabbit MQ messaging
  • spring-security-core version 1.2.7.3. The official Grails security plugin; integrates with Spring Security
  • twitter-bootstrap version 2.0.2.25. Twitter Bootstrap CSS framework resource files
  • uploadr version 0.5.10. HTML5 Drag and Drop file uploader
  • xsd-reverse-engineer version 0.3.2. Convert XSD document to GORM objects
  • zk version 2.0.0.M7. Adds ZK Ajax framework (www.zkoss.org) support to Grails applications

Interesting Tweets

Jobs



User groups and Conferences


This Week in Grails (2012-13)

Monday, April 02nd, 2012

Grails 2.0.2 and 1.3.8 were released this week, primarily to address parameter binding issues. See the release notes for 2.0.2 and Jeff’s blog post on the data binding issues. You should also read the SpringSource security advisory CVE-2012-1833 and Marc Palmer’s blog post “Inside the Grails dependency injection binding vulnerability”.

It turns out that the new whitelisting features in 2.0.2 were a bit too aggressive, so expect a 2.0.3 release soon to address that. 1.3.8 isn’t affected since it only fixes the dependency injection issue and updated the url for the central plugin repository.

The path to the Groovy jar in the 2.0.2 lib directory changed, and this affects importing projects in STS. Check out this post for how to update to a version with the fix. Graeme also pointed out that you can copy the lib directory contents from a 2.0.1 install onto the 2.0.2 lib directory.

Marco Vermeulen has updated the Linux releases of 1.3.8 and 2.0.2.

Marc Palmer has been busy, releasing an early version of his “Platform Core Plugin”. Also see this post for more details. And you can get paid support for the plugin through Grailsrocks. Also check out Marc’s post “Hooking up Platform Core Security API to your Security Provider”.


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There were 5 new plugins released:

  • dustjs version 0.2. Supports server-side compilation of .dust template files to their .js counterparts
  • platform-core version 1.0.M1. Provides functionality for plugins to use to achieve greater integration with each other and with applications
  • xsd-reverse-engineer version 0.2.1. Convert XSD document to GORM objects
  • events-si version 1.0.M1. Standard Events system for Grails implementation; it is a Spring Integration implementation and uses its artefacts to map listeners, senders and events messages
  • less-resources version 1.3.0.2. Compile .less files into .css files

and 4 updated plugins:

Interesting Tweets

Jobs



User groups and Conferences


This Week in Grails (2012-12)

Monday, March 26th, 2012

A Grails application won the Neo4j Heroku Challenge.

The prolific Bobby Warner has created a new screencast, “Making Money with Grails”.

STS 2.9.1 was released.

Katasoft has renamed to Stormpath and is offering commercial support for the excellent Shiro security framework.

“Static Typing”


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There were no new plugins released but 6 updated:

  • auto-test version 1.0.1. Monitors the project directory and attempts to run only the subset of tests affected by what changed
  • compass-sass version 0.7. Compass, SASS and SCSS support for Grails. Automatically compiles .scss/.sass during run-app, and adds other framework functionality
  • date-formatting version 0.2.7. Adds functions to the Date object to convert into various string formats
  • dojo version 1.6.1.9. Integrates the Dojo javascript toolkit
  • tiny-mce version 3.4.9. Integrates the TinyMce editor javascript and tags to embed the editor in your GSP pages
  • zk version 2.0.0.M6. Adds ZK Ajax framework (www.zkoss.org) support to Grails applications

Interesting Tweets

Jobs



User groups and Conferences


This Week in Grails (2012-11)

Monday, March 19th, 2012

We’re moving the central plugin repository from Codehaus to repo.grails.org. See Peter’s email describing what plugin authors will need to do, and Graeme’s email and HOWTO describing changes for plugin users.

The GR8Conf EU speakers have been announced and registration is now open with low EarlyBird prices until April 15th.


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There was one new plugins released:

  • jasmine version 1.1. Test Runner for Jasmine: DOM-less simple JavaScript testing framework

and 11 updated plugins:

  • aws version 1.2.12.2. Provide easy access to simpler functions of Amazon Web Services (AWS)
  • cucumber version 0.2.3. Test your Grails apps with Cucumber
  • date-formatting version 0.2.6. Adds functions to the Date object to convert into various string formats
  • dojo version 1.6.1.8. Integrates the Dojo javascript toolkit
  • facebook-sdk version 0.2.0. Allows your application to use the Facebook Platform and develop Facebook apps on Facebook.com or on web sites (with Facebook Connect)
  • fields version 1.1. Customizable form-field rendering based on overrideable GSP template
  • jesque-web version 0.3.1. Web interface to view and manage jesque queues, jobs and workers
  • qrcode version 0.2. Create QR codes
  • quartz version 1.0-RC1. Schedules jobs to be executed with a specified interval or cron expression using the Quartz Enterprise Job Scheduler
  • twitter-bootstrap version 2.0.1.22. Twitter Bootstrap CSS framework resource files
  • webdriver version 0.4.1. Integrates Webdriver with Grails to allow functional testing in both HtmlUnit and real browsers

Interesting Tweets

Jobs



User groups and Conferences


This Week in Grails (2012-10)

Tuesday, March 13th, 2012

We moved the grails.org site to VMware hosting this week. There were a couple of small glitches but everything’s back and working well. So we’re really eating our own dogfood now; the site is written in Grails, it runs on tc Server, and is hosted on VMware infrastructure. There are some new pages on the updated site; check out Getting Started, Tutorials, and Web Sites

STS 2.9.0 was released this week. Check out the New and Noteworthy PDF for all the new and updated Groovy, Grails, and Gradle stuff in this release. This release includes the latest release of the Groovy-Eclipse plugin; you can see what’s new in version 2.6.1 here.

Spock 0.6 was released this week, and it has a ton of cool new features. Check out this blog post discussing what’s new in version 0.6. Luke updated Geb to version 0.6.3 to use the new release.

Get your tickets for GR8Conf US soon – the price goes up on March 17th.

Looks like there’s a new site with Grails screencasts, Grails Example. The url looks like “grail sex ample” to me though 🙂


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There were 2 new plugins released:

  • cookie-session version 0.1.2. Allows you to store session data in a cookie
  • rest-client-builder version 1.0.2. Provides an alternative REST client implementation based on Spring’s RestTemplate that is not tied to commons-http-client

and 21 updated plugins:

  • build-test-data version 2.0.2. Enables the easy creation of test data by automatic inspection of constraints
  • cloud-support version 1.0.9. Support plugin to help cloud plugins update service provider connection information from the cloud environment
  • commentable version 0.8.1. Mark up any of your domain classes as having comments and then use the tag library and partial templates to integrate comments into your views
  • dbunit-operator version 1.6.2. Create initial data with the help of DbUnit
  • equals-hashcode-test version 0.2-spock-0.6. Base Spock specification for testing equals and hashCode methods of domain classes and other Groovy objects
  • geolocation version 0.4.1. Adds HTML5 geolocation support and offers some utility methods to calculate distances and range checks
  • greenmail version 1.3.2. Provides a wrapper around GreenMail and provides a view that displays ‘sent’ messages – useful for testing
  • gsp-taglib version 0.5. Makes it possible to declare tags in a gsp in grails-app/taglib
  • jasper version 1.5.3. Enables use of JasperReports
  • jdbc-pool version 1.0.9.3. Replaces default Grails Commons DBCP Pool with Tomcat JDBC Pool (http://people.apache.org/~fhanik/jdbc-pool/)
  • neo4j version 1.0.0.M2. GORM for Neo4j
  • pluginator version 0.2.2. Lets you define callbacks and properties in an application that are normally only available in plugins, e.g. doWithWebDescriptor, doWithDynamicMethods, loadAfter, observe, etc.
  • rabbitmq version 0.4-SNAPSHOT. Integrates with Rabbit MQ messaging
  • rocks version 1.0.1. Provides a UI and tools for working with plugins and also submitting Grailsrocks commercial support tickets
  • spock version 0.6. Brings the power of the Spock testing and specification framework to Grails
  • stripe version 1.0. Use Stripe to process credit card transactions
  • tooltip version 0.7. Provides a lightweight, lightning fast and cross-browser compatible tooltip that is very easy to use
  • twitter-bootstrap version 2.0.1.21. Twitter Bootstrap CSS framework resource files
  • viaboxx-dbmigrate version 1.3.3. Setup and migrate the database of your project
  • yui-minify-resources version 0.1.5. Minifies static css and js resources using the YUI Compressor library
  • zendesk version 1.0.4. Interface to Zendesk support system via their API

Interesting Tweets

User groups and Conferences


This Week in Grails (2012-09)

Monday, March 05th, 2012

Marc Palmer announced that he’s offering commercial support for several of his plugins this week. Check out the blog post blog post, the web site, and the “rocks” plugin.

Coincidentally (I assume) this week two different sites were announced that highlight Grails startups. Check out grailstartups.com and Tomas Lin’s “pinboard” app on Heroku.

GR8Conf US announced the speaker lineup and talks, and opened early bird registration. Be sure to
get your tickets now at the low initial price before the price goes up.

Masatoshi Hayashi has been doing some great stuff extending the database-session. First he released an extension plugin that stores session data in MongoDB, and he also announced the availability of a plugin that stores session data in a cookie. That one hasn’t been released yet, but you can check out the code here.


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There were 5 new plugins released:

  • functional-spock version 0.5-groovy-1.7. Allows you to write and run Spock specs under the functional test scope
  • mongodb-gridfs version 0.5.beta. Use GridFS with MongoDB
  • rocks version 1.0. Provides a UI and tools for working with plugins and also submitting Grailsrocks commercial support tickets
  • mongodb-session version 0.1. Store HTTP session data in MongoDB using the Database Session Plugin
  • mail-watcher version 0.1. Polls GMail for unread mails

and 19 updated plugins:

  • commentable version 0.8.0. Mark up any of your domain classes as having comments and then use the tag library and partial templates to integrate comments into your views
  • cxf version 0.9.0. Expose Grails services as SOAP web services via CXF
  • cxf-client version 1.2.9. Use existing (or new) Apache CXF wsdl2java generated content to invoke SOAP services
  • functional-test version 2.0.M2. Functional web testing using HtmlUnit to simulate the client browser
  • geb version 0.6.3. Geb is a library for headless web browsing on the JVM, suitable for automation and functional web testing
  • grails-melody version 1.12. Integrates the JavaMelody system monitoring tool
  • hibernate-filter version 0.3.1. Integrates Hibernate Filters with Grails
  • neo4j version 1.0.0.M2. GORM for Neo4j
  • openid version 0.4.3. Provides simple authentication using OpenID
  • pluginator version 0.2.1. Lets you define callbacks and properties in an application that are normally only available in plugins, e.g. doWithWebDescriptor, doWithDynamicMethods, loadAfter, observe, etc.
  • profiler version 0.4. Makes it easy to collect timing information for several aspects of an application
  • remote-pagination version 0.3. Provides tags for pagination and to sort columns without page refresh using Ajax and loads only the list of objects needed
  • simple-blog version 0.2.1. Adds a simple blog interface to an application
  • spring-mobile version 0.4. Uses the Spring Mobile project to detect mobile devices
  • spring-security-saml version 1.0.0.M14. SAML 2.x support for the Spring Security Plugin
  • tomcat-bundler version 0.0.2. Simplifies bundling application with Tomcat to create a whole package to be used by hosting
  • twitter-bootstrap version 2.0.1.18. Twitter Bootstrap CSS framework resource files
  • uploadr version 0.5.9. HTML5 Drag and Drop file uploader
  • zendesk version 1.0.3. Interface to Zendesk support system via their API

Interesting Tweets

Jobs



User groups and Conferences


This Week in Grails (2012-08)

Monday, February 27th, 2012

Check out Mike Hugo’s cool screencast demonstrating the AutoTest plugin. The plugin looks great – I’m a big fan of anything that makes testing easier, quicker, or more intuitive.

I released a version of the database-session plugin that actually works (the version 1.0 release should have been a snapshot). I created it to be able to deploy apps on Heroku and run multiple web server instances (they don’t support session affinity or clustering) but it’s usable any time you want to store session data in a database or other datastore. In fact Masatoshi Hayashi has created a variant of the plugin that uses MongoDB and I’ll be working with him to get that released soon. Anybody want to write one that uses Redis or Memcached?

I’ll also be working with Alex Shneyderman to get a release of the hibernate-filter plugin out this week. It’s almost ready to go and works with Grails 2.0 apps, so it should be out soon.

If you haven’t already, check out my post Using Servlet 3.0 Async Features in Grails 2.0. Note that Tomcat 7.0.26 was released this week and it fixes a serious bug when deploying servlet 3.0 applications that would cause an OOME unless you disabled scanning for annotated web.xml classes.


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There were 3 new plugins released:

  • delicious version 0.1. Integration with the Del.icio.us API
  • grails-runtime-docs version 1.0.0-M1. Generates both Java and Groovy documentation for a project, also displaying the dynamic methods and properties added to artifacts along with their source information
  • zendesk version 1.0.1. Interface to Zendesk support system via their API

and 17 updated plugins:

  • ajax-uploader version 1.1. Tag Library which implements Andrew Valum’s excellent file uploader
  • build-test-data version 2.0.1. Enables the easy creation of test data by automatic inspection of constraints
  • database-session version 1.1.2. Stores HTTP sessions in a database
  • equals-hashcode-test version 0.2-spock-0.5-groovy-1.7. Base Spock specification for testing equals and hashCode methods of domain classes and other Groovy objects
  • file-viewer version 0.3. Provides a user-friendly way to view folders and files
  • functional-test version 2.0-M1. Functional web testing using HtmlUnit to simulate the client browser
  • heroku version 1.0.1. Integrates Heroku’s cloud platform
  • joda-time version 1.4. Integrates the Joda Time date/time library into Grails
  • jxl version 0.51. Export data to Excel using the JXL library
  • localizable version 0.3. A wrapper for Google Maps geocoding service
  • mongodb-morphia version 0.7.8. Alternative MongoDB GORM based on the Morphia library (former gorm-mongodb)
  • multi-tenant-single-db version 0.8.2. Multi tenant setup focused on single database mode
  • simple-blog version 0.2.0. Adds a simple blog interface to an application
  • vaadin version 1.5.3. Adds Vaadin (http://vaadin.com/) integration
  • zk version 2.0.0.M5. Adds ZK Ajax framework (www.zkoss.org) support to Grails applications
  • zk-hibernate version 2.0.0.M5. Hibernate support for ZKGrails
  • zkui version 0.5. Seamlessly integrates ZK with Grails’ infrastructures; uses the Grails’ infrastructures such as GSP, controllers rather than zk’s zul as in ZKGrails plugin

Interesting Tweets

Jobs



User groups and Conferences


This Week in Grails (2012-07)

Tuesday, February 21st, 2012

Grails 2.0.1 was released this week. Check out the release notes page which has a link to the JIRA changelog and Graeme’s blog post.

A couple of cloud-related items. The Heroku deployment process depends on a bundled version of supported versions of Grails that includes the Jetty jars that will be used to run the server for that instance. They’re working on a 2.0.1 bundle but it’s not ready yet, so you’ll need to continue to use 1.3.7 or 2.0.0 until this is resolved. There’s also an issue with Cloud Foundry affecting Grails applications that use the Spring Security Core plugin. The deployment process is reordering filter-mapping elements in the web.xml file and causing IllegalStateExceptions. It only affects annotation-guarded applications, so using one of the other two approaches is a workaround. Watch this JIRA issue if this affects you.

Update: the Heroku team updated their supported versions and you can now deploy 2.0.1 apps along with 2.0.0 and 1.3.7


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There was 1 new plugin released:

  • tomcat-bundler version 0.0.1. Simplifies bundling application with Tomcat to create a whole package to be used by hosting

and 16 updated plugins:

  • cdn-resources version 0.2.1. Loads static resources using Content Delivery Networks using the Resources plugin framework
  • coffeescript-resources version 0.3.1. Create coffeescript modules that automatically compiles on every file change with jCoffeeScript
  • cxf-client version 1.2.7. Use existing (or new) Apache CXF wsdl2java generated content to invoke SOAP services
  • fields version 1.0.4. Customizable form-field rendering based on overrideable GSP template
  • grails-template-engine version 0.2.1. Exposes the GSP engine as a service to render GSPs outside of a web request
  • ic-alendar version 0.3.4. Export event data in the iCalendar format
  • jaces version 1.7.2.2. Streamlines the process of creating database applications using Dojo
  • kickstart-with-bootstrap version 0.5.6. Start your project with a good looking frontend, with adapted scaffolding templates for standard CRUD pages using Twitter Bootstrap
  • pluginator version 0.2. Lets you define callbacks and properties in an application that are normally only available in plugins, e.g. doWithWebDescriptor, doWithDynamicMethods, loadAfter, observe, etc.
  • raphael version 2.0.2. Provides the JavaScript Vector Library Raphaël – cross-browser vector graphics the easy way
  • regen version 0.3. Provides a generation framework and a set of pluggable artefacts under grails-app/generators
  • spring-security-facebook version 0.6.2. Plugin for Facebook Authentication, as extension to Grails Spring Security Core plugin
  • spring-security-oauth2-provider version 1.0.0.M5.1. OAuth2 Provider support for the Spring Security plugin
  • zk version 2.0.0.M4. Adds ZK Ajax framework (www.zkoss.org) support to Grails applications
  • zk-hibernate version 2.0.0.M4. Hibernate support for ZKGrails
  • zkui version 0.5.M3. Seamlessly integrates ZK with Grails’ infrastructures; uses the Grails’ infrastructures such as GSP, controllers rather than zk’s zul as in ZKGrails plugin

Interesting Tweets

Jobs



User groups and Conferences


This Week in Grails (2012-06)

Tuesday, February 14th, 2012

Groovy 1.8.6 was released this week and the upcoming Grails 2.0.1 release will include it.

The call for papers for GR8Conf Europe and GR8Conf US ends this week on the 15th so be sure to get your proposals in ASAP.

I released an update of the console plugin this week but all the credit for the changes goes to Matt Sheehan. The UI now supports either a horizontal or vertical view and has several other usability and look/feel tweaks (like CTRL+Enter will execute the current code). Upgrade to version 1.1 to see the updates.

It’s been 17 months since the last release, but the 0.2 release of the Spring Security UI plugin is finally out. It includes 19 fixed JIRA issues and now works with Grails 1.3.x and 2.0.0. Check out the docs here. I’m hoping to have some time this week to do a quick blog post this week discussing the changes and some notes on upgrading, in particular if you’ve customized some of the pages.

Check out my Why I’ll never use Groovy on Grails post if you haven’t already, and spread the word – there are still a lot of confused people out there 🙂


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There were 2 new plugins released:

  • kickstart-with-bootstrap version 0.5. Start your project with a good looking frontend, with adapted scaffolding templates for standard CRUD pages using Twitter Bootstrap
  • sham version 0.2. Uses the sham data generation library to generate test/demo data

and 22 updated plugins:

  • autobase version 1.0.0.0. Database migrations
  • build-info version 1.2.3. Provides a controller/view that display basic information about the war file
  • build-test-data version 2.0.0. Enables the easy creation of test data by automatic inspection of constraints
  • console version 1.1. A web-based Groovy console for interactive runtime application management and debugging
  • constraints version 0.8.0. Allows you to create custom domain Constraints for validating Domain objects
  • dojo version 1.7.1.5. Integrates the Dojo javascript toolkit
  • drools-gorm version 0.5.6. Integrates Drools 5.2 and jBPM 5 and provides persistent storage using GORM
  • export version 1.1. Export domain objects to a variety of formats (CSV, Excel, ODS, PDF, RTF and XML)
  • external-config-reload version 1.0.0. Polls for changes to external configuration files (files added to grails.config.locations), reloads the configuration when a change has occurred, and notifies specified plugins by firing the onConfigChange event in each
  • feature-toggle version 0.2. Provides Tag Libraries and dynamic methods to implement configurable features
  • fields version 1.0.3. Customizable form-field rendering based on overrideable GSP template
  • gsp-taglib version 0.4. Makes it possible to declare tags in a gsp in grails-app/taglib
  • jaxrs version 0.6. Supports the development of RESTful web services based on the Java API for RESTful Web Services (JSR 311: JAX-RS)
  • lesscss-resources version 1.0.1. Optimises the use of http://www.lesscss.org css files, compiling .less files into their .css counterprt, and place the css into the processing chain to be available to the other resource plugin features
  • paypal version 0.6.6. Adds PayPal integration
  • routing version 1.2.0. Send and route messages to a wide variety of destination endpoints directly from your Controllers and Services using Camel
  • routing-jms version 1.2.0. JMS integration for the grails-routing plugin
  • spring-security-facebook version 0.6. Plugin for Facebook Authentication, as extension to Grails Spring Security Core plugin
  • spring-security-oauth2-provider version 1.0.0.M5.1-SNAPSHOT. OAuth2 Provider support for the Spring Security plugin
  • spring-security-ui version 0.2. User interface extensions for the Spring Security plugin
  • zk version 2.0.0.M3. Adds ZK Ajax framework (www.zkoss.org) support to Grails applications
  • zk-hibernate version 2.0.0.M3. Hibernate support for ZKGrails

Interesting Tweets

Jobs



User groups and Conferences


This Week in Grails (2012-05)

Monday, February 06th, 2012

Rob Fletcher has been doing some great work on scaffolding. Check out this slick demo app on Cloud Foundry. It uses his Fields plugin (the successor to the bean-fields) and Twitter Bootstrap.

I realized this week that I’d missed the transition of Rob’s blog to its new home and had missed some interesting posts: Organizing Functional Tests and Optional Tag Bodies.

When I switched to 2.0 for development of the Spring Security Core plugin, the PDF of the docs was clipped on the right and I assumed it was because of a 2.0 bug so I removed the PDF from the docs page. I tried generating PDF docs this week for another project and it worked fine and I realized that it was actually a combination of long non-breaking strings and the new larger font that was the issue, so I added in some spaces to allow line breaks and updated the docs page with a link to the PDF.

I also did some work to make working with Heroku a bit better. There was a reported issue with using SSL and Spring Security so I released a small update of the spring-security-core plugin (v1.2.7.2) to address that and updated the Heroku docs about how to use it. There wasn’t a need to update the Heroku plugin – it involves a configuration setting for the security plugin. I’m now also generating PDF docs for the Heroku plugin which you’ll see at the docs link.

Another standing issue with Heroku and Spring Security has to do with sessions when running multiple instances of an application. Heroku doesn’t offer any session clustering or session affinity options, so authentication will usually fail because after successfully logging into one instance, you’ll get redirected and there’s a good chance you’ll end up on an instance that doesn’t have your authentication details in its session. I started playing with an approach to session management that stores sessions in a database (either a database or a NoSQL store or even Memcached) and released a preliminary version of the database-session plugin to test it out, but it’s not ready yet. It was a mistake to release it as 1.0 – it should have been a snapshot release – so don’t use it yet.

I also updated the runtime-logging to work with Grails 1.3 and 2.0.


If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just these posts.


Translations of this post:



Plugins

There were 8 new plugins released:

and 22 updated plugins:

  • asynchronous-mail version 0.4. Send email asynchronously by storing them in the database and sending with a Quartz job
  • auto-test version 1.0. Monitors the project directory and attempts to run only the subset of tests affected by what changed
  • bean-fields version 1.0.BUILD-SNAPSHOT. Provides a suite of tags for rendering form fields for domain and command objects
  • cxf-client version 1.2.6. Use existing (or new) Apache CXF wsdl2java generated content to invoke SOAP services
  • dojo version 1.6.1.5. Integrates the Dojo javascript toolkit
  • elasticsearch version 0.18.7.1-SNAPSHOT. Adds support for the http://www.elasticsearch.com/ RESTful search engine
  • external-config-reload version 0.4.9. Polls for changes to external configuration files (files added to grails.config.locations), reloads the configuration when a change has occurred, and notifies specified plugins by firing the onConfigChange event in each
  • fields version 1.0.1. Customizable form-field rendering based on overrideable GSP template
  • grom version 0.2.3. Sends notifications on Windows, Linux, and Mac
  • jesque version 0.3.0. Groovier approach to using jesque
  • jesque-web version 0.3.0. Web interface to view and manage jesque queues, jobs and workers
  • jquery-mobile version 1.0.4. Provides jQuery mobile framework resource files
  • lesscss-resources version 1.0. Optimises the use of http://www.lesscss.org css files, compiling .less files into their .css counterprt, and place the css into the processing chain to be available to the other resource plugin features
  • paypal version 0.6.5. Adds PayPal integration
  • redis version 1.2. Provides integration with a Redis datastore
  • routing version 1.1.7. Send and route messages to a wide variety of destination endpoints directly from your Controllers and Services using Camel
  • runtime-logging version 0.4. Control Log4j logging at runtime
  • spring-security-core version 1.2.7.2. The official Grails security plugin; integrates with Spring Security
  • spring-security-saml version 1.0.0.M13. SAML 2.x support for the Spring Security Plugin
  • spring-security-shibboleth-native-sp version 1.0.3. Shibboleth Naitive SP support for the Spring Security grails plugin
  • twitter-bootstrap version 2.0.0.16. Twitter Bootstrap CSS framework resource files
  • twitter4j version 0.3.2. Send and receive Twitter messages using the twitter4j library

Interesting Tweets

Jobs



User groups and Conferences


Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.