1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-14 10:00:53 +00:00
Commit graph

1131 commits

Author SHA1 Message Date
SirStendec
7257e4d2eb 4.14.3
* Fixed: Revert the tool-tip container selector as just using `#root` causes performance issues. People will just have to live with badly positioned tool-tips in Portrait Mode for the time being.
* API Changed: Emit a `core:dom-update` event whenever we cause a React component to `forceUpdate()`. This is the first draft of a potential solution for fixing incompatibilities with BetterTTV, and should not yet be considered stable. (No, this doesn't mean it's fixed. That will require updates from both extensions and not just FFZ.)
2019-10-13 00:41:09 -04:00
SirStendec
3b7e99e5a3 4.14.2
* Added: Additional settings for controlling the behavior of Twitch's native Chat Filters.
* Added: Upload strings directly from the Translation Tester UI. (This is for me only, but I like it.)
* Changed: Allow resizing text entry boxes in the Translation Tester UI.
* Fixed: Emoji categories were not being localized.
2019-10-11 17:41:07 -04:00
SirStendec
b53e0e6427 4.14.1
* Fixed: Bug with Time of Day logic when Start is greater than End.
2019-10-09 16:27:52 -04:00
SirStendec
62bb6440f3 4.14.0
* Added: Profiles can now be toggled on and off, rather than relying on rules to control them.
* Added: Right-clicking the FFZ menu button in the top right of the page will open a Profiles dialog, letting you quickly toggle a profile on or off.
* Added: Profiles can now be enabled or disabled based upon the time of day.
* Added: Polish and Serbian pluralization rules.
* Fixed: Ensure tool-tips work on the new dashboard.
* Fixed: Ensure the FFZ Control Center works on the new dashboard.
2019-10-09 16:02:25 -04:00
SirStendec
02efd61f00 4.13.3
* Changed: Shift-Click the FFZ Control Center icon in the top navigation to open the Control Center in a new window.
* Fixed: Unnecessary localization calls for add-ons.
* Fixed: Show an in-page notification rather than an alert box if the FFZ Control Center fails to load.
* Fixed: Adding an event to an EventListener while the event firing potentially leading to an infinite loop.
* Fixed: Pluralization rules for Ukrainian.
2019-10-07 03:35:53 -04:00
SirStendec
8c7e03119f 4.13.2
* Fixed: The Translation Testing UI should probably actually load the strings to translate...
2019-10-06 20:08:10 -04:00
SirStendec
14e9f10685 4.13.1
* Changed: Improve the Translation Tester UI to make it considerably more useful.
* Changed: Load a list of known strings from the server when in Capture Mode so that we can check to see which strings are actually new or changed.
* Fixed: Drop-down menu options in the control center not being assigned localization keys.
* Fixed: Durations not being localized correctly.
* Fixed: i18n name collision for the Ban chat action.
2019-10-06 20:01:22 -04:00
SirStendec
7f0cad4bd4 4.13.0
* Added: Languages!

Not a native English speaker? We've got an option for that, too. FrankerFaceZ is translated with love by our community. Please [join our Discord](https://discord.gg/UrAkGhT) and ask about localization if you'd like to contribute. We're still new to localization, so there may be some growing pains.

If you notice any inaccuracies, confusing translations, or texts that are outright wrong or offensive, please be sure to report them. We accept reports via Discord, Twitter, or GitHub Issue.

* Fixed: The ability to disable Channel Hosting not functioning.
* Fixed: No background appearing behind channel metadata when in theater mode.
2019-10-05 20:55:32 -04:00
SirStendec
13ccc577f5 4.12.6
* Fixed: Use loaded translations when populating the Translation Tester.
2019-10-04 15:21:21 -04:00
SirStendec
f4c989561e 4.12.5
* Added: Localization Message Capture. Message capture is a developer feature intended to make it easier to add new strings to the localization project.
* Added: Translation Tester. A tool to allow translators to test translations directly in the app before submitting them to the localization project.
* Fixed: Modified emotes not appearing correctly in tool-tips.
2019-10-04 14:57:13 -04:00
SirStendec
ebb954e6c1 4.12.4
* Fixed: The page visibility hook breaking due to a typo and stopping FFZ from fully initializing for users using other page visibility hooks.
* Fixed: The setting to hide bits UI not hiding the bits button in chat.
2019-09-29 18:57:08 -04:00
SirStendec
38c87840af This is a maintenance commit with no released build.
* Added: `npm run font` command for editing the Fontello icon font. Use it to get started, then start the development server with `npm start` and changes will automatically save when you click `Export Font` from Fontello.
* Changed: The list of Fontello icons is now extracted from our Fontello config file so that it doesn't have to be manually updated.
2019-09-29 15:49:29 -04:00
SirStendec
1c0f7edab5 4.12.3
* Changed: Prevent the video quality from dropping when using Picture-in-Picture. (This is handled via an override to the Page Visibility API, preventing the player from detecting the page is hidden when PIP is active. This override *only* functions when Picture-in-Picture is in use.)
* Fixed: Recalculate the position of the navigation bar underline when showing/hiding the Discover link.
* Fixed: Don't load our color normalization CSS if the user isn't making use of a custom theme.
2019-09-28 23:52:50 -04:00
SirStendec
077a0685ad 4.12.2
* Added: Helper text to `Appearance > Theme` with suggested colors, as well as the previous site fonts.
* Changed: Automatically enable or disable Twitch's Dark Theme when setting a background color, to ensure page elements stay styled correctly.
* Changed: Don't try injecting our script on `brand` or `dev` subdomains.
* Changed: Do not allow setting the alpha value of custom background colors.
* Fixed: Add relative positioning to most of our tool-tip wrapper elements, to ensure tool-tips are positioned correctly.
* Fixed: Stop modifying queries with Apollo. Just send our own queries when we need a bit of extra data. Should prevent loading issues.
* Fixed: Option to hide the Discover link in the top navigation not working.
* Fixed: Option to hide live indicators on channel cards not working.
* Fixed: Add a few more rules to the new theme to ensure all elements are colored correctly.
* Fixed: Do not square avatars within the Bits Leaderboard.
* Known Issue: Light custom themes do not look good in Theater Mode.
2019-09-27 15:44:33 -04:00
SirStendec
a1949b0f8e 4.12.1
* Added: Preview of new theming system with custom colors.
* Changed: Start using the CSS color variables in more places.
* Fixed: Alignment of metadata in theater mode.
* Fixed: Custom chat font not applying to chat input.
* Fixed: Do not attempt to fetch uptime when there is no channel ID.
* Fixed: Hover state of emote menu section buttons.
* Fixed: Re-add pill rendering for FFZ menu button.
2019-09-26 20:34:37 -04:00
SirStendec
2232934309 4.12.0
Initial wave of fixes for the Twitch redesign.

* Fixed: Apollo not loading, breaking many subsystems including chat.
* Fixed: Stream up-time not appearing.
* Fixed: Stream meta-data being styled and positioned incorrectly.
* Fixed: Header styles for the FFZ Control Center.
* Fixed: FFZ menu button not being styled correctly in the site header.
* Fixed: Alignment of chat minimize button when in portrait mode and/or swapped sidebars mode.
2019-09-26 16:38:55 -04:00
Lordmau5
eb5a3a3966 Starting point for new Twitch UI changes (#658)
Things may be broken and they WILL be broken.
But it's a starting point :)
2019-09-26 14:20:18 -04:00
SirStendec
ba1da9a774 4.11.0
* Added: Option to hide Community Gift Chest elements from chat.
* Fixed: Users not seeing the reason they were timed out or banned from chat.
2019-09-23 12:17:51 -04:00
SirStendec
89d243a269 4.10.0
* Added: Three settings to control the display of Channel Points in chat.
2019-09-13 17:03:50 -04:00
SirStendec
6a846a23b6 4.9.9
* Fixed: The example rich content embed not working correctly when the setting is disabled.
2019-09-12 17:49:49 -04:00
SirStendec
5ad0e94a0f 4.9.8
* Fixed: The setting to hide the bits leaderboard at the top of chat.
* Fixed: Bug where disabling a module would leave its state as enabled.
* Changed: The FFZ Control Center button in the navigation bar will now indicate when add-ons have been loaded from a local development server.
2019-09-12 17:12:32 -04:00
SirStendec
6399a3d97d 4.9.7
* Added: Initial Legal page to the Control Center with information about what third-parties the client contacts during normal operations, as well as a link to our Terms of Service.
* Fixed: Coloring of Enable and Disable buttons on the `Add-ons` list.
2019-09-12 14:17:33 -04:00
SirStendec
1a171939ac 4.9.6
* Added: Previews for rich chat embeds and rich tool-tips to the settings menu.
* Changed: Disabled Smooth Scrolling for now, as no one has been able to get it working correctly after Twitch's changes to how chat scrolling works.
2019-09-12 13:11:08 -04:00
SirStendec
512fe8898d 4.9.5
* Added: Picture-in-Picture button for the player, when supported by your browser.
* Added: Option to disable the `Reset Player` button for the player.
* Fixed: Smooth scrolling not functioning once the chat buffer fills. It's still a bit peculiar, but at least it's somewhat working now. Please disable the feature for now if the behavior is bothering you or causing issues.
* Fixed: The Featured channels menu not loading, for channels using that FFZ feature.
* Fixed: Certain add-on emotes appearing in the emote tab-completion menu multiple times.
* Fixed: Cheers not rendering correctly in chat.
2019-09-07 14:34:40 -04:00
Lordmau5
9894e9a7cb Fix Featured Follow (#650)
Apparently Twitch now returns `null` for the `follower` variable inside the user object when the user isn't being followed
2019-09-07 13:57:48 -04:00
Lordmau5
b1d1f98476 Fix tab-completion duplicates by checking if the emote was added already (#651) 2019-09-07 13:57:29 -04:00
SirStendec
6cb585d7d4 4.9.4
* Added: Room Actions can now be filtered based on the chat being in Followers-Only Mode or R9K Mode.
* Changed: Custom tool-tips for actions now support variables. Time-out and ban reasons do as well. Text labels do not.
* Fixed: Chat messages from Twitch Extensions not displaying.
2019-08-27 16:18:12 -04:00
SirStendec
d150b9720d 4.9.3
* Changed: Changing the font size of chat now affects the chat input box.
* Fixed: The Block and Hide Thumbnails buttons not appearing in the directory pages for games.
* Fixed: Handling of certain types of chat messages causing chat to fail to render anymore.
* Fixed: Clicking hosted channels in the Following Directory not showing the Host menu.
2019-08-23 18:13:35 -04:00
Lordmau5
6b796ffa74 Fix hosting menu (#635)
This feature has been broken ever since **JUNE 2018**.
There have been enough changes on Twitch's end to support this more easily now, so that's good.
Also fixed some potentially longer standing bug with the hosts map not being cleared when the query is being re-ran, causing some hosts not to show up
2019-08-23 18:02:30 -04:00
Lordmau5
9f9da90452 Apply custom chat Font Size on chat input as well (#637)
* Apply custom chat Font Size on chat input as well

* Move `ChatInput` updates to the corresponding module

With that, also emit an event on the chat when the CSS changes

* Fix not listening to the correct `update-chat-css` event

* Also make sure the font size get's applied to vod / clips input, too
2019-08-23 18:01:46 -04:00
SirStendec
2142f132f5 4.9.2
* Added: Option to display Chat Room Actions above chat input, as they used to be positioned before 4.9.1.
2019-08-13 16:22:04 -04:00
SirStendec
fe300125c7 4.9.1
Changed: Chat Room Actions now render beneath the chat input, next to the chat settings button.
Fixed: The setting to hide `Latest Videos` from the Following directory breaking many parts of the website.
Fixed: Due to the relocated Chat Room Actions, compatibility is improved with certain features of the BetterTTV browser extension.
2019-08-13 15:58:01 -04:00
Lordmau5
ae06d67e9f Fix "Hide Latest Videos" (#641)
Apparently we're matching a component *loader* (since there is no other way I found when finding this), so we need to make sure the props are still correct
2019-08-13 15:52:56 -04:00
SirStendec
c39f6799d3 4.9.0
Added: Chat Room Actions can now be filtered by a room being in emote-only mode, subs-only mode, or slow mode.
Added: Option to hide Latest Videos in the Following directory.
Added: Option to display the current stream delay in a warning color if it exceeds a certain value.
Fixed: Emote previews not appearing correctly in tool-tips.
Fixed: Option to hide Rerun bar not functioning correctly.
Fixed: Favorite emotes from add-ons and other extensions not being sorted correctly for tab-completion.
2019-08-12 22:52:57 -04:00
Lordmau5
f32b2efd1a Fix tab-complete not sorting favored emotes from add-ons (#639)
Additionally, there's no early return in the `getMatchedEmotes` method anymore, since it could be that the results we get from Twitch could exceed 25 emotes and thus would cause potential favored FFZ Emotes / Add-On Emotes / Emoji to not show up at the top of the list
2019-08-12 22:42:37 -04:00
Lordmau5
60e8fad4fa Reimplement Stream Delay Warning Colors (#638)
Title and description might not be final yet, but the feature is working as intended
2019-08-12 22:39:30 -04:00
Lordmau5
e6807df1c6 Fix Hide Offline Channels not working when side-nav is collapsed (#640) 2019-08-12 22:38:44 -04:00
Lordmau5
134d9dc0fd Add setting to hide the Latest Videos section (#634) 2019-08-09 23:43:15 -04:00
SirStendec
39fb185ecf 4.8.2
Fixed: The Add Action menu for Chat Actions being too tall to fit within the FFZ Control Center at some resolutions.
Fixed: Styling for various hover-able UI elements.
Fixed: User Context Chat Actions set to show/hide based upon a message's deleted state not properly doing so.
Fixed: The FFZ emote menu appearing too tall at times.
Fixed: Remove debug logging.
Changed: The `Delete All` button in the Chat Actions editors will now not immediately clear all actions, but rather show another button asking the user to confirm.
Changed: Add a page rule for dashboard pop-out chat so that profiles can be made for it.
Changed: Update `CHAT_TYPES` from Twitch.
2019-08-09 14:24:26 -04:00
SirStendec
056cc9c401 4.8.1
* Fixed: Do not scroll context-menus with chat.
* Fixed: After repositioning a tool-tip, check that its host element is still within the page. If it's not, hide the tool-tip.
2019-08-07 14:13:04 -04:00
SirStendec
49d3e96517 Fix import in socketserver. 2019-08-07 12:33:11 -04:00
SirStendec
deecf078db * Update the known servers in socketserver.
* Update the icon font to include a YouTube icon.
2019-08-07 12:29:41 -04:00
SirStendec
3583dd8fe7 4.8.0
* Added: Chat > Actions > User Context. Define custom actions that appear in a context menu upon right-clicking a username in chat.
* Fixed: Custom color for chat highlights in dark theme with alternating chat background colors enabled.
2019-08-06 15:39:45 -04:00
SirStendec
9ab57897ef 4.7.2
* Fixed: Option to hide `LIVE` indicators on live channel pages.
* Fixed: Option to hide Recommended Channels from the Following page.
* Fixed: Error when attempting to import a single profile from a full data backup.
* Fixed: Incorrect profile names and descriptions being displayed in the profile selector of the FFZ Control Center.
* Fixed: Incorrect styling being applied in the profile selector of the FFZ Control Center, making it impossible to determine which profile is currently selected.
* Fixed: Enable the babel object rest spread transformation for continued support of certain older web browsers.
* Fixed: Tool-tips of certain in-line chat actions not displaying information such as the target user's name or the duration of a timeout.
2019-08-05 17:26:11 -04:00
Lordmau5
9fcd7cb90a Fix tab-complete menu styling (#631)
* Fix tab-complete menu styling

Twitch has a Y-padding next to their X-padding, too, which was missing up until now

* Undo removal of `tw-relative`

Needed for the favorite star, whoops
2019-08-05 17:12:50 -04:00
SirStendec
49e508a2a0 4.7.1
* Fixed: Some extensions not being hidden correctly.
2019-07-31 18:33:19 -04:00
SirStendec
ef827352bb 4.7.0
* Added: Option to set a default custom color for highlighted messages, overriding the default red color.
* Added: Recent Messages for Chat Input. Press up and down to recall previously sent messages.
* Added: Option to prioritize favorited emotes and emoji in tab-completion.
* Fixed: Extensions not being hidden correctly.
* Fixed: Change tab-completion sorting to act more similarly to vanilla Twitch.
* Fixed: Color inputs in settings updating too frequently, causing performance issues.
* Fixed: Chat-related code breaking on popped out viewer cards and spamming the automated error reporting service with errors.
2019-07-31 17:13:56 -04:00
Lordmau5
b1f491fcdf Message history (up / down arrow) (#628)
* Start working on chat-history (up / down arrow)

* Revamp history "scrolling"

Also store input as a temp variable when at the beginning of the history
2019-07-31 16:26:27 -04:00
Lordmau5
f9e4f29100 Fix sorting (again) and implement favorite prioritization support (#619)
* Implement favorite prioritization and fix sorting once and for all

* Use favorites array instead of single call per emote

No idea about provider-specific emotes yet

* Fix sorting and rendering of emote / emoji suggestions
2019-07-31 16:25:21 -04:00
SirStendec
37ef0c250e 4.6.2
* Fixed: Leaky name matching when the user has listed more than one name to highlight or block.
* Fixed: Blacklist several Twitch errors that were being captured by automatic error reporting.
* Fixed: The optional FFZ Emote Menu icon not displaying properly when the menu is open.
* Changed: Styling of FFZ entries added to the chat settings menu to match the updated aesthetics.
* Changed: Update dependencies.
2019-07-29 15:48:00 -04:00