Fix up voteskip a bit

This commit is contained in:
calzoneman 2013-09-11 22:16:56 -05:00
parent 7e9673425d
commit 9d445b8ffd
5 changed files with 32 additions and 18 deletions

View file

@ -1,3 +1,12 @@
Wed Sep 11 22:13 2013 CDT
* lib/channel.js, lib/user.js: Remove "afkers" array, replace afkcount
with a function that calculates how many users are eligible to
voteskip (not AFK + have permission). Check permission before
allowing voteskip
* lib/api.js: Replace "afkcount" in /api/channels/:channel with
voteskip_eligible
* www/assets/js/util.js: Add a permissions option for voteskip
Wed Sep 11 20:19 2013 CDT
* lib/poll.js: Add support for hidden polls
* lib/channel.js: Check permissions for viewing hidden polls