cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Cloudflare captcha integrated

Open Ninad3721 opened this issue 1 year ago • 4 comments

What does this PR do?

I have integrated cloudflare turnstile in the booking page, which will block bots from booking someone.

Fixes https://github.com/calcom/cal.com/issues/9044

It disables confirm button until the cloudflare turnstile test is passed image

Then after getting test getting solved the confirm button is enabled image

Type of change

  • New feature (non-breaking change which adds functionality)

How should this be tested?

1.Click on three dots beside profile 2.Click on view public profile 3.Book a slot

Checklist

special note : After running yarn test-e2e some test regarding booking are failed , which I think because of adding captcha as these test are conducted by bots (I think so).

Ninad3721 avatar May 25 '23 19:05 Ninad3721

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 25, 2023 8:00pm

vercel[bot] avatar May 25 '23 19:05 vercel[bot]

@Ninad3721 is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 25 '23 19:05 vercel[bot]

hey, great work, however we need to make this optional. not everyone wants this. can you instead make a standalone "Cloudflare Captcha" App and launch it in the app store? here is how: https://cal.com/docs/how-to-guides/how-to-build-an-app#steps-in-creating-an-app

So Should I start working on it by creating an issue ??

Ninad3721 avatar May 27 '23 18:05 Ninad3721

@Ninad3721 yeah please do

hariombalhara avatar May 28 '23 12:05 hariombalhara

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Jun 30 '23 00:06 github-actions[bot]

This PR is being closed due to inactivity. Please reopen if work is intended to be continued.

github-actions[bot] avatar Jul 07 '23 00:07 github-actions[bot]