Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad word check is not working good #116

Closed
christher-lenander opened this issue Feb 21, 2022 · 9 comments
Closed

bad word check is not working good #116

christher-lenander opened this issue Feb 21, 2022 · 9 comments
Assignees
Labels
bug Something isn't working solved Issue has been solved v4 Strapi v4

Comments

@christher-lenander
Copy link

christher-lenander commented Feb 21, 2022

We use swedish language in the comment and nice words get flaged as bad words.
I guess the bad word checker doesn't care about other languages than english.

How could we disable the check for bad words?

This text in swedish the the bad word check strikes down on. The "bad" word in the text is "slag". In this context it's mean shot.

Swedish:
"Jag spelade hålet så under U.S. Amateur här 2017 och det var min lagkamrat vid Oklahoma State, Zach Bouchou, som kom med idén. Den linjen passar mitt öga bättre och slår jag den rätt så har jag ett bra slag in, förklarade Hovland efter sin fina 64-rond på fredagen."

Google translate (English)
"I played the hole like that during the U.S. Amateur here in 2017 and it was my Oklahoma State teammate, Zach Bouchou, who came up with the idea. That line suits my eye better and if I hit it right, I have a good shot in, Hovland explained after his nice 64-lap on Friday."

@cyp3rius
Copy link
Collaborator

@ChristherLenander You can disable it using Settings page.

In next releases we plan to introduce possibility to customize bad words list.

@christher-lenander
Copy link
Author

christher-lenander commented Feb 21, 2022

@cyp3rius Ok. But what about the current situation? How can we disable the bad word check?

This is something that should not be implemented by default. It should be up to the developer to add such feature in the their project.

@cyp3rius
Copy link
Collaborator

As I wrote, you can disable bad words filtering using Settings Page. Go to Settings -> Comments Plugin -> Configuration

@christher-lenander
Copy link
Author

christher-lenander commented Feb 21, 2022

bad word

@cyp3rius It is disabled what I can see.

@cyp3rius
Copy link
Collaborator

Yep, seems something is wrong.
Will pick it up early morning and release fixed version.

@cyp3rius cyp3rius added bug Something isn't working investigation Issue under investigation labels Feb 21, 2022
@cyp3rius cyp3rius self-assigned this Feb 21, 2022
@christher-lenander
Copy link
Author

Thanks 👍

@cyp3rius
Copy link
Collaborator

@ChristherLenander released as part of v2.0.8. There was a misleading property state on the Settings UI. Now turn on / off works as expected.

@cyp3rius cyp3rius added solved Issue has been solved v4 Strapi v4 and removed investigation Issue under investigation labels Feb 22, 2022
@christher-lenander
Copy link
Author

Thanks 👍

@christher-lenander
Copy link
Author

Tested it and it worked now. Thank you again. Nice plugin 👍

github-actions bot pushed a commit to zrp/uqbar-strapi-plugin-comments that referenced this issue Jan 13, 2023
# 1.0.0 (2023-01-13)

### Bug Fixes

* [CU-21mwg4m] apply strapi team review comments ([88ee04b](88ee04b))
* [CU-21mwg4m] status badge sizing ([80c7946](80c7946))
* [CU-232p7qk] fallback config from local file ([9f9a43e](9f9a43e))
* [CU-23e47df] pagination and sort via rest api ([1eeb742](1eeb742))
* [CU-862hz23aa] Translations init failure while async loading ([VirtusLab-Open-Source#181](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/181)) ([dd665d9](dd665d9))
* avatar and initials rendering ([812afb2](812afb2))
* circle ci directory fix ([74b75ed](74b75ed))
* circle ci directory fix ([#10](#10)) ([0c998eb](0c998eb))
* compatibility with strapi 3.6.x ([VirtusLab-Open-Source#50](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/50)) ([81f69a8](81f69a8))
* dependabot alert for dicer ([e794a9b](e794a9b))
* dependabot dicer alert ([0bb17db](0bb17db))
* dependencies conflict ([c2c7e17](c2c7e17))
* filtering only root level ([VirtusLab-Open-Source#35](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/35)) ([62a90be](62a90be))
* find all in hierarchy fix ([735fbac](735fbac))
* gql and missing nexus dependency ([a438f41](a438f41))
* issue [VirtusLab-Open-Source#104](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/104) interface crashing if related content type removed ([ace336c](ace336c))
* issue [VirtusLab-Open-Source#116](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/116) - bad words filtering turned on when it shouldn't ([240082e](240082e))
* issue [VirtusLab-Open-Source#15](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/15) uuid parsing in mongo ([VirtusLab-Open-Source#17](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/17)) ([7ab3ed3](7ab3ed3))
* issue [#2](#2) search by relation slug ([#3](#3)) ([22eaebe](22eaebe))
* issue-110 gql configuration not applying, issues with old configurations ([ff662d3](ff662d3))
* lack of plugin config to reflect gql schema ([VirtusLab-Open-Source#77](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/77)) ([5fdd8ba](5fdd8ba))
* lack of user data sanitization ([c6957e5](c6957e5))
* make withCount default for GraphQL queries ([5717902](5717902))
* missing translation ([4de9390](4de9390))
* multiple fields population malformed ([f4726ac](f4726ac))
* problem with ref on create ([70bc620](70bc620))
* problems with details on comment ([0a17fd7](0a17fd7))
* problems with drill down ([d1a43d1](d1a43d1))
* query null error ([30dbf17](30dbf17))
* readme wording ([fe990b0](fe990b0))
* relation slug missing while cregistering comment ([9a1ba1c](9a1ba1c))
* relations & content types slugs ([b477c7e](b477c7e))
* remove codecov orb ([8740eca](8740eca))
* undefined sort parameter rejected by strapi query ([db749ea](db749ea))
* version bump ([3e32dc3](3e32dc3))
* wrapped where param in db query ([VirtusLab-Open-Source#152](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/152)) ([bd652c3](bd652c3))

### Features

* [CU-20y7quq] gql handle auth and user context linking ([d4d22ba](d4d22ba))
* [CU-20y7quq] handle user context linking ([39f728c](39f728c))
* [CU-220ekmx] provide sort and pagination support in findAll and findAllInHierarchy methods ([5c1ab4f](5c1ab4f))
* [CU-23e4bnk] ([d363b6f](d363b6f))
* [CU-23ku6zz] apply strapi pagination spec to findallflat endpoint ([c93b3a1](c93b3a1))
* [CU-2ep5xe1] [CU-2eap4ev] inform commenter about responses & avatar fix ([VirtusLab-Open-Source#143](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/143)) ([c7d664a](c7d664a))
* add tests to ci ([VirtusLab-Open-Source#159](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/159)) ([7cf6474](7cf6474))
* bad words customization ([VirtusLab-Open-Source#33](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/33)) ([f1fad77](f1fad77))
* codecov setup ([#11](#11)) ([d3950bf](d3950bf))
* comments pre-moderation ([VirtusLab-Open-Source#68](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/68)) ([8cab133](8cab133))
* context user support ([VirtusLab-Open-Source#23](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/23)) ([1d1354b](1d1354b))
* control gql auth via form ([2000942](2000942))
* custom fields on server-side [CU-xhcmx-63] ([VirtusLab-Open-Source#161](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/161)) ([a7737c8](a7737c8))
* report email notification ([VirtusLab-Open-Source#83](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/83)) ([a0585ed](a0585ed))
* strapi 3.1.0 rbac support ([#4](#4)) ([eb36adf](eb36adf))
* support for query parameters ([VirtusLab-Open-Source#34](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/34)) ([753dc0c](753dc0c))
* **UQ-1853:** changed admin ([2590100](2590100))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved Issue has been solved v4 Strapi v4
Projects
None yet
Development

No branches or pull requests

2 participants