Dun-sin / Whisper

A fun Application to have a random chat with people safely
https://whisper.favour.dev/
MIT License
379 stars 342 forks source link

[FEATURE] add captcha #545

Closed Dun-sin closed 3 months ago

Dun-sin commented 11 months ago

Description

Adding captcha will help prevent bots, places to add captchas: — after 2 chats a day, user gets a captcha they have to pass — if they are a new user, they have to pass a captcha before they can create an account, so on the login page users shouldn't be able to click on any of the buttons until it's passed

Are you willing to work on this issue ?

None

github-actions[bot] commented 11 months ago

It's great having you contribute to this project by creating an issue

Make sure you are assigned to this before you work on it and you read the Contributing.md file, Thank you! Welcome to the community :nerd_face:

Shubham1450 commented 11 months ago

I want to work on this issue. Please assign this to me. @Dun-sin

singodiyashubham87 commented 11 months ago

I wanna work on this issue @Dun-sin

Dun-sin commented 11 months ago

I want to work on this issue. Please assign this to me. @Dun-sin

explain to me what the issue is telling you to do?

Shubham1450 commented 11 months ago

As we know CAPTCHA is used to distinguish between humans and bots. So in this we have to implement CAPTCHA at two place.

  1. If a user chat for 2 times in a day then user gets a captcha which they have to pass.

2 .If user wants to create a new account then user have to pass the CAPTCHA before creating new account, and on the login page users shouldn't be able to click on any of the buttons until it's passed. @Dun-sin

Dun-sin commented 11 months ago

As we know CAPTCHA is used to distinguish between humans and bots. So in this we have to implement CAPTCHA at two place.

1. If a user chat for 2 times in a day then user gets a captcha which they have to pass.

2 .If user wants to create a new account then user have to pass the CAPTCHA before creating new account, and on the login page users shouldn't be able to click on any of the buttons until it's passed. @Dun-sin

awesome spot on, you've got it. thanks for wanting to contribute. ask if you have questions. Follow the rules here, or your PR won't be accepted and will be closed. Good luck!

Dun-sin commented 11 months ago

@Shubham1450 according to the contributing guideline, your time is up and if there's a PR by the end of the day, you will be unassigned. You can request for extra time but not more than x days, but we need a response by the end of the day

sarthakgarg814 commented 10 months ago

Hi @Dun-sin, Please Assign this to me

prajwalbandak commented 9 months ago

hey @Dun-sin , Could you please explain this one , ` _As we know CAPTCHA is used to distinguish between humans and bots. So in this we have to implement CAPTCHA at two place.

  1. If a user chat for 2 times in a day then user gets a captcha which they have to pass.`_

how we get to know that, if user chat for 2 times in a day please explain, will try to give the PR. and please explain which captcha should we use to implement the part.

Dun-sin commented 9 months ago

hi @sarthakgarg814 @prajwalbandak atm this can't be worked on, i will let you know when it's finally open to be worked on will lock the issue until then, @prajwalbandak let's discuss more on the implementation on discord, link in the readme and tag me with your question again in the #coding-talk channel