📜 ⬆️ ⬇️

Another pair of plugins for Redmine

image
Well, we continue to finish Redmine to fit our needs in order to increase usability and expand functionality.
This time 2 plug-ins were developed: time accounting in projects with hourly pay and rating of employees.



Time tracking plugin redmine_centosadmin_timing


')
In order to expand the company's services, an hourly service system was introduced. This is interesting for those clients who do not want permanent support and who are sufficient to perform certain tasks on requests. In this case, a package of hours is bought, which is then spent as the bids are completed.

Putting the plugin is very simple.

We clone a code from a repository in a folder with plug-ins.
In our case it looks like this:
git clone git://github.com/olemskoi/redmine_centosadmin_timing.git /opt/redmine/plugins 

Put the necessary gems:
 bundle install 

Making the migration of the plugin:
 bundle exec rake redmine:plugins:migrate 

Restart redmine.

On the module selection page in the project settings, our plugin appeared:
image

On the main page of the project settings a field was added to indicate the prepaid time margin:
image

Now, for any activity in the tasks of the project, the time spent by the employee is deducted from the prepaid stock.
When the stock reaches the balance in 1 hour, the customer will receive an email notification of this.

Staff rating plugin redmine_centosadmin_rating



The second plugin was decided to develop for the convenience of feedback. So that the client could rate the performer, as well as comment on his work. This helps to better understand the situation about the quality of service, allows the manager to immediately see the likely conflict points. And, of course, the estimated statistics allows you to see the quality of work of employees, which has become very important when there are more than 10 of them and with more than 150 support projects. With smaller numbers, it was still possible to handle manually.

So, the installation of the plugin is also as simple as possible.
Clone the code from the repository to the folder with the plugin:
 git clone git://github.com/olemskoi/redmine_centosadmin_rating.git /opt/redmine/plugins 

Put gems:
 bundle install 

Perform migration:
 bundle exec rake redmine:plugins:migrate 

There is still an opportunity to include notifications about the need to evaluate closed tasks.
If this is required, then perform:
 cd /opt/redmine/plugins/redmine_centosadmin_rating && whenever -i 

Restart Redmine.

A new plugin has appeared in the list of modules:
image

When updating the ticket, a new block appeared:
image

Due to the fact that there may be several performers in the ticket, the performer being evaluated can be chosen at the discretion of the user.

All ratings and comments are reflected in the ticket itself and on the summary activity page in Redmine.
The average user rating is displayed on his page.

At the moment there are a few more ideas for plugins, I will write about them as they are implemented.

For assistance in the development I express my gratitude to the company Kernel Web in general and Maxim Konin in particular.

Author: Alexander Khaustov, Technical Director, centos-admin.ru

Source: https://habr.com/ru/post/231445/


All Articles