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. …
Category: Articles
Daily Refactor #1: Extract Method in the BulkTimeEntriesController – saving a new TimeEntry
I’m having two problems right now: Not enough time to write to my blogs Not enough time to keep my Redmine plugins maintained To try and fix both of these problems, I’m going to try and start something new here: a daily refactoring. I’m going do a small refactoring to my Redmine plugins or Redmine …
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 …
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 …
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 …