1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00
Commit graph

1241 commits

Author SHA1 Message Date
cfinegan
f85f0c49b6 Do less string checking in sortEmotes 2022-01-17 15:57:44 -05:00
cfinegan
0610175906 Moved collators to module-level declarations
Existing uses of String.localeCompare are replaced with locale.compare for efficiency.
2022-01-15 21:30:45 -05:00
SirStendec
82878522db 4.31.6
* Fixed: Chat crashing due to Twitch's new introduction feature. This is currently done with a patch that converts such messages to the old style 'First Time Chat'.
* Changed: The rich embed testing tool now supports automatic refresh when using a local development server.
2022-01-12 14:35:38 -05:00
cfinegan
2e4ed9de07 Emote auto-complete now prefers results that start with the user input 2022-01-12 12:12:35 -05:00
SirStendec
dfb16c8483 4.31.5
* Fixed: Reduce the amount of re-rendering that happens when a mass gift sub happens in chat.
* Fixed: Do not display stream latency metadata when watching non-live content.
* Fixed: Add support for user name overrides to clips and video chat.
* Fixed: Badge tooltips on the clips subdomain.
* API Added: `ffz_user_class`, `ffz_user_props`, and `ffz_user_style` on chat messages for customizing the display of usernames on messages in chat.
2021-12-28 13:46:26 -05:00
SirStendec
425276ed08 4.31.4
* Fixed: Clicking on Twitch emotes to open an information card about the emote not working for emotes at 50% or further down the screen height.
* Fixed: Improve support for the Twitch WYSIWYG chat input experiment.
2021-12-16 15:00:14 -05:00
SirStendec
cc649252db 4.31.3
* Fixed: Animated overlay emotes not working correctly.
* Fixed: Localization incorrectly using empty strings for some languages.
2021-12-13 13:41:51 -05:00
Mike
8758710dce
Merge pull request #1150 from Lordmau5/fix-animated-modifier-emotes
Fix animated modifier emotes
2021-12-13 13:32:00 -05:00
Mm2PL
d1e37e1c1b
Make sending combined emoji work 2021-12-12 00:15:29 +01:00
Mm2PL
d25da5f284
Implement emoji fixing when reading messages 2021-12-11 23:30:13 +01:00
Lordmau5
5e2d02b09e Fix animated modifier emotes 2021-12-11 22:01:47 +01:00
SirStendec
c0f7747428 4.31.2
* Fixed: Apply a maximum height to the ban reason pop-up to avoid long lists from going off screen.
* API Added: `removeTokenizer(type)` and `removeRichProvider(type)` methods for the chat module.
* API Changed: Chat tokenizers no longer need to return a token list, if tokens have not changed.
2021-12-01 16:48:10 -05:00
SirStendec
a35387abcf 4.31.1
* Fixed: Infinite loop bug with the `<markdown />` Vue component.
* Fixed: Bug with the method that calculates the chat input height causing chat input to disappear completely.
* Changed: When an add-on fails to enable, a slightly better message will be logged to console.
2021-11-19 17:12:17 -05:00
SirStendec
e704677e84 4.31.0
* Added: Option for displaying larger embeds in chat for supported sources. This won't do anything until the link service is updated with support.
* Added: Support for v6 rich content for embeds, tool-tips, and the rich content debugger.
* Changed: Limit the width of rich content embeds in portrait mode.
* Fixed: Clicking badges not working correctly.
* Fixed: Rich embeds being rendered when an unsupported version is returned from the embed server.
* Fixed: The month being off by one in the default filename when saving a settings backup.
* Fixed: The Chat Identity entry not appearing in the chat settings menu when appropriate.
* API Added: `Mutex()` class for limiting something to a certain number of accessors at once.
2021-11-15 17:12:01 -05:00
SirStendec
97c96be276 4.30.1
This release cleans up some English strings, and moves us to a new back-end for translation. Now, translations are cached in our CDN which should reduce resource usage and allow clients to properly cache things. Translations are also split into chunks so clients can minimize what they need to request at any given time.

* Fixed: Detection of the subscriber button.
* Fixed: Remove references of non-standard ICU format `en_plural`. Use proper `plural` tags.
* API Added: `i18n.loadChunk(name: string) => Promise<void>` for requiring a new chunk.
* API Fixed: Allow settings to have a `null` i18n key to disable translation.
2021-11-12 16:58:35 -05:00
SirStendec
958a3956f1 4.30.0
This update includes a dependency update to version 2 of PopperJS, the library we use for tool-tips. Hopefully this fixes flickering issues with tool-tips. Some tool-tips may have issues after the update. If something doesn't look right, please ask.

* Fixed: Chat lines not showing replies.
* API Fixed: `setChildren` now supports variables that are not `Node`s or `string`s, and does so by casting other types to `string`s. Makes it easy to include numbers and other variables when using JSX.
* Maintenance: Update to PopperJS v2.
2021-11-10 18:27:52 -05:00
SirStendec
1c3e73e143 Dependency Maintenance
* Start using the [pnpm](https://pnpm.io/) package manager rather than npm.
* Replace `node-sass` with `sass`.
* Update versions of many dependencies
* Didn't yet update webpack to v5, since that'll be a mess.
* Clean some old build scripts out of package.json
2021-11-06 20:12:55 -04:00
SirStendec
76b72b86c8 4.29.3
* Added: Setting to hide the "Discover Luna" link in the top navigation.
* Changed: Hide blocked categories from the directory's category list.
* Fixed: Stream up-times not appearing in the directory.
* Fixed: Error in error handler for PubSub.
* API Added: `Dialog` now supports prepending its element to its container, rather than appending.
* API Added: `tip.add_class` for adding additional classes to rich tooltips that may now have had their element created yet.
2021-11-05 18:01:28 -04:00
SirStendec
032c8821df 4.29.2
* Fixed: Initialization problems in pop-out chat.
* Changed: Set a default size for emoji, to prevent rendering issues in any future cases where initialization breaks.
2021-09-10 16:53:52 -04:00
SirStendec
35c99df8aa 4.29.1
* Changed: Apply the full width clips page setting to the create new clip page.
* Fixed: Issue with Apollo failing to initialize breaking multiple parts of FFZ.
* API Changed: Support `sfw_images` when rendering rich tokens.
2021-09-10 16:23:20 -04:00
SirStendec
04cfbe6ed9 4.29.0
* Added: Support for OpenDyslexic and Google Fonts. Font Family settings now provide a list of fonts to choose from, in addition to allowing a custom font to be entered.
* Changed: When saving a settings backup, the current date will be included in the filename by default. (Closes #1084)
2021-09-06 16:48:48 -04:00
SirStendec
a529e7fd27 4.28.7
* Added: Setting to hide Drops messages in chat.
* Fixed: Chat Colors not being applied to chat in Mod View.
* Fixed: The color of the search input not being affected.
* Changed: Add a disclaimer to the `Show Overlay Extensions` setting to clarify that it does not prevent extensions from loading.
* Changed: Wait up to a full minute for add-on scripts to load.
* API Added: The `<react-link />` Vue component now has a `state` prop for passing state data with links, necessary for navigating to certain Twitch pages.
2021-09-04 20:14:58 -04:00
SirStendec
c1fba86dc9 4.28.5
* Fixed: Video player issues related to last update and test code.
2021-08-16 17:51:32 -04:00
SirStendec
207fda2b36 4.28.4
* Fixed: Current channel detection, both on channel pages and on mod view. (Closes #1099)
* Fixed: Clicking the stream latency metadata not toggling the video stats display.
* Fixed: Portrait mode not correctly positioning page content, notably breaking portrait mode with chat on top.
* Fixed: Whisper messages not rendering correctly and logging error messages.
* Fixed: Clip messages not rendering correctly and logging error messages, on the clips subdomain.
* Fixed: Use `/3.0` URLs for Twitch's emote CDN rather than `/4.0` to prevent 404 errors. Kappa will look smaller to some users, but it's a price I'm willing to pay and entirely Twitch's fault anyways.
* Fixed: Volume control not being hidden when gain control has replaced the default volume control.
2021-08-16 17:23:12 -04:00
SirStendec
c8bb667c53 4.28.3
* Fixed: Issue rendering Twitch badges for some users.
* Fixed: The FFZ Emote Menu icon not replacing the default emote menu icon.
2021-07-27 22:51:04 -04:00
SirStendec
e63157a412 4.28.2
This is a temporary, quick fix while a proper fix is developed.

* Fixed: Include necessary CSS for FrankerFaceZ that was recently removed from Twitch's own CSS bundle.
2021-07-26 16:33:43 -04:00
SirStendec
cfd11c8e9e 4.28.1
* Fixed: Exclude the player settings menu from theming when using a light theme to avoid rendering issues.
* API Added: `addNotice(room, message)` method for the module `site.chat`.
* API Fixed: Add `addNotice()` and `sendMessage()` stubs to the `site.chat` module in clips flavor.
2021-07-12 20:00:14 -04:00
SirStendec
0c25692afd 4.28.0
* Added: Setting to display a system message on chat messages that contain bits, enabled by default.
* API Added: Expose `filtering` utilities.
* API Added: Events `chat:mod-user` and `chat:clear-chat`.
2021-07-12 13:46:04 -04:00
SirStendec
3b4ecfaa23 4.27.1
* Fixed: Check to see if follower emotes belong to the channel of the logged in user when determining if the emotes should be considered locked.
2021-07-01 12:45:15 -04:00
SirStendec
fc5b33a904 4.27.0
* Added: Support for Follower Emotes in the emote menu as well as tool-tips. (Closes #1071)
* Fixed: The emote menu recalculating cached state unnecessarily due to Twitch unnecessarily recreating identical data structures.
* Fixed: Hiding Unfollow buttons. (Closes #1070)
2021-06-30 15:51:37 -04:00
SirStendec
3fbf6ed961 4.26.0
* Changed: Refactor theme color generation to re-use code where possible.
2021-06-24 18:54:14 -04:00
SirStendec
3c1d61993a 4.25.0
* Fixed: Smooth Scrolling no longer causing chat to scroll. (Closes #1068)
* Fixed: Issue with users using certain external stylesheets causing chat messages to become impossible to read on mouse hover. (Closes #1066)
* Fixed: Issues with badge sorting causing some badges to be overridden when they shouldn't be.
* Changed: Improve caching of badge data, such that re-rendering chat lines requires less computation.
* Changed: Refactor how chat lines listen for settings changes to reduce code duplication.
* Changed: Refactor how chat lines are invalidated to minimize work when changing settings.
* API Added: `chat:rerender-lines` event that, when emitted, causes all chat lines to be re-rendered.
* API Added: `chat:update-line-tokens` event that, when emitted, causes all chat lines to have their tokens invalidated and recalculated.
* API Added: `chat:update-line-badges` event that, when emitted, causes all chat lines to have their cached badges invalidated and recalculated.
* API Changed: `chat:update-lines-by-user` now has extra properties for separately invalidating tokens or badges. The full signature is `chat:update-lines-by-user(id, login, invalidate_tokens = true, invalidate_badges = true)`
2021-06-23 16:08:57 -04:00
SirStendec
d5478d71cd 4.24.1
* Fixed: The FFZ Emote Menu not replacing the default Twitch emote menu.
2021-06-21 16:39:01 -04:00
SirStendec
2340992977 4.24.0
* Changed: The settings for Animated Emotes and chat user color correction now default to enabled or disabled based on your vanilla Twitch settings.
* Changed: Strip automatic error reporting from builds till it can be fixed.
* Fixed: Native viewer count and uptime not hiding correctly when a stream goes live.
* API Added: Settings can now depend on `localStorage` values by using `ls.{name}` keys for JSON or `ls.raw.{name}` for raw strings.
* Maintenance: Update dependencies.
2021-06-18 14:27:14 -04:00
SirStendec
ce38c3c251 4.23.2
* Changed: Animated Emotes is now set to Enabled by default, to reflect the vanilla Twitch experience.
* Fixed: Native animated emotes not appearing with animation.
* Fixed: Typo in the tooltip for Playback Statistics metadata.
* Maintenance: Update the `@ffz/icu-msgparser` dependency.
2021-06-17 14:27:04 -04:00
SirStendec
2a57ecb8a7 4.23.1
* Added: Add a `Reset` button to the headers of the badge visibility controls.
* Changed: Move some Twitch badges into a new `Twitch: Other` category.
* Changed: Do not display the badges in a category when the category is hidden to save space.
* Changed: Expose more data on emotes/emoji to tab completion.
* Fixed: Missing localization for certain items in Chat > Actions > Rooms.
* API Fixed: Ensure that emote set and badge IDs are cast to strings for consistent comparisons.
* API Fixed: Fix reference counting issues for emote sets when a set or badge is added from multiple providers.
* API Changed: Newly loaded emote sets are automatically scheduled for garbage collection if they have no users.
* API Changed: Added `removeAllSets(provider)` method to `Room`s and `Users`s.
* API Changed: Standardize `addSet(provider, set_id, data)` to allow passing set data in `Room` and `User`.
* API Changed: `addSet(...)` and `removeSet(...)` now return a boolean of whether or not the set was added or removed.
2021-06-10 18:53:16 -04:00
SirStendec
a74faa95d3 4.23.0
* Added: Setting to change how international display names are rendered in chat.
* Fixed: Minor appearance issue with select box settings.
* API Changed: Expose slightly more data through the built-in auto-completion handlers.
2021-06-08 19:13:22 -04:00
SirStendec
5ddc0c47e6 4.22.9
* Fixed: Detect if the player controls are disabled (such as a squad stream that isn't focused) and disable certain UI elements accordingly.
* Fixed: Try to avoid un-muting unfocused streams on squad stream pages.
* Fixed: Clicking "Chat Identity" in the settings menu doing nothing.
* Fixed: The FFZ Control Center button not appearing on the streaming dashboard.
* Fixed: A bug with the link tester in `Debugging > Data Sources` when opening the page with no history state.
* Changed: Load a list of sample links from the link info servers when opening the link tester in `Debugging > Data Sources`.
2021-05-29 18:14:29 -04:00
SirStendec
fd0361b6e0 4.22.8
* Fixed: Setting to display square avatars not functioning. (Closes #1042)
* Fixed: Chat message backgrounds on clips pages not appearing as full width.
* Fixed: Style of the Gain Control input element.
* Fixed: Shortcuts not being appended to live channel pages next to the channel name.
* Fixed: The Mod View button not being hidden correctly. (Closes #1044)
* Fixed: The "Hide Stream Info" button not being hidden in mod view.
* Fixed: The setting to use the FFZ logo for the emote menu button not functioning.
* Fixed: Multiple issues with portrait mode appearing incorrectly.
* Fixed: Block and Hide Thumbnails buttons not appearing on game directory pages.
2021-05-19 16:59:26 -04:00
SirStendec
432ac86342 4.22.7
Second round of fixes. There are still some broken things, but with metadata and the FFZ Control Center pop-out repaired most features are working correctly.

* Fixed: Detection of the proper parent element for channel metadata.
* Fixed: Detection of the proper parent element for exclusive-mode dialogs.
2021-05-17 17:35:40 -04:00
SirStendec
89941d2ee5 4.22.6
First round of fixes, more to follow.

* Fixed: Appearance of tool-tip and balloon page elements.
2021-05-17 17:02:23 -04:00
SirStendec
f0d68527b8 4.22.5
* Added: Setting to hide unrelated results from the FFZ Control Center when searching. This is now enabled by default.
* Added: Setting to control whether the height of the Emote Menu is expanded. This is now disabled by default.
* Changed: When searching in the FFZ Control Center, pills are displayed in the navigation tree showing how many matching results there are.
* Changed: Update the method used for searching for channels and games, hopefully resulting in more accurate results.
* Changed: When searching for users in an auto-complete field, display a check-mark for verified users.
* Changed: When searching for users in an auto-complete field, respect the user's preference for rounded avatars.
* Fixed: Lazy load Markdown when possible to save on initial download size.
2021-05-13 16:24:39 -04:00
SirStendec
ff4bb24a9a 4.22.4
* Fixed: Duplicate more CSS that Twitch is removing in favor of styled components.
* Fixed: Do not display theater metadata when viewing a video.
2021-05-10 13:51:20 -04:00
SirStendec
c286e6cf93 4.22.3
* Fixed: Certain page elements not being affected by FFZ theme settings.
* Fixed: Do not display new unlisted add-ons on the home page of the FFZ Control Center unless already enabled by the user.
* API Added: `getUserBasic(id, login)` in the Twitch Data module, with support for batching.
* API Changed: Allow `createTest` to return a null value for a test to be skipped when compiling a complex filter in `createTester()`.
2021-05-07 18:22:55 -04:00
SirStendec
5f0d4b2bfe 4.22.2
* Added: Option to display debugging information in chat when highlight filters are applied to a message.
* Changed: Treat a completely transparent highlight color as removing highlights from a message. This allows rules such as preventing messages from bots (Bot Badge) from being highlighted.
* Fixed: Detect an invalid IndexedDB database and recreate it when necessary.
* API Added: `applyHighlight(msg, priority, color, reason)` method for tokenizers.
2021-05-03 15:33:03 -04:00
SirStendec
3c37dbf23a 4.22.1
* Fixed: Unread whispers not appearing correctly when the color normalizer is loaded.
* Fixed: Performance issue creating excessive `FFZEvent` instances in `flushRawBuffer` when no message was scheduled for display.
* API Fixed: The `chat:buffer-message` event not including `channelID` and `channel` properties.
2021-05-01 14:36:20 -04:00
SirStendec
ae85bf76b9 4.22.0
* Added: Highlight rules now have priorities. Priorities allow for finer control over which color is used to highlight a message, as well as giving priority to specific rules when highlighting individual words.
* Added: Setting to set a priority for the built-in highlighting when someone mentions you by name.
* Changed: The `chat:receive-message` event no longer fires if there are no registered event listeners, to improve performance.
* Changed: Attempt to more accurately display re-sub notices in Chat on Videos by parsing out the re-sub message from the start of the message.
* Changed: Apply the user's selected `Action Style` to Chat on Videos.
* Fixed: Messages being re-tokenized incorrectly sometimes due to an incorrect flag being passed by the chat line component.
* Fixed: Update the logic for inserting a "Live Message Separator" to duplicate the logic used by Twitch.
* API Added: `chat:buffer-message` event that is fired when a chat message is copied into the buffer of visible messages. If you wish to run an event when a chat message becomes visible to the user, this is what you want to use.
* API Added: `FFZEvent` instances now have a `_reset()` method for resetting their defaultPrevented / propagationStopped state. For use by the constructing method only. This is intended for allowing the re-use of FFZEvent instances when firing many events in succession.
* API Changed: The various settings used for applying filters during message tokenization have been renamed to start with `__filter:`
2021-04-30 17:38:49 -04:00
SirStendec
e7803c7db1 4.21.4
* Added: Option for controlling styles applied to action (`/me`) messages in chat.
2021-04-28 16:27:58 -04:00
SirStendec
7d040066c4 4.21.3
* Fixed: When built-in volume control is being replaced with gain control, automatically unmute the player when adjusting the gain control.
* Fixed: Issue with the webpack compatibility module not correctly flagging modules as available.
2021-04-28 00:51:24 -04:00
SirStendec
b685ed3ce7 4.21.2
* Added: Option to disable rendering of emotes in chat.
* Fixed: Thumbnails not being hidden on the home page of Twitch in some recommendation categories.
2021-04-27 16:23:19 -04:00