Commit Graph

217 Commits

Author SHA1 Message Date
Xaekai 3668c1b3da Refactor parseMediaLink 2022-09-18 19:10:36 -07:00
Xaekai 0e3307b9f4 Remove references to defunct services
Imgur discontinued support for albums
SmashCast/Hitbox disappeared
Ustream was sunset by IBM
Mixer is dead
Picasa is long dead
Vidme is long dead
IE11 is dead
2022-09-18 19:10:36 -07:00
Calvin Montgomery bd63013524 Fix 2021-10-13 20:14:44 -07:00
Calvin Montgomery d563a85092 Use embed src as url in playlist for custom embed 2021-08-19 20:46:38 -07:00
Calvin Montgomery 394f03ee1c Remove some legacy cruft 2021-08-19 20:44:57 -07:00
Calvin Montgomery c717a55c2d Implement 2021-08-11 21:16:19 -07:00
Calvin Montgomery a3c17ea8ea Fix 2021-07-22 21:55:23 -07:00
Calvin Montgomery 8562b2173e Add placeholder text for 2021-03-22 22:58:38 -07:00
Calvin Montgomery 05107ce13f Remove ignore button from self () 2021-03-22 22:49:11 -07:00
Calvin Montgomery f081bc782a RIP Mixer 2020-07-26 10:24:36 -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 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 () 2019-08-01 20:02:37 -07:00
Calvin Montgomery a3a2daff4c Remove file extension check () 2019-04-07 16:32:58 -07:00
Calvin Montgomery c5b122bcf8 Fix 2019-03-27 21:28:46 -07:00
Calvin Montgomery 367df3d70b Implement 2019-02-23 21:23:21 -08:00
Calvin Montgomery 027b27c1b0 Bump max message length () 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 1f28c0b87d Add checks for kisscartoon/kissanime/mega to direct the user to the FAQ 2018-10-21 22:26:43 -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 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
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 () 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 b7bc93f194 Disable vid.me (RIP) 2017-12-24 11:19:30 -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 
2017-11-27 23:37:41 -08:00
Calvin Montgomery 342e5d406a Drive userscript: support violentmonkey () 2017-11-27 22:42:50 -08:00
Calvin Montgomery 85169fbb56 Update drive userscript () 2017-11-15 22:27:31 -08:00
Calvin Montgomery 82bd645781 Minor cleanup of some no longer used client stuff 2017-08-13 22:33:54 -07:00
Calvin Montgomery 04c9d48779 custom-media: implement queueing and playback changes 2017-08-08 20:35:17 -07:00
Calvin Montgomery dac2e41488 Fix and enable efficient emotes by default 2017-08-05 12:22:58 -07:00
Calvin Montgomery 7bd9934e58 Minor cleanup of no longer used things 2017-07-26 20:32:51 -07:00
Calvin Montgomery f593f7283c Replace alert() with modal for ACP password reset
Some browsers (e.g. Chrome) don't allow copying text out of alert()
dialogs.
2017-07-24 22:35:15 -07:00
Calvin Montgomery c152a19624 Ignore library cached metadata when queueing
The use of the channel library as a cache for metadata to avoid
re-requesting metadata for known media is an optimization that dates
back to 1.0.  However, it doesn't have any TTL, is prone to bugs, and is
of dubious value.

This commit ignores the results of the library check when queueing a new
video, opting to always re-request the metadata.  This fixes a few bugs:

  * Google Drive metadata being lost when storing in library
  * Streamable metadata being lost when storing in library
  * Videos in the channel library that are now unavailable on their
    source website being queueable and then failing to play (e.g. deleted
    YouTube videos).

In its place, a small fail-open check is left behind to emit metric
counters on how many queues would have been cache-hits, to provide
insight into whether a proper caching solution (i.e. one not tacked on
top of the library) would be worth pursuing or not.  This will be
removed eventually.
2017-07-15 14:41:37 -07:00
Xaekai 2dc6504a77 Use a consistent pattern. 2017-06-16 21:37:30 -07:00
Xaekai f89832a6d1 Gracefully allow script authors time to update their code 2017-06-15 22:09:09 -07:00
Calvin Montgomery e9c519c6e2 Add twitch clip support () 2017-05-27 11:49:43 -07:00
Xaekai 5163c2acb1 Glory to the dark lord 2017-05-25 08:04:19 -07:00
Calvin Montgomery d23b5278b1 Rename Hitbox -> Smashcast 2017-05-20 16:50:00 -07:00