1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-02 07:58:31 +00:00
Commit graph

595 commits

Author SHA1 Message Date
SirStendec
ac6663053f Add a setting to disable fixing bad emotes. People are the worst. 2017-12-13 20:22:11 -05:00
SirStendec
8e364e7d84 Misc. fixes to clean up after tw-. Fix tooltip placement. 2017-12-13 18:30:27 -05:00
SirStendec
4b246ade44 tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw- 2017-12-13 17:35:20 -05:00
Lordmau5
5a9a3d221b Fix directory stuff for new Twitch website (#357) 2017-12-13 17:12:42 -05:00
SirStendec
e623becb9c Fix metadata forever. 2017-12-04 22:21:39 -05:00
SirStendec
c3ec40b8ea Fix a leak in the new metadata stuff with pop-ups. Fix the click handler for metadata not getting the most recent data. 2017-12-04 21:37:26 -05:00
SirStendec
e224800fb9 Add support for clickable stream metadata. Add helper utility for detecting clicks outside of elements. Add support for manually shown/hidden tooltips, which is used for custom pop-ups. 2017-12-04 18:58:19 -05:00
SirStendec
dfa0c9c88f Fix message highlighting. 2017-12-01 18:55:44 -05:00
SirStendec
fc40353b87 Bump version. Update change-log. Hide avatars in the directory by default. 2017-12-01 17:00:19 -05:00
SirStendec
428caedec1 Clean up the settings for the directory features. 2017-12-01 16:54:36 -05:00
SirStendec
cbaf4b6878 Remove hard-coded styles from the directory. Make the directory up-time tool-tips nicer. Only update the up-time tool-tips when necessary. Add localization support to the game block/unblock and thumbnail hide/show buttons. Make the buttons appear like they did before. Refactor the code for the buttons to reduce code duplication. 2017-12-01 16:22:45 -05:00
Lordmau5
60f86033e8 Address issues with Directory support (#342)
* Address issues with Directory support


De-duplicate `modifyStreams` for Game and Community

* More de-duplication!

PogChamp

* Early return for following.js

* Rely on `props.directoryType` instead of the router

* Move a method around to properly group them

* Fix for game buttons not properly showing when switching tabs

* More fixes!
2017-12-01 15:36:55 -05:00
SirStendec
fcc3cab35f node.remove() exists, so why have I been doing node.parentElement.removeChild(node). I am literally the worst. 2017-12-01 15:36:18 -05:00
SirStendec
ddee1e3bb5 A bunch of CSS tweaks. Add chat appearance features to whisper messages. Fix various layout options now that the player has been modified for Mini Player support. Fix alternating row colors and subscription messages. 2017-12-01 15:34:21 -05:00
SirStendec
aef58f24af Fix tokenization of cheers in chat messages. Also fix cached token invalidation when changing how chat lines should render. 2017-12-01 15:33:06 -05:00
SirStendec
691c09eb18 Don't try running FFZ on the blog sub-domain. 2017-12-01 15:31:59 -05:00
SirStendec
cf8774f1f2 Regenerate the gray theme and update the change-log. 2017-11-28 17:38:34 -05:00
SirStendec
4cfd76b89e Make some changes to how the directory stuff is implemented. There's too much code duplication right now. There's also code leaking from hosts to the main following page. There needs to be a way to detect if a live-channel-card is in the hosts section or not. Communities and Games use the same component, so there's a ton duplicated there. 2017-11-28 03:01:20 -05:00
Lordmau5
6a7a19bf83 Directory Support & Apollo InlineFragment fix (#338)
* Directory Support

- Channel avatar next to / on-top the stream card
- Stream uptime on stream card
- Host grouping with a nice UI
- Ability to block / hide games and / or their thumbnails

Missing / Not working as of right now:
- Channel avatar / uptime not showing in Game or Community directories
Fix not being able to open host menu on the stream name


Fix chat lines where you've been mentioned.


"Following" button is now hoverable

Not configurable though.
Merge remote-tracking branch 'upstream/master'


Fix for Apollo's InlineFragments


Basic game directory index support

(Outsource timeToString to some utility class!!!)
Empty merge

Fix Github's "You're behind the master branch!" annoyance
More work on Directory stuff

Community pages are now supported
Several other small things

* Proper router usage

* Several fixes

Also removing `package-lock.json` because for whatever reason that was in?

* Early return if the container or card are null
2017-11-28 02:16:37 -05:00
SirStendec
2b6e93ab11 Fix Chat Width not applying to Chat on Videos. Minor string tweaks for the disable auto-play feature. 2017-11-28 02:13:47 -05:00
Kane York
7f997d4884 Add setting to disable autoplay on the home page (#339)
* Disable autoplay on the home page (default allow)

* Also check contentShowing event

This fixes the behavior on Chrome's simulated slow networks - the video
plays for a small amount of time then pauses. The player never fires the
'play' event if the network is slow enough to require significant
buffering.
2017-11-28 02:07:16 -05:00
SirStendec
cbbe6f3e20 Basic badge stuff. Rendering of extension badges is still disabled for now, but SOON(tm). Fix emotes in locally echoed messages when emoji are present. Cache tokens in chat lines. Include the intl-login element within the username link in chat so it all underlines together. 2017-11-28 02:03:59 -05:00
SirStendec
f66069798d Fix chat lines where you've been mentioned. 2017-11-23 14:32:30 -05:00
SirStendec
2e5fe7f177 Refactor chat line rendering to support lines with system messages, making it possible to customize the rendering of re-sub messages and eventually other types, like purchases. Fix the emote data structure being all screwed up in self-sent /me commands. 2017-11-23 02:49:23 -05:00
SirStendec
6c4966166a Add reference counting for emote sets so that we know when to unload them. Create a class for Users so that we can use ref counting with them. 2017-11-22 20:21:01 -05:00
SirStendec
b04cd8a61a Add getEmotes method to chat.emotes. Remove emoji mentions from chat.emotes because that'll have its own module as chat.emoji. Fix bug with Room objects changing their login if FFZ's server has outdated name info. Use getEmotes in emote tokenization. Move channel bar Apollo modifiers into the channel bar module. Rename CHAT_TYPES variable to use proper casing. Add touchmove handler to scroller for people with touchscreens. Fix spacing under the player in theatre mode with whispers disabled. Add navigate method to FineRouter. 2017-11-22 15:39:38 -05:00
SirStendec
b51306019a Add post-modifier stuff to Apollo. Add convenience methods to FineWrapper for dealing with things that are expected to only have one instance at any given time. 2017-11-22 03:33:34 -05:00
SirStendec
127184f997 Fix updateContext. Change the colors used to make chat names readable. Fix /me actions in chat. Fix socket.ping() 2017-11-20 16:59:52 -05:00
SirStendec
ab8904a626 Fixed #313. Fix Volume scroll working the opposite way it should in Firefox. Fix typo in setting description. 2017-11-17 17:31:21 -05:00
SirStendec
6da5d4c8b5 Add convenience method for creating CSS variable or setting blocks of CSS directly in css_tweaks. Start using those variables for things like chat width. Add the ability to highlight messages with mentions in them. Fix Sidebar Swap and Theatre Mode. Closes #312 2017-11-17 14:59:46 -05:00
SirStendec
a45dc472b7 Fix volume scroll with Firefox. Closes #310 2017-11-17 14:56:18 -05:00
SirStendec
ef626364db Fix tooltips not working due to other React roots existing. 2017-11-17 14:55:53 -05:00
SirStendec
7f2522508e Fix jsconfig.json so that import aliases work in VS Code. 2017-11-17 03:12:49 -05:00
SirStendec
d2b4dcbce4 Attempt at fixing caching issues with Apollo for the stream up-time display, as well as adding a re-usable function for grabbing data from Apollo. 2017-11-17 03:12:08 -05:00
SirStendec
863eafd32f Add: Auto Theatre Mode, Hide Whispers in Theatre. Fix: Player width in theatre. Cache message deleted status at chat line render to avoid a second render. 2017-11-16 18:54:54 -05:00
SirStendec
7708caebb5 Clean up some code with eslint. Add eslintrc. Fix the FFZ:AP fix for jQuery only existing on some pages. Start renaming functions toCamelCase. Add old style RGB Loop color processing. Clean up Chat Freeze a bit. 2017-11-16 15:54:58 -05:00
SirStendec
a887425602 Fix issues with scrolling and removing old chat lines when we can't find Twitch's own chat line type mapping. 2017-11-16 14:24:17 -05:00
SirStendec
c86895797c Add a limited legacy API to support at least basic channel and global emotes from FFZ:AP. 2017-11-16 00:25:51 -05:00
SirStendec
21b598b92d Add settings to the player to control extension visibility and to adjust the volume by scrolling. 2017-11-15 22:01:15 -05:00
SirStendec
034f8f6849 Style changes for the main menu thing. Oops. 2017-11-15 22:00:49 -05:00
SirStendec
541bf1bc84 Fix the height of the FFZ Control Center title bar. 2017-11-15 21:59:47 -05:00
SirStendec
3607159929 Start using SourcedSet for emoticon sets so that, in the future, special events, featured channels, etc. can add and remove emote sets without worrying about reference counting or anything like that. Also implement the method to get your Twitch Inventory emote sets. 2017-11-15 21:59:13 -05:00
SirStendec
bd518aea01 A few more scroller changes. 2017-11-15 14:48:57 -05:00
SirStendec
0173212a36 Fix username colors flickering with the dark theme enabled on Twitch whenever the scrollbar appears or disappears. 2017-11-15 14:06:29 -05:00
SirStendec
1357a3e143 Simplify how the Chat Freeze feature is implemented to hopefully fix any FFZ-related bugs there. Also fix an issue with FFZ failing to load when there are extra React roots in the page. 2017-11-15 14:05:58 -05:00
SirStendec
23e2fadba3 Add a button to the chat settings menu to open the FFZ menu. Fix the chat width setting and theater mode. 2017-11-15 14:04:59 -05:00
SirStendec
24aac91258 Update the changelog. Remove useless logging. 2017-11-14 22:15:05 -05:00
SirStendec
10c6c1cb87 Move chat-line into its own module. Update the chat buffer code to always remove visible lines in pairs to avoid messing up rendering. Grab chat line types from webpack. 2017-11-14 22:13:30 -05:00
SirStendec
2c28afc6a6 Fix duplicate turbo/prime emotes in self-sent messages, and other future cases where two emotes have the same indices. 2017-11-14 22:11:58 -05:00
SirStendec
bb26260e23 Add chat font settings. Update changelog. Remove old credits file and old, moved theme.scss. Fix FFZ menu rendering in Firefox/Edge. 2017-11-14 18:48:56 -05:00