Commit Graph

291 Commits

Author SHA1 Message Date
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