Modify

Opened 14 years ago

Closed 9 years ago

#7592 closed enhancement (fixed)

List Voters or History

Reported by: sincoder Owned by: Ryan J Ollos
Priority: normal Component: VotePlugin
Severity: normal Keywords: history
Cc: Trac Release: 0.11

Description

This feature is very important in a small or medium-size teams where different voters are known to have differently qualified opinions. And also it is useful for large teams or open source projects to detect the authenticity of each voter to prevent cheating and misuse.

Attachments (0)

Change History (13)

comment:1 Changed 14 years ago by anonymous

Type: defectenhancement

comment:2 Changed 14 years ago by Ryan J Ollos

I think this could be implemented fairly simple in a macro or admin panel, depending on your preference. We might want a new permission, VOTE_ADMIN or similar, to control who can view the list.

I probably won't get to this for a while, but would gladly accept a patch.

comment:3 Changed 14 years ago by clecuret@…

Could be great that if a person votes for an item, then he receives notifications when changes occur on this item

comment:4 Changed 12 years ago by Ryan J Ollos

Priority: highestnormal

comment:5 Changed 12 years ago by Steffen Hoffmann

Keywords: history added

History would not show much, because by now the time stamp is not recorded. Something to remember for next db schema version as this plugin's db code needs some love anyway.

comment:6 Changed 11 years ago by Steffen Hoffmann

(In [13084]) VotePlugin: Add code for WikiMacros, refs #4546 and #7592.

This is WiP yet.

comment:7 Changed 11 years ago by Steffen Hoffmann

(In [13085]) VotePlugin: Use time-stamped votes, refs #4546 and #7592.

Don't delete votes anymore, what is sensible, because we may become interested in voting history later on.

Two more wiki macros are available now, that already use these time stamps.

While using current microseconds POSIX time stamps internally, care has been taken to preserve backwards-compatibility down to Trac 0.11 here.

comment:8 in reply to:  3 Changed 11 years ago by Steffen Hoffmann

Replying to clecuret@parkeon.com:

Could be great that if a person votes for an item, then he receives notifications when changes occur on this item

I see your point, and voting is some kind of tagging indeed. But you're much better off using a dedicated plugin for managing subscriptions on your Trac resources of interest, i.e. AnnouncerPlugin or WatchlistPlugin.

comment:9 Changed 11 years ago by Steffen Hoffmann

OTOH this could become a special optional subscriber for AnnouncerPlugin indeed, right?

comment:10 Changed 11 years ago by Steffen Hoffmann

(In [13091]) VotePlugin: Pipe usernames through Chrome.format_author to obfuscate email addresses, if required, refs #4546 and #7592.

Additionally I've spotted and fixed an UnicodeDecodeError due to a not unicode-aware string replacement in [[LastVoted]] wiki macro.

comment:11 Changed 11 years ago by Steffen Hoffmann

(In [13093]) VotePlugin: Re-enable voting on milestones, refs #4546, #7592 and #10942.

delete_vote obviously needed to not depend on a req object to work. That went unnoticed, because it is called only by change listeners for now.

set_vote was not ready for unversioned resources, and a subtle insanity in resource_from_path surfaced during early testing with milestones too.

Method name changes are done for clarity, that a single method call probably deals with multiple vote entries.

comment:12 Changed 11 years ago by Steffen Hoffmann

(In [13094]) VotePlugin: Make compact and top standard wiki macro arguments, refs #4546 and #7592.

List output for all three macros is limited to a maximum of 5 items, if not explicitely specified by top=<n>, where in turn 'n=0' means unlimited. The previous limit of 10 items (TopVoted only) looked like too much.

And rendering of resource links respects the compact argument too, what yields significantly reduced output for milestones and tickets.

comment:13 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

0.2.0 tagged in [14760]. 0.3.0 tagged in [14762].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.