Commit Graph

2512 Commits

Author SHA1 Message Date
Calvin Montgomery 08c0cfcd58 deps: upgrade prom-client 2021-03-21 21:50:05 -07:00
Calvin Montgomery 5f3d0859fd deps: bump knex and mysql 2021-03-21 21:50:05 -07:00
Calvin Montgomery 988029e6c7 deps: bump uuid 2021-03-21 21:50:05 -07:00
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 182e6f0816 customembed: drop <object> and <embed> 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 bb165606d6 Add explicit integ test for old password hash verification 2021-03-21 21:50:05 -07:00
Calvin Montgomery 7b56f3f0e7 Bump copyright year in LICENSE 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 3262f7822f Delete package-lock.json 2021-01-03 14:48:10 -09: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 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 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 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 80d3d14c85 Add integ test for verifyLogin 2020-08-21 20:31:54 -07:00
Calvin Montgomery f081bc782a RIP Mixer 2020-07-26 10:24:36 -07:00
Lewis Crichton 99af92ed2c Make option on by default 2020-07-18 18:43:47 -07:00
Lewis Crichton c148c991cd Relocate and rename option, make option restore after page refresh. 2020-07-18 18:43:47 -07:00
Lewis Crichton d4f75146c7 option to disable IP on userlist hover 2020-07-18 18:43:47 -07:00
Calvin Montgomery 4598a6a58c Wrap chat input in fake form to appease chrome's heuristics (#807) 2020-07-03 11:55:17 -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 ffa10648e4 Update travis.yml: drop 10, 13, add 14 2020-06-18 21:25:54 -07:00
Calvin Montgomery 4f5cd7d741 Fix UI bug (#872) 2020-06-18 21:23:05 -07:00
Calvin Montgomery a85b379f17
Fix old 6irc ref 2020-06-09 23:54:38 -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 88365612da
Replace userlist visibility check logic (#859)
* Replace visibility check logic

JQuery queries using getComputedStyle, which makes it impossible to change userlist behavior using CSS. This replaces the check with a direct style="" value check so the JS does not trip up if any CSS customizations to the list visibility were made.

Co-authored-by: Algoinde <algoinde@gmail.com>
2020-04-17 14:53:39 -07:00
Xaekai f2adbe18da
Explicitly use UTF8 encoding for media metadata table (#863) 2020-04-11 14:23:36 -07:00
Xaekai a53f65a1d5 Fix channel password prompt
Add zin param to allow explicit z-index in JS generated dialog boxes.
Give needpass dialog explicit z-index
2020-03-29 10:31:27 -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
kr4ssi@tuta.io d2358924a4 Add tabcompletion for PMs 2020-03-16 20:08:04 -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