Commit Graph

61 Commits

Author SHA1 Message Date
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
kr4ssi@tuta.io d2358924a4 Add tabcompletion for PMs 2020-03-16 20:08:04 -07:00
Calvin Montgomery a3a2daff4c Remove file extension check (#801) 2019-04-07 16:32:58 -07:00
Calvin Montgomery 8c9622f1b2 Fix #783 2018-11-15 22:40:01 -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 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 b7bc93f194 Disable vid.me (RIP) 2017-12-24 11:19:30 -08:00
Calvin Montgomery d9813e6244 Remove legacy tab complete (no longer used) 2017-07-15 14:48:53 -07:00
Xaekai 6d4558c978 Allow channel path to be customizable
We now allow server operators to customize the /r/ part of the channel links
The new config option in the template is commented and the config module validates and will terminate with status 78 if an improper value is used.
We've also dropped some old cruft and uses a more elegant method to assign CHANNEL.name

Resolves #668
2017-06-16 20:09:36 -07:00
Calvin Montgomery 2c57719318 Support changing the ratio of video:chat width 2017-01-23 21:47:21 -08:00
Calvin Montgomery 27e168ba8b Integrate new tab completion methods
There is now an option to choose which tab completion method to use.
Also, emotes can be tab completed.
2017-01-10 22:26:46 -08:00
Calvin Montgomery e2abb90d14 Add HTTPS check for ffmpeg and custom embeds 2017-01-05 20:58:07 -08:00
Calvin Montgomery d21943ecc7 Whitelist m4a/aac for ffmpeg 2016-12-17 19:53:17 -08:00
Calvin Montgomery 453ed607ba [http deprecation] enforce HTTPS for externalcss URLs 2016-12-10 23:23:57 -08:00
calzoneman 74cb1b3efc Implement time parsing/formatting for channel settings 2016-08-10 21:59:36 -07:00
Xaekai 285dab9ed7 Prevent rendering of <iframes> and <objects> in the error message when attempting to queue them as supported host links instead of custom embeds.
I thought about just moving the parse failure message handling to queueMessage, but that quickly turned into a minefield of pain. This gets the job done for now.
2016-07-22 19:22:15 -07:00
Xaekai b2b034d9df Make modflair setting persistent from button too. 2016-07-11 22:14:26 -07:00
calzoneman a00820a4c6 Fix queue progress bar for youtube playlists 2016-05-21 16:13:58 -07:00
calzoneman 75245e4d98 Include video ID in the progress bar to prevent false clears 2016-05-19 21:31:10 -07:00
calzoneman 8ed50d0b08 Add progress bar to the queue 2016-05-19 21:24:06 -07:00
calzoneman d59daab2ae Make EmoteList self-contained instead of referencing globals 2016-03-29 23:31:02 -07:00
calzoneman 4e011c0d26 Change modflair label to "Name Color"
Also combined adminflair and modflair into one button (the button has 2
states if you're a moderator, or 3 states if you're a site
administrator).  Resolves #517
2016-03-29 22:30:16 -07:00
calzoneman b3c85e8534 Limit requestPlaylist to once per 60 seconds
If clients call it quickly in succession with large playlists, it can
cause node to get stuck stringifying socket.io frames and cause an out
of memory crash.
2016-02-06 19:40:50 -08:00
calzoneman 176d4cb06f Show custom title UI for `fi:` override (#523) 2015-12-13 11:18:46 -08:00
calzoneman 432ee7bc30 Add warning for inline CSS too large (fixes #538) 2015-12-12 16:49:40 -08:00
calzoneman 889fb6595f Add buffer zone to consider scrolling 'caught up' 2015-12-05 18:05:23 -08:00
calzoneman b0d5e92350 Fix autoscrolling changes 2015-12-05 17:57:33 -08:00
calzoneman 23f39ab2f5 Improve chat autoscroll behavior
The previous behavior (don't autoscroll if the mouse is over the chat
area) was not intuitive and caused problems for people in chat only
mode, which led to a lot of people assuming that it was a glitch.

This change introduces the following behavior:

  * Hovering over chat no longer affects autoscroll.
  * Scrolling up in chat turns off autoscroll.
  * Scrolling to the bottom of the chatbox resumes autoscroll.
  * If a new message is added while autoscroll is off, a "New Messages
    Below" indicator is added to the bottom of the chatbox.
2015-11-29 09:49:21 -08:00
calzoneman de02cdbeff Intelligently split link lists to allow URLs with commas 2015-08-19 23:27:05 -07:00
calzoneman 523ebf4aea Fix video not being restored when getplaylist modal is closed 2015-07-26 11:41:54 -07:00
calzoneman d76af73286 Add comma-separated queueing for multiple items 2015-07-16 19:14:55 -07:00
Calvin Montgomery 6e7225aa0d Change mediaurl keydown to keyup so that the Title box shows correctly 2015-07-09 21:45:41 -07:00
Calvin Montgomery c0f76bcf00 Add fullscreen button 2015-07-06 17:35:04 -07:00
calzoneman 70be8a6713 Resolve merge conflict 2015-07-06 11:28:18 -07:00
calzoneman 7bc247ede2 Fix 'remove video' option 2015-05-14 13:14:45 -05:00
calzoneman 8927613da7 Add emote search, sort toggle 2015-05-13 12:17:32 -05:00
calzoneman 389dd0d5ab Initial emote list implementation 2015-05-12 13:50:59 -05:00
calzoneman a291836a99 Change USEROPTS.default_quality values 2015-05-02 17:55:00 -05:00
Calvin Montgomery 8bee1afad1 Fix issue with channel settings not being updated 2015-02-27 13:10:38 -06:00
calzoneman 9938f2c605 Change all textbox keyup to keydown
Fixes an issue repoted by dragondread in IRC where a popup character map
was unintentionally triggering the keyup event after a character was
selected.
2015-02-13 13:40:58 -06:00
Xaekai 0b2ae90d3f Change userlist chevron appearance on toggle.
Change userlist chevron placement for Synchtube layout
2015-02-04 23:14:51 -08:00
Calvin Montgomery 0c23b8a4c5 Update Copyright year; remove old junk 2014-12-31 12:06:29 -05:00
Calvin Montgomery 4319111f47 Remove console.log 2014-12-28 19:09:41 -05:00
Calvin Montgomery 25eba6ab2b Improve filter handling code 2014-12-28 11:12:37 -05:00
calzoneman db56a8869d Fix #417 2014-12-07 13:42:18 -06:00
calzoneman 2f2ed8aaf9 Fix Twitch not working on HTTPS and allow HTTPS channel page 2014-11-24 19:24:47 -06:00
calzoneman 7310dabedf CSS fixes 2014-11-12 19:56:29 -06:00
calzoneman 9f18a6978e Still WIP 2014-11-11 19:48:08 -06:00
calzoneman 2c45177cc0 Responsive embed, WIP 2014-11-10 22:43:49 -06:00