1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-15 10:30:53 +00:00
Commit graph

1131 commits

Author SHA1 Message Date
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
SirStendec
1e9953a0a8 Get a basic gray theme set up. 2017-11-14 18:48:05 -05:00
SirStendec
ca0b6b5478 Merge branch 'master' of github.com:FrankerFaceZ/FrankerFaceZ 2017-11-14 04:12:22 -05:00
SirStendec
cace3b317d Added: Freeze Chat on Hover/Key 2017-11-14 04:12:10 -05:00
SirStendec
a081247fdc Improve support for interactive tooltips. Allow chat tokenizers to supply custom delays and interactive flags for their tooltips. Wrap text in <span> elements. Fix bug with stream uptime metadata. Fix bug with fine-router. Add method to EventEmitter that wraps emit in a try/catch. Add lilz to the socket server lineup. 2017-11-14 04:11:43 -05:00
SirStendec
c0320dd3ab Stop running on certain subdomains that are injected as iframes by the legacy site. 2017-11-14 04:02:34 -05:00
Mike
62ac2fe269
Merge pull request #281 from riking/no-tls-abort
Go back to 503 rejections instead of TLS aborts
2017-11-13 20:37:01 -05:00
Kane York
704e110e45 Add vendoring lockfile 2017-11-13 15:57:48 -08:00
Kane York
360420022d Go back to 503 rejections instead of TLS aborts 2017-11-13 15:57:20 -08:00
Mike
0d3d8b5868
Merge pull request #279 from riking/revert-deadline
HOTFIX: Revert use of SetReadDeadline()
2017-11-13 16:55:06 -05:00
Kane York
5483087618 Revert "Use read deadlines instead of ping tickers"
This reverts commit 9c9fde0160.
2017-11-13 13:40:41 -08:00
Kane York
6e6a5d7836 Revert "send const ping payload"
This reverts commit 26cddf5271.
2017-11-13 13:40:35 -08:00
SirStendec
2c1cd94013 Disable modifications to the game directory query for now until I can find out how to make it work properly and not break things. Apollo needs a safer query merge system. 2017-11-13 16:28:42 -05:00
SirStendec
2c39cd9051 Expose more things on window.FrankerFaceZ.utilities. Fix a bug with JavaScript driven layout elements when the FFZ menu is fullscreened by not hiding those elements, only making them invisible and putting FFZ content on top. 2017-11-13 16:28:17 -05:00
Mike
720b875196
Merge pull request #278 from nuuls/patch-1
fix quotes in readme
2017-11-13 16:24:27 -05:00