1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-24 19:48:30 +00:00
Commit graph

47 commits

Author SHA1 Message Date
SirStendec
17fb41f083 4.0.0-rc4.5
* Added: Whisper Support
* Fixed: UI missing hover state for a few elements added by FrankerFaceZ.
* Fixed: Handle missing badge definition when rendering FFZ badges.
* Fixed: Update static chat message type mappings.
* Fixed: Error in metadata when unable to get the proper player.
* Fixed: Incorrectly applying dark theme to products page.

A bit more work on getting enhanced viewer cards ready.
2018-07-13 14:32:12 -04:00
SirStendec
4a326823b9 4.0.0-rc4.4
* Changed: Make usernames in chat line resub messages clickable.
* Fixed: Remove debug logging.
* Fixed: Make the code to automatically leave raids more resilient against Twitch wanting people to join raids automatically.
2018-07-09 21:35:31 -04:00
SirStendec
5626a3c389 4.0.0-rc3.3.
* Update all usages of `tw-input` and `tw-select` to use the new, overly-verbose classes Twitch added.
* Add a few of the monkey faces to the local emote code to make them work.
* Override emotes when building the emote code <-> id map, to let emotes from higher sets override global emotes.
2018-06-29 19:45:33 -04:00
SirStendec
8befc8850b Add hard-coded values for the emotes that use regular expressions rather than set strings for their tokens. All the smileys like :-) basically. 2018-06-27 20:17:45 -04:00
SirStendec
038270d232 4.0.0-rc3. Display a warning for complex or invalid filtering terms, using the safe-regex NPM module. Add a separate Regex (Word) filtering mode. Fix channel hosting control. Fix hide extensions. Add a fix for bad local echo emote indices for chat. Position the color picker above rather than below for filter terms. Apply a dark theme to the color picker. Rewrite the filter terms editor to use the term editor component for adding a new term. 2018-06-27 14:13:59 -04:00
SirStendec
2a790ad7cd 4.0.0-rc2. Add basic custom highlight terms and blocked terms. Change the socket cluster setting because users are users. Open settings in a new window if clicking the chat menu link with ctrl or shift. Hide the Get Bits button in the site navigation. Add an additional socket server. 2018-05-31 18:34:15 -04:00
SirStendec
3df7f0472d Add chat:pre-send-message event for outgoing message processing. (Does not currently allow you to modify the message. Fixan issue with the emote menu. Add setting to always show deleted messages. 2018-05-22 17:23:20 -04:00
SirStendec
86c5fee033 More webpack 4 code. Make sure to asynchronously await the availability of our webpack hook everywhere that we use it that it's reasonable to wait.
This adds a new module called switchboard that abuses the root React Router instance to forcibly load a chunk, letting us grab `require()` quickly rather than waiting potentially forever for another chunk to be loaded due to user action, etc.
2018-05-18 17:48:10 -04:00
SirStendec
6c77e2ca5c More work on viewer cards. Enable the rich card provider for videos. Start working on a standard data model for chat lines. Add a dev build notice to the menu button. Work on player no-hosting logic. Work on getting Room lines ready. Attempt to fix webmunch not working with a read-only webpackJsonp. Start adding logviewer support. 2018-05-18 02:10:00 -04:00
SirStendec
9dc8252df0 4.0.0-rc1.5
Add an option to hide the mouse over the player. This doesn't work well in Chrome. Oh well, we tried.
Add an option to not automatically join raids for that comfy falling asleep experience.
Fix in-line actions not rendering when they should.
Fix detokenizeMessage for changes to Twitch's message format.
Don't try to preview the `create` clip URL.
Start using functional components where possible for performance.
Stop logging GraphQL errors to save our Sentry quota.

Begin implementing chat rendering on top of Vue. For now, we've got functional components for every type of chat token. We've got a lot of work ahead of us. This will eventually be used for mod card history, chat panes, and maybe even pinned rooms.

Add an event to clean orphan tooltips. Useful for when we click something we know will change DOM elements with active tooltips, like a Close button for example.
2018-05-10 19:56:39 -04:00
Lordmau5
9ef7c2aee3 Basic mod cards support (#423)
* More work on mod cards

* More work on mod cards!

Some sort of dynamic component thingy madoohickey

* Change up implementation of tabs

* Implement focus and tabindex

* Remove unused GQL queries / mutations

* Implement user info

* Only show use rlogin if an international name was detected

Also attempt to fix line height

* Remove testing memes

* Remove derps... whoops
2018-04-30 14:27:14 -04:00
SirStendec
c548f15290 Fix issues with logged out users for actions.
Look up the room login from the ID when rendering a chat line if we don't have the login already.
Add color validation to the color picker component.
If room is null, don't even try sending a message.
Allow sending messages to any room and not just the current room.
Swallow errors when processing colors and return null.
2018-04-29 01:28:19 -04:00
SirStendec
fdde05030f The In-Line Actions Update
* Add extensible actions system.
* Add extensive UI for configuring the actions system.
* Add setting to disable channel hosting.
* Fix the stupid Rooms thing popping up every time you open a channel.
* Fix how we grab chat types from React.
* Refactor how we handle incoming chat messages.
* Add a hook for outgoing chat messages.
* Fix emoji appearing squished with baseline emote alignment.
* Display arrows on balloons.
* Fix an issue generating emoji URLs.
* Do not use the default values for settings with merge strategies if profiles have those settings, just empty.
* Display a message in the chat settings menu if we tried opening FFZ's settings and failed.
* Wait a bit for webpack's loader if it's not immediately there for some reason.
* Probably other stuff.
* Not mod cards. Yet.
2018-04-28 17:56:03 -04:00
SirStendec
d7a07a5612 The Report Your Errors Update
* Add automatic error reporting with Sentry.io
* Filter a bunch of bad errors from showing up on Sentry
* Add module.hasModule method.
* Fix deep_copy
* Fix disallow mouse interaction with extensions
* Add some new icons to the icon font for mod cards
* Allow Ctrl-Shift-Clicking emotes.
* Rarity sorting for experiments and unset display for unused experiments.
2018-04-11 17:05:31 -04:00
SirStendec
a01b21e9d9 Bump version. Update changelog. Tweak strings for the new emote alignment setting. 2018-04-08 15:51:50 -04:00
Lordmau5
5fb92f52da Implement emote-alignment setting (#409) 2018-04-08 15:20:46 -04:00
SirStendec
f77371d8fb Tab-completion is in its own file now (which I accidentally added in a previous commit). Update fine's searchParent and searchTree to accept the name of a FineWrapper to use that class. 2018-04-07 19:10:45 -04:00
SirStendec
e6e11fe562 Emote Menu? Emote Menu.
* Add the emote menu.
* Add an option to replace the emote menu icon with the FFZ icon.
* Add icons to the icon font.
* Add a basic human duration formatting method to i18n.
* Add methods to the emotes module to get sets including the providers.
* Add a method to the emotes module to load an arbitrary set.
* Add a map to the emotes module for identifying providers.
* Add new events for when emote sets change.
* Add support for loading featured channel emotes.
* Add an option to suppress source sets in emote tooltips.
* Add an option to display a sellout line in emote tooltips.
* Remove emote menu from the WIP section of the home page of the menu.
* Fix a typo in rich content.
* Remove a bit of logging from fine.
* Add helper methods for set comparison and basic debouncing to utilities/object.
* Add constants for the emote menu.
* Add methods to show/hide a tooltip to the tooltip data object.
2018-04-06 21:12:12 -04:00
SirStendec
f506b512b4 Make JS X Again
* Configure the project to allow the use of JSX in .jsx files.
* Add linting for JSX.
* Rewrite most existing code that uses `createElement` to use JSX syntax.
* Stop importing `createElement as e`. That's what the minifier is for. And we don't have to write it manually so much now because of JSX syntax.
2018-04-01 18:24:08 -04:00
SirStendec
79e4b02e6b Add a setting for tab-completion of FFZ emotes. Process default values of settings with merge strategies. 2018-03-30 19:54:26 -04:00
Lordmau5
d922c00748 Implement Tab-Completion for FFZ and other add-on emotes (#402)
* Implement Tab-Completion

* Adjust code to requested changes

* Reviews round two!
2018-03-30 19:38:34 -04:00
SirStendec
254d297f79 Use ref-counting with socket topic subscriptions to make it easy to tell when we should and shouldn't actually unsubscribe. Add route awareness to FineWrapper so that we can unregister the MutationObserver when we know we won't be suddenly finding an instance that we're looking for. Have the channel bar register for the channel pubsub topic. Fix minimize navigation showing the navigation bar over top of theater mode. 2018-03-14 13:58:04 -04:00
SirStendec
8ba8e054a5 Add an error catcher and error state for the chat scroller to hopefully allow chat to recover when React forgets how to DOM. 2018-03-03 16:38:50 -05:00
SirStendec
a0606a49a4 Add error handlers to some of the React chat components. Don't delay initialization completion while we wait up to 60 seconds for the emote menu extension. 2018-03-01 13:40:24 -05:00
SirStendec
fb1ea38f1b Make changes to how forceUpdate() is called to hopefully reduce errors with React being stupid and not understanding how the DOM works. Also don't display an empty message for a resub with no attached message. 2018-03-01 04:13:52 -05:00
SirStendec
f2479495ce Fix rendering of chat action messages. (msg.type is now msg.messageType because Twitch). Remove debug logging from channel_bar. 2018-02-27 01:41:19 -05:00
SirStendec
eb967e115f More fixes for the React 16 update. 2018-02-22 18:38:13 -05:00
SirStendec
0ae6e5021d A ton of stuff. Initial migration to React 16. Initial changes for Rooms support. Add support for clip champ badge. Start using .gql source files that are compiled during import so we don't need to include GraphQL-tag in builds. 2018-02-22 18:23:44 -05:00
SirStendec
5d53dd7071 Update changelog. Add handling for ritual messages, as well as a setting to disable them. Disabled ritual messages still render their message in chat, just not the system messages like "X is new here! Say hello!" 2018-02-02 16:00:58 -05:00
SirStendec
4c9e67a22e Fix Twitch chat badges not rendering. They removed badgeSets from the chat container, so for now access the raw data and parse it ourselves. It's actually about the same difficulty, so it should work fine. 2018-01-19 17:17:16 -05:00
SirStendec
0754144c36 Render badges. Fix badges with weird font sizes. Add an option to show metadata in theatre mode. Fixes #364. Fixes #363. 2018-01-16 17:36:56 -05:00
Lordmau5
941aab9feb Hide Vodcasts & Host Button (#353)
* Fix occasional vanishing of stream card uptime, avatar and other info

* Additionally fix routing issues with the modified avatar div

* Add hide vodcast functionality

* Add `vuedraggable` to dependencies

* Remove LegacyAPI

* Add host button with aut-host management menu

Messy code, but it works.

* Only add `disabled` class to button if chat connection isn't there

* Fix for host button not updating it's text properly after un-/hosting

* Add tooltip to host button and use alternative way to get the chat inst.

* Rework host button stuff into new metadata

All is functional, even though the code might be a mess.

* Implement Auto-Host settings tab

* Fix reassignment to const, hehe

* Custom TMI events for Host and Unhost, plus use existing chat connection

* Code adjustments, disabling the button when host is loading, etc.

* Address code-review suggestions

Translation support and a few other fixes

* Remove inline styling

* Show error in tooltip if hosting didn't work properly or similar issues

* Address change requests

* Fix mixup

* Fix host options not having a background

* Fix styling for the host options

This adds a small border

* Hide host button on own channel

* Fix popper

* Move `isChannelHosted` method further up

* Adjust handle of auto host menu and fix vodcast hiding

* Replace loading icon with text

* Add setting for host button; Also another small issue

* Fix joining your own channel multiple times
2017-12-13 23:43:56 -05:00
SirStendec
ac6663053f Add a setting to disable fixing bad emotes. People are the worst. 2017-12-13 20:22:11 -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
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
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
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
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
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
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
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
cace3b317d Added: Freeze Chat on Hover/Key 2017-11-14 04:12:10 -05:00
SirStendec
262757a20d 4.0.0 Beta 1 2017-11-13 01:23:39 -05:00