Commit graph

439 commits

Author SHA1 Message Date
Calvin Montgomery da53decdd5 Fix #885 2021-03-22 22:53:03 -07:00
Calvin Montgomery 08c0cfcd58 deps: upgrade prom-client 2021-03-21 21:50:05 -07:00
Calvin Montgomery 988029e6c7 deps: bump uuid 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 182e6f0816 customembed: drop <object> and <embed> 2021-03-21 21:50:05 -07:00
kr4ssi e391a80d65 Allow alt-attribute on <img>-tags
https://www.w3.org/html/wg/wiki/IssueAltAttribute
2021-01-28 19:32:33 -09: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
aleves64 18fd611c91 Links to wiki now 2021-01-03 14:48:10 -09:00
aleves64 7c3d2f74ed Made get-info save if yt video is age-restricted and made playlist refuse to add age-restricted videos 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 66fadab492 Handle some common error conditions in the ffprobe preflight path 2020-11-11 22:05:05 -08:00
animeavi 750509eaf1 Support enabling custom media subtitle by default
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track#Attributes
2020-11-09 18:37:45 -09:00
Calvin Montgomery 3f9a0aaf05 Fix npm jank 2020-10-23 11:51:59 -07:00
Calvin Montgomery 801e54afa2 Tweak urlencoded body size limit 2020-09-22 20:23:46 -07:00
deerfarce 6f8bde91e1 adjust sendUserMeta rank comparison
includes users with the same rank as the minimum rank for the action when sending the meta frame
2020-09-22 20:12:09 -07:00
Calvin Montgomery df82d2d4f1 Add registration captcha support 2020-09-22 20:11:34 -07:00
Calvin Montgomery f081bc782a RIP Mixer 2020-07-26 10:24:36 -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
Xaekai f2adbe18da
Explicitly use UTF8 encoding for media metadata table (#863) 2020-04-11 14:23:36 -07:00
Calvin Montgomery 47bb3e47a2 Add metric for yt cached result age 2020-03-20 19:54:34 -07:00
Calvin Montgomery 83fd8f11b2 Fix updated_at in media_metadata_cache 2020-03-20 19:44:11 -07:00
Calvin Montgomery 5a386d0f81 Remove fallback to YT from library search 2020-03-20 19:38:48 -07:00
Calvin Montgomery 106065184f Remove old flatfile chandump storage 2020-02-15 16:17:49 -08:00
Calvin Montgomery e3a9915b45 Clean up a few things that no longer work/are no longer used 2020-02-09 16:50:37 -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 b0b22a7579 Fix migrator (#831) 2019-10-27 13:09:22 -07:00
Calvin Montgomery 06b3916a6c Fix #822 2019-10-26 20:43:44 -07:00
Calvin Montgomery c4a1d4b18c Add dummy ID to migrator to fix #831 2019-10-26 20:35:42 -07:00
Calvin Montgomery 1ec3eab0dc Preserve current playing item when shuffling (#812) 2019-08-01 19:57:32 -07:00
Calvin Montgomery 27e8885285 Add kick logline (#821) 2019-08-01 19:49:22 -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 60c348a905 Clamp timeouts to 1 day 2019-04-28 22:30:08 -07:00
Calvin Montgomery a3a2daff4c Remove file extension check (#801) 2019-04-07 16:32:58 -07:00
Calvin Montgomery 96bf3df928 Fix #793 2019-03-27 21:26:06 -07:00
Calvin Montgomery b25560c4a9 Add error message for #798 2019-03-27 21:05:45 -07:00
Calvin Montgomery c6f9b1611e Add some sanity checks for common first-startup issues 2019-02-10 10:22:16 -08:00
Calvin Montgomery a81e4d1d16 Fix copyright year in LICENSE 2019-02-02 15:56:43 -08:00
Calvin Montgomery 8d0c1a03d1 Add inactive column to base schema 2018-12-18 19:10:53 -08:00
Calvin Montgomery c85be71f23 delet undefined 2018-12-07 21:11:40 -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 aa2348656d Implement self-service account deletion 2018-12-07 20:35:00 -08:00