Commit graph

472 commits

Author SHA1 Message Date
Calvin Montgomery 1b3d154055 Prevent empty channel from being loaded on blacklist join 2014-05-21 21:11:15 -07:00
Calvin Montgomery 4e7dcbe7ef Fix for soundcloud returning 302 found instead of 200 OK 2014-05-21 20:53:13 -07:00
Calvin Montgomery 4c1b8e8c1a Add ability to blacklist channels in site config 2014-05-21 20:33:24 -07:00
Calvin Montgomery 7dde8cffe9 Hopefully fix playlist issues 2014-05-21 20:27:49 -07:00
Calvin Montgomery ac629d4b7f Clear poll timer on channel unload 2014-05-21 20:21:03 -07:00
Calvin Montgomery a3469378aa Minor fix 2014-05-21 20:18:27 -07:00
Calvin Montgomery 68475e2b30 Fix #364 2014-05-21 20:10:14 -07:00
Calvin Montgomery 2ce2467f4d Fix #363 2014-05-21 20:09:10 -07:00
Calvin Montgomery 0c9099e766 Fix #362 2014-05-21 20:07:04 -07:00
Calvin Montgomery 46b288d6ee Fixes 2014-05-21 08:42:09 -07:00
Calvin Montgomery b6dcbe4d46 Fix duplicate userLeave 2014-05-20 22:50:55 -07:00
Calvin Montgomery d598675576 Send deleteChatFilter packet 2014-05-20 22:42:51 -07:00
Calvin Montgomery f5528c766f only execute callback if it's not undefined 2014-05-20 22:32:26 -07:00
Calvin Montgomery 949299c5e5 Bump emotes above chat so that emotes will render in backlog 2014-05-20 22:28:23 -07:00
Calvin Montgomery 2be928eea1 Fix poll timers 2014-05-20 21:38:18 -07:00
Calvin Montgomery 5f0d2db1be Add checks for dead channels 2014-05-20 20:59:36 -07:00
Calvin Montgomery 705b8ce10a Fix vimeo workaround 2014-05-20 20:56:42 -07:00
Calvin Montgomery 39090fbe40 Fix check for channel being registered 2014-05-20 20:48:19 -07:00
Calvin Montgomery d27a8efcb1 Remove debug database print message 2014-05-20 19:33:34 -07:00
Calvin Montgomery 9ea48f58cf Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
calzoneman 89939682ce Fix possible XSS issue with chat filters 2014-05-13 01:02:38 -05:00
calzoneman 992c8d8da9 Fix a case where users could cause duplicate joins 2014-05-02 12:06:31 -05:00
calzoneman e9fc3cfaca Fix #356 2014-04-30 19:36:01 -05:00
calzoneman 2a507fcac5 Fix incorrect parsing of x-forwarded-for in webserver.ipForRequest 2014-04-17 00:03:32 -05:00
calzoneman 71f9ab79ea Resolve #349 2014-04-14 19:13:54 -05:00
calzoneman 48e808c8ea Fix ACP reading wrong config key 2014-04-13 19:27:32 -05:00
calzoneman cfe34112a4 Fix emote issues as discussed in #347 2014-04-13 02:06:28 -05:00
calzoneman 7c252eab2f Fix ENOENT for people with HTTPS disabled 2014-04-12 21:52:06 -05:00
calzoneman 85c62b1579 Add login log message 2014-04-12 12:26:14 -05:00
calzoneman 54226c0ca5 Fix race condition failing to properly log in user 2014-04-12 12:22:30 -05:00
calzoneman 3567087c48 Update config.template.yaml and server files for new listen syntax 2014-04-11 10:52:51 -05:00
calzoneman fb0533bd94 Convert server definitions to be more flexible 2014-04-11 00:14:52 -05:00
calzoneman 04dbb3444b Fix a few memory leaks; add /gc console command
3 memory leaks were fixed
  - ipThrottle (due to the periodic cleaner clearing the wrong object...)
  - ipCount (shouldn't have leaked very much, but removing obsolete data is good practice)
  - lastguestlogin (again, shouldn't leak much, but should be cleared periodically anyways)
A new console command (i.e. from the terminal running node) was added: /gc
  - If the process is invoked as node --expose-gc index.js, /gc allows you to manually invoke the garbage collector
2014-04-10 21:54:46 -05:00
calzoneman e973813718 Patch a memory leak caused by an earlier failsafe
A global object AllPlaylists was added back in v2 as a hardfix for an issue where playlists would continue to send updates after the channel was reloaded and the playlist object was obsolete.  This condition should no longer happen due to other fixes, so the only thing this object was doing was wasting memory.
2014-04-10 16:10:55 -05:00
calzoneman 324fa6c81a Fix a typo and an undefined variable case 2014-04-08 18:06:37 -05:00
calzoneman 5c9c096209 Merge branch '3.0' of github.com:calzoneman/sync into 3.0 2014-04-08 16:52:13 -05:00
calzoneman 8ebacdbe12 Add missing return statement 2014-04-08 16:51:47 -05:00
Calvin Montgomery ee4fafcc6a Add missing default keys to config.js 2014-04-07 14:41:21 -05:00
Calvin Montgomery a2f2b1adc2 Add support for Vimeo's OAuth ("advanced") API
This allows for authenticated API requests.  Currently, the only reason
you would want to use this is to be able to add videos that are marked
private but still embeddable.
2014-04-04 20:06:16 -05:00
Calvin Montgomery 4577a2dbd5 Start working on vimeo advanced api support 2014-04-04 11:37:30 -05:00
Calvin Montgomery 92e05b96c8 Use correct io.domain for sioSource in acp 2014-04-04 01:09:48 -05:00
Calvin Montgomery 42e590c6fd Fix #340; add shadowchat option for moderators
The new option allows moderators to see what shadowmuted users are saying.  When enabled, messages from shadowmuted users will appear in a darker (or lighter, depending on theme) font and struck through.
2014-04-01 11:52:20 -05:00
calzoneman 43be6402a0 Fix edge case of emotes directly succeeding one another in a message 2014-03-27 11:03:27 -05:00
calzoneman de145d00c7 Fix incorrect logging of user IP in User.login 2014-03-27 10:14:26 -05:00
calzoneman f482a4e3b8 Correct typo; didn't cause errors but best to fix it anyways 2014-03-27 10:11:50 -05:00
calzoneman b82b5289f1 Fix isIPBanned 2014-03-25 17:22:48 -05:00
calzoneman 1f7cf66367 Fix minor issue with preJoin patch 2014-03-21 09:26:41 -05:00
calzoneman 7134de4de5 Fix another instance where #335 could be exposed 2014-03-20 09:18:54 -05:00
calzoneman a6434ec47f Fix #335 2014-03-20 09:17:19 -05:00
calzoneman bd5e11c46a Fix empty channel issue 2014-03-17 16:43:47 -05:00
calzoneman 07819f0b14 Fix race condition 2014-03-16 21:22:41 -05:00
Calvin Montgomery d7bcf85c1b Hopefully fix some background task issues 2014-03-09 22:36:39 -05:00
Calvin Montgomery e841196570 Fix #332; add more helpful errors 2014-03-09 11:42:45 -05:00
Calvin Montgomery 5e152c8310 Fix #331 2014-03-09 11:24:57 -05:00
calzoneman 9bd984f66b Fix typo in CA file loading 2014-03-06 15:38:46 -06:00
calzoneman 398647974c Add cafile config key 2014-03-05 22:26:10 -06:00
calzoneman 5393734055 Allow name banning guests 2014-03-05 17:49:49 -06:00
calzoneman 690ea9dbde Merge branch '3.0' of github.com:calzoneman/sync into 3.0 2014-03-04 16:22:29 -06:00
calzoneman b225e9ef50 Fix auto afk timer 2014-03-04 16:22:16 -06:00
calzoneman 127e91b9d5 Fix /mute 2014-03-04 16:20:37 -06:00
Calvin Montgomery f992d625fb Fixes 2014-03-04 11:57:05 -06:00
calzoneman 379c121350 Fix urlRetrieve error handler 2014-03-03 17:55:55 -06:00
calzoneman db5b407635 Fix IP Bans 2014-03-02 22:00:24 -06:00
calzoneman f75b6b754d Minor tweak 2014-03-02 01:38:35 -06:00
calzoneman 5082c84cc6 Fix user playlist add next 2014-03-02 01:35:20 -06:00
calzoneman 341d17c7b9 Fixes 2014-03-01 17:37:59 -06:00
calzoneman b96b488c22 Merge branch '3.0' of github.com:calzoneman/sync into 3.0 2014-02-28 16:21:08 -06:00
calzoneman 086c2ab501 Fix chat linewrap; fix nodemailer 2014-02-28 16:20:58 -06:00
Calvin Montgomery 6e1de10860 Fix unregistered channel permissions 2014-02-28 13:53:23 -06:00
calzoneman b6a1e05cd0 Fix passworded room login 2014-02-28 09:21:28 -06:00
calzoneman d75c8dd230 Hopefully prevent more webserver crashes 2014-02-28 09:04:41 -06:00
calzoneman 5b793710c3 Fixes 2014-02-28 08:43:04 -06:00
calzoneman 3da717adb9 Fixes 2014-02-28 00:09:20 -06:00
CyTube 97f682a022 Emergency fix 2014-02-28 06:47:06 +01:00
calzoneman fd328d443d Minor fix 2014-02-27 20:51:48 -06:00
calzoneman c44e70893b Shitty hack for cross-domain login cookies 2014-02-27 20:50:47 -06:00
Calvin Montgomery 99e7a521ef Tweaks 2014-02-26 14:37:51 -06:00
Calvin Montgomery 4e2c6d486b Add /reload console command, change some internal config 2014-02-26 14:28:24 -06:00
calzoneman 2bd6a207ba Minor fixes to channel listing 2014-02-26 11:04:22 -06:00
calzoneman 1e2a158ae6 Add io.domain config key 2014-02-26 10:57:49 -06:00
calzoneman 93d5980f05 Fix cross-domain cookie issue 2014-02-26 10:50:59 -06:00
calzoneman 5565dd49fd Add caching to minify 2014-02-24 18:32:54 -06:00
calzoneman 5d9a8a1a3f Fixes 2014-02-24 18:25:49 -06:00
calzoneman cc241da5cf Static content caching 2014-02-23 23:27:07 -06:00
calzoneman 0f9c3b2dd1 Fix error on empty user-agent 2014-02-20 21:26:09 -06:00
calzoneman 15dc61a761 Fix livestream issue 2014-02-20 21:24:28 -06:00
calzoneman 644437ea42 Directory cleanup 2014-02-18 22:00:56 -06:00
calzoneman c54915e940 Fixes 2014-02-18 21:56:54 -06:00
calzoneman 6e0f27f254 Ability to hide playlist 2014-02-17 19:06:49 -06:00
calzoneman 8be16303a1 Fix setChannelRank 2014-02-17 18:51:19 -06:00
calzoneman 20e00af18d Fix filter leak 2014-02-16 21:40:26 -06:00
calzoneman e5333056e1 Fix ip ban 2014-02-16 17:55:05 -06:00
calzoneman 91aaed96fa Add socket.io login handler 2014-02-16 13:27:01 -06:00
calzoneman 54102863ac Fix random playlist death bug 2014-02-16 13:12:49 -06:00
calzoneman c9d4efdd15 Fix setMotd 2014-02-16 02:13:53 -06:00
calzoneman 7711587f15 Fix emotes 2014-02-16 01:33:38 -06:00
calzoneman e8daf33146 Hopefully fix cross-domain login issue 2014-02-15 23:17:31 -06:00
calzoneman 638333c345 Fix opening extra tabs for uppercase names 2014-02-15 22:44:05 -06:00
calzoneman bf959429f9 Fix case sensitivity of PMs 2014-02-15 22:23:18 -06:00
calzoneman f7bf915f87 Fix google drive links with \xkk in them 2014-02-15 17:33:39 -06:00
calzoneman ad30e3a805 Add some safety checks to PMs 2014-02-15 12:29:05 -06:00
calzoneman b41529d4aa Add private messaging 2014-02-15 01:40:14 -06:00
calzoneman 573e59680e Fix a few things 2014-02-15 00:12:11 -06:00
calzoneman 1cbb1c2a6a Add contact page 2014-02-13 18:15:22 -06:00
calzoneman d24214949a Add user agreement 2014-02-13 00:12:17 -06:00
calzoneman 27834e1211 ACP stats 2014-02-12 23:52:38 -06:00
calzoneman 002888a0de Implement emotes 2014-02-12 23:33:42 -06:00
calzoneman 53138fe1f0 Start working on emotes 2014-02-09 23:53:46 -06:00
calzoneman 0f9bfe1429 JWPlayer serverside synchronization 2014-02-09 20:10:11 -06:00
calzoneman 55b6e99896 Limit user registrations 2014-02-09 19:52:24 -06:00
calzoneman cec68d0f2a Add poll timers 2014-02-08 23:58:27 -06:00
calzoneman 3bebc34e21 Redo channel logs 2014-02-08 12:45:07 -06:00
calzoneman 87b40b679a Refactor database tables init; make 2.x import script 2014-02-08 00:55:45 -06:00
calzoneman 0a480515d7 ACP event log 2014-02-07 10:45:28 -06:00
calzoneman afa17165f7 Add ACP list active channels 2014-02-06 23:31:47 -06:00
calzoneman 359a228d5f Theme fixes; layout fixes; limit channel registrations 2014-02-06 10:37:00 -06:00
calzoneman 07feb91cc6 Make /account/ redirect to /login 2014-02-05 18:08:20 -06:00
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