Commit graph

55 commits

Author SHA1 Message Date
calzoneman 087f612b37 Bugfixes for last commit
- Fix race condition for login frame
- Fix guest logins
2013-04-25 23:04:51 -05:00
calzoneman 3a7acd0526 Implement new session system
I replaced the old login system with a more secure one.
Instead of storing cookies containing the username and plaintext password, the password
is submitted once to obtain a session hash, which is valid for a given length of time.
Registering and logging in is now done via an iframe, which prevents custom javascript from having access to the password field.
Site admins need to run the following SQL before updating, or else all of your logins/registrations will fail:

ALTER TABLE `registrations` ADD `session_hash` VARCHAR( 64 ) NOT NULL ,
ADD `expire` BIGINT NOT NULL
2013-04-25 22:50:12 -05:00
calzoneman 623aec89b1 Add playlist length indicator (Issue #51)
It's not exactly pretty, but I'm hoping to have someone help me pretty up the interface this summer
2013-04-24 14:28:20 -05:00
calzoneman 57475d5d3d Show name of who added something (Issue #50)
Hovering over a queue item will now show the name of the person who added it.
If it was added by a guest, or if it was added while the server was running a previous version, it will show up as "unknown".
2013-04-24 13:10:08 -05:00
calzoneman 6b5466f5ae Add chat antiflood option 2013-04-23 14:17:42 -05:00
Calvin Montgomery bb019deeb7 Implement ACL for channel owners (Issue #42) 2013-04-22 22:28:40 +04:00
Calvin Montgomery d7de1fc69e Fix singular words (Issue #46) 2013-04-22 21:39:23 +04:00
calzoneman 40ad039a06 Add configurable voteskip ratio, show # voteskips to mods 2013-04-20 20:17:38 -05:00
calzoneman 3c4d7073a5 Implement AFK functionality [Issue #37] 2013-04-19 14:50:08 -05:00
calzoneman 8a8838a58d Registered users now have rank 1, guests' names are grey
Any new registrations will set global_rank=1 in the database
If you wish to upgrade, run "UPDATE `registrations` SET `global_rank`=1 WHERE `global_rank`=0" on your MySQL database
2013-04-17 13:29:52 -05:00
calzoneman 1ee3c06213 Implement custom JS
As referenced in Issue #28
2013-04-16 11:11:10 -05:00
calzoneman 6807d0b686 Move chat callback to addChatMessage 2013-04-15 20:28:01 -05:00
calzoneman 4e2e349196 Tweaks to Leaders, add kick messages 2013-04-14 12:38:00 -05:00
calzoneman cb9624e523 Scroll playlist to current video 2013-04-13 12:14:44 -05:00
calzoneman d5ce1020b2 Add mute function, tweak playlist button display 2013-04-11 12:51:08 -05:00
calzoneman a9b3319e3d Force client disconnect, fix userlist bug 2013-04-11 11:30:20 -05:00
calzoneman 0365de5a1a Tweaks to ACP and channel options 2013-04-06 16:08:26 -05:00
calzoneman 9842d59901 Allow graceful client reocnnection on server restart 2013-04-06 15:47:27 -05:00
calzoneman fc1c5d4896 Bugfix youtube search 2013-04-04 15:55:43 -05:00
calzoneman 0e49f06fbf Fixes and stuff 2013-04-04 14:56:43 -05:00
calzoneman f7bc601fed Fix Issue#23 2013-04-04 11:05:01 -05:00
calzoneman 28a0a95851 Fix a bunch of stuff; refactor clientside 2013-04-03 17:56:03 -05:00
calzoneman 5880be6f68 Fixes; start refactoring clientside 2013-04-03 15:18:35 -05:00
calzoneman 52fe508628 Implement voteskip 2013-04-02 14:07:22 -05:00
calzoneman fab4039fc1 Add MOTD and chat filter interface 2013-04-01 16:02:09 -05:00
calzoneman 7b11651e1e Prevent chat from autoscrolling when mouse inside 2013-03-30 00:55:25 -05:00
calzoneman 31fd011b4d Blink tab title when your name mentioned 2013-03-30 00:49:41 -05:00
calzoneman 6fbe2732c7 Fix queue issues when moving videos 2013-03-29 15:05:08 -05:00
calzoneman 546d50f917 Support click and drag to move; add play button; dump channels on exit 2013-03-28 18:51:08 -05:00
calzoneman e70002ae4f Correct behavior for leader/unleader; compensate for Soundcloud being inconsiderate 2013-03-25 13:54:18 -05:00
calzoneman 5f5049db12 Change quotes to be consistent
Fixes Issue#11
2013-03-24 12:23:48 -05:00
calzoneman a5ca7d227e Add banlist interface 2013-03-23 22:45:10 -05:00
calzoneman 0b56909e20 Change license to MIT 2013-03-23 21:28:20 -05:00
calzoneman 3b335fb381 Slight amendment, load the URL of the custom css in the channel options 2013-03-23 17:21:54 -05:00
calzoneman 98b3587341 Support custom CSS 2013-03-23 17:15:19 -05:00
calzoneman c0fc363f1b Dailymotion support 2013-03-23 13:17:39 -05:00
calzoneman bf72733086 Add poll notification, channel options (don't save to db yet) 2013-03-22 15:04:04 -05:00
calzoneman c50dbece97 Add /say and global announcements 2013-03-20 13:35:06 -05:00
calzoneman 2f38c4cafc Retroactively add user menus when you become a mod 2013-03-17 20:42:07 -05:00
calzoneman 18d599a7aa Implement channel registration 2013-03-17 12:14:34 -05:00
calzoneman 8fdf3f7cd7 Fix name update on Firefox 2013-03-17 11:50:39 -05:00
calzoneman 8c17b89eff Remove unqueue animation to prevent playlist highlight bug
Fixes Issue#5
2013-03-17 09:54:01 -05:00
calzoneman a8076f0e15 Fix names not being removed on disconnect in Firefox
Fixes Issue #3
2013-03-17 09:42:22 -05:00
calzoneman 96bd8aa9bd Add support for livestream 2013-03-16 17:17:36 -05:00
calzoneman bc187c99f5 Implement polls 2013-03-16 16:49:58 -05:00
calzoneman 46bee2646d Implement queue locking/unlocking 2013-03-16 15:39:58 -05:00
calzoneman c5d9350351 Slight layout tweak
Also added a "current video" indicator
2013-03-16 15:13:40 -05:00
calzoneman 259c72e7da Add usercount indicator 2013-03-06 19:38:16 -06:00
calzoneman 91b8a6cab6 Rearrange ranks a bit and fix unleader bug 2013-03-05 17:06:25 -06:00
calzoneman b2b134ce4a Slight layout change 2013-03-05 16:56:21 -06:00