Commit Graph

408 Commits

Author SHA1 Message Date
Calvin Montgomery 0b57f528bf deps: bump sanitize-html 2021-03-21 21:50:05 -07:00
Calvin Montgomery 99559d8fda deps: remove graceful-fs
graceful-fs was added at a time when channel state was stored in
flatfiles that could become corrupted if enough concurrent saves
occurred to hit the ulimit for maxfds (EMFILE).  Saving channels this
way is no longer supported, so it shouldn't be an issue anymore.
2021-03-21 21:50:05 -07:00
Calvin Montgomery 811a7c4d48 deps: bump cheerio 2021-03-21 21:50:05 -07:00
Calvin Montgomery 9e5a63d880 dep upgrades part 1 2021-03-21 21:50:05 -07:00
Calvin Montgomery a75917d4e4 fix: attempt to avoid socket leak in node >= 13.x
The default timeout was removed from the HTTP module in node 13.x:
https://github.com/nodejs/node/pull/27558.  I believe this is the most
likely cause of fd leaks when running under current node versions.
2021-01-16 14:19:22 -08:00
Calvin Montgomery 00e9acbe4d Revert "Remove channel reference counter"
This reverts commit d678fa56d1.  The
reference counter, flawed as it is, was masking far more issues than I
realized.  It would require a more significant rearchitecture of the
code to remove it.  Probably better to keep it and try to improve it for
now.
2021-01-09 13:03:38 -08:00
aleves64 a8d9781821 Small changes 2021-01-03 14:48:10 -09:00
Calvin Montgomery 9e3c23c58a Refuse to start on invalid config 2020-12-02 18:09:49 -08:00
Calvin Montgomery d678fa56d1 Remove channel reference counter
This was an old attempt at gracefully unloading channels that still had
pending callbacks.  Its implementation was always flawed, and the number
of places where it was used is small enough to replace with
straightforward checks for whether the channel has been unloaded after
an asynchronous operation.  Hopefully fixes the stuck 0 user channels
issue.
2020-11-11 22:05:05 -08:00
Calvin Montgomery 8fc951350e Bump gcc version in travis.yml 2020-10-23 13:46:26 -07:00
Calvin Montgomery 3f9a0aaf05 Fix npm jank 2020-10-23 11:51:59 -07:00
Calvin Montgomery df82d2d4f1 Add registration captcha support 2020-09-22 20:11:34 -07:00
Calvin Montgomery f08cce5aed Update some devdeps, resolves some npm audit warnings 2020-08-21 20:47:01 -07:00
Calvin Montgomery 962998c543 deps: bump bcrypt to 5.0.0 2020-08-21 20:37:16 -07:00
Calvin Montgomery f081bc782a RIP Mixer 2020-07-26 10:24:36 -07:00
Calvin Montgomery 248c200a74 Implement twitch changes for #874 2020-06-22 19:39:00 -07:00
Calvin Montgomery b70194c8f2 Add destroy cb for dailymotion (#873) 2020-06-19 18:31:25 -07:00
Calvin Montgomery 4f5cd7d741 Fix UI bug (#872) 2020-06-18 21:23:05 -07:00
Calvin Montgomery 9e5fcf4904 Fix #866 2020-05-17 10:42:21 -07:00
Calvin Montgomery 529a3561ca Set user-agent in ffprobe pre-flight check (#869) 2020-05-17 10:42:21 -07:00
Calvin Montgomery 47bb3e47a2 Add metric for yt cached result age 2020-03-20 19:54:34 -07:00
Calvin Montgomery 106065184f Remove old flatfile chandump storage 2020-02-15 16:17:49 -08:00
Calvin Montgomery b80a532f9e Add YouTube cache table 2020-02-09 15:49:38 -08:00
Calvin Montgomery 58e4e09840 Replace twitch clip player (#842) 2020-01-26 20:17:55 -08:00
Calvin Montgomery c809b1994a Fix redirect logic for ffprobe pre-flight check 2020-01-11 11:24:34 -08:00
Calvin Montgomery 40b5a0fe83 Upgrade knex 2019-12-01 16:29:52 -08:00
Calvin Montgomery 4d3c90f5ee Sunset node v8, add node v13 to travis 2019-12-01 16:04:55 -08:00
Calvin Montgomery 9aa73bee7c Remove --loose babel parameter that throws errors now 2019-12-01 16:04:16 -08:00
Calvin Montgomery b0b22a7579 Fix migrator (#831) 2019-10-27 13:09:22 -07:00
Calvin Montgomery 27e8885285 Add kick logline (#821) 2019-08-01 19:49:22 -07:00
Calvin Montgomery 77b7af7fd9 deps: bump cytubefilters 2019-06-27 20:51:58 -07:00
Calvin Montgomery 5c51d73c4e Update nodemailer 2019-06-16 13:41:51 -07:00
Calvin Montgomery 5a2494adcf Prevent uncaught exception if spawn() throws synchronously (e.g. ENOMEM) 2019-05-28 21:32:03 -07:00
Calvin Montgomery 6b2dfa483c Fix #813 2019-05-25 16:07:44 -07:00
Calvin Montgomery 60c348a905 Clamp timeouts to 1 day 2019-04-28 22:30:08 -07:00
Calvin Montgomery 2a1f1df17b Bump some crufty dependencies 2019-04-28 11:18:04 -07:00
Calvin Montgomery 97266b6dfc Better fix for jank dailymotion race conditions 2019-04-11 20:43:24 -07:00
Calvin Montgomery a3a2daff4c Remove file extension check (#801) 2019-04-07 16:32:58 -07:00
Calvin Montgomery c5b122bcf8 Fix #790 2019-03-27 21:28:46 -07:00
Calvin Montgomery 8c136c563a Fix #799 and remove old unused quality selection 2019-03-27 21:19:30 -07:00
Calvin Montgomery b25560c4a9 Add error message for #798 2019-03-27 21:05:45 -07:00
Calvin Montgomery 367df3d70b Implement #797 2019-02-23 21:23:21 -08:00
Calvin Montgomery c6f9b1611e Add some sanity checks for common first-startup issues 2019-02-10 10:22:16 -08:00
Calvin Montgomery 9c44488d8e Add sanity check to prevent null duration from corrupting playlist meta 2018-12-07 20:47:46 -08:00
Calvin Montgomery b68ed4d77a Set purge interval to 1 hour 2018-12-07 20:35:00 -08:00
Calvin Montgomery fe4030a247 Fix ustream link parsing 2018-11-16 19:52:09 -08:00
Calvin Montgomery 4c9e85b293 Support IO token bucket capacity > refill rate 2018-11-15 23:04:03 -08:00
Calvin Montgomery 8c9622f1b2 Fix #783 2018-11-15 22:40:01 -08:00
Calvin Montgomery 4ccdca6dca Default channel-storage to database for new installs 2018-11-14 22:48:49 -08:00
Calvin Montgomery bfff2900ca deps: replace cytubefilters short hash with full hash 2018-11-14 22:03:14 -08:00