Skip to content

elecard-med/redpoll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedPoll

Plugin for creating polls.

Environment:

Ruby 2.2+
Redmine 3.3+
breadcrumbs_on_rails (3.0.1)

Installation a plugin:

  1. cd {REDMINE_ROOT}/plugins
  2. git clone https://github.com/elecard-med/redpoll.git
  3. bundle install
  4. bundle exec rake redmine:plugins:migrate RAILS_ENV=production
  5. Restart Redmine
  6. Then enable the plugin "Administration->Plugins" for projects
  7. Create group "redpoll" "Administration->Groups->New group"
  8. Add users who are allowed to create polls in a group of redpoll or create new users

Tests:

rake redmine:plugins:test NAME=redpoll

Run:

Log in Redmine "redpoll" user and create a new poll. Create a new question and a list of answers to this question. Consistently create all questions and answers to them. Copy the code like {{redpoll(70%, 300px, 1)}} and paste to the wiki page

Settings:

Administration->Plugins->Redpoll plugin Configure If you want, you can determine the name of the band Redpoll group (default redpoll) and the output format of the voting user. To restrict user fields from output patch self.format_user(user) function in app/helpers/redpoll_votes_helper.rb

Uninstalling a plugin:

  1. bundle exec rake redmine:plugins:migrate NAME=plugin_name VERSION=0 RAILS_ENV=production
  2. rm #{RAILS_ROOT}/plugins/redpoll
  3. Restart Redmine

License:

MIT

Autors of the Plugin:

Elecard-Med Company (Aleksey Shimonchuk, Ivan Lysenko, Valery Dacyuk, Sergey Kochetkov)

About

Plugin for creating polls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published