Coder Social home page Coder Social logo

ninenine / nodebb-plugin-beep Goto Github PK

View Code? Open in Web Editor NEW
12.0 5.0 18.0 272 KB

NodeBB Plugin that allows users to censor curse words in their posts.

License: BSD 2-Clause "Simplified" License

JavaScript 80.36% Smarty 19.64%
nodebb-plugin javascript

nodebb-plugin-beep's People

Contributors

antosik avatar barisusakli avatar believer avatar julianlam avatar lukechinworth avatar ninenine avatar pitaj avatar psychobunny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nodebb-plugin-beep's Issues

Allow plugin to work only on topic pages and not on shoutbox ?

Great Plugin indeed. but has some issues. Please see below.

Can we have a feature so that I can disallow this plugin on the shoutbox page but let it run for posts and topics only?

Also, there is 1 bug in this plugin. When we set the settings to Asterisk, then if a person makes a post using a banned word let's say s e x. then the topic URL also gets * which makes the URL request into infinite re-direction loop and we can then never access that topic via URL. And the whole forum gets hanged on that page. we cant use the forum anymore.

Another bug is that it does not filters words in topic title, i.e it does not say "You cannot use 'BANNED word' in topic title" as it says in topic posts. It lets the user post with a ban word.

When are you guys going to release an update?

Illegal/banned words in topic title

If I type an illegal word in a topic title I don't get an error and the topic is posted. Shouldn't it throw an error like when I type the illegal word inside the content?

If I type a banned word in the topic title it becomes [censored] on the topic page, but the banned word is still visible in the topic listing and anywhere else.

Deprecated express function

I am getting this "warn" in the console:

express deprecated res.send(status, body): Use res.status(status).send(body) instead at node_modules/nodebb-plugin-beep/index.js:24:15

Bug censoring curse words preceded or followed by a symbol

Just been testing this in a nodebb install - please forgive curse words below, they are to illustrate a specific instance just in case the bug is specific as opposed to general.

With the standard word list, the word fuck becomes fk as expected. However, one of our users wrote the phrase: fuck-shittty-fuck shit which became fuck-sttty-fuck s**t.

Version is 0.1.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.