/redmine-workload

Bugfix

Primary LanguageJavaScriptOtherNOASSERTION

Redmine Workload Plugin

This plugin helps you visualize a project workload for each task and user.

workload example screenshot

Requirements

This plugin was tested with

  • ruby 1.9.3 > 2.0.0
  • rails 3.2
  • redmine 2.0 > 2.3

Although it is not tested, it may also work with other versions.

How to install

Clone this project into your plugin directory and name it "redmine_workload".

git clone git://github.com/MPPI-DPN/redmine-workload.git redmine_workload

Reload your server. Select a project, you should now have a "Workload" menu item.

Understanding

A task workload is considered if it has a start date, a due date and if it has an estimated time.

A user workload is the sum of all task workloads that meet the requirements here above.

Features

A JSON API is also available through the url /projects/YOUR_PROJECT/workload.json. It provides a list of workloads for user and tasks.

Note that for security reasons this API is only available for a registered user.

Run tests

A few unit and functional tests are available in the /test folder. They are based on the redmine fixture.

You may run them as follow

ruby -I test plugins/redmine_workload/test/unit/*
ruby -I test plugins/redmine_workload/test/functional/*

Using ruby -I test_folder test_file(s) is way faster than rake test:units TEST=file

Credits

The workload view is rendered based on the jquery.Gantt plugin.