webcompat / webcompat.com

Source code for webcompat.com
https://webcompat.com
360 stars 191 forks source link

Add a mechanism to set limits on repetitive reporting #2797

Open softvision-sergiulogigan opened 5 years ago

softvision-sergiulogigan commented 5 years ago

Giving the fact that we have a lot of spam/duplicates lately, we suggest adding a (simple) CAPTCHA field, to discourage such behaviors.

Recent examples: https://github.com/webcompat/web-bugs/issues/25603 - 17 duplicates https://github.com/webcompat/web-bugs/issues/25609 - 10 duplicates https://github.com/webcompat/web-bugs/issues/26503 - 3 duplicates https://github.com/webcompat/web-bugs/issues/26480 - 4 duplicates

karlcow commented 5 years ago

we can blacklist these domains

miketaylr commented 5 years ago

Captcha is good if we have evidence non-humans are reporting the bugs. Otherwise, I worry it's too high a barrier for sending in quick bugs.

karlcow commented 5 years ago

I rephrased the title of the issue to be more general.

marimeireles commented 5 years ago

deny the posting based on a triplet (ip, uri, time). For the same ip and uri, if time(n-1)-time(n) < x (minutes), we block/ignore/warn the user about cooling down on reporting.

This seems like a good idea. What do you think it's a reasonable time for us to set on this @karlcow?

karlcow commented 5 years ago

@marimeireles

Taking one of the cases we had.

I guess 10 minutes could be reasonable. or longer with an additional check on the fact that it is webcompat-bot reporting the issue (so we are not blocking softvision team when they report issues.)

marimeireles commented 5 years ago

I'm going to give a try on this.