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

1072 commits

Author SHA1 Message Date
SirStendec
aab1177d1f 4.0.0-rc5.2
* Changed: Begin pulling a Changelog from GitHub commits rather than loading HTML from the FFZ CDN.

Implement a Markdown Vue component for safely and easily displaying rich content.
2018-07-14 17:04:06 -04:00
SirStendec
205306fd48 4.0.0-rc5.1
* Fixed: UI state not updating correctly for Blocked Terms that were created before the rc5 release.
2018-07-14 15:06:00 -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
0775cd1e77 4.0.0-rc4.3
* Added: Settings Search
* Added: Button to open the FFZ Control Center in a new window.
* Added: Button to fade the FFZ Control Center.
2018-07-05 20:27:17 -04:00
SirStendec
a23bc74ae4 4.0.0-rc4.2
* Fixed: Issue scrolling up with Smooth Scrolling enabled and Freeze on Hover disabled.
2018-07-04 14:23:21 -04:00
SirStendec
6201555da5 4.0.0-rc4.1
* Changed: Update the dark theme with changes from Twitch's CSS.
* Fixed: Hide the empty spaces in the directory from where we have hidden reruns.
2018-07-04 13:29:33 -04:00
SirStendec
0f88ce216f 4.0.0-rc4
* Added: Smooth Scrolling for Chat. (Thanks @neuspadrin)
* Changed: Disable mouse interaction with the background of the metadata bar when it's visible over the player in theater mode.
* Fixed: All directory features except host menus.

* API Added: tList(...) method for i18n to support localizing strings with embedded links, etc.
2018-07-03 18:39:00 -04:00
neuspadrin
be1e1bfd47 Allow smooth scrolling animated chat (#452)
* Allow smooth scrolling animated chat
* update to use requestAnimationFrame
2018-07-03 18:18:39 -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
6b2b734ef9 Rewrite Switchboard in a way that will hopefully make it more robust. Make sure Switchboard works on every Twitch page we can think of. 2018-05-25 14:29:13 -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
c7e8d39bc2 Extend the emote_set data structure to support merging add-on emote sets in the emote menu, as well as forcing emote sets to render on both the Channel and All Emotes tabs. 2018-05-21 17:52:40 -04:00
SirStendec
cbc862ac5a Add support for minimal pages to Switchboard. 2018-05-18 19:30:48 -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
194f93414d Rewrite webpack hooking code to add (untested) support for webpack 4. It's not perfect yet. We have to wait for a module to be required to actually get require. Will have to investigate poking at the state of React to try making it load a feature module or something. 2018-05-18 14:16:45 -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
40a829355f Fix searchParent. We're supposed to check inst for a React root, not node. 2018-05-12 02:31:49 -04:00
SirStendec
42c3a23840 Traverse into different React roots when scanning the tree. This is needed as the new dashboard mounts each widget in its own React root. 2018-05-12 02:23:43 -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
e9214bb46a Rewrite stack traces for Sentry to use the static URL for the current FFZ build to make sure it uses correct source maps. 2018-04-19 16:40:01 -04:00
SirStendec
161b084626 Stop using thing.parentElement.removeChild(thing). Also make sure the block exists in ManagedStyles before we remove it. 2018-04-19 16:39:16 -04:00
SirStendec
37237c47a6 Fix the navigation bar updating hiding the FFZ menu button as well as the main menu not appearing on some pages. 2018-04-19 16:38:21 -04:00
SirStendec
547f50312e Rewrite stack traces for Sentry to include the proper, static path to the current build to ensure that the correct source map is read by Sentry for displaying the exception. 2018-04-16 18:56:42 -04:00
SirStendec
0331799242 Twitch's API is stable and has great, standardized error messages. 2018-04-15 23:10:01 -04:00
SirStendec
e581b50b08 Fix bug tokenizing cheers in messages. Try to fix any bugs getting a user for a room. Strip apollo 404 messages from Sentry. Don't show the expansion arrows in the emote menu when using a filter. Fix emoji tab completion a bit. 🐝 should not match 🍺. Start using crossorigin for script serving. Add a debug transformation for localization. 2018-04-15 17:19:22 -04:00
SirStendec
730e2129e9 Fix an issue with Raven erroring when error reporting is disabled.
Fix an error with featured emote sets when a room does not exist or is being destroyed.
Fix an error with the host menu when autohost settings failed to load.
2018-04-13 13:36:05 -04:00
SirStendec
dcb1ab9a7f Fix the emote menu always starting collapsed. Make tab completion for emoji slightly better. 2018-04-13 00:16:58 -04:00
SirStendec
9c95335743 Add Emoji Rendering. Add basic emoji tab-completion. The emote menu needs a re-think for performance. Strip out more Apollo bugs. Fix tooltips being silly. 2018-04-12 20:30:00 -04:00
SirStendec
1b2ff27530 More bugfixes. Actually implement the API test experiment. 2018-04-12 02:29:43 -04:00
SirStendec
99f9974dea Fix a CSS bug with the emote menu.
Fix Edge not building properly. It was failing to transpile .jsx files.
Add a dev script for the babel build for Edge. It's just as bad as you'd imagine.
Stop using the env preset for babel builds and instead just use the class transform plugin.
Add logging to Module when discovering modules.
2018-04-11 22:18:04 -04:00
SirStendec
92917453a7 Add settings for controlling the error reporting system.
Fix issues with destroying rooms and users.
Fix the control center not being available on certain pages.
Fix the host menu appearing when you aren't logged in.
Clean up some old CSS.
2018-04-11 20:48:02 -04:00
SirStendec
e773600a3e More event filtering for Sentry error reporting. 2018-04-11 17:49:31 -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
e3a7e3b64d Add experiments system. Add experiments UI. Update disabled buttons to use tw-button--disabled. Update chat line rendering. Add preset emote sizes to the emote menu to reduce reflows when loading. Fix directory issues caused by fixes to route sorting. Update the theme. Add a current route name value to fine router. Add recursive object protection to deep_copy. 2018-04-10 21:13:34 -04:00
SirStendec
1841ab156c Add favorite emotes. Add emote menu sorting. Use a CSS variable for border colors for chat lines. Use fixed emote images for the emote menu. 2018-04-09 19:57:05 -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
ac78c0c9c4 Fix disappearing tooltips. (Closes #408) 2018-04-08 15:19:34 -04:00
SirStendec
6fd2e8a2ba Fix routing issues. (Closes #407) 2018-04-08 15:03:40 -04:00
SirStendec
c5564150b1 Clean up featured follow. Try to make the UX a bit nicer. Localize strings that weren't being localized. Add error handling. 2018-04-08 15:00:16 -04:00