Commit graph

1533 commits

Author SHA1 Message Date
Calvin Montgomery 93567c57f1 Merge pull request #432 from calzoneman/deps-upgrade
Upgrade dependencies
2015-01-31 11:44:38 -06:00
calzoneman 55d924cc56 Downgrade yamljs due to parsing problems 2015-01-28 00:56:04 -06:00
Calvin Montgomery 583e7e7616 Merge pull request #431 from calzoneman/hitbox
Add hitbox support
2015-01-27 00:29:44 -06:00
calzoneman 858207a6f8 Upgrade deps 2015-01-27 00:12:40 -06:00
Calvin Montgomery bbd03e4e0f Log aliases when someone logs in 2015-01-26 12:20:19 -06:00
calzoneman 5a95bacee4 Fix youtube...again 2015-01-22 23:34:39 -06:00
calzoneman 50bf876010 Add hitbox support 2015-01-22 23:21:31 -06:00
calzoneman 5cde74cbd4 Fix potential cause for playlist timer problem 2015-01-22 16:53:36 -06:00
calzoneman 7d2015620a socket.io: upgrade to 1.3 2015-01-19 17:43:22 -06:00
calzoneman 9fc1cbd81c Whitelist <s> tags for filters 2015-01-19 01:26:46 -06:00
calzoneman e76fd7b1c4 Fix client motd issue 2015-01-16 19:35:26 -06:00
calzoneman 4f3adef1d3 Revert to git based sanitize-html for package.json 2015-01-16 19:27:41 -06:00
Calvin Montgomery d7ef0d1893 Merge pull request #428 from calzoneman/sanitize-html
Merge sanitize-html into 3.0 #yolo
2015-01-14 13:23:01 -06:00
calzoneman 139825168f Fix for private, but embeddable soundcloud tracks 2015-01-11 12:10:09 -06:00
calzoneman 991dc866b1 Merge branch 'sanitize-html' of github.com:calzoneman/sync into sanitize-html 2015-01-08 20:07:22 -06:00
calzoneman 80c4c90bcf Migrate old MOTDs and don't replace \n with <br> after 2015-01-08 20:07:02 -06:00
Calvin Montgomery 56d6eb8026 sanitize-html: replace github link with npm
The change I made to sanitize-html was merged and published to npm, so
there's no reason to depend on my fork anymore.
2015-01-08 20:07:02 -06:00
Calvin Montgomery eca8014369 deps: update sanitize-html 2015-01-08 20:07:02 -06:00
Calvin Montgomery 12f3161f50 XSS: Glob attributes data-*, aria-* 2015-01-08 20:07:01 -06:00
Calvin Montgomery 1c3a669279 Replace XSS filter with sanitize-html 2015-01-08 20:07:01 -06:00
calzoneman 654573af68 Migrate old MOTDs and don't replace \n with <br> after 2015-01-08 20:06:41 -06:00
calzoneman 8630c5972c deps: upgrade socket.io to 1.2.1 2015-01-08 17:57:44 -06:00
Erik 4135ec0bf8 Kick/Mute immunity should only be if globalRank is strictly greater 2015-01-08 09:58:44 -05:00
Calvin Montgomery 032f600746 Kick/Mute immunity should only be if globalRank is strictly greater 2015-01-08 08:48:00 -05:00
Calvin Montgomery ef7ee067f2 Merge branch '3.0' of github.com:calzoneman/sync into 3.0 2015-01-07 15:59:52 -05:00
Calvin Montgomery c1ef0848cd Add CSS classes for muted users (#426)
- If a user is muted, the `userlist_muted` class is added to the
  corresponding `.userlist_item`.
- If the user is shadowmuted, the `userlist_smuted` and `userlist_muted`
  classes are added.
- If the user is AFK, the `userlist_afk` class is added.
2015-01-07 15:58:36 -05:00
Calvin Montgomery 21756d7cb2 sanitize-html: replace github link with npm
The change I made to sanitize-html was merged and published to npm, so
there's no reason to depend on my fork anymore.
2015-01-07 10:47:46 -05:00
Erik Little 7dab3276a6 Merge pull request #425 from calzoneman/muteadmin
site admins should be immune from kick/mute
2015-01-06 23:00:14 -05:00
Erik 5d843358d2 site admins should be immune from kick/mute 2015-01-06 22:55:14 -05:00
Calvin Montgomery b56809138c deps: update cytubefilters commit hash 2015-01-06 22:40:49 -05:00
Calvin Montgomery aabff5d0cc deps: update cytubefilters commit hash 2015-01-06 22:40:23 -05:00
Calvin Montgomery 6e053ae7f4 deps: update sanitize-html 2015-01-06 13:05:31 -05:00
Calvin Montgomery 03f58a7d7a XSS: Glob attributes data-*, aria-* 2015-01-06 13:00:36 -05:00
Calvin Montgomery df42a5e6a6 Replace XSS filter with sanitize-html 2015-01-06 12:20:48 -05:00
Calvin Montgomery cf35c92391 Apparently this happens a lot, don't put it in the logfile 2015-01-06 10:58:15 -05:00
Calvin Montgomery 414cbfdc5d Add more safeguards for socket errors 2015-01-06 10:54:14 -05:00
Calvin Montgomery cd22570c40 Hopefully fix youtube setPlaybackQuality once and for all 2015-01-04 16:46:40 -05:00
Calvin Montgomery 3423f43f2f https://www.youtube.com/watch?v=9u6Bfnq3aZk 2015-01-03 21:36:58 -05:00
Calvin Montgomery bf70d2760b Log when a video is added 2015-01-03 16:03:15 -05:00
Calvin Montgomery 829cc090fa Use graceful-fs to maybe prevent EMFILE 2015-01-02 23:22:48 -05:00
Calvin Montgomery 4013779750 Remove license banner from index.js (see LICENSE file) 2014-12-31 12:07:43 -05:00
Calvin Montgomery 0c23b8a4c5 Update Copyright year; remove old junk 2014-12-31 12:06:29 -05:00
Calvin Montgomery c5582865a5 Merge pull request #422 from calzoneman/cytubefilters
Switch to PCRE-based C++ chat filters
2014-12-28 20:40:29 -06:00
Calvin Montgomery 4319111f47 Remove console.log 2014-12-28 19:09:41 -05:00
Calvin Montgomery 058b24323d Add cytubefilters to package.json 2014-12-28 19:07:39 -05:00
Calvin Montgomery 25eba6ab2b Improve filter handling code 2014-12-28 11:12:37 -05:00
Calvin Montgomery aa5e50f1d2 Cytubefilters, part 1 2014-12-27 01:39:30 -05:00
Calvin Montgomery 709724efd4 Warn moderators when a channel exceeds size limit
When the chandump is saved, the size of the file is checked.  If it is over the limit, moderators are displayed a message indicating that the channel is too large and they should remove extra playlist items, filters, and/or emotes.

This is a partial solution for #421.
2014-12-26 11:19:19 -05:00
Calvin Montgomery 3689aafe3b Fix all video adds getting stuck when one fails
Whenever a urlRetrieve() fails due to an unexpected error (ENOTFOUND, ETIMEDOUT, Socket hang up, etc.), the domain handler and the global exception handler would detect this and not crash the server, however the dirty internal state would somehow prevent future HTTP requests from completing successfully.

Removed domain usage since that feature is marked "unstable" and is rumored to be marked for deprecation in future versions of node.  Using the "error" event of the request object itself, which means errors are local in scope and won't pollute global state.  This should have been the solution originally, but when urlRetrieve() was written, I was not as familiar with node.
2014-12-26 10:39:47 -05:00
Calvin Montgomery db7d1a22c8 Resolve #420 2014-12-19 14:39:10 -05:00