Commit Graph

405 Commits

Author SHA1 Message Date
calzoneman 794f26af22 Fix invalid sessions causing a half-logged in state 2013-04-28 20:51:56 -05:00
calzoneman bdfd7ad3dc Less hackish fix for boolean cookies 2013-04-28 17:36:06 -05:00
calzoneman 1cc005b55b Fix option cookies 2013-04-28 17:26:45 -05:00
calzoneman 609b3c3d0a Fix empty MOTD bug 2013-04-28 17:10:00 -05:00
calzoneman 7f7ae16138 Add JWPlayer support 2013-04-28 17:06:58 -05:00
calzoneman 4bdbac3dbd Fix synchtube layout, add placeholder text, fix alignment issue 2013-04-28 13:48:22 -05:00
calzoneman 406988aef1 Allow chaining for /m 2013-04-28 13:04:15 -05:00
calzoneman 8d6b228f8f Add user options menu 2013-04-28 12:57:08 -05:00
calzoneman 89f7e26450 Minor fixes 2013-04-28 12:14:52 -05:00
calzoneman 3730ae0066 Add global bans 2013-04-28 01:30:18 -05:00
calzoneman 7003101828 Limit connections per IP 2013-04-28 01:06:58 -05:00
calzoneman 535b80153d Fix ip bans for like the 4th time 2013-04-27 23:10:48 -05:00
calzoneman fb702934f1 Fix the regex matching invalid channel names 2013-04-27 20:54:23 -05:00
calzoneman 7c9d9c7ab1 Work on another layout option, fix footer 2013-04-27 18:49:39 -05:00
calzoneman 9e884ac116 Fix slight layout glitch, work on dark theme 2013-04-27 15:55:08 -05:00
calzoneman d168c8fff7 Add guest login, tweak button visibility 2013-04-27 12:55:17 -05:00
calzoneman 5e5ff5f414 Fix chat antiflood (#56) 2013-04-27 12:13:37 -05:00
calzoneman b0cf61d332 Fix chat antiflood 2013-04-27 12:13:01 -05:00
calzoneman 654ce1e886 Fix channelwidget.html 2013-04-27 11:54:35 -05:00
calzoneman 52d9663eb7 Moderators can remove videos from the library 2013-04-27 11:48:36 -05:00
calzoneman a15cda4b6d last one I promise 2013-04-26 12:56:25 -05:00
calzoneman 838792c59b This better fix this 2013-04-26 12:55:01 -05:00
calzoneman b9c280ae39 Double fix channellist.html because I didn't read 2013-04-26 12:53:06 -05:00
calzoneman d5fc0bb03d Fix 'that username is already taken' login bug 2013-04-26 12:50:31 -05:00
calzoneman d1b06413ee Fix channellist page to use session login 2013-04-26 12:47:26 -05:00
calzoneman 6eaa97ccb8 Hide embedded player while login modal is active 2013-04-26 12:28:02 -05:00
calzoneman 84fb4214d7 Fix cross-domain issues 2013-04-25 23:57:46 -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 db2e5e20b9 Add small copyright notice to bottom of index.html 2013-04-25 20:01:34 -05:00
calzoneman ea4ed864c8 Fix content-length bug for api.js
Well, it finally happened.  I made an assumption about text and it bit me in the butt.  Protip: not everything is 1 byte per character!
2013-04-25 16:36:56 -05:00
calzoneman a88088f2d6 Continue working on API 2013-04-25 16:16:53 -05:00
calzoneman 3c2b5fcb2c Start working on darm theme 2013-04-25 11:34:00 -05:00
calzoneman 9786d7eff5 start working on API 2013-04-25 11:00:06 -05:00
calzoneman 3cefdb81bc Fix last commit, change 'l' to '1' 2013-04-24 15:50:43 -05:00
calzoneman 20bcd95e9e Change leniency of queue antiflood 2013-04-24 15:48:29 -05:00
calzoneman 442c75c507 Partial redesign of default layout 2013-04-24 15:47:52 -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 19d778e8ba Throttle video queues 2013-04-24 12:45:17 -05:00
Calvin Montgomery dc5fa70017 Improve buffer compensation 2013-04-24 08:04:26 +04:00
Calvin Montgomery 35fb504847 Fix channel update function, start working on compensative synch 2013-04-24 06:33:53 +04:00
calzoneman 0d7da77715 Add version update script 2013-04-23 16:16:43 -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 ce84b30354 Tweak voteskip (Issue #49) 2013-04-23 10:23:32 -05:00
calzoneman 27c494e450 Implement shuffle/clear (Issue #48) 2013-04-22 15:37:42 -05:00
calzoneman ce34a3efe0 Tweak express instance to support /r/channel form
This means it is no longer necessary to perform a .htaccess hack if you want nice URLs.
By default, hostname:port/r/channel acts the same as hostname:port/index.html?channel=channel.
2013-04-22 14:42:39 -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