Commit Graph

1034 Commits

Author SHA1 Message Date
Calvin Montgomery 26a46fc1d9 Fix text wrap on profile-box, change loaded channels to public channels 2013-08-13 22:17:58 -04:00
calzoneman f910f437bb Disallow non-moderators from adding a video that exists 10 times already 2013-08-13 11:18:06 -04:00
Calvin Montgomery 0ceb362f0b Remove faulty requestPlaylist 2013-08-12 00:27:30 -04:00
Calvin Montgomery 01eeab0711 Clear queued playlist actions on new playlist 2013-08-12 00:24:48 -04:00
Calvin Montgomery 66f66505af Merge branch 'master' into apirefactor 2013-08-12 00:09:50 -04:00
Calvin Montgomery 03e27a7720 Various fixes to the API 2013-08-11 23:36:42 -04:00
Calvin Montgomery 4aa0e7a4ef Start updating to new API 2013-08-11 23:10:55 -04:00
calzoneman dba93ca3b6 Fix #254 2013-08-11 17:39:10 -04:00
Calvin Montgomery 8f190403f8 Fix leader bug 2013-08-08 23:23:19 -04:00
calzoneman 4f6d72d6d5 Resolve merge conflict 2013-08-08 18:28:10 -04:00
calzoneman 07a3e3cc21 A few minor changes
- Fix paginator always showing 5 buttons even if there are less pages
- Clear AFK timer when clicking voteskip
- Change the modestbranding youtube param because people wanted the like/dislike buttons
2013-08-08 18:25:56 -04:00
calzoneman 9256928d82 Handle user impersonation using bold filter differently 2013-08-08 10:57:46 -04:00
calzoneman c7501bfd50 Add different userlist sort options 2013-08-08 10:54:07 -04:00
calzoneman 425aa75165 Show popup with breakdown of usercount on hover 2013-08-08 10:39:58 -04:00
calzoneman 9c83a4dd3e Fix #248, fix channel caching temp media 2013-08-07 21:05:30 -04:00
calzoneman ac9d60eee7 Fix browser compat issue 2013-08-07 17:55:39 -04:00
calzoneman fefa9f4238 Fix line endings 2013-08-07 17:00:53 -04:00
calzoneman 0cc230f192 Move/change playlist lock button 2013-08-07 16:26:20 -04:00
calzoneman d3cda0517c Improvements to userlist dropdown
- Add a <select> menu to easily change rank
- Only have one leader button, change value between "Give Leader" and "Remove Leader"
2013-08-07 16:14:22 -04:00
calzoneman 04cbdfb631 Add volume slider for soundcloud because their widget is crap 2013-08-07 14:25:08 -04:00
calzoneman 84e9bcde06 Add warning when pasting media links into the search box 2013-08-07 13:34:14 -04:00
calzoneman 51874ed4b9 Fix fluid layout 2013-08-07 11:39:06 -04:00
calzoneman 4af0291470 Add channel list search to ACP 2013-08-07 10:30:16 -04:00
Calvin Montgomery cf7972f740 Add refresh button for chanlogs 2013-08-06 23:37:45 -04:00
calzoneman d965d0a5b6 Merge branch 'master' into dev 2013-08-06 20:42:01 -04:00
calzoneman d599303881 Fix #244, Fix #247, Change 'Show Library' to 'Show Library/YouTube Search' 2013-08-06 20:41:29 -04:00
calzoneman 0807c65270 Merge branch 'master' into dev 2013-08-06 14:27:03 -04:00
calzoneman a371ff629d Allow channel admins to read channel logs 2013-08-06 14:20:47 -04:00
calzoneman 07249f3589 Add wmode=transparent option 2013-08-06 11:42:20 -04:00
calzoneman b53ac91a61 Add 'My Channels' to prevent silly people from forgetting which rooms they own 2013-08-06 11:20:15 -04:00
Calvin Montgomery 6d37c63a3d Fix custom embed transition 2013-08-06 00:07:54 -04:00
Calvin Montgomery e3f83f27ec Fix derpy custom embed button 2013-08-06 00:03:20 -04:00
Calvin Montgomery 9749b39dfd Add JWPlayer constructor to dict 2013-08-05 23:55:46 -04:00
Calvin Montgomery 6bd44fa109 Fix leader not working 2013-08-05 23:30:16 -04:00
Calvin Montgomery d1d7c8dd05 More fixes 2013-08-05 23:25:16 -04:00
Calvin Montgomery 3f81883994 Fixes 2013-08-05 23:21:28 -04:00
Calvin Montgomery 775a6752bb Move hide/unhide player to util 2013-08-05 23:11:56 -04:00
Calvin Montgomery 51ea4ce594 Fix JSHint errors for player.js 2013-08-05 22:55:11 -04:00
Calvin Montgomery 3a5de93d7c Finish refactoring player [untested] 2013-08-05 22:46:56 -04:00
Calvin Montgomery b2900afb3b Fix ACP 2013-08-05 00:51:28 -04:00
Calvin Montgomery 39ea0c9207 Continue refactoring clientside loader
- Vimeo flash
- Dailymotion
- Soundcloud
- Fix a lot of JSHint stuff
2013-08-05 00:19:10 -04:00
calzoneman 0a00d059e8 Start refactoring clientside player init 2013-08-04 12:16:19 -04:00
calzoneman 0aa8e0f930 Merge branch 'master' into dev 2013-08-04 11:46:33 -04:00
calzoneman 15085fc6ae Minor fixes for v2.2
- If NO_WEBSOCKETS or USEROPTS.altsocket are true, don't use websockets
- Base resizing on an invisible div (some channels remove/hide #queue)
- Names are properly italicized when AFK
2013-08-04 11:44:48 -04:00
calzoneman a26df3c92c Add UI for custom embeds 2013-08-03 15:10:06 -04:00
calzoneman fe2ec2c8d2 Support custom embeds (no UI for it yet) 2013-08-03 11:12:53 -04:00
calzoneman 229f8a206a Fix rare case where paginator breaks 2013-08-01 15:20:50 -04:00
calzoneman 8f72854e38 Fix #238 2013-08-01 15:12:57 -04:00
Calvin Montgomery ec1b28b8cd Merge branch 'dev' 2013-07-31 22:26:40 -04:00
calzoneman 008655e5bf Force linewrap on video title in Chrome 2013-07-31 11:13:32 -04:00
calzoneman 7d0de7b1ba Paginate library/search 2013-07-31 11:05:07 -04:00
calzoneman 2573218d55 Paginate channel ranks 2013-07-31 10:57:59 -04:00
calzoneman a4587ef53c Tweak user pagination 2013-07-31 10:47:23 -04:00
calzoneman 520697af86 Use paginator for actionlog 2013-07-31 10:45:15 -04:00
calzoneman e47c1abff7 Merge branch 'dev' of github.com:calzoneman/sync into dev 2013-07-31 10:27:09 -04:00
calzoneman 17b9353833 Switch pagination on users in ACP 2013-07-31 10:27:01 -04:00
Calvin Montgomery 48483efb02 Take care of obnoxious channel names and video titles 2013-07-30 23:36:18 -04:00
Calvin Montgomery 49f7fb2e15 Change the way action log is queried 2013-07-30 23:21:32 -04:00
calzoneman d9c4c32c6d Handle #215, re-add multifilter editor 2013-07-30 09:27:13 -04:00
calzoneman 17c733be44 Dedupe playlist option notification 2013-07-29 20:06:01 -04:00
calzoneman 77a57d24c1 Implement Auto-AFK (#192)
- Channel-configurable delay
- User is marked AFK if no chat messages are received before the delay expires
- User is marked un-AFK if a chat message is received or if the user voteskips
2013-07-28 17:58:22 -04:00
calzoneman d35ace1916 Fix #234 2013-07-28 14:10:47 -04:00
calzoneman 3932014ed0 Tried implementing Vimeo flash player, didn't fix problem 2013-07-28 10:49:12 -04:00
calzoneman 149eeb6277 Add error message when socket fails 2013-07-27 16:42:42 -04:00
calzoneman 6673e6c203 Fix #225 2013-07-27 10:30:12 -04:00
calzoneman b9e465b714 Fix URI encoding on register/login, also fix database escape bug 2013-07-27 10:11:31 -04:00
nuclearace a2fd40dd24 Fix #227 2013-07-24 15:11:50 -04:00
calzoneman 709f6d09c6 Would help if I included chart lib 2013-07-16 14:57:49 -04:00
calzoneman b8611de605 Add stat charts 2013-07-16 14:57:34 -04:00
calzoneman dad89c823c Minor fix to ACP 2013-07-14 13:08:33 -04:00
Calvin Montgomery 38c29acdb5 Revert mistakenly committed change to channel.html 2013-07-13 22:28:51 -04:00
Calvin Montgomery f2b6534d0a Fix channels not unloading / video skipping 2013-07-13 22:19:47 -04:00
calzoneman 5a5016fd79 Change alt socket to socketio xhr-polling 2013-07-13 16:15:57 -04:00
calzoneman 07795feffa Improve ACP 2013-07-13 14:26:27 -04:00
calzoneman 8d9d2b6433 Clear individual rows from action log 2013-07-13 13:23:32 -04:00
calzoneman 5df30cb8a9 Move action log to DB, throttle registrations 2013-07-13 12:05:58 -04:00
Calvin Montgomery 7bc86037b7 Whoops, forgot to make site footer load when I released v2 2013-07-13 00:53:32 -04:00
calzoneman 120cdf50e4 Re-address #173 2013-07-12 16:34:55 -04:00
calzoneman 4d4161d046 Fix #212 2013-07-12 16:10:06 -04:00
calzoneman 8ea0a34326 Fix JTV [#216] 2013-07-12 15:58:55 -04:00
Calvin Montgomery bd6ff20ae6 Fix #204, #208 2013-07-10 02:29:01 +04:00
Calvin Montgomery d63fe56e8b Fix soundcloud player even though it wasn't my fault 2013-07-10 02:24:40 +04:00
Calvin Montgomery 014a4750a4 Turn off socket debug again 2013-07-09 21:24:25 +04:00
Calvin Montgomery 4b269a5a6c Triple fix #184 2013-07-09 21:21:40 +04:00
Calvin Montgomery 4660f952ed Fix #184 (properly) 2013-07-09 21:11:44 +04:00
calzoneman e6150301b1 Disable debug printing of incoming packets 2013-07-06 11:39:42 -04:00
Calvin Montgomery dce341e42b Blindly doing a find and replace is bad\! 2013-07-06 01:41:14 -04:00
Calvin Montgomery ee1b6c3255 Merge branch 'dev' -- run update.js 2013-07-05 21:50:09 -04:00
calzoneman ec035bd93f Implement #185 2013-07-04 19:11:13 -04:00
calzoneman a2036e4383 Fix #198 2013-07-04 18:50:15 -04:00
calzoneman d20e676443 FixeS 2013-07-03 17:29:49 -04:00
calzoneman 860d81afbc Merge master into dev 2013-07-03 16:06:13 -04:00
calzoneman 8a54000097 I think it works 2013-07-03 15:51:35 -04:00
calzoneman 7d232b80dc setCurrent can wait 2013-07-03 11:32:44 -04:00
calzoneman f6b02a166a Getting there 2013-07-03 11:26:10 -04:00
Calvin Montgomery 6a6dd7bc21 fallback on cookies if localStorage is null or undefined 2013-07-02 22:40:40 -04:00
calzoneman 91a2fcb61d Better XSS prevention (NOTE: must run npm install validator on existing installs) 2013-07-02 15:42:26 -04:00
calzoneman 0611a6b0a6 Merge branch 'master' into dev 2013-07-01 17:44:27 -04:00
calzoneman f84073ad38 Implement a button for #188 2013-06-30 16:01:19 -04:00
calzoneman 543ec91e9b Implement #189 2013-06-30 15:56:41 -04:00
calzoneman 8292a548fd Still working on stuff 2013-06-30 15:33:38 -04:00
calzoneman 9a3563ca45 Continue work on playlist changes 2013-06-29 20:59:33 -04:00
calzoneman eefd62593b [WIP] Playlist changes 2013-06-29 18:09:20 -04:00
calzoneman 0868ef647d Implement UID method of playlist management (#182) 2013-06-27 18:15:29 -04:00
calzoneman e030a2bfa6 Fix theme preference on login frame 2013-06-27 16:09:36 -04:00
Calvin Montgomery ab7ad2c36c Fix #182 #183 #184 2013-06-26 22:44:48 -04:00
calzoneman a89f5138d3 Wait for movements to complete before queue callback 2013-06-26 10:52:37 -04:00
calzoneman f10a5d7ec3 Add a wait condition to prevent playlist highlight being messed up 2013-06-26 10:50:08 -04:00
Calvin Montgomery d688a63bfa Improve queue fail error reporting 2013-06-25 23:09:37 -04:00
Calvin Montgomery 678abbd9da Move ACP dropdown to navbar 2013-06-25 22:11:37 -04:00
Calvin Montgomery 4ce0ac646a Implement #181 2013-06-25 22:03:14 -04:00
Calvin Montgomery 770f252105 Fix queue buttons not displaying after playlist shuffle 2013-06-25 21:49:02 -04:00
calzoneman 11734f5e62 Fix NWS failing on non-ASCII messages 2013-06-25 10:48:14 -04:00
calzoneman 81d85311e7 Minor fix 2013-06-25 10:38:19 -04:00
calzoneman 08bc926df4 Fix library clear results button being stupid 2013-06-25 10:29:12 -04:00
calzoneman 2769543d04 Auto re-login guests upon reconnect 2013-06-25 10:27:35 -04:00
calzoneman ccae0ea76e Add /mute command 2013-06-25 10:18:33 -04:00
calzoneman 259d7470e1 add back ignore function 2013-06-25 10:06:01 -04:00
calzoneman 11e91d02fb Fix unban bug 2013-06-25 09:59:14 -04:00
Calvin Montgomery dc7eeed360 more fixes 2013-06-24 23:40:42 -04:00
Calvin Montgomery 8b0a960440 fixy fixy 2013-06-24 23:33:00 -04:00
Calvin Montgomery dde7ae2c79 Fix previous commit 2013-06-24 23:03:21 -04:00
Calvin Montgomery 7e356f38a8 Reduce freezes on large playlists 2013-06-24 22:45:44 -04:00
calzoneman 5389d2827c One more tiny fix 2013-06-23 14:35:40 -04:00
calzoneman 25db654bbd minor acp fix 2013-06-23 14:30:31 -04:00
calzoneman 67dee59c3f IT'S THE FINAL COUNTDOWN 2013-06-23 14:21:21 -04:00
calzoneman 1a3d92c903 Fixes and improvements 2013-06-23 14:02:20 -04:00
calzoneman c08b89d68a Fix #176 2013-06-23 10:30:28 -04:00
calzoneman 223f18a556 Fix #175 2013-06-23 10:25:49 -04:00
calzoneman 072695995e Add superadmin flair command for no good reason 2013-06-22 19:38:44 -04:00
calzoneman f2df18979c Minor fix 2013-06-22 19:07:33 -04:00
calzoneman 8c9cbca4c4 Fixes 2013-06-22 19:02:55 -04:00
calzoneman 71b774b445 Paginate user table in ACP 2013-06-22 18:54:08 -04:00
calzoneman 6943845d7a Add action log 2013-06-21 21:28:21 -04:00
calzoneman 9d90f6c660 Add another nesting layer (#174) 2013-06-21 20:42:47 -04:00
calzoneman e400dac160 Merge branch 'v2.0' of github.com:calzoneman/sync into v2.0 2013-06-21 20:42:01 -04:00
calzoneman 55b5e54d97 more ACP work 2013-06-21 18:24:26 -04:00
Calvin Montgomery 9fd4d20a7e Confirm before deleting playlist 2013-06-20 23:11:38 -04:00
Calvin Montgomery 9038238936 Fix broken selector causing issues 2013-06-20 22:51:50 -04:00
calzoneman 7bb38ec8a5 Work on ACP improvements 2013-06-20 19:45:21 -04:00
calzoneman d04ba2b99d Add notification for playlist options 2013-06-20 18:15:35 -04:00
calzoneman b5b3a88f88 Another slight playlist button tweak 2013-06-20 17:15:41 -04:00
calzoneman 8251a29b8d Address points 3-5 of #174 2013-06-20 17:01:22 -04:00
calzoneman 247862355c Add option for old-style playlist buttons (#174) 2013-06-20 16:50:12 -04:00
calzoneman 59df3924f8 Add permission for chat 2013-06-20 15:02:53 -04:00
calzoneman 77800a6587 Ability to unregister channel 2013-06-20 14:54:15 -04:00
calzoneman 57faa03b7c tweaks 2013-06-20 14:43:37 -04:00
calzoneman fa243d5303 fixes 2013-06-20 00:42:20 -04:00
calzoneman 44a981bb54 Another CSS fix 2013-06-19 23:26:34 -04:00
calzoneman 15e55c9811 Slight fixes to CSS 2013-06-19 23:26:00 -04:00
calzoneman d3079a2b07 better handling of comma-separated queues 2013-06-19 23:20:56 -04:00
calzoneman 6353638115 add option to show queue butts by default 2013-06-19 22:49:49 -04:00
calzoneman c9d6c8b5db more poll fixes 2013-06-19 19:41:49 -04:00
calzoneman e52307cdfa Fix polls, MOTD/CSS/JS text 2013-06-19 19:39:40 -04:00
calzoneman db1682fc35 Fix account.html and channelist.html cookies 2013-06-19 18:11:11 -04:00
calzoneman 9c9ed754b1 Fix channellist cookie 2013-06-19 18:09:22 -04:00
calzoneman c369a10961 Fix alerts 2013-06-19 18:07:11 -04:00
calzoneman 823e9bef33 Remove old files 2013-06-19 17:56:52 -04:00
calzoneman f85e7fdc16 Add missing licenses 2013-06-19 17:56:05 -04:00
calzoneman 7b60d0948e Fixes 2013-06-19 17:54:27 -04:00
calzoneman dc5c6801ed Add voteskip button, fix bugs 2013-06-18 16:18:41 -04:00
calzoneman b60981c8d8 Ability to add chat filters 2013-06-18 15:59:45 -04:00
calzoneman 6eaa9a45d0 Continue working on filters 2013-06-18 11:51:42 -04:00
calzoneman 25862acd72 Work on chat filters 2013-06-18 10:57:53 -04:00
calzoneman 09e9fb2eab Add channel ranks editor 2013-06-18 10:46:28 -04:00
calzoneman 6f43a7efdc Notify moderators when a new user joins 2013-06-18 00:26:44 -04:00
Calvin Montgomery 449d01180a Banlist and recent login history 2013-06-17 23:57:29 -04:00
calzoneman ca6d2962d8 Continue working on channel settings 2013-06-17 18:16:59 -04:00
Calvin Montgomery 9dcaeb88c1 Continue working on options 2013-06-15 17:45:07 -04:00
calzoneman 00abe7ced1 Start working on channel settings 2013-06-12 13:07:58 -04:00
calzoneman f6615f1f20 Minor alignment fix 2013-06-11 23:46:42 -04:00
calzoneman 877b125766 Bad URL indicator, auto-remove player_embedded crap 2013-06-11 23:37:12 -04:00
calzoneman de2294d3ab So much work 2013-06-11 19:51:00 -04:00
calzoneman 1850f009ff Fixes, continue work 2013-06-11 15:41:03 -04:00
calzoneman 42fc2e45c8 Continue rewriting things 2013-06-11 11:29:21 -04:00
Calvin Montgomery 161a116e59 Work on playlist items 2013-06-09 18:18:27 -04:00
calzoneman 38b2816e23 Forgot to add util.js 2013-06-09 14:03:57 -04:00
calzoneman 9c3596b04a Still working on things 2013-06-09 14:03:41 -04:00
calzoneman 0214910d7e ho hum more rewriting stuff 2013-06-07 18:09:36 -04:00
Calvin Montgomery b5ec80d02f Continue working on rewriting stuff 2013-06-06 23:13:24 -04:00
calzoneman c7b3adbed1 Slight improvements 2013-06-06 19:38:47 -04:00
calzoneman a0768316a4 Start redesigning page 2013-06-06 17:48:21 -04:00
calzoneman 2c069c26b3 Add button to show/hide userlist 2013-06-06 13:53:10 -04:00
calzoneman 685358b0d8 Move user options to localStorage instead of cookies 2013-06-05 17:22:50 -04:00
calzoneman a1862496a9 Implement #163 2013-06-05 16:49:54 -04:00
calzoneman 33744da634 Revise channel ranks editor (Fixes #162) 2013-06-05 11:40:59 -04:00
Calvin Montgomery 33f4ffcec2 Add permission option for livestreams 2013-06-04 22:51:41 -04:00
Calvin Montgomery 8c6d2ccfb2 Add imgur album embedding 2013-06-04 22:47:02 -04:00
Calvin Montgomery ef6a415c1b Don't remove user theme when channel CSS is set 2013-06-04 22:36:49 -04:00
calzoneman a02228afdd Add license text to files missing it 2013-06-04 18:26:17 -04:00
calzoneman 2c57d2a8f2 Fixes, rate limiting 2013-06-04 18:22:05 -04:00
calzoneman cfc866400c Break out NWS into a user option 2013-06-04 15:41:34 -04:00
calzoneman ddc1c56986 Adaptive poll rate for NWS 2013-06-04 15:28:54 -04:00
calzoneman cc1b378c3d NWS fixes 2013-06-04 12:11:16 -04:00
calzoneman 44fa360c60 Continue working on NWS 2013-06-04 11:46:06 -04:00
Calvin Montgomery 9eafc53c91 start experimenting with a fallback layer 2013-06-03 23:56:06 -04:00
calzoneman cfd70cff12 Add notification when queueing jwplayer 2013-06-02 19:37:48 -04:00
calzoneman 3ebf4a1009 Leader synchronization for JWPlayer 2013-06-02 19:19:51 -04:00
calzoneman d2271a020b Add playlist item count and playtime 2013-06-02 13:54:58 -04:00
calzoneman b87dd8b5e7 Redesign playlist management 2013-06-01 16:56:23 -04:00
calzoneman bd7288bed3 Add user playlist interface 2013-06-01 15:42:08 -04:00
calzoneman 28a960285c Begin working on playlists 2013-06-01 11:59:04 -04:00
calzoneman 52b88c0e40 Finish up 2013-05-30 14:34:54 -04:00
calzoneman 5205afb9cd Add password reset emailer 2013-05-30 14:07:29 -04:00
calzoneman c8df4b036c More work 2013-05-29 21:04:22 -04:00
calzoneman 74203ad223 Continue work on account management and password reset 2013-05-29 14:19:43 -04:00
calzoneman f3da02566c Start working on account management 2013-05-29 11:49:09 -04:00
calzoneman 8592c17bec Add maxlength to chatline (Fix #156) 2013-05-28 17:10:35 -04:00
calzoneman a3331ff758 Move callback initialization to prevent race condition 2013-05-28 17:06:23 -04:00
calzoneman a882f598d6 begin working on password reset 2013-05-28 11:40:06 -04:00
calzoneman a3138abd38 more fixes 2013-05-27 21:12:07 -04:00
calzoneman 16d3c600fe Fix #152; change JS load order to load faster 2013-05-27 15:00:32 -04:00
calzoneman 296bddefcd Fix #153 2013-05-27 14:35:24 -04:00
Calvin Montgomery 81d6b4873d More pagination 2013-05-26 23:10:16 -04:00
Calvin Montgomery ee10a080cc Search results pagination and clearing 2013-05-26 22:45:50 -04:00
calzoneman 50d73cee5b Fix #151 2013-05-26 12:53:35 -04:00
calzoneman 828b7e0381 Fix #149 and a couple other issues 2013-05-26 11:38:38 -04:00
calzoneman 486c6f7c8a Tweak index page and channellist 2013-05-24 13:13:07 -04:00
calzoneman ca72d79193 Update help.html for /clear 2013-05-23 00:05:43 -04:00
calzoneman a5c297365c Fixes; implement /clear command 2013-05-23 00:03:37 -04:00
calzoneman 4e364f45a6 Add permissions editor; fixes for bans 2013-05-22 15:38:16 -04:00
calzoneman 12c1f4acf8 Fix sort error for connection log 2013-05-22 10:56:27 -04:00
calzoneman f8b0b06caf Add username bans, tweak ban interface 2013-05-21 12:17:01 -04:00
calzoneman 505c628eb9 Tweak bans 2013-05-19 17:23:35 -04:00
calzoneman ea9132624a Fix index.html to work in non-root directories 2013-05-19 13:34:14 -04:00
calzoneman cf2e1213a9 Give feedback when a queue fails 2013-05-19 13:06:39 -04:00
calzoneman 01fc746334 Implement #137 2013-05-19 12:56:13 -04:00
calzoneman 3e2683642e Fix ACP 2013-05-17 19:04:39 -04:00
calzoneman 886834e822 Fix broken URLs from last commit 2013-05-17 18:56:11 -04:00
calzoneman 6dc0a33bda Separate ports for webserver and socketio
It came to my attention today that some firewalls block websocket traffic on port 80.  For this reason, I have split out the webserver and socket.io traffic to 2 different ports.
In config.js, IO_PORT is the socket.io port.  This should NOT be port 80.  WEBSERVER_PORT is the port that the built in webserver will bind to (can be port 80, but this requires root permissions).
You will connect to yourhostname:WEBSERVER_PORT, and use yourhostname:IO_PORT as IO_URL.
2013-05-17 18:39:49 -04:00
calzoneman 66fbbb77ce Add Justin.tv support 2013-05-17 14:39:58 -04:00
calzoneman 79ec535358 Improve chat button 2013-05-17 13:36:58 -04:00
calzoneman 8671edd106 Add option for send button in chat 2013-05-17 11:23:11 -04:00
calzoneman 767cfdd76e Improve announcements; remove debug console.log 2013-05-16 22:48:37 -04:00
calzoneman 8da604fd8a Solve #130 2013-05-16 22:39:33 -04:00
calzoneman a8d8f346d4 Add editors for CSS and JS 2013-05-15 11:34:27 -04:00
calzoneman b3cb87aab6 Add a little note about emoticon filters 2013-05-15 10:44:15 -04:00
calzoneman 91e3049e61 I could swear I fixed announcements before 2013-05-14 22:32:59 -04:00
calzoneman 25a2c053e9 Fix login page to load user theme 2013-05-14 18:07:55 -04:00
calzoneman ad54cffee1 Make it clear that custom css/js are URLs 2013-05-14 17:50:05 -04:00
calzoneman c1c3e4c47f Add ustream support 2013-05-14 17:22:47 -04:00
calzoneman e45489b77c Fix polls not autoscrolling chat 2013-05-14 13:15:58 -04:00
calzoneman ce99233596 Reduce amount of data sent in media updates 2013-05-14 11:35:11 -04:00
calzoneman 69550c7a51 Fix errors when video is hidden 2013-05-14 11:19:03 -04:00
calzoneman d0b3f9014a Make links unaffected by chat filters 2013-05-13 19:54:52 -04:00
calzoneman 4fe8ab164d Fix leader function 2013-05-13 19:44:51 -04:00
calzoneman 22b10e3ffa Implement #123 2013-05-13 18:05:01 -04:00
calzoneman 59fa9aa029 Fix video height inconsistency on fluid layout 2013-05-13 16:15:12 -04:00
calzoneman 4620fb2d56 Add unregistration for channel admins 2013-05-13 15:41:29 -04:00
calzoneman 27cfbcb61a Fix #121 2013-05-13 15:06:09 -04:00
calzoneman 46fa93c35d Update help.html 2013-05-13 11:51:34 -04:00
calzoneman 12c2ef8669 Fix race condition for fluid layout 2013-05-12 22:13:28 -04:00
calzoneman b98a785740 More modal fixes 2013-05-12 22:11:32 -04:00
calzoneman a6fff1c849 Fixes 2013-05-12 21:37:03 -04:00
calzoneman c7e63391f6 Add fluid layout option 2013-05-12 21:15:05 -04:00
calzoneman b00e63b622 Fix #119 2013-05-12 20:46:28 -04:00
calzoneman ebe48798fe Implement user profiles
Existing installations will have to apply the following SQL:
```sql
ALTER TABLE `registrations` ADD `profile_image` VARCHAR( 255 ) NOT NULL ,
ADD `profile_text` TEXT NOT NULL
```
2013-05-12 20:41:02 -04:00
calzoneman c6446d6f84 Begin working on profiles 2013-05-12 16:15:39 -04:00
calzoneman d9ed665540 Show page title in channel list 2013-05-12 11:46:19 -04:00
calzoneman 3af35cb268 Add links to playlist entries and the index page 2013-05-12 11:41:14 -04:00
calzoneman 161c8517b2 Change icons for next and temp, update help.html 2013-05-11 18:15:48 -04:00
calzoneman 369517945b Implement #106 2013-05-11 15:21:14 -04:00
calzoneman 2622aaac41 Implement #107 2013-05-11 15:12:51 -04:00
calzoneman aba806018c Add Total row to channellist 2013-05-11 14:53:33 -04:00
calzoneman 0f2c17b828 Fix #105 2013-05-10 18:06:58 -04:00
calzoneman dd67179fd4 Variable sync accuracy 2013-05-10 16:31:04 -04:00
calzoneman bafce39107 Show timestamps on continued messages 2013-05-09 21:12:01 -04:00
calzoneman ab2118da48 Implement #101 2013-05-09 17:59:02 -04:00
calzoneman 6168523a1c Refactor callbacks 2013-05-09 12:05:39 -04:00
calzoneman d102ca8815 Fix #95, Fix #96 2013-05-06 11:24:55 -05:00
calzoneman 703ac3ce4f Add temporary videos 2013-05-04 17:54:28 -05:00
calzoneman 62e80cec63 Add password change (#88) 2013-05-04 13:01:04 -05:00
calzoneman 27c1f78dbd Add banlist to acp 2013-05-04 12:30:38 -05:00
calzoneman 622788f7e7 Implement #91 2013-05-04 11:53:07 -05:00
calzoneman e524fca989 Add logviewer to ACP 2013-05-03 15:53:10 -05:00
calzoneman e62a02673c Fix #82 2013-05-02 22:02:25 -05:00
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 dbf41e3499 Fix old style URL redirect 2013-05-01 18:17:19 -05:00
calzoneman b36fd3518e Fix index.html 2013-05-01 17:57:59 -05:00
calzoneman 288da92e6f Remove login from index.html since it's unnecessary 2013-05-01 17:54:55 -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 7a2f3efcff Fix #74 2013-05-01 13:03:03 -05:00
calzoneman ab3dd208c3 Alert on wrong credentials (#76) 2013-05-01 13:02:06 -05:00
calzoneman 6a3e248ea5 Add donation link to footer 2013-04-30 17:09:30 -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 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 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 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 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 6e6f6217b0 Document /afk in help.html 2013-04-19 14:58:37 -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 9e8ca1ad3a Add ids to various div[class=row] elements 2013-04-19 14:04: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 4c58506575 Update help page with channel options/chat filters 2013-04-16 14:22:33 -05:00
calzoneman 3cb43717c1 Update help page 2013-04-16 14:06:42 -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 5bed38d0ec Update help page and README 2013-03-25 12:52:05 -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
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 05fd0f26a8 List loaded channels on ACP 2013-03-23 13:29:47 -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 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 d1fee84200 Write documentation 2013-03-20 14:17:59 -05:00
calzoneman c50dbece97 Add /say and global announcements 2013-03-20 13:35:06 -05:00
calzoneman 755c4f49fd Fix userlist sorting, tweak name tab completion 2013-03-20 13:10:34 -05:00
calzoneman 3f843e9c8c Add nick highlighting 2013-03-17 20:49:25 -05:00
calzoneman 2f38c4cafc Retroactively add user menus when you become a mod 2013-03-17 20:42:07 -05:00
calzoneman 066c0e9d2e Sorted userlist 2013-03-17 20:37:43 -05:00
calzoneman 671b6398ab Amendment to last commit 2013-03-17 20:27:18 -05:00
calzoneman 5cf8a089ab Add tab completion for the chatbox 2013-03-17 20:24:28 -05:00
calzoneman f4c044c4be Remove video box if the novideo param is defined 2013-03-17 14:47:32 -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 741fe8e21f Minor fix for vimeo removing the currently playing indicator 2013-03-16 15:45:52 -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 dbb86a73a8 Change button text to be more clear 2013-03-16 15:05:13 -05:00
calzoneman d51b900010 Fix vimeo synchronization, slight playlist tweak
Clicking the delete button on a playlist entry now removes the button strip
before playing the removal animation, to prevent multiclicking
2013-03-16 15:01:56 -05:00
calzoneman 259c72e7da Add usercount indicator 2013-03-06 19:38:16 -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 b2b134ce4a Slight layout change 2013-03-05 16:56:21 -06:00
calzoneman 3e556a5c54 Fix vimeo synch 2013-03-05 14:42:14 -06:00
calzoneman 7aafcd7b08 Add ability to kick clients 2013-03-05 14:23:02 -06:00
calzoneman fc27736017 Fixes to clientside chat stuff 2013-03-05 14:07:21 -06:00
calzoneman ab6fc96517 Add CSS for message modifiers [untested] 2013-03-05 12:43:50 -06:00
calzoneman 1e1e51a4ca Fix server not taking over after leadership is removed; fix soundcloud sync bug [untested] 2013-03-05 12:37:06 -06:00
calzoneman ad705e8779 Fix Leader bug and Rank bug 2013-02-16 16:33:38 -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