dokuwiki / translate.dokuwiki.org

Web based tool to create and update translation patches for DokuWiki and DokuWiki plugins.
MIT License
8 stars 2 forks source link

Increase in spam submits #126

Open Klap-in opened 2 months ago

Klap-in commented 2 months ago

Recently, significant more spam submits are made. Not sure if we can win this battle, but if there is low hanging fruit to pick to reduce the noise by these spam submits that would be nice.

Now the gregwar/captcha-bundle is used for adding captchas to the form.

splitbrain commented 2 months ago

I guess most low hanging fruit would be to add some kind of question check. Like "What wiki is this translation for" with the answer being "DokuWiki" of course. Or maybe we can switch the capatcha library?

michitux commented 2 months ago

What about some simple sanity checks, like a translation cannot just be a number, there cannot be four times (or maybe even less often) the exact same translation, ... From what I saw the recent spam submissions should be caught by these simple rules.

It might be good to run these rules against all existing translations to ensure they're not too strict.

I think the translation tool should still kind of "accept" submissions that violate these rules in order to not give the spam submitters a way to automatically tweak submissions until they follow the rules.

I don't know if any of this really helps, but I think something custom might be a good idea as I doubt that these submissions really target DokuWiki.

Klap-in commented 1 month ago

It adds often also urls, so probably we can also count the number of urls, and reject if its number has changed. For now family live needs my time. So it will take some time for I will make changes here.