Commit Graph

455 Commits

Author SHA1 Message Date
calzoneman 767e90a757 Add config keys for reserved names 2014-02-05 18:05:52 -06:00
calzoneman 0998e89f5d Add channels ACP interface 2014-02-05 17:44:37 -06:00
calzoneman bde57973c3 Finish users interface on ACP 2014-02-04 22:39:13 -06:00
calzoneman 7b9162f890 Fix vimeo workaround 2014-02-04 22:02:27 -06:00
Calvin Montgomery 6fe31b9a3e Add configuration option to use express-minify for CSS and JS 2014-02-04 11:32:52 -06:00
calzoneman e6acf92bdb Add volume normalization and vimeo workaround 2014-02-02 20:04:50 -06:00
calzoneman 1864cc0b35 Change the way unregistered channels work 2014-02-02 15:50:05 -06:00
calzoneman b214c07fe0 Work on unregistered channels; fixes 2014-02-02 12:41:41 -06:00
calzoneman 0603a02d2e Finish password recovery 2014-02-01 13:03:08 -06:00
calzoneman 2c6edb38b8 Persist announcements in the database 2014-02-01 12:41:06 -06:00
calzoneman 6051dd3939 A few UI fixes; improve tab complete algorithm 2014-01-30 23:02:58 -06:00
calzoneman d410b4663d Implement new themes; fixes 2014-01-29 22:50:14 -06:00
calzoneman ac89c87e29 Continue working on acp 2014-01-29 21:50:45 -06:00
calzoneman 1272425205 Work on ACP 2014-01-28 20:04:25 -06:00
calzoneman d0be588149 Start working on ACP 2014-01-28 00:05:14 -06:00
calzoneman 5f3fa8922d Start working on event log 2014-01-27 18:37:48 -06:00
calzoneman 447a70be98 Add template for database update script, work on password recovery 2014-01-27 18:23:31 -06:00
calzoneman 8b0c370ad0 Fix leader issue 2014-01-27 16:44:22 -06:00
calzoneman 0f82faaef8 More fixes 2014-01-26 00:13:33 -06:00
calzoneman 6570c3da6c Fix a buttload of things 2014-01-26 00:01:36 -06:00
calzoneman 574ef4435c Fix some login race conditions/issues 2014-01-25 21:29:56 -06:00
calzoneman c3035ca368 Fix poll bug 2014-01-25 19:27:01 -06:00
calzoneman 1355455548 Address race condition 2014-01-25 17:47:38 -06:00
calzoneman 0329e564a9 Fix passwords (hopefully) 2014-01-25 17:44:32 -06:00
calzoneman e33c6c7860 Fix register 2014-01-25 16:59:25 -06:00
calzoneman 63055c51a2 Change login timeout 2014-01-25 16:39:16 -06:00
calzoneman 8313e7b006 Add HTML template config, fixes to account profile page 2014-01-25 13:55:00 -06:00
calzoneman 63ed9c7883 Continue work on password reset/recovery 2014-01-24 11:20:16 -06:00
calzoneman 65ef082a64 SSL fixes; work on password reset 2014-01-23 22:59:08 -06:00
calzoneman 21af0af1be Add new permission nodes 2014-01-23 16:03:50 -06:00
calzoneman 6e2d9c3caa Fixes 2014-01-23 15:53:53 -06:00
calzoneman 551d5b2c36 Add XSS filter 2014-01-23 11:45:08 -06:00
calzoneman feabf35714 Work on SIO and SSL 2014-01-22 21:12:43 -06:00
calzoneman 4a2366eb06 Switch config to YAML 2014-01-22 17:11:26 -06:00
calzoneman 0a2dd6cbbe Update package.json 2014-01-21 23:29:26 -06:00
calzoneman 7307c9c82e Work on index page 2014-01-20 17:52:36 -06:00
calzoneman 24fcce3f87 Add prompt for kick/ban reason 2014-01-20 17:35:55 -06:00
calzoneman e075d2f95a Add profile page, fix some redirects 2014-01-20 12:42:20 -06:00
calzoneman fd6b95920a Add permissions editor 2014-01-20 12:16:30 -06:00
calzoneman 8c47221a22 Add quick mute buttons, fix delete not updating playlist meta 2014-01-19 16:50:14 -06:00
calzoneman cd73653451 Handle mute/unmute/smute and related icons 2014-01-19 01:58:35 -06:00
calzoneman 6471969f55 Improve the way chat filter imports are handled 2014-01-19 01:45:20 -06:00
calzoneman 9c989f7ed7 Work on chat filters, UI stuff 2014-01-18 20:18:00 -06:00
calzoneman 7b18caa51c Change the way login redirect works 2014-01-16 16:23:55 -06:00
calzoneman 24781df78f Work on channel settings 2014-01-16 11:53:34 -06:00
calzoneman b1e6f696e8 Various fixes 2014-01-14 00:52:56 -06:00
calzoneman 87f44b69e0 Start reworking client UI 2014-01-13 18:31:12 -06:00
calzoneman 0a087c6507 Fix chat commands, fix a few bugs 2014-01-12 17:06:25 -06:00
calzoneman 637ece4044 Work on banlist 2014-01-11 23:55:52 -06:00
calzoneman 501a22556a Work on banlist 2014-01-09 17:43:07 -06:00
calzoneman 8554c38c7d Finish channel ranks / moderator list 2014-01-09 17:16:09 -06:00
calzoneman 2fadd70297 Work on user ranks 2014-01-08 23:45:26 -06:00
calzoneman 9306200a87 Work on ban list and channel ranks 2014-01-08 20:12:02 -06:00
calzoneman a4260bd25b Continue fixing things 2014-01-08 10:52:00 -06:00
calzoneman 22c4e8f9ff Fix more things 2014-01-07 22:47:00 -06:00
calzoneman 1aa464caa5 Continue fixing things 2014-01-06 09:55:12 -06:00
calzoneman 521c786cdc Start the long process of making it work again 2014-01-05 19:42:09 -06:00
calzoneman b5a45a25bf Refactor user.js 2014-01-05 19:30:45 -06:00
calzoneman 1c79024984 Finish most of the channel.js rewrite 2014-01-04 23:15:54 -06:00
calzoneman 89cca0d552 continue working on channel.js 2014-01-01 22:18:33 -05:00
calzoneman 1b3199a4ef Continue working on channel.js 2013-12-31 15:12:47 -05:00
calzoneman 01aab965ad Continue work on channel.js 2013-12-27 21:06:10 -05:00
calzoneman 9611f86d55 Work on channel.js 2013-12-27 16:38:06 -05:00
calzoneman ba0664641e Start rewriting channel.js 2013-12-27 11:08:03 -05:00
calzoneman e27667b6d2 Fix channel registration rank from /account/channels 2013-12-26 23:53:43 -05:00
calzoneman ead38a9d35 Work on account channels interface; Start work on /account/profile 2013-12-26 23:38:35 -05:00
calzoneman 5fe5dd440e Fix typos in channel.jade; fix username regex 2013-12-26 22:35:47 -05:00
calzoneman c213dd1374 Initialize global database tables 2013-12-26 22:15:54 -05:00
calzoneman 6ac64a6cf3 Fix a few things 2013-12-26 10:17:33 -05:00
calzoneman 423c787ccb Fix registration 2013-12-25 22:30:24 -05:00
calzoneman 9d49df6157 Work on user options 2013-12-25 16:18:21 -05:00
calzoneman fc63191773 continue work 2013-12-19 22:33:24 -05:00
calzoneman 47af1d4892 More database refactoring 2013-12-13 20:39:21 -06:00
calzoneman fe00fb8c83 Refuctor channel related db functions 2013-12-13 18:52:13 -06:00
calzoneman db5dcf86f7 Start refactoring database channels 2013-12-13 11:18:50 -06:00
calzoneman a14363a845 More refactoring 2013-12-12 17:09:49 -06:00
calzoneman cfd1b0618d Do a bit of intermediate database work 2013-12-12 16:28:30 -06:00
calzoneman b889f7b4c8 Start merging cytube3 account management 2013-12-12 14:48:23 -06:00
calzoneman 8d2587cebd Implement get/setProfile 2013-12-12 14:27:18 -06:00
calzoneman a821498298 Begin the long process of refactoring the database 2013-12-11 22:20:21 -06:00
calzoneman 65ce2f661d Fix a slight bug with passworded rooms 2013-12-11 14:30:53 -06:00
calzoneman fb355272fc Fix #316 2013-12-06 15:21:32 -06:00
Calvin Montgomery c00ce26d57 Merge pull request #315 from calzoneman/xss
Minor correction to xss.js
2013-12-05 19:34:01 -08:00
calzoneman 3ced278bd0 Support links in polls 2013-12-01 17:20:42 -06:00
calzoneman 6cf2c40240 add extra user input validation and truncation 2013-12-01 17:10:37 -06:00
calzoneman 20ca0b5e1b Add some soft limits to user.js 2013-11-30 10:50:02 -06:00
calzoneman 2a84eab386 merge master into roompassword 2013-11-29 22:53:08 -06:00
calzoneman 3f1e665922 Add strict type checking to channel options 2013-11-29 21:21:49 -06:00
calzoneman 873330e991 Fix #312 2013-11-29 21:09:19 -06:00
calzoneman cb4a931c30 Treat passworded channels as private 2013-11-26 11:16:04 -06:00
calzoneman 81b5c0eeaa Fix bug with userJoin, add password support to channel API 2013-11-26 11:06:10 -06:00
calzoneman d006099fc7 Start working on room passwords 2013-11-25 16:20:15 -06:00
calzoneman 0945fc0d7b Clean up loadDump 2013-11-24 23:20:41 -06:00
calzoneman 01464ed394 Fix a few minor express issues 2013-11-24 18:13:58 -06:00
Calvin Montgomery 7f3561bd27 Merge pull request #311 from calzoneman/chatthrottle
Chat Throttle
2013-11-21 15:51:07 -08:00
calzoneman 714d302cf9 Automatically calculate cooldown 2013-11-21 17:50:17 -06:00
calzoneman 2f8b304b68 Fix /m and path traversal ActionLog 2013-11-21 17:46:33 -06:00
calzoneman d36dcc5352 Exclude mods from chat throttle, add extra description to options 2013-11-20 10:14:39 -06:00
calzoneman 85e413bcdf Fix issues with chat logging after chat format refactoring
- Fix '<username.undefined>' in log
- Fix channel log filter
2013-11-20 10:10:01 -06:00
calzoneman b50dc3a626 Fix greentext bug 2013-11-19 16:14:33 -06:00
calzoneman ee9b19b0ff Start switching chat flood system 2013-11-19 15:14:40 -06:00
calzoneman 2361ecddae Fix permissions on /a 2013-11-19 13:19:51 -06:00
calzoneman b250f3c64b A few tweaks, cleanup 2013-11-18 11:11:00 -06:00
calzoneman 0e95ef2aa4 Continue refactoring 2013-11-17 15:32:19 -06:00
calzoneman 6e99990ef0 Start refactoring commands 2013-11-17 13:12:56 -06:00
calzoneman 681911ffb1 Fix #307 2013-11-15 10:24:43 -06:00
calzoneman f8e4a3fc34 Fix exception handler exception 2013-11-14 16:44:40 -06:00
calzoneman 436df375c7 Fix #305 2013-11-10 22:26:30 -06:00
Calvin Montgomery 22e2180790 Merge pull request #304 from calzoneman/userupdaterefactor
Refactor broadcastUserUpdate
2013-11-09 10:43:04 -08:00
calzoneman b6f4702570 Continue refactoring, tweak sban 2013-11-09 12:33:18 -06:00
calzoneman d7a0297a8b Resolve merge conflict 2013-11-09 01:56:28 -06:00
calzoneman 30c5f67d4d Start refactoring leader and rank 2013-11-08 22:12:17 -06:00
calzoneman 6588e90bfe Add basic shadow mute command 2013-11-08 20:45:59 -06:00
calzoneman e737bc9f8a Strip ip, expire from Google Docs flashvars 2013-11-08 17:57:14 -06:00
calzoneman 4198f3ce2c Add support for Google Docs videos 2013-11-07 17:19:36 -06:00
calzoneman 2730c54344 fix #303 2013-11-06 17:43:12 -06:00
calzoneman 9e56400f53 Prevent double userLeave 2013-11-05 22:45:11 -06:00
calzoneman 0db5f64b15 Merge branch 'master' of github.com:calzoneman/sync 2013-11-05 22:40:09 -06:00
calzoneman 22ba96b9fd Prevent registration race condition 2013-11-05 22:39:51 -06:00
Calvin Montgomery 7318200878 Work on text filter 2013-11-05 10:37:50 -06:00
calzoneman f4c05b736b Minor fix to tor blocker 2013-11-04 16:08:00 -06:00
calzoneman 4ad22308a0 Add module to block Tor IPs 2013-11-04 16:04:24 -06:00
Calvin Montgomery 9dc964bd77 Minor correction to xss.js 2013-11-02 02:28:43 -05:00
calzoneman d06ca9a99f Comment xss.js 2013-11-02 02:25:16 -05:00
calzoneman 2e8f31ae2b Start working on text sanitizer 2013-10-31 18:53:03 -05:00
calzoneman 1c3273978b Fix a few edge cases for XSS 2013-10-31 00:48:01 -05:00
calzoneman 271a23cdad Implement basic XSS filter 2013-10-31 00:39:35 -05:00
calzoneman bc7a2e0ff1 Fix channel dead race condition (another one) 2013-10-22 13:42:07 -05:00
calzoneman 33e5f2e056 Fix MOTD XSS filter stripping style tags 2013-10-20 20:04:09 -05:00
calzoneman 9be513221e Remove some unnecessary packets 2013-10-19 12:20:55 -05:00
calzoneman 120d56d6c8 Change the way /mute works 2013-10-16 17:36:05 -05:00
calzoneman 5eda748fc4 Be nicer about who is kicked 2013-10-16 17:21:11 -05:00
calzoneman 95c2118740 Make it impossible to ever lose rank when logging in 2013-10-14 18:15:36 -05:00
calzoneman 2e77cb4499 Change channel dumping to a single interval rather than per-channel 2013-10-14 16:39:41 -05:00
calzoneman 9193423923 Rate-limit socket.io connections per IP 2013-10-14 16:32:03 -05:00
calzoneman b70526db4d Fix video deletes 2013-10-12 19:46:39 -05:00
calzoneman 8c80088192 Fix bugs 2013-10-12 19:44:36 -05:00
calzoneman 6c7566e790 Actually fix /poll 2013-10-12 19:04:42 -05:00
calzoneman 5c0d70f8eb Fix /poll 2013-10-12 19:03:39 -05:00
calzoneman 2744b3a20d Improve strictness of data checking 2013-10-12 18:59:50 -05:00
calzoneman 51d89b99e8 Fix a vulnerability in chatMsg handler 2013-10-12 18:25:36 -05:00
calzoneman babeb01ebe Add try-catch to playlist loading 2013-10-12 15:54:39 -05:00
calzoneman 2cb8ab3a98 Fix GET / 2013-10-11 18:20:52 -05:00
calzoneman aad1c2995c Fixes 2013-10-11 18:15:44 -05:00
calzoneman fa9656432d Remove rank.js 2013-10-11 16:31:54 -05:00
calzoneman f2c996ebfa major refactoring 2013-10-11 16:31:40 -05:00
calzoneman 542461a533 Refactor out server init to index.js 2013-10-11 15:48:01 -05:00
calzoneman 128367bfc4 Do some server refactoring 2013-10-09 18:10:26 -05:00
calzoneman a3153246ce Fix the only thing I see that could possibly still cause #285 2013-10-07 19:03:20 -05:00
calzoneman f5cbdb2f24 Fix #291 2013-10-07 10:04:08 -05:00
calzoneman 718a70bc60 Fix clean; minor error message fixes 2013-10-07 00:10:16 -05:00
calzoneman 7d862cac60 Show links that failed for queueFail 2013-10-06 01:43:25 -05:00
calzoneman ce197d3d8a Fix a bug with guestname capitalization 2013-10-05 20:42:15 -05:00
calzoneman 6309e42989 Tweak movement 2013-10-03 22:11:47 -05:00
calzoneman 89422c3c1d Fix #289 2013-10-03 22:07:44 -05:00
calzoneman abc9c398f4 Fix media length limit 2013-10-02 09:37:13 -05:00
calzoneman 9d35636be2 Resolve merge conflict 2013-10-01 23:05:02 -05:00
calzoneman a23a55f6a2 Update changelog and version # 2013-10-01 23:02:31 -05:00
calzoneman a1c72aaa8d Use asyncqueue clientside too 2013-10-01 13:35:29 -05:00
calzoneman 29a1f0b9d3 Throttle comma-separated lists properly 2013-10-01 13:14:44 -05:00
calzoneman 54dee9e25d Fix some error messages, intialize announcement to null 2013-09-30 21:59:04 -05:00
calzoneman 54016f6f48 Remove debug message; stack queueFail messages clientside 2013-09-30 21:54:01 -05:00
calzoneman 0c52c3f17d Fix /clean 2013-09-30 21:34:40 -05:00
calzoneman 3666b43f7a Use new asyncqueue system for moving and deleting 2013-09-30 10:05:09 -05:00
calzoneman 0eda0b8ed2 Fix comma separated queues 2013-09-30 09:51:38 -05:00
calzoneman 2fc8349daf Migrate youtube playlists and user playlists, comma lists sometimes break still 2013-09-29 22:32:37 -05:00
calzoneman 69ac0b39ad Check for videos where embedding is disabled 2013-09-29 21:32:04 -05:00
calzoneman a371ca6440 Continue refactoring playlist 2013-09-29 19:53:27 -05:00
calzoneman 21bd270813 Improvements to playlist queue 2013-09-29 11:30:36 -05:00
calzoneman 3d3d21a3f9 Add asyncqueue class 2013-09-29 00:27:43 -05:00
calzoneman 8ba5743bc2 Improve link filter 2013-09-27 10:28:48 -05:00
calzoneman ba66aadf66 Move interval stuff to config keys 2013-09-26 23:41:38 -05:00
calzoneman 6bf11a57b3 Generalize background tasks, rework aliases a bit 2013-09-26 23:36:00 -05:00
calzoneman 2f813c1d11 Remove mostly useless realtime connection stats 2013-09-26 23:10:00 -05:00
calzoneman 6e18e25139 Code style cleanup on user.js 2013-09-26 13:29:36 -05:00
calzoneman 379522f2df A few minor cleanups 2013-09-26 13:18:37 -05:00
calzoneman 87ee45165d Fix announcements for SSL sockets 2013-09-24 13:46:41 -05:00
calzoneman 0addff6bab Don't add delete buttons to youtube search results
People kept clicking them resulting in database errors for unregistered channels.
2013-09-23 16:25:45 -05:00
calzoneman 851491e4ac Modify lead function for lead-in 2013-09-21 23:54:29 -05:00
calzoneman 4517741455 A few minor changes to the /clean merge 2013-09-21 00:10:22 -05:00
Nick Bensema 8899b5f799 Added /cleantitle, and -i option to ignore case.
Fix #257, you should be able to clear username and title patterns
now with ease.  For best results, wait until they've wasted a lot
of time adding a lot of videos before you wipe them.
2013-09-18 22:23:23 -07:00
Nick Bensema bf95be812c made slightly more efficient in response to comments 2013-09-18 22:23:23 -07:00
Nick Bensema c6c6e8e55b Added /clean command to clear a user's additions from a channel
Any user with playlistdelete permission can now use the /clean
command to wipe out a user's additions to the playlist.  This
can be helpful for taking down abusive items en masse without
resetting the entire playlist.

The code should probably be generalized, somehow, to handle
title patterns or additions within a certain timeframe.
2013-09-18 22:23:23 -07:00
calzoneman 1d9845f6d5 Change channel checks in user.js 2013-09-18 18:27:42 -05:00
calzoneman 39fe452e96 Add extra checks to channel.js for deadness 2013-09-18 18:16:12 -05:00
calzoneman d5c5de41e1 Fix what I assume was a race condition 2013-09-17 22:26:44 -05:00
calzoneman 6aae146f8b Fix ustream for channels with /channel/foo syntax; ustream wtf are you doing 2013-09-17 13:19:33 -05:00
calzoneman 3f65a69f0e Fix reset password 2013-09-13 10:24:54 -05:00
calzoneman 5497a868a3 Fix an error 2013-09-12 16:26:45 -05:00
calzoneman 408f6626bb Fix behavior of chat filter XSS 2013-09-12 13:03:04 -05:00
calzoneman 9d445b8ffd Fix up voteskip a bit 2013-09-11 22:16:56 -05:00
calzoneman 7e9673425d Add support for hidden polls 2013-09-11 20:22:00 -05:00
calzoneman aadba26891 Fix disabling ssl causing errors 2013-09-10 16:45:43 -05:00
calzoneman 2a30d30d0a Trust X-Forwarded-For from 127.0.0.1 2013-09-10 16:11:35 -05:00
calzoneman 83ea83429e Add passphrase support to SSL 2013-09-10 14:10:30 -05:00
calzoneman 4ba8e88e27 Merge ssl into master 2013-09-10 13:51:47 -05:00
calzoneman efcae43ae8 Fix issues with regard to unloading channels 2013-09-09 22:11:24 -05:00
calzoneman 4ec1d04247 Add SSL support 2013-09-09 17:16:41 -05:00
calzoneman f7e968a13c Alter channel unload behavior, add additional checks
- Should prevent "write after end" errors caused by unloading a channel before it finishes loading
- Might prevent strange cases of playlists gone wild
2013-09-08 17:43:30 -05:00
calzoneman b3ea7069a8 Hopefully fix the duplicate login kick issue for retarded browsers 2013-09-07 23:40:25 -05:00
calzoneman 4c34625d48 Add an extra check and log message 2013-09-07 15:44:57 -05:00
calzoneman bca7199ec1 Add io-host option 2013-09-06 16:30:20 -05:00
calzoneman 6aecb32c89 Fix #277 2013-09-06 15:53:23 -05:00
Calvin Montgomery b3fb8c557c Delete .logger.js.swp 2013-09-05 13:49:58 -05:00
calzoneman 7840fa35e8 Move server files to lib/ to clean up root directory 2013-09-05 13:48:05 -05:00