Commit graph

67 commits

Author SHA1 Message Date
calzoneman 701d470494 Add initial blocking of new users in chat 2016-08-10 21:59:18 -07:00
calzoneman 6e416fea8a Add a hack to detect distrust of Let's Encrypt
Many older devices do not support the Let's Encrypt CA, for various
reasons.  This causes connection issues for sites using Let's Encrypt to
support HTTPS connections.  This commit adds a hack that can be enabled
with a switch in callbacks.js to try to detect when the user's browser
does not trust the certificate and permit the user to connect to an
insecure endpoint instead.

Unfortunately, the AJAX API does not allow to distinguish between *why*
a request fails, so the best we can do is detect that the HTTPS request
failed, try to make a request over plain HTTP, and if it works, assume
the HTTPS request failed due to a certificate error.  It's not 100%
foolproof since the HTTPS endpoint could just be down for some reason,
but it should work well enough in most cases.

Closes #602
2016-07-17 16:30:35 -07:00
Calvin Montgomery 31a392cea9 Merge pull request #599 from calzoneman/improve-cs-emotelist
Greatly improve performance of channel settings emote list
2016-07-14 23:26:30 -07:00
calzoneman 29a4834baa Add a signature to announcements
The `from` field has existed for ages, but was never actually displayed.
Displaying it to users reduces confusion about who is making the
announcement.
2016-07-14 23:25:17 -07:00
calzoneman ce260e0f5c Greatly improve performance of channel settings emote list
The channel settings emote list is now paginated and leverages the same
basic code as the emote browser, but with a different renderer.  Fixes
 #594 and kills an ugly function.
2016-07-11 23:55:07 -07:00
Xaekai 5eebd88e13 Move ACP nav entry to templating
Closes #516
2016-07-10 23:23:46 -07:00
Xaekai 5896a1c0eb Add timestamps to polls.
Closes #562
2016-07-07 22:56:06 -07:00
calzoneman 5b9948f709 Omit the connection warning if the socket connected at least once before 2016-06-08 22:58:34 -07:00
calzoneman 6e772c6837 Add partition map reload 2016-06-08 22:54:16 -07:00
calzoneman 7faf2829b2 Improve clientside socket.io connection error reporting 2016-06-07 23:00:50 -07:00
calzoneman 5a2aa396fe Fix #575 2016-05-25 17:39:22 -07:00
calzoneman 0922ce8e66 Remove dead client code 2016-05-21 16:24:41 -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 fe37cb198e Add channelCount metrics 2016-05-19 20:09:35 -07:00
calzoneman 72bd3e4c98 Add localStorage flag for connecting to alt server list 2016-04-26 21:57:11 -07:00
calzoneman d59daab2ae Make EmoteList self-contained instead of referencing globals 2016-03-29 23:31:02 -07:00
calzoneman e88031f4c5 Fix rtmp->rtmp transition 2016-03-02 19:18:33 -08:00
calzoneman f9e1d329e4 Remove reference to IO_URL in error handler
Referenced in #527
2015-11-06 20:03:01 -08:00
calzoneman 44745d86ac Fix for Wii U browser
Apparently it doesn't send the login cookie if you explicitly set the
socket.io transports to prefer websockets.  Magic.
2015-10-29 20:50:10 -07:00
calzoneman 566e932e7e Reset LASTCHAT when chat is cleared 2015-10-25 17:31:04 -07:00
calzoneman 21c3a1b3cd API changes, add documentation 2015-10-25 17:20:39 -07:00
calzoneman 7b5476874d Minor function change 2015-10-21 20:56:09 -07:00
calzoneman 40e2a608f6 Initial sioconfig migration work 2015-10-19 22:32:00 -07:00
calzoneman 5ec9c2b029 Start refactoring channel storage 2015-09-23 21:56:04 -07:00
calzoneman 70be8a6713 Resolve merge conflict 2015-07-06 11:28:18 -07:00
calzoneman e3d12007b3 Fix css/js textboxes on channelCSSJS frame 2015-07-05 17:52:51 -07:00
calzoneman c422fa65fc Add fileplayer 2015-07-01 09:38:01 -07:00
calzoneman 389dd0d5ab Initial emote list implementation 2015-05-12 13:50:59 -05:00
calzoneman d7b69bce38 Fixes 2015-05-02 17:37:09 -05:00
calzoneman 391ea264f5 Work on player rewrites 2015-05-02 11:45:35 -05:00
calzoneman ae899fd9be Continue working on YouTube player 2015-04-30 15:26:09 -05:00
calzoneman e2c3b2daad Fix PM maxlength and throttling 2015-04-23 21:49:15 -05:00
calzoneman e76fd7b1c4 Fix client motd issue 2015-01-16 19:35:26 -06:00
calzoneman 80c4c90bcf Migrate old MOTDs and don't replace \n with <br> after 2015-01-08 20:07:02 -06:00
Calvin Montgomery 0c23b8a4c5 Update Copyright year; remove old junk 2014-12-31 12:06:29 -05:00
Calvin Montgomery 709724efd4 Warn moderators when a channel exceeds size limit
When the chandump is saved, the size of the file is checked.  If it is over the limit, moderators are displayed a message indicating that the channel is too large and they should remove extra playlist items, filters, and/or emotes.

This is a partial solution for #421.
2014-12-26 11:19:19 -05:00
calzoneman b587da6701 Several fixes
- User playlists should now list correctly (fixed a race condition)
  - Livestream types can autoplay (no longer stuck at currentTime = -3)
  - Playlist items with NaN duration do not break user playlist saving
  - ffmpeg support can handle live media (e.g. icecast)
  - Invalid volume is sanitized and an error message is added
  - JWPlayer displays correctly for both HTML5 and Flash
  - JWPlayer volume synchronization is fixed
  - <audio> and <video> tags are scaled correctly with .embed-responsive-item
2014-12-02 22:21:52 -06:00
calzoneman 2c45177cc0 Responsive embed, WIP 2014-11-10 22:43:49 -06:00
calzoneman 4c5d441931 Minor update 2014-10-24 10:30:23 -05:00
calzoneman 6e0735f3fe Update to socket.io 1.0 2014-10-24 10:23:30 -05:00
calzoneman 7b00ba10b9 Fixes at Xaekai's request 2014-08-27 18:45:11 -05:00
calzoneman 53971af737 Fix remove video reconnect bug 2014-08-21 20:32:58 -05:00
calzoneman aff20c3012 Use JWPlayer as flash fallback because it can actually synch 2014-08-18 12:00:26 -05:00
Calvin Montgomery b7edfc31f9 Fix for google docs changing their video player: 2014-08-06 20:12:57 -07:00
Calvin Montgomery 8acffda8ec Add clientside support for Google+ 2014-07-10 23:23:48 -07:00
Calvin Montgomery 2d0fe02a19 Move vimeo simulator out of the changemedia callback 2014-07-09 21:55:49 -07:00
Calvin Montgomery e87ddb473b Require user permission to run channel js 2014-07-01 20:11:54 -07:00
Calvin Montgomery 6dde745784 Better error handling, add support for mp3/ogg-vorbis 2014-06-05 22:02:51 -07:00