1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-01 15:38:31 +00:00
Commit graph

1191 commits

Author SHA1 Message Date
OMGparticles
e87cf9eddf - Strict comparisons for style uniformity. 2023-04-07 17:50:28 -07:00
OMGparticles
0cc2dd4407 - Prioritize emotes that match the search term at the start of a capitalized section, similar to the old NON_PREFIX_MATCH behavior. Now called CAPITALIZED_SECTION_MATCH.
- Search term matches that don't meet any priority criteria are now called SUBSTRING_MATCH.
- Simplified the sortEmotes logic when prioritizing emotes that start with the search term.
2023-04-07 17:24:52 -07:00
OMGparticles
e8fdacea5b - Instead of adding a new match type, replace the existing logic of NON_PREFIX_MATCH. as the new logic will result in a superset of the old results. 2023-04-03 23:15:51 -07:00
OMGparticles
ce25a81208 - Emotes now appear in the auto complete list if the given sequence of characters exist anywhere in the emote name. 2023-04-03 17:55:08 -07:00
SirStendec
21bc0a704f 4.44.0
* Added: Initial re-implementation of emote information cards. These have been broken for a while due to changes in Twitch's website preventing us from accessing them.
* Added: Setting to hide charity progress elements in chat.
* Changed: Emote tool-tips now display emote artists.
* Changed: The `Chat Command` chat action can now optionally be sent in another channel. Note that when doing so, you will not receive feedback from your sent message.
* Fixed: The 'Viewer Count' tool-tip duplicating itself.
* Fixed: Emote menu repeatedly requesting FFZ data.

* API Added: Ephemeral profiles can now be created by passing `ephemeral: true` in the options when creating a profile. These profiles are temporary and read-only.
2023-03-27 18:50:32 -04:00
SirStendec
daa193aa03 4.43.0
* Added: Automatically reprocess chat messages when loading a channel for the first time. (Closes #1333)
* Fixed: Random emotes being insert into chat when using the emote menu in some situations. (Closes #1337)
* Fixed: When tokenizing messages, ignore fake emotes injected into Twitch's chat handler for the purpose of auto-completion and WYSIWYG support.
* Changed: Switch to a better method for how to get `require` from webpack.
* Changed: Update the logic used to calculate the container size when overlaying emotes.
* API Added: `load_tracker` module for waiting for multiple events to finish. This is used to reprocess chat lines once every data source has finished loading to avoid multiple unnecessary updates.
* API Added: Add-ons can now set a `load_events` array in their manifest to have the add-on loader register them with `load_tracker`, ensuring events don't fire before the add-on is able to execute.
2023-03-10 17:06:12 -05:00
SirStendec
e26f836267 4.42.1
* Added: Setting to disable the Emote Effects tab in the emote menu.
* Fixed: Issue with emotes appearing in the wrong place when combining certain emote effects.
* Fixed: Issue with emoji not appearing when used with emote effects.
* Fixed: Issue with the Large Emotes setting not working correctly when used with emote effects.
* Fixed: Do not display the Emote Effects tab in the emote menu if there are no visible sets with effects.
* Changed: When clicking an emote effect from the emote menu when there is no existing emote in chat, and thus previewing with a random emote, insert that emote into the chat input as well.
* Changed: Do not display random emotes that the user cannot use when previewing emote effects.
* Changed: Do not use 'Display and Send' for the emoji joiner workaround by default as it is no longer necessary.
2023-03-08 01:52:35 -05:00
SirStendec
915ad89f58 4.42.0
* Fixed: Navigating between channels with the audio compressor enabled (or having previously been enabled) causing the player to become stuck loading infinitely. (Closes #1317)
* Fixed: Features on the `clips` and `player` subdomains not working correctly. (Closes #1336)
* Changed: Finish implementing the initial emote effects.
2023-03-06 17:08:47 -05:00
SirStendec
e433aa3340 4.41.0
I'm almost finished implementing a replacement for emote cards, but they aren't quite ready yet. Please wait just a bit longer.

* Added: Support for modifier emote effects, as well as settings to disable them.
* Changed: Update the chat types enum to match changes to Twitch's internals.
* Changed: Implement a new data structure for more efficiently storing bulk user to emote set mappings.
* Changed: Implement support for loading data from staging.

* Experiments: Push the new chat line rendering experiment to 20%. Let's see if it works properly.
2023-03-03 15:24:20 -05:00
SirStendec
8e48021c43 4.40.0
* Added: Chat actions for modding and un-modding users.
* Fixed: Settings not being removed when an add-on is unloaded.
* Changed: Add a few new icons.
* API Added: Add support for header backgrounds for rich token documents.
* API Added: Methods for adding/updating emotes to and removing emotes from an emote set.
* API Added: Context flag to disable FFZ's chat message processing.
* API Changed: Add-ons can now be hot reloaded for development purposes. This feature may be somewhat unstable.
2023-01-19 17:00:09 -05:00
SirStendec
14400e16bc 4.39.0
* Added: Option to change the size of Message Hover actions.
* Added: New chat action appearance type "Emote" that makes it easy to use an emote image for an action.
* Changed: Do not show the "Pin" action on messages with no message body.
* Changed: Use Twitch's API for embeds/tooltips of Twitch URLs. This now makes use of clip embed data being sent via PubSub, notably.
* Fixed: Multiple emotes with the same name being listed in tab-completion.

* Experiment: There's a new chat line render method available. This is not currently enabled for any users, but it will be enabled after more internal testing. The new method is not necessarily faster, though it should not be slower. The main purpose of the rewrite is code de-duplication and making the renderer easier to maintain.
* API Added: `chat.addLinkProvider(provider);` to register a handler for link data.
* API Fixed: Do not allow duplicate registration of tokenizers or rich embed handlers for chat.
2022-12-18 17:30:34 -05:00
SirStendec
4001d15b18 4.38.2
* Fixed: The Audio Compressor incorrectly being disabled due to changes in Twitch's player causing FFZ to incorrectly assume a clip is being played.
* Fixed: Twitch emote cards failing to open when clicking an emote. (Hilariously, this is because we were searching for the component that opens emote cards up to 200 entries up the stack. It is now, as of the time of this update, 201 entries up the stack.)
* API Fixed: When adding a new chat action definition or renderer, invalidate message hover, user context, and room actions as well and not only inline.
2022-12-11 15:48:32 -05:00
Mike
e7066ce4da
Merge pull request #1306 from melutzke/master
Enable canCompress to allow video using srcObject
2022-12-11 15:40:25 -05:00
Mitchell Lutzke
a4aa248ec0 Remove trailing NL, again 2022-12-09 18:37:25 -08:00
melutzke
e860c4c54e
Remove trailing newline to change as little as possible 2022-12-09 18:30:40 -08:00
melutzke
ead5430684
Update canCompress to check video for srcObject
srcObjects can be defined by webworkers, amazon has pushed support for webworkers setting videos processed by a separate worker thread now that chrome has shipped support in Chrome 108.

Compressor still works if video is defined in this way, so we can check for and allow this.
2022-12-09 18:23:30 -08:00
SirStendec
1914b055ce 4.38.1
* Fixed: Certain chat actions (Pin, Reply) not working correctly when assigned as a User Context action.
* Fixed: When editing a setting using the filter editor, settings are saved correctly.
* Changed: When editing chat actions, you can now choose to have a profile not inherit values from other profiles or the default values.
2022-12-08 16:19:14 -05:00
SirStendec
92ff27f3fb Merge branch 'master' of github.com:FrankerFaceZ/FrankerFaceZ 2022-12-07 16:52:38 -05:00
SirStendec
9ab9f69583 4.38.0
* Added: Options to hide the "Chat Highlight Settings" and "Shield Mode" buttons in the chat input.
* Added: Option to fade the video player when paused or buffering. (Closes #1289)
* Added: Message Hover chat actions! Now you can add custom actions in the style of Twitch's native "Pin Message" and "Reply to Message" buttons. This change also adds default actions for those that behave similarly to Twitch's native behavior. (Note: The Pin Message action is, by default, only visible if you have your mod icons displayed.) (Closes #1284. Closes #1293.)
* Changed: Remove the Reply action from the defaults for In-Line chat actions.
* Fixed: Duplicate words in *in* certain localized strings with human friendly relative times. (Closes #1292)
* Fixed: Bug where the link testing debug component would not collect its event source when being destroyed.
* Fixed: Popup UI elements not appearing with the correct colors. (Closes #1285)
* Fixed: Elements in the FFZ Control Center sometimes failing to display scroll-bars correctly after a Twitch update.
* Fixed: The mouse cursor not hiding correctly when positioned over the player with controls not visible.
* Fixed: Tab-completion sometimes failing to include emotes from add-ons due to improperly cached data. (Closes #1299. Thanks cfinegan)
* Fixed: Rich token rendering not setting alt text or width and height on images.
2022-12-07 16:52:07 -05:00
Mike
764cacd354
Merge pull request #1300 from cfinegan/master
getEmoteSuggestions no longer uses stale channel info
2022-12-07 12:46:13 -05:00
Conor Finegan
09066933d0 getEmoteSuggestions no longer uses stale channel info 2022-11-30 19:48:44 -05:00
SirStendec
9017dd644f 4.37.1
* Added: "Pin This Message" chat action to allow moderators to pin messages as a quick fix until I can implement the normal vanilla pin button.
* Fixed: FrankerFaceZ failing to load correctly on moderation view pages.
2022-10-14 17:23:45 -04:00
SirStendec
8cd6545556 4.37.0
* Added: "Copy Message" chat action for copying a message to your clipboard.
* Added: Setting to pause the player by clicking on it. This is disabled by default, and the pause happens after half a second to avoid pausing as part of a double-click.
* Added: Setting to clear the emote menu's search when closing it.
* Added: Setting to hide the "Elevate Your Message" button in the chat input field.
* Changed: Remove code related to channel hosting.
* Fixed: Do not attempt to load FFZ on `gql` or `passport` subdomains.
* Fixed: Channel leader-boards not being hidden on channels within a specific experiment.
2022-10-07 15:12:15 -04:00
SirStendec
bc0eab4409 4.36.2
* Fixed: Channel Metadata not appearing over the player in theater mode when hovering with the relevant setting enabled.
* Fixed: Chat on Videos not appearing correctly for some videos due to incorrect channel IDs associated with messages.
* Fixed: When in theater mode, hide the secondary player controls that Twitch displays by mistake.
* Fixed: Certain Twitch badges not appearing correctly for users with high-DPI displays or increased zoom levels. (Note that this may require you to perform a hard refresh due to browser caching.)
* Removed: Don't display a message about the Audio Compressor preventing playback rate changes for Firefox users. Firefox fixed that issue a while back and no users should experience it at this time.
2022-09-01 15:36:47 -04:00
SirStendec
39abc9df48 4.36.1
* Fixed: Swap Sidebars not functioning correctly after a Twitch update.
2022-08-04 16:40:54 -04:00
SirStendec
dd248838ad 4.36.0
* Added: Setting to hide specific chat token types from rendering in chat, in case you for some reason don't want to see cheers / emotes / whatever.
* Added: Support for the Artist, No Audio, and No Video badges in different badge styles.

* API Added: The `site.player` module now exports CSS rules for the player control containers, so that FS Chat (and maybe other add-ons) won't need updates in the future if the CSS rule changes slightly.
2022-08-02 16:59:50 -04:00
SirStendec
168db52e2b 4.35.2
* Fixed: Chat on Videos not rendering correctly (again).
2022-07-27 19:16:56 -04:00
SirStendec
c924d643a6 4.35.1
* Fixed: Chat on Videos not being rendered correctly, including name color preferences, emoji, emotes, etc.
2022-07-22 19:52:08 -04:00
SirStendec
02efe80a92 4.35.0
* Added: Option to hide the Support Activity Feed from chat.
* Fixed: Apply proper colors to the Support Activity Feed when using custom colors.
2022-06-14 16:26:34 -04:00
SirStendec
4d1d3ae0d2 4.34.1
* Fixed: Room actions not rendering due to changes in React internals.
* Fixed: Bug with sidebar cards not being hidden correctly in some situations.
2022-06-11 12:44:54 -04:00
SirStendec
bcee12a6b3 4.34.0
* Added: Option to hide channels from the directory based on their title.
* Fixed: Issue with FrankerFaceZ failing to initialize correctly due to a change in Twitch's JS layout.
2022-06-08 23:07:07 -04:00
SirStendec
213c2195cc 4.33.6
* Fixed: Tab-completion of FFZ emotes.
2022-05-18 17:58:46 -04:00
SirStendec
82a34cdce9 4.33.5
* Fixed: Update player element selectors to fix visibility of added player controls.
2022-05-06 17:02:49 -04:00
SirStendec
0b43b2f573 4.33.4
* Added: Setting to force the use of legacy audio API constructors for browsers with compatibility issues.
* Changed: Add support for Twitch's inline chat highlights.
2022-05-05 13:41:49 -04:00
SirStendec
4b5827f98b 4.33.3
* Fixed: Attempt to resume a suspended audio context before giving up.
2022-04-25 15:01:40 -04:00
SirStendec
3291b95e55 4.33.2
* Changed: Update another method used in the audio compressor to use a newer API when available.
2022-04-25 14:19:34 -04:00
SirStendec
3ea07abb0e 4.33.1
* Fixed: Locales failing to load due to missing `day.js` support.
* Fixed: Locales failing to load due to capitalization.
* Changed: Use a slightly newer API for constructing an audio compressor object for better compatibility.
2022-04-25 13:47:10 -04:00
SirStendec
2af7d5618b 4.33.0
* Added: Formatters for chat action variables. (Closes #1199)
* Changed: By default, open the user card to a badge when clicking a badge in chat. (Closes #1195)
* Fixed: The settings bridge functioning incorrectly for users without a set storage provider, causing pages that rely on the settings bridge including the Stream Dashboard to never correctly load FFZ.
2022-04-19 15:34:20 -04:00
SirStendec
084a3ee5e0 4.32.5
* Fixed: The new announcement feature not rendering correctly in chat.
* Fixed: Metadata failing to render correctly with certain Twitch experiments active.
* Fixed: Some promoted streams appearing when users have chosen to hide promoted streams.
2022-03-31 17:15:43 -04:00
SirStendec
0fcd7d5af6 4.32.4
* Fixed: Chat Width not applying correctly in some configurations.
2022-03-23 15:08:22 -04:00
SirStendec
155938f584 4.32.3
* Fixed: The FFZ Control Center button being positioned incorrectly on streamer dashboard pages.
* Fixed: Profile rules for the current category/title not working on certain pages.
* Fixed: Swap Sidebars causing rendering issues when in theater mode, with the chat below the player, when not using FrankerFaceZ's Portrait Mode option.
* Fixed: The placeholder text being positioned wrong when using Twitch's WYSIWYG chat input.
* Fixed: The entire extension loading when viewing an embedded clip, causing undue load.
* Changed: Add a link to YouTube's Privacy Policy to the legal page.
2022-03-23 14:10:25 -04:00
SirStendec
370a579635 4.32.2
* Added: Setting to limit the size of native Twitch emotes. Enabled by default.
2022-03-05 15:15:27 -05:00
SirStendec
6a7ac8c194 4.32.1
* Fixed: FFZ no longer working correctly for Safari users owing to poor regex support. Safari users will be unable to use the Emoji Joiner Workaround introduced in 4.32.0.
2022-02-11 16:35:06 -05:00
SirStendec
969ed29668 4.32.0
* Added: Support for combined emoji using a workaround that compensates for Twitch chat eating unicode it shouldn't. (See #1147 for more details)
* Added: Setting to change how emotes are sorted when using tab completion. Applies to the In-Line Tab Completion add-on as well as the default tab completion.
* Added: Setting to disable a browser's "automatic dark theme" features when supported. This primarily applies to Chromium browsers.
* Added: Ability to make emoji larger in addition to emotes using the "Larger Emotes" setting.
* Fixed: Better handling of community introduction messages.
* Fixed: Catch more chat line rendering errors to prevent chat from breaking entirely.
* Fixed: Chat on Videos not appearing with the chat background color.
* API Changed: Rich Tokens now support `ref` tokens in `header` tokens.
* API Changed: Rich Tokens now support `link` tokens with no content, automatically setting their content to their URLs.
2022-02-11 15:17:32 -05:00
Mike
feae6bcb89
Merge pull request #1151 from Mm2PL/feature/emoji_rfc
Add the workaround for combined emoji described in #1147.
2022-02-11 14:38:56 -05:00
Mike
e87dbcd0fd
Merge branch 'master' into feature/emoji_rfc 2022-02-11 14:38:02 -05:00
Mike
d83d6717b6
Merge pull request #1161 from cfinegan/master
Emote auto-complete now prefers results that start with the user input
2022-02-11 14:25:54 -05:00
cfinegan
0ea064ad68 Adds toggle for new emote sorting behavior 2022-01-20 21:48:43 -05:00
cfinegan
c4301a234d sortEmotes now prefers or disprefers emojis based on user settings
Previously, it erroneously sorted them based on the value of the emoji's codepoint sequence.
2022-01-20 21:03:27 -05:00
cfinegan
19445fd5b0 Remove unused parameter in sortEmotes 2022-01-17 16:30:14 -05:00