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

67 commits

Author SHA1 Message Date
SirStendec
7fc27ff025 4.0.0-rc13.3
* Added: Initial support for the `/delete` command. Only specific messages will be removed from chat when one is received, now, and there's an easy to add action for In-Line Chat Actions to let moderators perform the action.
2018-10-16 02:13:14 -04:00
SirStendec
796da1739a 4.0.0-rc13.2
* Fixed: The `chat:pre-send-message` event not being called correctly.
2018-10-14 13:12:51 -04:00
SirStendec
fe41eecd77 4.0.0-rc12.22
* Fixed: Rename all references to `tw-c-background` to `tw-c-background-base` and `tw-c-text` to `tw-c-text-base` to fix rendering issues with FrankerFaceZ's custom UI due to Twitch CSS changes.
2018-09-25 18:37:14 -04:00
SirStendec
d8cdbb405f 4.0.0-rc12.20
* Fixed: Twitch modified the `chat-service` component, requiring a detection update.
2018-09-11 19:08:58 -04:00
SirStendec
cf0245204e 4.0.0-rc12.16
Return to version 4.0.0-rc12.16 because Twitch pushed their changes live again. Whee.
2018-08-28 19:13:26 -04:00
SirStendec
513174fad8 4.0.0-rc12.14
Revert to the previous version, 4.0.0-rc12.14, because Twitch rolled back changes to their chat handler. This is probably temporary.
2018-08-28 09:45:53 -04:00
SirStendec
380037d64c 4.0.0-rc12.16
* Fixed: Typo in chat code fixes causing message deletion setting to not work correctly.
* Fixed: Remove request causing following directory to crash, until such time as we can figure out why it's happening.
2018-08-27 23:08:44 -04:00
SirStendec
cf3de0d238 4.0.0-rc12.15
* Not Fixed: Directory stuff.
* Fixed: Chat handling.

This is an initial release to add support for Twitch's changes to how chat works internally. Everything should be working. I'm not entirely happy with the code though, so I'll be reviewing this in the future when I have time to clean things up.

I haven't had a chance to go over directory features yet, and likely won't for several days because of my job.
2018-08-27 20:15:43 -04:00
SirStendec
0090e43316 4.0.0-rc12.13
* Fixed: Issue where settings context was not being set up correctly in pop-out chat.
* Fixed: Chat Width setting on various channel sub-pages on the old layout.
* Changed: Limit emote menu subscription benefit requests to 75 items per request due to issues with Twitch's GraphQL API periodically returning errors when requesting 100 items.

* Changed: Set the API stress testing experiment to 100% roll-out.
2018-08-20 14:33:30 -04:00
SirStendec
d091a35079 4.0.0-rc12.2
* Fixed: Take a few more variables into account when sizing the player for Portrait Mode.
* Changed: Fade in the Host button, not responding to user interaction while it's fading to give users a chance to react to the UI change.
2018-08-04 15:01:00 -04:00
SirStendec
089bc6d715 4.0.0-rc11
* Added "Chat > Behavior > Deleted Message Style" setting to customize how deleted messages appear when set to always be visible.
* Added "Chat > Filtering > Filter your own messages." setting to control whether or not your own chat messages are filtered. Defaults to disabled.
* Fixed: Channel Hosting, via better detection of new vs old channel component style.
2018-08-02 14:29:18 -04:00
SirStendec
7e6a08ad1d 4.0.0-rc8.2
* Fixed: Appearance of Twitch emotes in locally displayed `/me` messages in chat.
* Fixed: Rendering of international usernames in Clips Chat.
* Changed: Tag error reports with the current site.

Fix the implementation of rate-limiting in the socket server to use data from the sealed request. Load a list of acceptable origins from the config file.
2018-07-21 16:26:10 -04:00
SirStendec
7f7312188c 4.0.0-rc8.1
* Fixed: Size of emojis in Clips chat.

Move a couple settings out of sites and into core modules.
2018-07-20 19:10:39 -04:00
SirStendec
30ec9749da 4.0.0-rc6.3
* Fixed: Emotes in locally echoed chat messages. (Update code for parsing emotes in locally echoed chat messages to find emote data in the new location.)
* Fixed: Automatic opting out from raids not working in pop-out chat.
2018-07-18 17:06:14 -04:00
SirStendec
badb3f296e 4.0.0-rc6.2
* Fixed: Clear Chat prevention not working because the localization module was not available when generating the message.
2018-07-16 18:02:08 -04:00
SirStendec
8022cbc8be 4.0.0-rc6.1
* Fixed: Error causing messages in the delayed buffer to not be removed when a user is timed out.
* Changed: Add localization support for message when a clear chat is ignored.
2018-07-16 15:28:53 -04:00
SirStendec
9d36b78ec7 4.0.0-rc6
* Added: Setting to ignore moderators clearing chat.
* Added: Setting to remove deleted messages from chat entirely.
* Added: Setting to control the delay before chat messages appear.
2018-07-16 15:07:22 -04:00
SirStendec
f15d3c1d4f 4.0.0-rc5
* Added: Remove messages entirely using Blocked Terms.
* Fixed: Position of emotes in locally echoed chat messages containing emoji.

Added a `chat:receive-message` event for processing incoming chat messages before they're added to the buffer.
2018-07-14 14:13:28 -04:00
SirStendec
84589231c8 4.0.0-rc4.7
* Fixed: Action messages in chat.
2018-07-13 20:39:01 -04:00
SirStendec
46da3ee4ee 4.0.0-rc4.6
* Fixed: Add support for Twitch's new emote data structure.
2018-07-13 17:02:40 -04:00
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