Category: Articles

Daily Refactor #2: Move Method in the BulkTimeEntriesController – saving a new TimeEntry

The Refactoring Following up to yesterday’s refactoring, today I kept refactoring the Bulk Time Entry plugin’s controller. The save_time_entry_from_params method I extracted yesterday only uses the TimeEntry class, so it would be perfect to move the method to the TimeEntry class. Since the TimeEntry class is defined by Redmine, I had to monkey-patch that class. …

Read more

12 New Businesses in 2010

After reading a post by Giles, I’ve decided that my primary goal for 2010 will be to build 12 new micro-businesses this year. You might think I’m crazy, since building even one business in a year is difficult but hear me out. I’m not talking about building 12 Little Stream Softwares (yet). I’m taking about …

Read more

Bulk Time Entry plugin v0.4.0 released

I’ve just uploaded the 0.4.0 release of my Redmine Bulk Time Entry plugin. This is a bug fix release that fixes several issues with the latest Redmine, Redmine 0.8.7, and Postgresql. Download The plugin can be download from the Little Stream Software project or GitHub. I’ve also released this as a gem on gemcutter and …

Read more

Redmine Plugin Dependencies

I’ve been doing a lot of integration work with Redmine lately and needed one Redmine plugin to be depend on another plugin. So yesterday I added a new method to the Redmine plugin API called requires_redmine_plugin. It’s a simple method that will make sure another Redmine plugin is installed. Using the API is simple, just …

Read more