Commit graph

1057 commits

Author SHA1 Message Date
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
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 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
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 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
kr4ssi@tuta.io d2358924a4 Add tabcompletion for PMs 2020-03-16 20:08:04 -07:00
Calvin Montgomery 08f9feef74 Match word boundaries for nick highlight (#819) 2019-08-01 20:02:37 -07:00
Calvin Montgomery 6b2dfa483c Fix #813 2019-05-25 16:07:44 -07:00
Calvin Montgomery a3a2daff4c Remove file extension check (#801) 2019-04-07 16:32:58 -07:00
Calvin Montgomery 12924b9b5a Implement #786 2019-03-27 21:33:16 -07:00
Calvin Montgomery c5b122bcf8 Fix #790 2019-03-27 21:28:46 -07:00
Calvin Montgomery 367df3d70b Implement #797 2019-02-23 21:23:21 -08:00
Calvin Montgomery 027b27c1b0 Bump max message length (#782) 2018-11-15 22:48:30 -08:00
Calvin Montgomery 3620b07816 Add userlist-ignored strikethrough for ignored users 2018-11-15 22:44:21 -08:00
Calvin Montgomery 8c9622f1b2 Fix #783 2018-11-15 22:40:01 -08:00
Calvin Montgomery f7cc00d16b Fix tabcomplete sort bug exposed by new v8 2018-11-12 21:01:43 -08:00
Calvin Montgomery cd94c8b83d Use page visibility API instead of buggy window.focus tracking 2018-11-11 20:24:19 -08:00
Calvin Montgomery f6a58d00b2 Adjust some socket.io settings (#780) 2018-11-07 21:23:00 -08:00
Calvin Montgomery 1f28c0b87d Add checks for kisscartoon/kissanime/mega to direct the user to the FAQ 2018-10-21 22:26:43 -07:00
Calvin Montgomery 5b86fb3187 Implement #779 2018-10-21 22:12:49 -07:00
really-need-an-api-key 0bc866dbfa Add desktop notifications 2018-10-12 20:19:45 -07:00
Calvin Montgomery db48104b80 Initial mixer implementation 2018-08-26 22:04:14 -07:00
Calvin Montgomery f19efdb859 Fix #762 2018-08-18 13:14:37 -07:00
Calvin Montgomery aca40dde0c Add note about unsupported filetypes 2018-06-15 20:33:55 -07:00
Calvin Montgomery fa49921866 Speed up join by avoiding quadratic userlist code
At some point the entire user presence logic needs to be refactored for
efficiency, but this at least gives a huge reduction in first page load
time for large channels.
2018-06-06 22:47:00 -07:00
Xaekai a632a4cafa Show poll creator on hover of timestamp 2018-05-28 15:17:27 -07:00
Calvin Montgomery fdab26b792 Hoist sortUserlist outside of userlist population inner loop 2018-05-26 13:28:26 -07:00
Adam davis 953428cad5 Add Admin Setting - Block anonymous connections (#740) 2018-04-07 11:24:52 -07:00
Calvin Montgomery 304a6c9cfa Fix parseMediaLink stripping querystring from HLS manifest URLs 2018-03-17 10:49:08 -07:00
Calvin Montgomery 966da1ac58 Revert "Replace quadratic emote list impl with Map"
This reverts commit 0f9bc44925.

The original commit was not backwards compatible with use cases that
users were relying on, such as emotes being sorted in insertion order by
default.

I will develop a new patch which fixes the performance issue in a
backwards compatible way.
2018-02-01 17:39:45 -08:00
Calvin Montgomery 0f9bc44925 Replace quadratic emote list impl with Map 2018-01-18 19:34:57 -08:00
Calvin Montgomery 326e67893c Minor bugfix 2018-01-14 15:43:12 -08:00
Calvin Montgomery 1797e11b43 Sanitize google drive IDs to remove URL hash etc. 2018-01-14 15:15:59 -08:00
Calvin Montgomery d706bf63b1 Fix ustream 2018-01-14 15:02:15 -08:00
Calvin Montgomery c07cf7c13a Remove confirmation prompt from postinstall 2018-01-07 15:42:08 -08:00
Calvin Montgomery cf9b95a265 Add experimental support for dash streaming 2018-01-06 11:00:59 -08:00
Calvin Montgomery 0b6106a89e Clarify gdrive userscript error when fmt_stream_map is missing 2017-12-26 20:40:12 -08:00
Calvin Montgomery b7bc93f194 Disable vid.me (RIP) 2017-12-24 11:19:30 -08:00
Calvin Montgomery a4e72a002a Fix #719 2017-12-16 00:05:28 -08:00
Calvin Montgomery 9886f648f2 Workaround for #724 2017-12-06 22:10:06 -08:00
Xaekai 6a0608bf7e Explicit type conversion in version number comparison. 2017-11-27 23:56:21 -08:00
Xaekai aa5066762b This resolves an issue where Google returns HTTP200 but provides an HTML redirect to a login portal instead of video data.
Closes #718
2017-11-27 23:37:41 -08:00
Calvin Montgomery 342e5d406a Drive userscript: support violentmonkey (#713) 2017-11-27 22:42:50 -08:00
Calvin Montgomery 85169fbb56 Update drive userscript (#714) 2017-11-15 22:27:31 -08:00
Calvin Montgomery b453aecee5 Replace froogaloop
Froogaloop no longer appears to work.

Followed migration guide: https://github.com/vimeo/player.js/blob/master/docs/migrate-from-froogaloop.md
2017-10-28 23:10:15 -07:00
Calvin Montgomery 3cd8bfa8c7 Remove /sioconfig for real 2017-09-30 15:26:47 -07:00
Calvin Montgomery 071def0838 Fix streamable autoplay 2017-09-25 19:25:31 -07:00