1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 02:16:54 +00:00

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.
This commit is contained in:
SirStendec 2018-07-21 16:26:10 -04:00
parent 7f7312188c
commit 7e6a08ad1d
8 changed files with 33 additions and 17 deletions

View file

@ -36,7 +36,7 @@ class FrankerFaceZ extends Module {
this.log = new Logger(null, null, null, this.raven);
this.core_log = this.log.get('core');
this.log.info(`FrankerFaceZ v${VER} (build ${VER.build})`);
this.log.info(`FrankerFaceZ v${VER} (build ${VER.build}${VER.commit ? ` - commit ${VER.commit}` : ''})`);
// ========================================================================
@ -100,7 +100,7 @@ class FrankerFaceZ extends Module {
FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = {
major: 4, minor: 0, revision: 0, extra: '-rc8.1',
major: 4, minor: 0, revision: 0, extra: '-rc8.2',
commit: __git_commit__,
build: __webpack_hash__,
toString: () =>

View file

@ -276,6 +276,7 @@ export default class RavenLogger extends Module {
const core = this.site.getCore(),
out = {};
out.flavor = this.site.constructor.name;
out.build = __webpack_hash__;
out.git_commit = __git_commit__;

View file

@ -116,7 +116,7 @@ export default class Line extends Module {
id: author.id,
login: author.login,
displayName: author.displayName,
isIntl: author.name && author.displayName && author.displayName.trim().toLowerCase() !== author.name,
isIntl: author.login && author.displayName && author.displayName.trim().toLowerCase() !== author.login,
type: 'user'
},
roomLogin: room && room.login,

View file

@ -750,7 +750,7 @@ export default class ChatHook extends Module {
if ( e && e.sentByCurrentUser ) {
try {
e.message.user.emotes = findEmotes(
e.message.body.slice(8, -1),
e.message.body,
i.ffzGetEmotes()
);

View file

@ -21,6 +21,10 @@
margin-bottom: 0 !important;
}
.chat-settings__content div[data-test-selector="high-contrast-selector"] {
display: none;
}
.autocomplete-balloon {
.autocomplete-balloon__item {
> .tw-flex {