Commit Graph

43 Commits

Author SHA1 Message Date
calzoneman 52d9663eb7 Moderators can remove videos from the library 2013-04-27 11:48:36 -05:00
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 6b5466f5ae Add chat antiflood option 2013-04-23 14:17:42 -05:00
calzoneman 3f5ec309e9 Tweak ACL behaviour
ACL is only updated when you first join, when someone's rank changes, or if
you click the Channel Ranks tab
2013-04-23 13:47:09 -05:00
calzoneman 27c494e450 Implement shuffle/clear (Issue #48) 2013-04-22 15:37:42 -05:00
calzoneman 3c4d7073a5 Implement AFK functionality [Issue #37] 2013-04-19 14:50:08 -05:00
calzoneman 5350fa2e93 Add poll editor
Implements the suggestion from Issue #34
2013-04-18 11:42:07 -05:00
calzoneman e5b61ef91c Add button to get playlist URLs 2013-04-17 14:05:45 -05:00
calzoneman 0365de5a1a Tweaks to ACP and channel options 2013-04-06 16:08:26 -05:00
calzoneman b7cdc0c056 Force channel names to be lowercase
Since MySQL is case-insensitive, treating varying cases as unique names was a prroblem.
Existing channels with uppercase names should not be affected as the database lookup finds a match without case sensitivity.
2013-04-05 14:03:35 -05:00
calzoneman 66dde5f337 Bugfix for moderators 2013-04-04 15:41:41 -05:00
calzoneman 362fd0ab23 Implement YouTube search, minor fixes, remove "Play Next" button 2013-04-04 11:39:43 -05:00
calzoneman 7e9907ebdc Finish refactoring 2013-04-03 12:47:41 -05:00
calzoneman f4019e8b83 Complete refactoring [untested] 2013-04-03 12:10:05 -05:00
calzoneman 7def0b174f Bugfixes
- Better YouTube URL parsing
- Check for invalid regexes and report them
- Channel names are no longer case-sensitive
2013-04-03 11:39:51 -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 ddc5016497 Serverside support for custom chat filters 2013-03-31 14:27:54 -05:00
calzoneman 6fbe2732c7 Fix queue issues when moving videos 2013-03-29 15:05:08 -05:00
calzoneman 328b38f319 Add chat modifiers and history 2013-03-29 13:15:46 -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 124ec0080f Improve logging 2013-03-27 14:28:51 -05:00
calzoneman 34f20f423f Transition to using bcrypt for password hashing/storage 2013-03-26 14:12:02 -05:00
calzoneman 5f5049db12 Change quotes to be consistent
Fixes Issue#11
2013-03-24 12:23:48 -05:00
calzoneman 0b56909e20 Change license to MIT 2013-03-23 21:28:20 -05:00
calzoneman 05fd0f26a8 List loaded channels on ACP 2013-03-23 13:29:47 -05:00
calzoneman bf72733086 Add poll notification, channel options (don't save to db yet) 2013-03-22 15:04:04 -05:00
calzoneman bbfa4ba53d Tweaks 2013-03-21 18:55:32 -05:00
calzoneman b565324ec3 Amend last commit, fix regex 2013-03-20 18:15:52 -05:00
calzoneman 6042c510e1 Fix bad channel names 2013-03-20 18:10:23 -05:00
calzoneman c50dbece97 Add /say and global announcements 2013-03-20 13:35:06 -05:00
calzoneman 18d599a7aa Implement channel registration 2013-03-17 12:14:34 -05:00
calzoneman 91224f8e4b Fix rank change saving in the database 2013-03-17 11:49:25 -05:00
calzoneman 92d73026be Fix duplicate login bug
Fixes Issue #1
2013-03-17 09:39:22 -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 9ede4dbc2d Fix end of playlist bug 2013-03-06 23:21:08 -06:00
calzoneman 5ca419d3e3 Start working on ACP 2013-03-06 16:02:40 -06:00
calzoneman 91b8a6cab6 Rearrange ranks a bit and fix unleader bug 2013-03-05 17:06:25 -06:00
calzoneman 1a88c9e27e Fix duplicate login bug 2013-03-05 14:12:55 -06:00
calzoneman e902a8074a Update README; add LICENSE 2013-02-16 11:19:59 -06:00
calzoneman 68fc74edd5 Push to github 2013-02-15 23:02:42 -06:00