be8dbb4902f7bf36561259a6fddafbc0dc38d6df
GET /entry/{pid}/interactions/{mode} now reads the vote tally and, for
mode=left/right (auth required), toggles the user's vote: new vote, repeat
same mode removes it, different mode switches. Returns {left, right,
selected}. A UNIQUE(uid, pid) constraint on the vote table prevents
duplicate votes. The JS frontend renders Links/Rechts buttons with live
counts under each entry.
This completes the voting feature that was left commented-out and broken
in the Flask version.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
Simple Forumengine
Languages
Go
53.2%
HTML
17.8%
JavaScript
16.9%
CSS
6.8%
Shell
4.6%
Other
0.7%