Commit graph

49 commits

Author SHA1 Message Date
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
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
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
Calvin Montgomery f992d625fb Fixes 2014-03-04 11:57:05 -06:00
calzoneman 644437ea42 Directory cleanup 2014-02-18 22:00:56 -06:00
calzoneman 91aaed96fa Add socket.io login handler 2014-02-16 13:27:01 -06:00
calzoneman 1cbb1c2a6a Add contact page 2014-02-13 18:15:22 -06:00
calzoneman afa17165f7 Add ACP list active channels 2014-02-06 23:31:47 -06:00
calzoneman 1864cc0b35 Change the way unregistered channels work 2014-02-02 15:50:05 -06:00
calzoneman 2c6edb38b8 Persist announcements in the database 2014-02-01 12:41:06 -06:00
calzoneman 5f3fa8922d Start working on event log 2014-01-27 18:37:48 -06:00
calzoneman 8b0c370ad0 Fix leader issue 2014-01-27 16:44:22 -06:00
calzoneman 6570c3da6c Fix a buttload of things 2014-01-26 00:01:36 -06:00
calzoneman 6e2d9c3caa Fixes 2014-01-23 15:53:53 -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 7307c9c82e Work on index page 2014-01-20 17:52:36 -06:00
calzoneman 9306200a87 Work on ban list and channel ranks 2014-01-08 20:12:02 -06:00
calzoneman 1c79024984 Finish most of the channel.js rewrite 2014-01-04 23:15:54 -06:00
calzoneman 1b3199a4ef Continue working on channel.js 2013-12-31 15:12:47 -05: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 01464ed394 Fix a few minor express issues 2013-11-24 18:13:58 -06:00
calzoneman 2f8b304b68 Fix /m and path traversal ActionLog 2013-11-21 17:46:33 -06:00
calzoneman 2730c54344 fix #303 2013-11-06 17:43:12 -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
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 2cb8ab3a98 Fix GET / 2013-10-11 18:20:52 -05:00
calzoneman aad1c2995c Fixes 2013-10-11 18:15:44 -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 a23a55f6a2 Update changelog and version # 2013-10-01 23:02:31 -05:00
calzoneman 54dee9e25d Fix some error messages, intialize announcement to null 2013-09-30 21:59:04 -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 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 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 bca7199ec1 Add io-host option 2013-09-06 16:30:20 -05:00
calzoneman 7840fa35e8 Move server files to lib/ to clean up root directory 2013-09-05 13:48:05 -05:00
Renamed from server.js (Browse further)