Commit graph

1384 commits

Author SHA1 Message Date
calzoneman 2a507fcac5 Fix incorrect parsing of x-forwarded-for in webserver.ipForRequest 2014-04-17 00:03:32 -05:00
calzoneman d4885951fb Resolve #343 2014-04-14 19:22:01 -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 64980bc293 Add warning as discussed in #347 2014-04-13 02:14:34 -05:00
calzoneman cfe34112a4 Fix emote issues as discussed in #347 2014-04-13 02:06:28 -05:00
calzoneman 445d8be55d Fix #346 2014-04-12 21:54:17 -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
Calvin Montgomery 60ba970c34 Merge pull request #345 from calzoneman/serverdefs
Change the way IPs/ports to bind are specified
2014-04-11 14:10:40 -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
calzoneman d6650f19ae Address #343 2014-04-06 00:29:34 -05:00
Calvin Montgomery a141e3dafb Merge pull request #342 from calzoneman/vimeo_oauth
Add support for Vimeo's OAuth API
2014-04-04 20:07:21 -05:00
Calvin Montgomery 15ebd294a6 Merge branch 'vimeo_oauth' of github.com:calzoneman/sync into vimeo_oauth
Conflicts:
	config.template.yaml
2014-04-04 20:07:01 -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 bdd4744b8c 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:03:34 -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 37db972d86 Minor change 2014-03-29 18:46:53 -05:00
calzoneman a484b6c6a1 Implement layout reversal as per #336
- compactLayout() now reverses the changes made by fluidLayout, synchtubeLayout, hdLayout
2014-03-29 16:57:53 -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 095da3040b Merge branch '3.0' of github.com:calzoneman/sync into 3.0 2014-03-23 21:43:32 -05:00
calzoneman ae04c91031 Fix #337 2014-03-23 21:43:20 -05:00
Calvin Montgomery 594e1e09a1 Update README.md 2014-03-21 18:15:13 -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 74fc6aa81b Fix #334 2014-03-19 22:20:33 -05:00
calzoneman ed65f3a648 Fix #333 2014-03-19 22:17:57 -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 aac8f3c671 Fix config template for nodemailer 2014-03-11 21:28:26 -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 2211e4da9c Change Vimeo fallback player 2014-03-07 20:37:20 -06:00
calzoneman 214537efdb Fix AFK count in usercount breakdown hover 2014-03-06 15:39:59 -06:00
calzoneman 9bd984f66b Fix typo in CA file loading 2014-03-06 15:38:46 -06:00