Project

General

Profile

Issue Vote Plugin


Replies (43)

RE: Issue Vote Plugin - Added by Mischa The Evil over 15 years ago

Hi Andrew,

I've taken a quick look at your plugin-implementation and it seems to be better then what I could come up with... I was initially planning development of a voting plugin but never made it actually developing it due to missing spare-time...

Some notes about issues here on redmine.org:
  • you've announched this plugin at issue #2104, though looking at this comment by Thomas it's not really the scope of that issue.
  • it should be announched at issue #1011 since this plugin fullfills that issue's scope completely (I'll remove the assignment of the issue to <<me>> and add a note referring to this forum-thread).
Some notes about the plugin:
  • I tried the plugin both on Redmine 0.8.0 (trunk at r2167) and Redmine trunk at r2641 but it seems to fail on 0.8.x (only) while migrating the DB with the following error:
    [root@server redmine.tst.network.lan]# rake db:migrate_plugins RAILS_ENV="production" 
    (in /path/to/redmine.tst.network.lan)
    rake aborted!
    undefined method `render_on' for IssuesVoteHook:Class
    
    (See full trace by running task with --trace)
  • I think it would be nice to have the plugin to add a new filter "votes", to be also able to filter the issuelist on the amount of votes instead of only being able to sort the current issuelist by number of votes... This is already shown as possible by Eric Davis's Budget plugin. He adds a new filter named "deliverables" using the following module: http://github.com/edavis10/redmine-budget-plugin/blob/fd891e7f5135ce4f064f59ae671dcee752488c1f/lib/query_patch.rb#L38.

Seems you've done another (after the grouping plugin) great job on developing a Redmine plugin... Thanks for Open-Sourcing your work...

Regards,

Mischa.

RE: Issue Vote Plugin - Added by clawfrown clawfrown over 15 years ago

Andrew! The plugin is very cool!

But I have noticed that I can vote more than one time if press many times on the voting arrow..
Can it be fixed somehow?

RE: Issue Vote Plugin - Added by clawfrown clawfrown over 15 years ago

Forgot to say thank you very much - it is really great job.

RE: Issue Vote Plugin - Added by Andrew Chaika over 15 years ago

Victor Blagomir wrote:

But I have noticed that I can vote more than one time if press many times on the voting arrow..
Can it be fixed somehow?

Victor, I will check and fix this in new version.

RE: Issue Vote Plugin - Added by Eric Davis over 15 years ago

Andrew Chaika:

Great job. Is there a repository I can use to check this out from. I'd like to use it myself and could add the filtering that Mischa mentioned.

Eric

RE: Issue Vote Plugin - Added by Andrew Chaika over 15 years ago

Eric,

I have published new version of this plugin at github - http://github.com/Ubik/redmine_vote/tree/origin
Please feel free to use it on your own.

RE: Issue Vote Plugin - Added by Alexey Lustin over 15 years ago

Andrew, my regrets to you.

may i ask you a questions/request a feature

1. you have users_who_voted method - did you planing show the user list to user with show_voting_list wright in his role
1a. user list must be group by +1/-1 i think

2. may be create user ability to change his vote (may when i give the vote i was wrong ;-))

RE: Issue Vote Plugin - Added by Alexey Lustin over 15 years ago

i'm to harry in implementaion from Russian to English ;-)

not regrets

i mean respects

RE: Issue Vote Plugin - Added by Andrew Chaika over 15 years ago

Alexey,

For now, I don't have any plans to continue development of this plugin, mainly because I don't use it in my everyday work.
But I will think about your request and if I got some free time I will implement described features.

RE: Issue Vote Plugin - Added by Jason Messmer over 15 years ago

Missing entries in the en.yml file:

label_votes: Vote
field_votes_value: Vote

RE: Issue Vote Plugin - Added by Jason Messmer over 15 years ago

field_votes_value: Vote(s)

RE: Issue Vote Plugin - Added by Jason Messmer over 15 years ago

label_votes: Vote(s)

RE: Issue Vote Plugin - Added by Mischa The Evil over 15 years ago

To whom it may concern: I'll attach the latest release (0.0.2) from GitHub as a packaged archive...

Regards,

Mischa

redmine_vote-0.0.2.zip (14.8 KB) redmine_vote-0.0.2.zip Archived package of release 0.0.2 from GitHub

RE: Issue Vote Plugin - Added by Jimmy Zimmerman over 15 years ago

I made some development mode fixes. Find it on my fork:

http://github.com/jimmyz/redmine_vote/tree/master

RE: Issue Vote Plugin - Added by James Turnbull over 15 years ago

Excellent plug-in!

Two quick comments:

1. It's be good to have a summary report in the Reports screen.
2. You can vote for closed/rejected/etc issues. I think it should be configured to only allow voting for open issues.

Regards

James Turnbull

RE: Issue Vote Plugin - Added by Steve Diver over 15 years ago

I concur, voting for closed issues can be unwanted.

I have just experienced a conflict while replying to an issue. It seems that a vote is counted as an update, and prevents the posting of a reply if a vote is made during the compiling of the reply. Combined with no method of saving a draft message, and that attachments are also completed while in this limbo mode, makes for some messy history.

This plugin is very useful by the way, and we are using it to good effect.

RE: Issue Vote Plugin - Added by Anh Kỳ Huỳnh about 15 years ago

Thank you jimmyz for a cool plugin!

I send you the Vietnamese translation of the plugin. See file vn.yml attached.

Regards,

vn.yml (162 Bytes) vn.yml vietnamese translation

RE: Issue Vote Plugin - Added by WenSong Zhou about 15 years ago

Trying Vote 0.0.2 on Redmine trunk r2847
Clicking Vote up or down gives me 403 error.

403
You are not authorized to access this page.

./log/production.log

Processing IssuesController#vote (for 127.0.0.1 at 2009-09-01 22:03:06) [GET]
  Parameters: {"vote"=>"up", "action"=>"vote", "id"=>"1", "controller"=>"issues"}
Rendering template within layouts/base
Rendering common/403 (403)
Filter chain halted as [:authorize] rendered_or_redirected.
Completed in 24ms (View: 20, DB: 1) | 403 Forbidden [http://localhost/redmine-0.9/issues/vote/1?vote=up]

Thanks!

RE: Issue Vote Plugin - Added by Brian DeVries about 15 years ago

WenSong Zhou wrote:

Trying Vote 0.0.2 on Redmine trunk r2847
Clicking Vote up or down gives me 403 error.
[...]

./log/production.log
[...]

Thanks!

Haha, perfect timing - was just coming here to check on that. I haven't had time to look into what could be causing it. I've double-checked the permissions on the plugin directory, which is the only thing I can think of at the moment that would cause this, and it's the same as the permissions for the rest of Redmine.

If there's anything else I can check on, feel free to let me know.

Thanks!

RE: Issue Vote Plugin - Added by WenSong Zhou about 15 years ago

Brian DeVries wrote:

Haha, perfect timing - was just coming here to check on that. I haven't had time to look into what could be causing it. I've double-checked the permissions on the plugin directory, which is the only thing I can think of at the moment that would cause this, and it's the same as the permissions for the rest of Redmine.

If there's anything else I can check on, feel free to let me know.

Thanks!

Set 777 permissions for the plugin directory , but it still gives me 403 errors.

sudo chmod -R 777 ./vendor/plugins/

Thanks

RE: Issue Vote Plugin - Added by WenSong Zhou about 15 years ago

Haha, I removed all of my plugins except Vote, that's OK.
It's Conflict with redmine_issues_group plugins .

RE: Issue Vote Plugin - Added by Brian DeVries about 15 years ago

WenSong Zhou wrote:

Haha, I removed all of my plugins except Vote, that's OK.
It's Conflict with redmine_issues_group plugins .

Ah, okay, that would do it then. I have that one installed as well. If I get time I'll try to look into it, see what the conflict is about.

RE: Issue Vote Plugin - Added by Nikita Pustovoytov about 15 years ago

Hi, Andrey!

I tried to install your plugin on trunk r2993 but I got an error while migrating:
rake aborted!
Object is not missing constant Changeset!

RE: Issue Vote Plugin - Added by Yuya Nishihara almost 15 years ago

Nice plugin!

I wrote Japanese translation of messages. The patch attached.

ja.diff (667 Bytes) ja.diff Japanese message catalog

RE: Issue Vote Plugin - Added by Shane Pearlman almost 15 years ago

Perhaps we might consider adding a variation of this plugin to redmine.org to gage interest in future development?

(1-25/43)