Issue Vote Plugin

Added by Andrew Chaika over 8 years ago

Issue Vote Plugin 0.0.1:

Replies (43)

RE: Issue Vote Plugin - Added by c CC over 7 years ago

can anybody help me using the query_vote_patch.rb? I would love to add the voting feature into the issue overview.
any suggestions?

RE: Issue Vote Plugin - Added by Daniel Maas over 7 years ago

Clicking Vote up or down gives me 403 error.

Its the same failure for me... and I also have the bulk_time_entries plugin installed.

It must be possible to use it anyway somehow....

RE: Issue Vote Plugin - Added by Daniel Maas over 7 years ago

I mean I have the redmine_issues_group plugin installed

RE: Issue Vote Plugin - Added by Daniel Maas over 7 years ago

I just changed:
16:/vendor/plugins/redmine_issues_group/app/controllers/issues_controller.rb

skip_before_filter :authorize, :only => [:autocomplete_for_parent]
to
skip_before_filter :authorize, :only => [:autocomplete_for_parent, :vote]

and commented out the skip before in the issue_controller of the vote_plugin
and it works for both plugins

Thanks Andrew

RE: Issue Vote Plugin - Added by Terence Mill about 7 years ago

German translation: de.yml

de.yml Magnifier (152 Bytes)

RE: Issue Vote Plugin - Added by Terence Mill about 7 years ago

c CC wrote:

can anybody help me using the query_vote_patch.rb? I would love to add the voting feature into the issue overview.
any suggestions?

How can i eanble the vote field for showing, filtering and grouping in issue overview? The second screenshot shows a view i can find. Plz help!

RE: Issue Vote Plugin - Added by Jaap Prickartz about 7 years ago

thanks for this plugin!
Dutch translation added.

nl.yml Magnifier (145 Bytes)

RE: Issue Vote Plugin - Added by Rafael Diaz-Tushman almost 7 years ago

Great plugin, everyone. I love it.

Is this the place to put feature requests? I'd like to be able to allow certain User Groups to vote more than once. I'd write this myself if I could... but I can't :-(

Thanks in advance!

RE: Issue Vote Plugin - Added by Stefan Lindecke over 6 years ago

Does anyone use this module in redmine 1.1.1 ?
I can see the voting arrows, but nothing else.
After clicking on one arrow, nothing happens

RE: Issue Vote Plugin - Added by Terence Mill over 6 years ago

Here is works on redmine 1.1.2 and if i click an error the vote count raises 1. The user has only 1 vote per issue.

RE: Issue Vote Plugin - Added by Terence Mill over 6 years ago

IT has one bug:
The vote field in ticket list is not available, so filtering and grouping in issue overview is not possible.

RE: Issue Vote Plugin - Added by Chris Martin over 6 years ago

Managed to find a way to get multiple votes working. I know this is only for special cases, but in our environment this is okay. What i'd like is to have the ability to configure a max # of votes in any given direction before locking them out. Like if they voted 1 time in a row up or down they are locked out, which is the current functionality. Then we can expand the limit, so if they voted up or down X number of times in a row we will lock them out to prevent people from going "hog-wild" on voting an issue up or down. I'd make this code change myself over the weekend, but I'm not a ruby coder at all. I wouldn't know how to get this to work.

Anyways, without further ado, my cludge patch. Head into lib/act_as_voteable.rb file and comment the following lines in the voted_by_user? module

        def voted_by_user?(user=User.current)
          rtn = false
#          if user
#            self.votes.each { |v|
#              rtn = true if user.id == v.user_id
#            }
#          end
          rtn
        end

Add Korean language file - Added by Ki Won Kim over 6 years ago

Thanks for plugin development.
And to add Korean language file.

ko.yml Magnifier - Korean language file (181 Bytes)

RE: Issue Vote Plugin - Added by Txinto Vaz about 6 years ago

Thanks for plugin development too!
Please, add this contents to an Spanish language file.

es:
button_vote_up: positivo
button_vote_down: negativo
label_votes: Votos
field_votes_value: Votos

Thank you.

Tx.

RE: Issue Vote Plugin - Added by Pedro Somoza over 3 years ago

Doesn anybody now if this plugin still works?
And if it works for redmine?

Cheers ;-)

RE: Issue Vote Plugin - Added by Anton Reutov over 1 year ago

Hi,
This plugin is not compatible with redmine 3.2.0

Error log

@Started GET "/redmine/issues/1" for 171.61.122.40 at 2016-02-19 13:18:58 +0300
Processing by IssuesController#show as HTML
  Parameters: {"id"=>"1"}
  Current user: anton (id=5)
  Rendered issues/_action_menu.html.erb (1.9ms)
  Rendered plugins/redmine_vote/app/views/issues/_voting_controls.html.erb (2.0ms)
  Rendered plugins/redmine_vote/app/views/issues/_issue_voting.html.erb (2.3ms)
  Rendered issues/show.html.erb within layouts/base (13.6ms)
Completed 500 Internal Server Error in 68ms (ActiveRecord: 8.1ms)

ActionView::Template::Error (wrong number of arguments (1 for 2..3)):
    1: <% vv = @issue.votes_value %>
    2: <%= content_tag('span', vv, :class => (vv > 0? 'votes-positive': ( vv < 0 ? 'votes-negative' : ''))) %>
    3: <%= content_tag('span', " (" + @issue.votes_for.to_s + "/" + @issue.votes_count.to_s + ", " + @issue.votes_percent.round(1).to_s + "%)") %>
    4: 
    5: <% @project = @issue.project %>
    6: <%= javascript_include_tag('votes', :plugin => 'redmine_vote') %>
  lib/redmine/hook/view_listener.rb:59:in `block (2 levels) in render_on'
  lib/redmine/hook/view_listener.rb:57:in `map'
  lib/redmine/hook/view_listener.rb:57:in `block in render_on'
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:96:in `call_hook'
  app/views/issues/show.html.erb:72:in `_app_views_issues_show_html_erb__3421890699313075268_70288604791920'
  app/controllers/issues_controller.rb:118:in `block (2 levels) in show'
  app/controllers/issues_controller.rb:115:in `show'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'@

1 2 (26-43/43)