Commit Graph

190 Commits

Author SHA1 Message Date
calzoneman cecb5db6c7 Fix #81 2013-05-02 21:56:31 -05:00
calzoneman 1d90ea48d2 Implement #78 (as an option) 2013-05-02 10:25:39 -05:00
calzoneman 41de5c5d7a Add homepage channel list 2013-05-01 17:49:34 -05:00
calzoneman 5b7eed3541 Sort usernames in connection log 2013-05-01 17:24:07 -05:00
calzoneman d8894f0280 Add timestamps (optional) to chat messages 2013-05-01 16:03:03 -05:00
calzoneman 3600a3114a Transition channel page away from index.html 2013-05-01 13:39:01 -05:00
calzoneman ab3dd208c3 Alert on wrong credentials (#76) 2013-05-01 13:02:06 -05:00
calzoneman f76b509430 Pressing enter on media URL queues next 2013-04-30 11:15:03 -05:00
calzoneman b0cc87e193 Add site footer 2013-04-30 11:13:06 -05:00
calzoneman 130d22a754 Add multiple chat filter editor 2013-04-30 11:09:32 -05:00
calzoneman 9bc712c003 Mask user IPs for nonadmins 2013-04-29 20:01:46 -05:00
calzoneman d43f39caa1 Better channel bans 2013-04-29 18:59:51 -05:00
calzoneman 4b0e920dc6 Begin improving filters 2013-04-29 12:29:31 -05:00
calzoneman 9350ef6d75 Change some permissions to channel admins (#67) 2013-04-29 11:26:01 -05:00
calzoneman 184fbcd971 Fix #66 2013-04-29 11:08:06 -05:00
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 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 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 52d9663eb7 Moderators can remove videos from the library 2013-04-27 11:48:36 -05:00
calzoneman 6eaa97ccb8 Hide embedded player while login modal is active 2013-04-26 12:28:02 -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 3c2b5fcb2c Start working on darm theme 2013-04-25 11:34:00 -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
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 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
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 05299aabf3 Fix data.meta undefined error 2013-04-19 14:56:00 -05:00
calzoneman 3c4d7073a5 Implement AFK functionality [Issue #37] 2013-04-19 14:50:08 -05:00
calzoneman fb19822eca Beginning to think I should test this locally before I push 2013-04-19 14:24:33 -05:00
calzoneman abe6dbe225 Fix syntax error in previous commit 2013-04-19 14:23:32 -05:00
calzoneman a36d0d022e Support URLs of the form /r/channel for sites with a RewriteRule 2013-04-19 14:21:51 -05:00
calzoneman eede0b9135 Auto update video width to match responsive layout
This fixes Issue #40
I also fixed the YouTube loader to remove the frameborder
2013-04-19 14:00:10 -05:00
calzoneman 5350fa2e93 Add poll editor
Implements the suggestion from Issue #34
2013-04-18 11:42:07 -05:00
calzoneman 9338905519 Minor fix- greentext and escaping youtube queries 2013-04-17 23:24:37 -05:00
calzoneman e5b61ef91c Add button to get playlist URLs 2013-04-17 14:05:45 -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 e9d3fa83e4 Fix userlist (Issue #31) 2013-04-16 17:23:35 -05:00
calzoneman 1ee3c06213 Implement custom JS
As referenced in Issue #28
2013-04-16 11:11:10 -05:00
calzoneman 78ecc042d6 Allow custom regex flags
Fixes Issue #29
For example, match "word" without case sensitivity, match globally:
word/ig
If you want to match a literal slash, escape it with a backslash: \/
2013-04-16 11:02:00 -05:00
calzoneman 6ae16d5671 Fix "end poll" button for leaders
Fixes Issue #30
2013-04-16 10:43:53 -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 78c7a4d77a Fix Issue#27 2013-04-14 12:22:09 -05:00
calzoneman cb9624e523 Scroll playlist to current video 2013-04-13 12:14:44 -05:00
calzoneman 4e2702f65f Allow comma-separated URLs in queue box 2013-04-12 13:02:57 -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 3f2095b14e Fix banning 2013-04-10 19:51:30 -05:00
calzoneman 176dd58284 Support RTMP streams 2013-04-07 14:38:50 -05:00
calzoneman 109260e46c Fix chat messages not working for anonymous users 2013-04-06 20:56:47 -05:00
calzoneman 0365de5a1a Tweaks to ACP and channel options 2013-04-06 16:08:26 -05:00
calzoneman 6944ea930e Layout/CSS tweaks 2013-04-06 16:02:20 -05:00
calzoneman 9842d59901 Allow graceful client reocnnection on server restart 2013-04-06 15:47:27 -05:00
calzoneman dea52ae78b Fix issue#24 2013-04-04 17:54:05 -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 362fd0ab23 Implement YouTube search, minor fixes, remove "Play Next" button 2013-04-04 11:39:43 -05:00
calzoneman f7bc601fed Fix Issue#23 2013-04-04 11:05:01 -05:00
calzoneman 11f1ab60f9 Change leader icon to be a star because why not 2013-04-03 18:02:14 -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 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 2ee182eb48 Fix checkbox glitchiness (Issue#21) 2013-04-02 11:16:26 -05:00
calzoneman fab4039fc1 Add MOTD and chat filter interface 2013-04-01 16:02:09 -05:00
calzoneman a0c26ee0e5 Better fix for previous commit 2013-03-31 20:29:39 -05:00
calzoneman 28b9bdb54d Fix layouts breaking chat 2013-03-31 20:10:57 -05:00
calzoneman 19ee0491c3 Add a few layout options 2013-03-31 17:30:46 -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 328b38f319 Add chat modifiers and history 2013-03-29 13:15:46 -05:00
calzoneman d788721b3f Update help page, fix acp login bug 2013-03-28 18:56:29 -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 9faada9891 Fix semicolon 2013-03-27 15:15:35 -05:00
calzoneman 30cab284b0 Fix acp for bcrypt update 2013-03-27 15:13:41 -05:00
calzoneman 34f20f423f Transition to using bcrypt for password hashing/storage 2013-03-26 14:12:02 -05:00
calzoneman 141bb69777 Support YouTube Playlists 2013-03-25 14:39:03 -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 df54f8bffc Proper IPbans in the database 2013-03-23 22:01:37 -05:00