New version
This commit is contained in:
parent
ce1adc351e
commit
fc34192921
|
@ -1,5 +1,8 @@
|
|||
# Changelog
|
||||
|
||||
## 1.17.1
|
||||
* Fixes to smart filters
|
||||
|
||||
## 1.17.0
|
||||
* Added a way to hide/filter out characters, messages, and ads (Settings > Smart Filters)
|
||||
* Added MacOS M1 build
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Download
|
||||
[Windows](https://github.com/mrstallion/fchat-rising/releases/download/v1.17.0/F-Chat-Rising-1.17.0-win.exe) (82 MB)
|
||||
| [MacOS Intel](https://github.com/mrstallion/fchat-rising/releases/download/v1.17.0/F-Chat-Rising-1.17.0-macos.dmg) (82 MB)
|
||||
| [MacOS M1](https://github.com/mrstallion/fchat-rising/releases/download/v1.17.0/F-Chat-Rising-1.17.0-macos.dmg) (84 MB)
|
||||
| [Linux](https://github.com/mrstallion/fchat-rising/releases/download/v1.17.0/F-Chat-Rising-1.17.0-linux.AppImage) (82 MB)
|
||||
[Windows](https://github.com/mrstallion/fchat-rising/releases/download/v1.17.1/F-Chat-Rising-1.17.1-win.exe) (82 MB)
|
||||
| [MacOS Intel](https://github.com/mrstallion/fchat-rising/releases/download/v1.17.1/F-Chat-Rising-1.17.1-macos-intel.dmg) (82 MB)
|
||||
| [MacOS M1](https://github.com/mrstallion/fchat-rising/releases/download/v1.17.1/F-Chat-Rising-1.17.1-macos-m1.dmg) (84 MB)
|
||||
| [Linux](https://github.com/mrstallion/fchat-rising/releases/download/v1.17.1/F-Chat-Rising-1.17.1-linux.AppImage) (82 MB)
|
||||
|
||||
|
||||
# F-Chat Rising
|
||||
|
|
|
@ -395,6 +395,8 @@
|
|||
this.bbCodeBar = settings.bbCodeBar;
|
||||
this.availableImports = (await core.settingsStore.getAvailableCharacters()).filter((x) => x !== core.connection.character);
|
||||
|
||||
// settings.rising
|
||||
|
||||
this.risingAdScore = settings.risingAdScore;
|
||||
this.risingLinkPreview = settings.risingLinkPreview;
|
||||
this.risingAutoCompareKinks = settings.risingAutoCompareKinks;
|
||||
|
|
|
@ -70,13 +70,13 @@ export function getStatusClasses(
|
|||
if ((showStatus) || (character.status === 'crown'))
|
||||
statusClass = `fa-fw ${getStatusIcon(character.status)}`;
|
||||
|
||||
const cache = ((showMatch) && ((core.state.settings.risingAdScore) || (core.state.settings.risingFilter.showFilterIcon)))
|
||||
const cache = (((showMatch) && (core.state.settings.risingAdScore)) || (core.state.settings.risingFilter.showFilterIcon))
|
||||
? core.cache.profileCache.getSync(character.name)
|
||||
: undefined;
|
||||
|
||||
// undefined == not interested
|
||||
// null == no cache hit
|
||||
if (cache === null) {
|
||||
if ((cache === null) && (showMatch)) {
|
||||
void core.cache.addProfile(character.name);
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ theme: jekyll-theme-slate
|
|||
changelog: https://github.com/mrstallion/fchat-rising/blob/master/CHANGELOG.md
|
||||
|
||||
download:
|
||||
version: 1.17.0
|
||||
version: 1.17.1
|
||||
|
||||
url: https://github.com/mrstallion/fchat-rising/releases/download/v%VERSION%/F-Chat-Rising-%VERSION%-%PLATFORM_TAIL%
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "fchat",
|
||||
"version": "1.17.0",
|
||||
"version": "1.17.1",
|
||||
"author": "The F-List Team and Mister Stallion (Esq.)",
|
||||
"description": "F-List.net Chat Client",
|
||||
"main": "main.js",
|
||||
|
|
|
@ -74,7 +74,7 @@ export class SmartFilter {
|
|||
|
||||
const build = Matcher.getTagValueList(TagId.Build, c);
|
||||
|
||||
return !!build && !!_.find(this.opts.builds || [], build);
|
||||
return build !== null && _.findIndex(this.opts.builds || [], (b) => b === build) >= 0;
|
||||
}
|
||||
|
||||
testGenders(c: Character): boolean {
|
||||
|
@ -84,7 +84,7 @@ export class SmartFilter {
|
|||
|
||||
const gender = Matcher.getTagValueList(TagId.Gender, c);
|
||||
|
||||
return !!gender && !!_.find(this.opts.genders || [], gender);
|
||||
return gender !== null && _.findIndex(this.opts.genders || [], (g) => g === gender) >= 0;
|
||||
}
|
||||
|
||||
testBodyTypes(c: Character): boolean {
|
||||
|
@ -94,7 +94,7 @@ export class SmartFilter {
|
|||
|
||||
const bodyType = Matcher.getTagValueList(TagId.BodyType, c);
|
||||
|
||||
return !!bodyType && !!_.find(this.opts.bodyTypes || [], bodyType);
|
||||
return bodyType !== null && _.findIndex(this.opts.bodyTypes || [], (b) => b === bodyType) >= 0;
|
||||
}
|
||||
|
||||
testSpecies(c: Character): boolean {
|
||||
|
@ -104,7 +104,7 @@ export class SmartFilter {
|
|||
|
||||
const species = Matcher.species(c);
|
||||
|
||||
return !!species && !!_.find(this.opts.species || [], species);
|
||||
return species !== null && _.findIndex(this.opts.species || [], (s) => s === species) >= 0;
|
||||
}
|
||||
|
||||
testIsHuman(c: Character): boolean {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "f-list-rising",
|
||||
"version": "1.17.0",
|
||||
"version": "1.17.1",
|
||||
"author": "The F-List Team and and Mister Stallion (Esq.)",
|
||||
"description": "A heavily modded F-Chat 3.0 client for F-List",
|
||||
"license": "MIT",
|
||||
|
|
Loading…
Reference in New Issue