a port of Redmine to CakePHP from Ruby on Rails